Use %ifdef in sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions.
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6         Regenerated.
7         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10
11         * shlib-versions: Remove OS-specific entries.  Moved to files in
12         sysdeps.
13         * sysdeps/mach/hurd/shlib-versions: New file.
14         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15
16         * nptl/shlib-versions: Remove architecture-specific entries.
17         Moved to files in sysdeps.
18         * shlib-versions: Likewise.
19         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20         file.
21         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25
26         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27         (UDP_NO_CHECK6_RX): Likewise.
28
29 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30
31         * sysdeps/posix/sysconf.c (__sysconf): Spell
32         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33
34 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35
36         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
37         loading.
38         * iconv/Versions (__gconv_transliterate): Export for use from
39         gconv modules.
40         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
41         (struct __gconv_trans_data, __gconv_trans_fct,
42         __gconv_trans_context_fct, __gconv_trans_query_fct,
43         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44         definitions.
45         (struct __gconv_step_data): Remove __trans member.
46         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
47         longer hidden.  Remove unused trans_data argument.
48         * iconv/gconv_int.h (struct trans_struct): Remove definition.
49         (__gconv_translit_find): Remove declaration.
50         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
51         prototype.
52         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
53         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
54         trans_data argument.  Add hidden definition.
55         (__gconv_translit_find): Remove.
56         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
57         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
58         * iconv/skeleton.c: Remove transliteration initialization.
59         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
60         __gconv_step_data initialization.
61         * libio/iofwide.c (__libio_translit_): Remove.
62         (_IO_fwide): Adjust struct __gconv_step_data initialization.
63         * wcsmbs/btowc.c (__btowc): Likewise.
64         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
65         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
66         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
67         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
68         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
69         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
70         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
71         * wcsmbs/wctob.c (wctob): Likewise.
72
73 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
74
75         [BZ #16194]
76         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
77         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
78         register usage.
79         * sysdeps/x86/Makefile: Adjust.
80
81 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
82             Roland McGrath  <roland@hack.frob.com>
83
84         * locale/weight.h: Add include guard.
85         (findidx): Make static rather than auto; take new parameters
86         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
87         * locale/weightwc.h: Likewise.
88         * posix/fnmatch_loop.c
89         (FCT): Change type of EXTRA from int32_t to wint_t.
90         Don't include either header inside the function.
91         Call FINDIDX rather than findidx, and pass new arguments.
92         #undef FINDIDX at the end of the file.
93         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
94         FINDIDX before including fnmatch_loop.c for the non-wide version.
95         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
96         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
97         for the wide version.
98         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
99         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
100         Pass new arguments to findidx.
101         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
102         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
103         Don't #include it inside the function.  Pass new arguments to findidx.
104         * posix/regex_internal.h
105         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
106         (re_string_elem_size_at): Don't #include it inside the function.
107         Pass new arguments to findidx.
108         * string/strcoll_l.c: #include WEIGHT_H at top level.
109         (get_next_seq): Don't #include it inside the function.
110         Pass new arguments to findidx.
111         (get_next_seq_nocache): Likewise.
112         * string/strxfrm_l.c: #include WEIGHT_H at top level.
113         (STRXFRM): Don't #include it inside the function.
114         Pass new arguments to findidx.
115
116 2014-09-11  Florian Weimer  <fweimer@redhat.com>
117
118         [BZ #17344]
119         * malloc/malloc.c (unlink): Turn asserts into a call to
120         malloc_printerr.
121
122 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
123
124         [BZ #17370]
125         * libio/wfileops (do_ftell_wide): Free OUT.
126
127 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
128
129         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
130
131 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
132
133         [BZ #17363]
134         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
135         group if the current group is empty.
136
137 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
138
139         * benchtests/bench-memset.c (test_main): Add more test from size
140         from 32 to 512 bytes.
141         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
142         Add POWER8 memset object.
143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
144         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
145         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
146         implementation.
147         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
148         Likewise.
149         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
150         multiarch POWER8 memset optimization.
151         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
152         POWER8 memset optimization.
153
154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
155         Remove bzero multiarch objects.
156         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
157         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
158         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
159         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
160         Remove define.
161         [__bzero]: Redefine to specific name.
162         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
163         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
164         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
165         define.
166         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
167         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
168
169 2014-09-10  Florian Weimer  <fweimer@redhat.com>
170
171         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
172         warnings into errors.
173
174         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
175         __cxa_thread_atexit_impl prototype.
176
177 2014-09-09  Steve Ellcey  <sellcey@mips.com>
178
179         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
180         Fix capitalization of error message.
181
182 2014-09-09  Steve Ellcey  <sellcey@mips.com>
183
184         * sysdeps/mips/preconfigure: Modify ABI tests.
185
186 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
187
188         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
189
190 2014-09-07  Roland McGrath  <roland@hack.frob.com>
191             Carlos O'Donell  <carlos@systemhalted.org>
192
193         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
194         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
195         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
196         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
197         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
198         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
199         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
200         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
201         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
202         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
203         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
204         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
205         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
206         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
207         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
208         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
209         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
210         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
211         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
212         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
213         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
214         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
215         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
216         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
217         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
218         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
219         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
220         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
221         Deconditionalize the code that was previously under [RESET_PID].
222         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
223         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
224         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
225         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
226         include sysdep.h.
227
228 2014-09-08  Allan McRae  <allan@archlinux.org>
229
230         * version.h (RELEASE): Set to "development".
231         (VERSION): Set to "2.20.90"
232
233 2014-09-07  Allan McRae  <allan@archlinux.org
234
235         * version.h (RELEASE): Set to "stable".
236         (VERSION): Set to "2.20"
237         * include/features.h (__GLIBC_MINOR__): Set to 20.
238
239         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
240         Liebler.
241
242         * po/ko.po: Update Korean translation from translation project.
243
244 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
245
246         [BZ #17354]
247         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
248         macro for handling signed relocations.
249
250 2014-09-03  Florian Weimer  <fweimer@redhat.com>
251
252         [BZ #17325]
253         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
254         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
255         assert.
256         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
257         * iconvdata/ibm935.c (BODY): Likewise.
258         * iconvdata/ibm937.c (BODY): Likewise.
259         * iconvdata/ibm939.c (BODY): Likewise.
260         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
261         assert.
262         * iconvdata/Makefile (iconv-test.out): Pass module list to test
263         script.
264         * iconvdata/run-iconv-test.sh: New test loop for checking for
265         decoder crashers.
266
267 2014-09-02  Khem Raj  <raj.khem@gmail.com>
268
269         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
270         libm_hidden_ver.
271
272 2014-09-01  Allan McRae  <allan@archlinux.org>
273
274         * po/eo.po: Update Esperanto translation from translation project.
275
276         * po/ca.po: Update Catalan translation from translation project.
277
278 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
279
280         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
281         __proc_dostop call.
282
283 2014-08-27  Mark Wielaard  <mjw@redhat.com>
284
285         [BZ #17319]
286         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
287         to call set_thread_area instead of hand written asm.
288         (__NR_set_thread_area): Removed define.
289         (TLS_FLAG_WRITABLE): Likewise.
290         (__ASSUME_SET_THREAD_AREA): Remove check.
291         (TLS_EBX_ARG): Remove define.
292         (TLS_LOAD_EBX): Likewise.
293
294 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
295
296         Simplify atomicity of socket creation in bind.
297
298         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
299         looking up the name after linking the file.
300
301 2014-08-27  Allan McRae  <allan@archlinux.org>
302
303         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
304
305 2014-08-26  Florian Weimer  <fweimer@redhat.com>
306
307         [BZ #17187]
308         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
309         trans_compare, open_translit, __gconv_translit_find):
310         Remove module loading code.
311
312 2014-08-26  Allan McRae  <allan@archlinux.org>
313
314         * po/vi.po: Update Vietnamese translation from translation project.
315
316         * po/uk.po: Update Ukrainian translation from translation project.
317
318         * po/fr.po: Update French translation from translation project.
319
320         * po/ru.po: Update Russian translation from translation project.
321
322         * po/pl.po: Update Polish translation from translation project.
323
324         * po/cs.po: Update Czech translation from translation project.
325
326         * po/de.po: Update German translation from translation project.
327
328         * po/bg.po: Update Bulgarian translation from translation project.
329
330         * po/sv.po: Update Sweedish translation from translation project.
331
332         * po/nl.po: Update Dutch translation from translation project.
333
334         * po/es.po: Update Spanish translation from translation project.
335
336 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
337
338         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
339
340         * catgets/Makefile (CPPFLAGS-gencat): Remove.
341         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
342         (CPPFLAGS-iconvconfig): Likewise.
343         * timezone/Makefile (CPPFLAGS-zic): Likewise.
344
345         * include/libc-symbols.h: Remove unnecessary check for
346         NOT_IN_libc.
347         * nptl/pthreadP.h: Likewise.
348         * sysdeps/aarch64/setjmp.S: Likewise.
349         * sysdeps/alpha/setjmp.S: Likewise.
350         * sysdeps/arm/sysdep.h: Likewise.
351         * sysdeps/i386/setjmp.S: Likewise.
352         * sysdeps/m68k/setjmp.c: Likewise.
353         * sysdeps/posix/getcwd.c: Likewise.
354         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
355         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
356         * sysdeps/s390/s390-32/setjmp.S: Likewise.
357         * sysdeps/s390/s390-64/setjmp.S: Likewise.
358         * sysdeps/sh/sh3/setjmp.S: Likewise.
359         * sysdeps/sh/sh4/setjmp.S: Likewise.
360         * sysdeps/unix/alpha/sysdep.h: Likewise.
361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
362         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
363         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
364         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
369         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
372         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
374         * sysdeps/x86_64/setjmp.S: Likewise.
375
376 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
377
378         [BZ #17263]
379         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
380         <stdint.h>.
381         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
382         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
383
384 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
385
386         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
387
388         [BZ #17262]
389         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
390         and __x86_64__ when disabling x87 inline functions.
391
392 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
393
394         [BZ #17259]
395         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
396         asm statement with __cpuid_count.
397
398 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
399
400         * configure.ac: Change __ehdr_start code to dereference the struct.
401         Run readelf on the output to look for relocations.
402         * configure: Regenerated.
403
404 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
405
406         [BZ #17261]
407         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
408         value to 0.
409         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
410
411 2014-08-12  Roland McGrath  <roland@hack.frob.com>
412
413         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
414
415 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
416
417         [BZ #16892]
418         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
419         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
420
421 2014-08-12  Sean Anderson  <seanga2@gmail.com>
422
423         * malloc/malloc.c: Fix typo in comment.
424
425 2014-08-09  Allan McRae  <allan@archlinux.org>
426
427         * Regenerate libc.po.
428
429 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
430
431         * intl/tst-gettext2.sh: Check every lang file for creation.
432
433 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
434
435         * sysdeps/aarch64/fpu/math_private.h
436         (libc_feholdsetround_noex_aarch64_ctx): New function.
437
438 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
439
440         * sysdeps/arm/armv6/strcpy.S (strcpy):
441         Fix performance issue in misaligned cases.
442
443 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
444
445         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
446         Move definition from termios.h.
447         (struct termio): Likewise.
448         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
449         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
450         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
451         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
452         Likewise.
453         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
454         Move definition to ioctl-types.h
455         (struct termio): Likewise.
456         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
457         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
458         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
459         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
460         Likewise.
461
462 2014-08-05  Richard Henderson  <rth@redhat.com>
463
464         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
465         exceptions.
466         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
467         Add fraiseexcpt.
468         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
469         Use __feraiseexcept.
470         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
471         Protect libm symbols with IS_IN_libm.
472
473         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
474
475 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
476
477         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
478
479 2014-08-04  Will Newton  <will.newton@linaro.org>
480
481         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
482         file.
483
484 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
485
486         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
487         variants for each function.
488
489 2014-08-04  Roland McGrath  <roland@hack.frob.com>
490
491         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
492         appended ...
493         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
494         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
495         appended ...
496         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
497         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
498         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
499         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
500         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
501         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
502         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
503         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
504         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
505         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
506         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
507         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
508         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
509         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
510         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
511         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
512         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
513         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
514         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
515         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
516         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
517         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
518         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
519         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
520         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
521         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
522         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
523         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
524         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
525         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
526         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
527         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
528         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
529         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
530         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
531         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
532         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
533         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
534         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
535         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
536         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
537         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
538         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
539         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
540         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
541         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
542         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
543         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
544         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
545         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
546         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
547         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
548         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
549         Update #include.
550         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
551         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
552
553 2014-08-04  Roland McGrath  <roland@hack.frob.com>
554
555         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
556         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
557         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
558         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
559         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
560         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
561
562 2014-08-04  Roland McGrath  <roland@hack.frob.com>
563
564         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
565         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
566         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
567         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
568
569 2014-08-04  Roland McGrath  <roland@hack.frob.com>
570
571         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
572         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
573         (__libc_vfork): Define function under this name.
574         (__vfork): Define as an alias.
575         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
576         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
577
578 2014-08-04  Roland McGrath  <roland@hack.frob.com>
579
580         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
581         that was previously under [RESET_PID].
582         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
583
584 2014-08-04  Andreas Schwab  <schwab@suse.de>
585
586         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
587
588 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
589
590         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
591         (main): Likewise.
592
593 2014-08-01  Roland McGrath  <roland@hack.frob.com>
594
595         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
596
597 2014-08-01  Richard Henderon  <rth@redhat.com>
598
599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
600         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
601         typo in exact zero test.
602         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
603         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
604         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
605
606 2014-08-01  Roland McGrath  <roland@hack.frob.com>
607
608         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
609         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
610         * sysdeps/arm/sysdep.h: ... here.
611         [!__ASSEMBLER__]: Include <stdint.h>.
612
613 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
614
615         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
616         (HAVE_WCTYPE_H): Likewise.
617         (HAVE_ISWCTYPE): Likewise.
618         (ENABLE_NLS): Likewise.
619         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
620         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
621
622         * posix/regex_internal.c: Check if DEBUG is defined and is
623         set.
624
625         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
626         (HAVE_MBSRTOWCS): Likewise.
627         * posix/fnmatch.c: Include string.h unconditionally.
628
629 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
630
631         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
632         reversal.
633
634 2014-07-31  Roland McGrath  <roland@hack.frob.com>
635
636         * sysdeps/generic/safe-fatal.h: New file.
637         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
638         * nptl/forward.c: Include it.
639         (__pthread_unwind): Use __safe_fatal as default action, rather
640         than a bogus use of INTERNAL_SYSCALL that could never work.
641
642         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
643         * configure.ac (libc_cv_builtin_trap): New test.
644         * configure: Regenerated.
645         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
646         (ABORT_INSTRUCTION): Define using __builtin_trap.
647
648         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
649         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
650         * sysdeps/nptl/nptl-signals.h: New file.
651         * nptl/pthreadP.h: Include <nptl-signals.h>.
652
653 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
654
655         * sysdeps/s390/s390-64/utf16-utf32-z9.c
656         (ONE_DIRECTION): Define.
657         * sysdeps/s390/s390-64/utf8-utf16-z9.c
658         (ONE_DIRECTION): Define.
659         * sysdeps/s390/s390-64/utf8-utf32-z9.c
660         (ONE_DIRECTION): Define.
661
662 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
663
664         * sysdeps/s390/Makefile: Delete file.
665         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
666         * sysdeps/s390/__longjmp.c: Delete file.
667         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
668         Remove fields __flags and __reserved.
669         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
670         and add versioning.
671         * sysdeps/s390/rtld-__longjmp.c: Delete file.
672         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
673         * sysdeps/s390/rtld-setjmp.S: Likewise.
674         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
675         * sysdeps/s390/s390-32/__longjmp.c: ... here.
676         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
677         * sysdeps/s390/s390-32/setjmp.S: ... here.
678         Add versioning.
679         (__sigsetjmp): Remove setting __flags field.
680         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
681         * sysdeps/s390/s390-64/__longjmp.c: ... here.
682         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
683         * sysdeps/s390/s390-64/setjmp.S: ... here.
684         Add versioning.
685         (__sigsetjmp): Remove setting __flags field.
686         * sysdeps/s390/setjmp.S: Delete file.
687         * sysdeps/s390/sigjmp.c: Likewise.
688         * sysdeps/s390/v1-longjmp.c: Likewise.
689         * sysdeps/s390/v1-setjmp.h: Likewise.
690         * sysdeps/s390/v1-sigjmp.c: Likewise.
691         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
692         Remove v1-longjmp_chk.
693         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
694         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
695         Include debug/longjmp_chk.c and add versioning.
696         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
697         Include nptl/pt-longjmp.c and add versioning.
698         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
699         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
700         Include __longjmp.c.
701         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
702         Move to ...
703         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
704         (__getcontext): Remove setting __flags field.
705         Add versioning.
706         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
707         Don't restore upper high grps.
708         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
709         Likewise.
710         (__swapcontext): Remove setting uc_flags field.
711         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
712         Delete file.
713         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
714         Include __longjmp.c.
715         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
716         Move to ...
717         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
718         (__getcontext): Remove setting __flags field.
719         Add versioning.
720         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
721         (__swapcontext): Remove setting uc_flags field.
722         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
723         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
724         Remove fields uc_high_gprs and __reserved.
725         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
726         New file with reverted content.
727         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
728         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
729         Regenerated.
730         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
731         Regenerated.
732
733 2014-07-31  Andreas Schwab  <schwab@suse.de>
734
735         * config.h.in (HAVE_IFUNC): Define to 0.
736         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
737         definedness.
738
739 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
740
741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
742         memmove-avx-unaligned, memcpy-avx-unaligned and
743         mempcpy-avx-unaligned.
744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
745         Add tests for AVX memcpy functions.
746         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
747         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
748         memcpy_chk.
749         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
750         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
751         memmove_chk.
752         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
753         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
754         mempcpy_chk.
755         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
756         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
757         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
758
759 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
760
761         [BZ #17213]
762         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
763         powerpc64le.
764
765 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
766
767         [BZ #16839]
768         * manual/llio.texi: Add section about open file description locks.
769         * manual/examples/ofdlocks.c: Example of open file description
770         lock usage.
771         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
772         F_OFD_SETLK, and F_OFD_SETLKW.
773
774 2014-07-23  Allan McRae  <allan@archlinux.org>
775
776         * po/es.po: Update Spanish translation from translation project.
777
778 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
779
780         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
781
782 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
783
784         [BZ #17078]
785         * sysdeps/arm/dl-machine.h (elf_machine_rela)
786         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
787         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
788
789 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
790
791         [BZ #17088]
792         * math/fesetenv.c (__fesetenv)
793         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
794         * math/feupdateenv.c (__feupdateenv)
795         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
796
797         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
798         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
799         (__ASSUME_SOCKETCALL): Do not define.
800
801         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
802         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
803         (__ASSUME_SOCKETCALL): Do not define.
804         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
805         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
806         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
807         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
808         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
809         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
810         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
811         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
812
813         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
814         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
815         (__ASSUME_SOCKETCALL): Do not define.
816         (__ASSUME_IPC64): Define unconditionally.
817         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
818         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
819         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
821         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
822         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
823         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
824         Likewise.
825
826         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
827         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
828         (__ASSUME_SOCKETCALL): Do not define.
829         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
830         (__ASSUME_FUTEX_LOCK_PI): Likewise.
831         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
832         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
833         (__ASSUME_REQUEUE_PI): Define unconditionally.
834         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
835         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
836         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
837         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
838         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
839         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
840
841         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
842         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
843         (__ASSUME_SOCKETCALL): Do not define.
844         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
845         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
846         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
847         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
848         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
849         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
850
851         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
852         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
853         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
854         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
856         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
858         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
859         (__ASSUME_GETCPU_SYSCALL): Likewise.
860
861         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
862         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
863         cases for individual architectures.
864         * sysdeps/gnu/configure: Regenerated.
865         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
866         LIBC_SLIBDIR_RTLDDIR.
867         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
868         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
869         LIBC_SLIBDIR_RTLDDIR.
870         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
872         LIBC_SLIBDIR_RTLDDIR.
873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
874         Regenerated.
875         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
876         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
877         file.
878         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
879         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
880         file.
881         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
882         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
883         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
884         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
885
886         * sysdeps/aarch64/shlib-versions: Move to ...
887         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
888         * sysdeps/alpha/shlib-versions: Move to ...
889         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
890         * sysdeps/arm/shlib-versions: Move to ...
891         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
892         * sysdeps/hppa/shlib-versions: Move all contents except for
893         libgcc_s entry to ...
894         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
895         entry from ...
896         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
897         * sysdeps/ia64/shlib-versions: Move to ...
898         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
899         entry from ...
900         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
901         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
902         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
903         * sysdeps/microblaze/shlib-versions: Move to ...
904         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
905         * sysdeps/mips/shlib-versions: Move to ...
906         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
907         entry from ...
908         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
909         * sysdeps/tile/shlib-versions: Move to ...
910         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
911         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
912         from ...
913         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
914         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
915         entry from ...
916         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
917
918 2014-07-17  Will Newton  <will.newton@linaro.org>
919
920         * sysdeps/arm/bits/atomic.h
921         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
922         (__arch_compare_and_exchange_bool_16_int): Likewise.
923         (__arch_compare_and_exchange_bool_64_int): Likewise.
924
925         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
926         into an #else block.
927
928 2014-07-16  Roland McGrath  <roland@hack.frob.com>
929
930         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
931         just Linux configurations.  Test empirically that the compiler sets
932         __ARM_EABI__, rather than using the tuple to decide.
933         * sysdeps/arm/preconfigure: Regenerated.
934         * sysdeps/unix/sysv/linux/arm/configure: File removed.
935         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
936         contents appended ...
937         * sysdeps/arm/configure.ac: ... here.
938         * sysdeps/arm/configure: Regenerated.
939
940 2014-07-15  Roland McGrath  <roland@hack.frob.com>
941
942         * nptl/pthread_kill.c: New file.
943         * nptl/pthread_sigmask.c: New file.
944         * nptl/pthread_sigqueue.c: New file.
945
946         * sysdeps/nptl/lowlevellock.h: New file.
947         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
948         * sysdeps/nptl/lowlevellock-futex.h: New file.
949
950         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
951         Remove dead declarations.
952
953 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
954
955         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
956         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
957         config-cflags-avx2.
958         * sysdeps/x86_64/configure.ac: Likewise.
959         * sysdeps/i386/configure: Regenerated.
960         * sysdeps/x86_64/configure: Likewise.
961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
962         memset-avx2 only if config-cflags-avx2 is yes.
963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
964         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
965         defined.
966         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
967         only if HAVE_AVX2_SUPPORT is defined.
968         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
969
970 2014-07-14  Alan Modra  <amodra@gmail.com>
971
972         [BZ #17153]
973         * elf/elf.h (DT_PPC64_NUM): Correct value.
974         * NEWS: Add to fixed bug list.
975
976 2014-07-13  Jim Meyering  <meyering@fb.com>
977
978         [BZ 17150]
979         regex: don't deref NULL upon heap allocation failure
980         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
981         failure in one more place.
982         To trigger the segfault, configure grep -with-included-regex,
983         build it, and run these commands:
984         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
985
986 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
987
988         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
989
990 2014-07-11  Richard Henderson  <rth@redhat.com>
991
992         * sysdeps/aarch64/libm-test-ulps: Update.
993
994 2014-07-10  Florian Weimer  <fweimer@redhat.com>
995
996         [BZ #17135]
997         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
998         * nptl/allocatestack.c (__nptl_setxid_error): New function.
999         (__nptl_setxid): Initialize error member.  Call
1000         __nptl_setxid_error.
1001         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1002         * nptl/descr.h (struct xid_command): Add error member.
1003         * nptl/tst-setuid3.c: New file.
1004         * nptl/Makefile (tests): Add it.
1005
1006 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1007
1008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1009         New define.
1010         (__lll_trylock): Use __lll_base_trylock.
1011         (__lll_cond_trylock): Likewise.
1012
1013 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1014
1015         * nptl/pthread_create.c (start_thread): Use atomic_or and
1016         lll_futex_wake directly rather than lll_robust_dead.
1017         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1018         (lll_robust_dead): Macro removed.
1019         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1020         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1021         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1022         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1023         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1024         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1025         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1026         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1027         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1028         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1029         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1030         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1031         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1032         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1033         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1034
1035         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1036         Use atomic_compare_and_exchange_val_acq directly rather than
1037         lll_robust_trylock.
1038         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1039         (__lll_robust_trylock, lll_robust_trylock): Removed.
1040         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1041         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1042         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1043         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1044         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1045         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1046         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1047         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1048         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1049         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1050         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1051         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1052         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1053         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1054
1055 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1056
1057         * manual/locale.texi (Locale Names): New section documenting
1058         locale name syntax.  Adjust menu and node chaining accordingly.
1059         (Choosing Locale): Reference Locale Names, Locale Categories.
1060         Mention setting LC_ALL=C.  Reflect that name syntax is now
1061         documented.
1062         (Locale Categories): New section title.  Reference Locale Names.
1063         LC_ALL is an environment variable, but not a category.
1064         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1065         description, now in Locale Name.  Reference that section.  Locale
1066         name syntax is now documented.
1067
1068 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1069
1070         [BZ #17137]
1071         * locale/findlocale.c (name_present, valid_locale_name): New
1072         functions.
1073         (_nl_find_locale): Use the loc_name variable to store name
1074         candidates.  Call name_present and valid_locale_name to check and
1075         validate locale names.  Return an error if the locale is invalid.
1076
1077 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1078
1079         * locale/setlocale.c (setlocale): Use strdup for allocating
1080         composite name copy.
1081
1082 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1083
1084         Sync up with gnulib.
1085         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1086         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1087         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1088         and _GL_ARG_NONNULL.
1089         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1090         [!_LIBC]: Include code for Windows and Cygwin.
1091         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1092         Include prototype for int strerror_r.
1093         [!_LIBC] (is_open): New function.
1094         (flush_stdout): New function.
1095         (print_errno_message): Use it.
1096         (error): Likewise.
1097         (error_at_line): Likewise.
1098         (error_tail) Add function attribute macros.  Use
1099         __builtin_expect.
1100
1101         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1102
1103         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1104
1105         * io/ftw.c: Include sys/param.h unconditionally.
1106
1107         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1108
1109         [BZ #17125]
1110         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1111         libc_freeres_ptr.
1112         (freecache): New function to free CACHE on exit.
1113
1114         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1115         initialization.
1116
1117 2014-07-09  David S. Miller  <davem@davemloft.net>
1118
1119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1120
1121         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1122         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1123         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1124         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1125         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1126         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1127         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1128         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1129         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1130         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1131         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1132         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1133         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1134
1135 2014-07-09  Andreas Schwab  <schwab@suse.de>
1136
1137         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1138         output.
1139         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1140         (do_test): Likewise.
1141
1142         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1143
1144 2014-07-09  Will Newton  <will.newton@linaro.org>
1145
1146         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1147         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1148         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1149         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1150         * sysdeps/hppa/start.S (_start): Likewise.
1151
1152 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1153
1154         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1155
1156         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1157         defined.
1158
1159 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1160
1161         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1162         after checking that it is non-NULL.
1163
1164         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1165
1166 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1167
1168         * sysdeps/powerpc/memmove.c: Remove file.
1169         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1170         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1171         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1172         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1173         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1174         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1175         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1176         string memmove instead of removed powerpc one.
1177
1178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1179         [weak_alias]: Fix compiler warning due trailing data.
1180         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1181         [weak_alias]: Likewise.
1182         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1183         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1184
1185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1186         (__libc_ifunc_impl_list): Add memmove functions.
1187
1188 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1189
1190         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1191         Remove code.
1192         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1193         Likewise
1194         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1195         Likewise
1196         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1197         Likewise
1198         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1199         Likewise
1200         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1201         Likewise
1202         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1203         Likewise
1204         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1205         Likewise
1206         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1207         Likewise
1208         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1209         Likewise
1210         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1211         Likewise
1212         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1213         Likewise
1214         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1215         Likewise
1216         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1217         Likewise
1218         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1219         Likewise
1220         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1221         Likewise
1222         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1223         Likewise
1224
1225 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1226
1227         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1228         to avoid alignment traps in non-cacheable memory.
1229         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1230
1231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1232         multiarch objects.
1233         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1234         file: multiarch power7 memmove.
1235         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1236         multiarch default memmove.
1237         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1238         multiarch memove for powerpc32/power4.
1239
1240         * string/bcopy.c: Use full path to include memmove.c.
1241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1242         multiarch objects.
1243         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1244         bcopy for powerpc64.
1245         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1246         bcopy for powerpc64.
1247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1248         and memmove implementations.
1249         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1250         optimized multiarch memmove for POWER7/powerpc64.
1251         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1252         default multiarch memmove for powerpc64.
1253         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1254         multiarch for powerpc64.
1255         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1256         for POWER7/powerpc64.
1257         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1258         memmove for POWER7/powerpc64.
1259
1260         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1261         glibc default one.
1262
1263         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1264         __ELF_NATIVE_CLASS equal to 64.
1265
1266 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1267
1268         * sysdeps/nptl/lowlevellock.h: File removed.
1269
1270         * NEWS: NPTL is no longer an add-on!
1271         * nptl/internaltypes.h: Moved ...
1272         * sysdeps/nptl/internaltypes.h: ... here.
1273         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1274         * sysdeps/nptl/fork.c: Likewise.
1275         * sysdeps/nptl/gai_misc.h: Likewise.
1276         * sysdeps/nptl/librt-cancellation.c: Likewise.
1277         * sysdeps/nptl/jmp-unwind.c: Likewise.
1278         * sysdeps/nptl/setxid.h: Likewise.
1279         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1280         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1281         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1282         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1283         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1284         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1285         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1286         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1287         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1288         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1289         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1290         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1291         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1292         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1293         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1294         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1295         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1296         * nptl/Makeconfig: Moved ...
1297         * sysdeps/nptl/Makeconfig: ... here.
1298         * nptl/configure: File removed.
1299         * nptl/ANNOUNCE: File removed.
1300         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1301         * sysdeps/unix/sysv/linux/configure: Regenerated.
1302
1303         * nptl/Makefile (routines): Add libc_pthread_init,
1304         libc_multiple_threads, register-atfork and unregister-atfork.
1305         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1306         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1307         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1308         pthread-pi-defines.sym, structsem.sym.
1309         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1310         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1311         [$(subdir) = nptl] (tests): Add tst-setgetname.
1312         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1313         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1314         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1315         [!LIBC_SIGACTION]: Remove aliases.
1316         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1317         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1318         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1319         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1320         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1321         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1322         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1323         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1324         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1325         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1326         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1327         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1328         __libc_allocate_rtsig_private.
1329         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1330         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1331         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1332         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1333         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1334         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1335         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1336         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1337         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1338         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1339         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1340         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1341         * nptl/internaltypes.h: ... here.
1342         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1343         * sysdeps/nptl/jmp-unwind.c: ... here.
1344         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1345         * nptl/libc-lowlevellock.c: ... here.
1346         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1347         * nptl/libc_multiple_threads.c: ... here.
1348         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1349         * nptl/libc_pthread_init.c: ... here.
1350         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1351         * nptl/lowlevelbarrier.sym: ... here.
1352         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1353         * nptl/lowlevelcond.sym: ... here.
1354         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1355         * nptl/lowlevellock.c: ... here.
1356         * nptl/lowlevellock.h: Moved ...
1357         * sysdeps/nptl/lowlevellock.h: ... here.
1358         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1359         * nptl/lowlevelrobustlock.c: ... here.
1360         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1361         * nptl/lowlevelrobustlock.sym: ... here.
1362         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1363         * nptl/lowlevelrwlock.sym: ... here.
1364         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1365         * nptl/pt-fork.c: ... here.
1366         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1367         * nptl/pthread-pi-defines.sym: ... here.
1368         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1369         * nptl/pthread_attr_getaffinity.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1371         * nptl/pthread_attr_setaffinity.c: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1373         * nptl/pthread_mutex_cond_lock.c: ... here.
1374         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1375         Update #include.
1376         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1377         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1378         * nptl/pthread_once.c: ... here, replacing old file.
1379         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1380         * nptl/pthread_yield.c: ... here.
1381         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1382         * nptl/register-atfork.c: ... here.
1383         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1384         * nptl/sem_post.c: ... here.
1385         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1386         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1387         * nptl/sem_timedwait.c: ... here.
1388         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1389         * nptl/sem_trywait.c: ... here.
1390         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1391         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1392         * nptl/sem_wait.c: ... here.
1393         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1394         * nptl/structsem.sym: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1396         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1397         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1398         * nptl/unregister-atfork.c: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1400         * nptl/unwindbuf.sym: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1402         * sysdeps/nptl/fork.c: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1404         * sysdeps/nptl/fork.h: ... here.
1405         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1406         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1407         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1408         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1409         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1410         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1411         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1412         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1413         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1414         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1415         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1416         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1417         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1418         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1419         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1420         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1421         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1422         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1423         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1424         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1425         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1426         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1427         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1428         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1429         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1430         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1431         * sysdeps/unix/sysv/linux/raise.c: ... here.
1432         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1433         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1434         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1435         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1436         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1437         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1438         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1439         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1440         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1441         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1442         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1443         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1444         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1445         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1446         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1447
1448 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1449
1450         * sysdeps/generic/memcopy.h: Add comment for
1451         MEMCPY_OK_FOR_FWD_MEMMOVE.
1452
1453 2014-07-04  Will Newton  <will.newton@linaro.org>
1454
1455         * string/memchr.c: Merge from gnulib.
1456         [_LIBC]: Remove conditionals.
1457         (__ptr_t): Remove define.
1458         (LONG_MAX_32_BITS): Likewise.
1459         (LONG_MAX): Likewise.
1460         (MEMCHR): Use ANSI prototype and optimize algorithm.
1461
1462         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1463
1464 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1465
1466         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1467         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1468
1469         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1470         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1471         in a bare environment with no <stdlib.h> installed.
1472         * sysdeps/nptl/configure: Regenerated.
1473
1474         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1475
1476         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1477         AC_EGREP_CPP for kernel header checks, so they only succeed if
1478         including <linux/version.h> actually works right.
1479         * sysdeps/unix/sysv/linux/configure: Regenerated.
1480
1481         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1482         value so it's not diagnosed as unused.
1483
1484         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1485         thing) with "ifeq ($(subdir),rt)".
1486
1487 2014-07-03  Richard Henderson  <rth@redhat.com>
1488
1489         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1490         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1491         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1492
1493         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1494         (math_force_eval): New.
1495
1496         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1497         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1498
1499         * sysdeps/alpha/fpu/s_round.c: Remove file.
1500         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1501
1502         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1503         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1504         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1505         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1506         (_dl_start, print_statistics): Likewise.
1507         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1508         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1509
1510         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1511         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1512         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1513         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1514         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1515         (HP_SMALL_TIMING_AVAIL): Define.
1516         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1517         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1518         (HP_SMALL_TIMING_AVAIL): Define.
1519         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1520         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1521
1522         * sysdeps/aarch64/hp-timing.h: New file.
1523
1524         * sysdeps/generic/hp-timing.h: Remove dead comment.
1525         * sysdeps/generic/hp-timing-common.h: New file.
1526         * sysdeps/alpha/hp-timing.h: Include it.
1527         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1528         * sysdeps/i386/i686/hp-timing.h: Likewise.
1529         * sysdeps/ia64/hp-timing.h: Likewise.
1530         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1531         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1532         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1533         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1534         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1535         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1536         (hp_timing_t): New.
1537
1538         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1539         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1540         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1541         * elf/rtld.c (_dl_start_final): Likewise.
1542         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1543         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1544         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1545         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1546         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1548         (HP_TIMING_DIFF_INIT): Remove.
1549         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1550         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1551         (HP_TIMING_DIFF_INIT): Remove.
1552         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1553         * sysdeps/i386/i686/hp-timing.c: Remove file.
1554         * sysdeps/x86_64/hp-timing.c: Remove file.
1555         * sysdeps/ia64/hp-timing.c: Remove file.
1556         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1557         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1558         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1559         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1560
1561         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1562         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1563         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1564         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1565         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1566         (HP_TIMING_ACCUM): Remove.
1567         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1568         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1569         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1570
1571         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1572         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1573         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1574         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1575         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1576         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1577         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1578         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1579
1580         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1581
1582 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1583
1584         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1585
1586 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1587
1588         Sync up with gettext.
1589         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1590         [_MSC_VER]: Include malloc.h
1591         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1592         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1593         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1594         TEMP_FAILURE_RETRY.  Cast return of alloca.
1595         [!_LIBC] Call gl_rwlock_init.
1596         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1597
1598 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1599
1600         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1601         before checking its value.
1602
1603 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1604
1605         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1606
1607         * debug/memcpy_chk.c: Don't include pagecopy.h.
1608         * debug/mempcpy_chk.c: Likewise.
1609         * string/memcpy.c: Likewise.
1610         * string/memmove.c: Likewise.
1611         * sysdeps/powerpc/memmove.c: Likewise.
1612         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1613         definition of PAGE_COPY_FWD_MAYBE here...
1614         * sysdeps/generic/pagecopy.h: ... from here.
1615         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1616
1617 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1618             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1619
1620         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1622         optimizations.
1623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1624         (__libc_ifunc_impl_list): Likewise.
1625         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1626         multiarch strcat for PPC64.
1627         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1628         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1629
1630 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1631
1632         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1633
1634 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1635
1636         * intl/loadmsgcat.c: Remove declaration of
1637         get_sysdep_segment_value.
1638         (get_sysdep_segment_value): Use ISO C style.
1639         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1640         semicolon.  Fix typo and formatting in comment.
1641         (_nl_unload_domain): Use ISO C style.
1642
1643         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1644
1645 2014-07-02  Will Newton  <will.newton@linaro.org>
1646
1647         * malloc/obstack.c: Merge from gnulib master.
1648         [HAVE_CONFIG_H]: Remove conditional code.
1649         [!_LIBC]: Include config.h.
1650         [!ELIDE_CODE]: Don't include inttypes.h, include
1651         stdint.h unconditionally.
1652         (print_and_abort): Mark as _Noreturn.
1653         (_obstack_allocated_p): Mark as __attribute_pure__.
1654         (obstack_free): Rename to __obstack_free.
1655         [!__attribute__]: Remove conditional code.
1656         * malloc/obstack.h: Merge from gnulib master.
1657         [__cplusplus]: Move conditional down.
1658         [!__attribute_pure__]: Define __attribute_pure__ here
1659         if it is not already defined.
1660         (_obstack_memory_used): Mark as __attribute_pure__.
1661         [!__obstack_free]: Define as obstack_free.
1662         [__GNUC__]: Remove check for ancient NeXT gcc.
1663
1664 2014-07-02  Will Newton  <will.newton@linaro.org>
1665             Paul Eggert  <eggert@cs.ucla.edu>
1666
1667         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1668
1669 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1670
1671         * resolv/gethnamaddr.c: Add comment warning that the file is
1672         not maintained.
1673
1674 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1675
1676         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1677         entries.
1678
1679         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1680         entry for aio_cancel and aio_cancel64.
1681         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1682         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1683         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1684         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1685         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1686         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1687         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1688         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1689         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1690         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1691         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1692         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1693         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1694
1695 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1696
1697         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1698         * nptl/pthread_mutex_lock.c: Likewise.
1699         * nptl/pthread_mutex_timedlock.c: Likewise.
1700         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1701
1702 2014-07-01  Richard henderson  <rth@redhat.com>
1703
1704         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1705         (__isnan, __isnanl): Remove.
1706         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1707
1708         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1709
1710 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1711
1712         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1713
1714 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1715
1716         * resolv/nss_dns/dns-host.c (getanswer_r)
1717         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1718
1719 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1720
1721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1722         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1723         undefine.
1724         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1725         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1726
1727 2014-07-01  Roland McGrath <roland@hack.frob.com>
1728
1729         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1730         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1731
1732         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1733         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1734
1735         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1736         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1737         ... here.
1738         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1739         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1740
1741         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1742         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1743         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1744         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1745
1746         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1747         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1748         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1749         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1750         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1751         Moved ...
1752         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1753         ... here.
1754         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1755         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1756         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1757         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1758         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1759         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1760         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1761         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1762         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1763         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1764         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1765         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1766         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1767         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1768         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1769         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1770         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1771         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1772         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1773         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1774         ... here.
1775         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1776         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1777         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1778         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1779         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1780         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1781         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1782         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1783
1784 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1785
1786         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1787         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1788         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1789         Add sysdep.
1790
1791 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1792
1793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1794
1795 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1796
1797         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1798         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1799
1800         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1801
1802         * sysdeps/arm/libm-test-ulps: Regenerated.
1803
1804 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1805             Roland McGrath <roland@hack.frob.com>
1806
1807         * test-skeleton.c (signal_handler): Kill the whole process group
1808         before killing the child individually.
1809         (main): Report any failure on `setpgid'.
1810
1811 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1812
1813         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1814         from _TLS_H to _ARM_NPTL_TLS_H.
1815         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1816         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1817
1818 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1819
1820         [BZ #16539]
1821         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1822         (__expm1l): Return argument unchanged when small but not
1823         subnormal.
1824
1825         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1826         include macro name.
1827         (_FP_UNPACK_RAW_1_P): Likewise.
1828         (_FP_PACK_RAW_1): Likewise.
1829         (_FP_PACK_RAW_1_P): Likewise.
1830         (_FP_MUL_MEAT_1_wide): Likewise.
1831         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1832         (_FP_MUL_MEAT_1_hard): Likewise.
1833         (_FP_DIV_MEAT_1_imm): Likewise.
1834         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1835         (_FP_DIV_MEAT_1_udiv): Likewise.
1836         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1837         (_FP_UNPACK_RAW_2): Likewise.
1838         (_FP_UNPACK_RAW_2_P): Likewise.
1839         (_FP_PACK_RAW_2): Likewise.
1840         (_FP_PACK_RAW_2_P): Likewise.
1841         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1842         (_FP_MUL_MEAT_2_wide): Likewise.
1843         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1844         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1845         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1846         (_FP_MUL_MEAT_2_gmp): Likewise.
1847         (_FP_DIV_MEAT_2_udiv): Likewise.
1848         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1849         (_FP_FRAC_SRL_4): Likewise.
1850         (_FP_FRAC_SRST_4): Likewise.
1851         (_FP_FRAC_SRS_4): Likewise.
1852         (_FP_UNPACK_RAW_4): Likewise.
1853         (_FP_UNPACK_RAW_4_P): Likewise.
1854         (_FP_PACK_RAW_4): Likewise.
1855         (_FP_PACK_RAW_4_P): Likewise.
1856         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1857         (_FP_MUL_MEAT_4_wide): Likewise.
1858         (_FP_MUL_MEAT_4_gmp): Likewise.
1859         (umul_ppppmnnn): Likewise.
1860         (_FP_DIV_MEAT_4_udiv): Likewise.
1861         (__FP_FRAC_ADD_4): Likewise.
1862         (__FP_FRAC_SUB_3): Likewise.
1863         (__FP_FRAC_SUB_4): Likewise.
1864         (__FP_FRAC_DEC_3): Likewise.
1865         (__FP_FRAC_DEC_4): Likewise.
1866         (__FP_FRAC_ADDI_4): Likewise.
1867         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1868         (_FP_FRAC_SRL_8): Likewise.
1869         (_FP_FRAC_SRS_8): Likewise.
1870
1871         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1872         include macro name.
1873         (FP_UNPACK_RAW_EP): Likewise.
1874         (FP_PACK_RAW_E): Likewise.
1875         (FP_PACK_RAW_EP): Likewise.
1876         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1877         (_FP_ISSIGNAN): Likewise.
1878         (_FP_ADD_INTERNAL): Likewise.
1879         (_FP_FMA): Likewise.
1880         (_FP_CMP): Likewise.
1881         (_FP_SQRT): Likewise.
1882         (_FP_TO_INT): Likewise.
1883         (_FP_FROM_INT): Likewise.
1884         (FP_EXTEND): Likewise.
1885         (_FP_DIV_MEAT_N_loop): Likewise.
1886
1887 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1888
1889         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1890         throughout.
1891
1892 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1893
1894         [BZ #17097]
1895         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1896         result with correct sign in case of exponents that produce
1897         overflow except for X very close to 1.
1898
1899 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1900
1901         mktime: merge #if/#ifdef usage from glibc
1902         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1903         as that works with both Glibc's and Gnulib's style.
1904         See thread starting at Siddhesh Poyarekar's bug report at:
1905         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1906
1907 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1908
1909         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1910         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1911         * sysdeps/tile/tilegx/memmove.c: Remove file.
1912
1913 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1914
1915         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1916         abi-name definition.
1917         * scripts/soversions.awk: Do not handle or generate ABI lines.
1918         * shlib-versions: Remove ABI entries.
1919         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1920         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1921
1922 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1923
1924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1925         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1926         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1927         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1929         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1931         Moved ...
1932         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1933         ... here.
1934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1935         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1937         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1939         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1941         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1943         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1945         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1947         Moved ...
1948         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1950         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1952         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1954         Moved ...
1955         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1957         Moved ...
1958         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1962         Moved ...
1963         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1965         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1967         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1969         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1971         Moved ...
1972         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1976         Moved ...
1977         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1978         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1979         Moved ...
1980         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1982         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1984         Moved ...
1985         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1986         ... here.
1987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1988         Identical file removed.
1989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1990         Moved ...
1991         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1993         Identical file removed.
1994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1995         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1997         Moved ...
1998         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1999         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2000         Identical file removed.
2001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2002         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2004         Identical file removed.
2005         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2006         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2007         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2008         Identical file removed.
2009         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2010         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2012         Identical file removed.
2013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2014         Moved ...
2015         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2017         Identical file removed.
2018         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2019         Moved ...
2020         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2021         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2022         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2024         Identical file removed.
2025         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2026         Moved ...
2027         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2028         ... here.
2029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2030         Identical file removed.
2031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2032         Moved ...
2033         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2035         Identical file removed.
2036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2037         Moved ...
2038         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2039         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2040         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2041         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2042         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2044         Moved ...
2045         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2046         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2047         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2048
2049         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2050         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2051         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2052         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2053         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2054
2055 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2056
2057         [BZ #17092]
2058         * nscd/nscd.c (monitor_child): Return exit status of child
2059         instead of return value from wait syscall.
2060
2061 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2062
2063         * configure.ac (libc_commonpagesize): Remove variable.
2064         (libc_relro_required): Likewise.
2065         (libc_cv_z_relro): Remove configure test.
2066         * configure: Regenerated.
2067         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2068         variable.
2069         (libc_relro_required): Likewise.
2070         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2071         (libc_relro_required): Likewise.
2072         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2073         (libc_relro_required): Likewise.
2074         * sysdeps/arm/preconfigure: Regenerated.
2075         * sysdeps/ia64/preconfigure: Remove file.
2076         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2077         variable.
2078         (libc_relro_required): Likewise.
2079
2080         [BZ #16561]
2081         [BZ #16562]
2082         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2083         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2084         recompute overflowing results in original rounding mode.
2085         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2086         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2087         recompute overflowing results in original rounding mode.
2088         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2089         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2090         recompute overflowing results in original rounding mode.
2091         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2092         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2093         recompute overflowing results in original rounding mode.
2094         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2095         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2096         recompute overflowing results in original rounding mode.
2097         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2098         (libc_feholdsetround_ctx): New macro.
2099         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2100         * sysdeps/i386/fpu/libm-test-ulps: Update.
2101         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2102
2103 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2104
2105         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2106         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2107         corresponding .cpsetup call.
2108
2109 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2110
2111         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2112         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2113         * sysdeps/arm/Makefile [$(subdir) = csu]
2114         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2115         (static-only-routines): Add aeabi_read_tp here.
2116         (shared-only-routines): Add libc-aeabi_read_tp here.
2117         (CFLAGS-libc-start.c): Add -fexceptions here.
2118         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2119         (sysdep_routines, static-only-routines, shared-only-routines):
2120         Don't add to these here.
2121         (CFLAGS-libc-start.c): Likewise.
2122
2123         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2124         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2125         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2126         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2127         * sysdeps/arm/Makefile [$(subdir) = rt]
2128         (librt-sysdep_routines, librt-shared-only-routines):
2129         Append rt-aeabi_unwind_cpp_pr1 here.
2130         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2131         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2132         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2133         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2134         Append nptl-aeabi_unwind_cpp_pr1 here.
2135         (tests): Filter out tst-cleanupx4 here.
2136         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2137         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2138         Don't do those here.
2139
2140 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2141
2142         * scripts/list-sources.sh: Do not handle ports specially.
2143
2144 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2145
2146         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2147         * sysdeps/arm/feupdateenv.c: Likewise.
2148
2149         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2150
2151 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2152
2153         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2154         trailing whitespace removed.
2155         * scripts/config.guess: Update to version 2014-03-23.
2156         * scripts/config.sub: Update to version 2014-05-01
2157         * scripts/install-sh: Update to version 2013-12-25.23.
2158         * scripts/move-if-change: Update from gnulib.
2159
2160 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2161
2162         * debug/memmove_chk.c: Remove pagecopy.h include.
2163
2164 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2165
2166         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2167         identical to gnulib mktime.
2168
2169 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2170
2171         * configure.ac: Do not test for machine being rs6000.  Do not test
2172         for powerpc*-*soft.
2173         * configure: Regenerated.
2174
2175         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2176         test.
2177         * configure: Regenerated.
2178         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2179         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2180         Remove configure test.
2181         * sysdeps/arm/configure: Regenerated.
2182         * sysdeps/nptl/configure.ac: Do not check
2183         libc_cv_asm_cfi_directives.
2184         * sysdeps/nptl/configure: Regenerated.
2185         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2186         * sysdeps/x86_64/nptl/configure: Remove generated file.
2187         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2188         unconditional.
2189         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2190
2191 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2192
2193         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2194         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2195         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2196         it is defined.
2197
2198         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2199         instead of whether it is defined.
2200         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2201         * sysdeps/hppa/dl-machine.h: Likewise.
2202         * sysdeps/ia64/dl-machine.h: Likewise.
2203         * sysdeps/m68k/dl-machine.h: Likewise.
2204         * sysdeps/microblaze/dl-machine.h: Likewise.
2205         * sysdeps/mips/dl-machine.: Likewise.
2206         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2207         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2208         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2209         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2210         * sysdeps/sh/dl-machine.h: Likewise.
2211         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2212         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2213         * sysdeps/tile/dl-machine.h: Likewise.
2214         * sysdeps/x86_64/dl-machine.h: Likewise.
2215
2216         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2217         code.
2218         (verify_persistent_db): Likewise.
2219
2220 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2221
2222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2223         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2225         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2227         Moved ...
2228         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2229         ... here.
2230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2231         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2233         Identical file removed.
2234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2235         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2237         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2239         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2241         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2243         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2245         Moved ...
2246         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2248         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2250         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2252         Moved ...
2253         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2255         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2257         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2259         Identical file removed.
2260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2261         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2263         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2265         Moved ...
2266         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2267         ... here.
2268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2269         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2271         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2273         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2275         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2277         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2279         Moved ...
2280         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2282         Moved ...
2283         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2285         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2287         Moved ...
2288         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2291
2292         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2293         folded into ...
2294         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2295         * sysdeps/unix/sysv/linux/s390/Versions
2296         (libpthread: GLIBC_2.19): New version set.
2297         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2298         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2299         (librt: GLIBC_2.3.3): New version set.
2300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2301         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2302         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2303         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2304         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2305         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2306         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2307         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2308         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2309         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2310         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2311         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2312         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2313         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2314         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2315         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2316         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2317         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2318         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2319         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2320         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2321         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2322         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2323         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2324         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2325         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2326         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2327         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2328         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2329         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2330         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2331         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2336         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2338         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2340         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2341         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2342         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2344         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2345
2346         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2347         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2348         (__libc_vfork): Define the function under this name.
2349         [!NOT_IN_libc] (__vfork): Make this an alias.
2350         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2352         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2353         (__libc_vfork): Define the function under this name.
2354         [!NOT_IN_libc] (__vfork): Make this an alias.
2355         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2356         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2357         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2359         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2360         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2361
2362         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2363         code that was previously under [RESET_PID].
2364         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2365         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2367
2368         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2369         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2370         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2371         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2372         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2373         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2374         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2375         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2376         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2379         Moved ...
2380         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2382         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2384         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2386         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2387         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2388         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2389         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2390         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2391         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2392         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2394         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2395         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2396         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2397         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2398         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2399         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2400         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2401         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2402         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2403         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2404         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2405         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2406         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2407         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2408         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2409
2410 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2411
2412         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2413         that was previously under [RESET_PID].
2414         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2415
2416 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2417
2418         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2419         not undefine and redefine.
2420         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2421         [O_CLOEXEC]: Make code unconditional.
2422         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2423         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2424         <kernel-features.h>.
2425         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2426         conditional variable definition.
2427         (shm_open) [O_CLOEXEC]: Make code unconditional.
2428         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2429         code.
2430
2431         * configure.ac (USE_REGPARMS): Don't define here.
2432         * configure: Regenerated.
2433         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2434         * sysdeps/i386/configure: Regenerated.
2435
2436         * nptl/createthread.c: Don't include kernel-features.h.
2437         * nptl/pthread_cancel.c: Likewise.
2438         * nptl/pthread_condattr_setclock.c: Likewise.
2439         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2440         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2441         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2442         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2443         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2445         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2448         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2449         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2450         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2451         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2452         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2453         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2454         * nscd/gai.c: Likewise.
2455         * nss/nss_db/db-open.c: Likewise.
2456         * sysdeps/generic/ldsodefs.h: Likewise.
2457         * sysdeps/sh/nptl/tls.h: Likewise.
2458         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2459         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2460         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2461         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2462         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2463         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2464         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2465         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2466         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2467         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2468         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2469         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2470         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2471         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2472         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2473         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2474         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2475         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2476         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2477         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2478         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2480         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2481         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2485         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2486         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2487         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2488         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2489         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2490         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2491         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2492         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2493         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2494         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2495         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2496         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2497         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2498         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2499         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2500         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2501         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2502         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2503         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2504         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2505         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2506         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2507         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2508         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2509         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2510         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2511         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2512         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2513         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2515         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2538         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2539         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2540         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2541         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2542         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2543         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2544         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2545         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2546         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2547         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2548         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2549         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2550         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2551         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2552         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2553         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2554         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2555         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2556         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2557         * sysdeps/unix/sysv/linux/system.c: Likewise.
2558         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2559         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2560         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2561         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2562         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2563         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2564         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2565
2566         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2567         * configure: Regenerated.
2568         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2569
2570         * configure.ac (base_machine): Do not set specially for particular
2571         machines here.
2572         * configure: Regenerated.
2573         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2574         settings from configure.ac.
2575         * sysdeps/i386/preconfigure: New file.
2576         * sysdeps/s390/preconfigure: Likewise.
2577         * sysdeps/sh/preconfigure: Likewise.
2578         * sysdeps/sparc/preconfigure: Likewise.
2579
2580 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2581
2582         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2583         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2584         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2585         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2586         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2587         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2588         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2589         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2590         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2591         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2592         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2593         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2594         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2595         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2596         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2597         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2598         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2599         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2600         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2601
2602         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2603         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2604         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2605         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2606         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2607         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2608         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2609         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2610         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2611         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2612         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2613         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2614         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2615         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2616         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2617         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2618         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2619         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2620         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2621         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2622         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2623         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2625         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2626         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2627         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2628         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2629         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2630         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2631         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2632         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2633         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2634         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2635         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2636         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2637         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2638         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2639         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2640
2641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2642         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2644         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2646         Moved ...
2647         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2648         ... here.
2649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2650         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2652         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2654         Moved ...
2655         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2657         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2659         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2661         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2663         Moved ...
2664         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2666         Moved ...
2667         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2669         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2671         Moved ...
2672         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2674         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2676         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2678         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2680         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2682         Moved ...
2683         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2684         ... here.
2685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2686         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2688         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2690         Moved ...
2691         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2693         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2695         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2697         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2699         Moved ...
2700         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2702         Moved ...
2703         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2705         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2707         Moved ...
2708         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2710         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2712         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2713
2714 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2715
2716         * timezone/checktab.awk: Update from tzcode 2014e.
2717         * timezone/private.h: Likewise.
2718         * timezone/tzfile.h: Likewise.
2719         * timezone/zdump.c: Likewise.
2720         * timezone/zic.c: Likewise.
2721
2722         * sysdeps/unix/sysv/linux/kernel-features.h
2723         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2724         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2725         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2726         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2727         Remove conditional code.
2728
2729 2014-06-25  Will Newton  <will.newton@linaro.org>
2730
2731         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2732         (_dl_arm_cap_flags): Add HWCAP2 values.
2733         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2734         (_DL_HWCAP_COUNT): Increase to 37.
2735         (_DL_HWCAP_LAST): New define.
2736         (_DL_HWCAP2_LAST): New define.
2737         (_dl_procinfo): Add support for printing
2738         AT_HWCAP2 entries.
2739         (_dl_string_hwcap): Use _dl_hwcap_string.
2740
2741 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2742
2743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2744
2745 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2746
2747         * README: Do not mention ports directory.
2748
2749         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2750         Remove macro.
2751         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2752         <kernel-features.h>.
2753         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2754         conditional variable definition.
2755         (__futimes): Update comment.
2756         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2757         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2758
2759         [BZ #16560]
2760         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2761         arguments close to 0.
2762         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2763         Likewise.
2764         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2765         Likewise.
2766         * math/auto-libm-test-in: Add more tests of exp10.
2767         * math/auto-libm-test-out: Regenerated.
2768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2769
2770         * sysdeps/unix/sysv/linux/kernel-features.h
2771         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2772         * sysdeps/unix/sysv/linux/readv.c: Do not include
2773         <kernel-features.h>.
2774         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2775         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2776         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2777         unconditional.
2778         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2779         conditional code.
2780         * sysdeps/unix/sysv/linux/writev.c: Do not include
2781         <kernel-features.h>.
2782         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2783         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2784         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2785         unconditional.
2786         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2787         conditional code.
2788
2789 2014-06-25  Will Newton  <will.newton@linaro.org>
2790
2791         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2792         comment changes throughout the file.  Remove checks
2793         for HAVE_*_H definitions that are not required.
2794         (__gen_tempname): Call abort if an unknown kind value is
2795         passed.
2796
2797 2014-06-25  Andreas Schwab  <schwab@suse.de>
2798
2799         [BZ #17086]
2800         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2801         scalbln, scalblnf, scalblnl in libc.
2802
2803 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2804
2805         [BZ #17086]
2806         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2807         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2808         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2809
2810 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2811
2812         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2813         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2814         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2815         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2816         Update #include.
2817         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2818         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2819         Update #include.
2820         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2821         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2822         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2823         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2824         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2825         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2826         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2827         * sysdeps/x86/bits/semaphore.h: ... here.
2828         * sysdeps/x86/nptl/elide.h: Moved ...
2829         * sysdeps/x86/elide.h: ... here.
2830         * sysdeps/x86_64/nptl/Implies: File removed.
2831         * sysdeps/i386/nptl/Implies: File removed.
2832
2833 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2834
2835         [BZ #16539]
2836         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2837         return the argument for normal arguments with exponent below -64.
2838         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2839         Likewise.
2840         * math/auto-libm-test-in: Add another test of expm1.
2841         * math/auto-libm-test-out: Regenerated.
2842
2843         [BZ #16287]
2844         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2845         calling __erfcl for arguments at least 16.
2846         * math/auto-libm-test-in: Add more tests of erf.
2847         * math/auto-libm-test-out: Regenerated.
2848
2849         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2850         individual architectures.
2851         * sysdeps/unix/sysv/linux/configure: Regenerated.
2852         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2853         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2854         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2855         (ldd_rewrite_script): Define variable.
2856         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2858         file.
2859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2860         generated file.
2861         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2862         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2863         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2864         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2865         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2866         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2867         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2868         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2869
2870 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2871
2872         [BZ #17084]
2873         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2874         Rename member __data.d to __data.__elision_data.
2875
2876 2014-06-24  Wilco  <wdijkstr@arm.com>
2877
2878         * NEWS: Add 16918 to fixed bug list.
2879
2880 2014-06-24  Wilco  <wdijkstr@arm.com>
2881
2882         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2883
2884 2014-06-24  Wilco  <wdijkstr@arm.com>
2885
2886         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2887         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2888         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2889         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2890         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2891         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2892         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2893         Use _FPU_MASK_RM.
2894
2895 2014-06-24  Wilco  <wdijkstr@arm.com>
2896
2897         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2898
2899 2014-06-24  Wilco  <wdijkstr@arm.com>
2900
2901         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2902         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2903         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2904         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2905
2906 2014-06-24  Wilco  <wdijkstr@arm.com>
2907
2908         [BZ #16918]
2909         * sysdeps/arm/feupdateenv.c (feupdateenv):
2910         Rewrite to reduce FPSCR accesses and fix return value.
2911
2912 2014-06-24  Wilco  <wdijkstr@arm.com>
2913
2914         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2915         Optimize to avoid unnecessary FPSCR writes.
2916         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2917         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2918         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2919         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2920
2921 2014-06-24  Wilco  <wdijkstr@arm.com>
2922
2923         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2924         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2925         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2926         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2927         Call libc_fetestexcept_vfp.
2928         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2929         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2930         __SOFTFP__ ifdef so that they can be built for softfp.
2931
2932 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2933
2934         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2935         argument type signed char.
2936
2937         * Makerules (check-abi): Dump diff of symlist if the test
2938         fails.
2939
2940 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2941
2942         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2943         using abort.
2944
2945         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2946         Remove unused variable ST.
2947
2948 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2949
2950         [BZ #16354]
2951         [BZ #17061]
2952         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2953         small arguments before calling __expm1.
2954         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2955         small arguments before calling __expm1f.
2956         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2957         small arguments before calling __expm1l.
2958         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2959         Likewise.
2960         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2961         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2962         spurious underflow for some cosh tests.
2963         * math/auto-libm-test-out: Regenerated.
2964         * sysdeps/i386/fpu/libm-test-ulps: Update.
2965
2966         [BZ #17050]
2967         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2968         (__ieee754_y1): Set errno if return value overflows.
2969         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2970         (__ieee754_y1f): Set errno if return value overflows.
2971         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2972         (__ieee754_y1l): Set errno if return value overflows.
2973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2974         (__ieee754_y1l): Set errno if return value overflows.
2975         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2976         * math/auto-libm-test-out: Regenerated.
2977
2978         * math/gen-auto-libm-tests.c: Document use of
2979         ignore-zero-inf-sign.
2980         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2981         (input_flags): Add ignore-zero-inf-sign.
2982         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2983         * math/gen-libm-test.pl (generate_testfile): Handle
2984         ignore-zero-inf-sign.
2985         * math/auto-libm-test-in: Mark some cpow tests with
2986         ignore-zero-inf-sign and some with xfail-rounding.
2987         * math/auto-libm-test-out: Regenerated.
2988         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2989         * sysdeps/i386/fpu/libm-test-ulps: Update.
2990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2991
2992         [BZ #16315]
2993         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2994         overflowing or underflowing operations take place with sign of
2995         result.
2996         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2997         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2998         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2999         (__ieee754_pow): Recompute overflowing and underflowing results in
3000         original rounding mode.
3001         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3002         (__powl_helper): Allow negative argument X and scale negated value
3003         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3004         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3005         overflowing or underflowing operations take place with sign of
3006         result.
3007         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3008         Include <math.h>.
3009         * math/auto-libm-test-in: Add more tests of pow.
3010         * math/auto-libm-test-out: Regenerated.
3011         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3012         (pow_tonearest_test_data): Remove.
3013         (pow_test_tonearest): Likewise.
3014         (pow_towardzero_test_data): Likewise.
3015         (pow_test_towardzero): Likewise.
3016         (pow_downward_test_data): Likewise.
3017         (pow_test_downward): Likewise.
3018         (pow_upward_test_data): Likewise.
3019         (pow_test_upward): Likewise.
3020         (main): Don't call removed functions.
3021         * sysdeps/i386/fpu/libm-test-ulps: Update.
3022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3023
3024 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3025
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3027         Moved ...
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3030         Moved ...
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3033         Moved ...
3034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3036         Moved ...
3037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3039         File removed.
3040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3041         File removed.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3043         File removed.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3045         File removed.
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3047         File removed.
3048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3049         File removed.
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3051         File removed.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3053         File removed.
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3055         File removed.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3057         File removed.
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3059         File removed.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3061         File removed.
3062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3063         Moved ...
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3066         Moved ...
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3068         ... here.
3069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3070         Moved ...
3071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3073         Moved ...
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3076         Moved ...
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3079         Moved ...
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3082         Moved ...
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3085         Moved ...
3086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3088         Moved ...
3089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3092         ... here.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3094         Moved ...
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3097         Moved ...
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3099         ... here.
3100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3101         Moved ...
3102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3103         ... here.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3105         Moved ...
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3107         ... here.
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3109         Moved ...
3110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3112         Moved ...
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3117         Moved ...
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3119         ... here.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3121         Moved ...
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3123         ... here.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3125         Moved ...
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3128         Moved ...
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3131         Moved ...
3132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3134         Moved ...
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3137         Moved ...
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3139         ... here.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3141         Moved ...
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3144         Moved ...
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3147         Moved ...
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3150         Moved ...
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3155         Moved ...
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3158         Moved ...
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3161         Moved ...
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3163         ... here.
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3165         Moved ...
3166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3167         ... here.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3169         Moved ...
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3171         ... here.
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3173         Moved ...
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3176         Moved ...
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3179         Moved ...
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3182         Moved ...
3183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3184         ... here.
3185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3186         Moved ...
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3188         ... here.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3192         ... here.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3194         Moved ...
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3197         Moved ...
3198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3199
3200 2014-06-23  Will Newton  <will.newton@linaro.org>
3201             Wilco  <wdijkstr@arm.com>
3202
3203         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3204         implementation.  Include get-rounding-mode.h.
3205         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3206         [!libc_feholdsetround_noex_ctx]: Define
3207         libc_feholdsetround_noex_ctx.
3208         [!libc_feholdsetround_noexf_ctx]: Define
3209         libc_feholdsetround_noexf_ctx.
3210         [!libc_feholdsetround_noexl_ctx]: Define
3211         libc_feholdsetround_noexl_ctx.
3212         (libc_feholdsetround_ctx): New function.
3213         (libc_feresetround_ctx): New function.
3214         (libc_feholdsetround_noex_ctx): New function.
3215         (libc_feresetround_noex_ctx): New function.
3216
3217 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3218
3219         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3220         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3221         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3222         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3223         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3224         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3225
3226         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3227         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3228         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3229         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3230         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3231         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3232         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3233         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3235         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3237         Moved ...
3238         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3239         ... here.
3240         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3241         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3243         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3245         Moved ...
3246         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3248         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3249         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3250         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3251         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3252         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3253         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3254         Moved ...
3255         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3256         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3257         Moved ...
3258         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3259         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3260         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3261         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3262         Moved ...
3263         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3264         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3265         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3266         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3267         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3268         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3269         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3270         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3271         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3273         Moved ...
3274         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3275         ... here.
3276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3277         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3278         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3279         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3281         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3283         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3284         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3285         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3287         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3288         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3289         Moved ...
3290         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3292         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3293         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3294         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3295         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3296         Moved ...
3297         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3298         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3299         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3300         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3301         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3302
3303         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3304         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3305         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3306         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3307         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3308         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3309         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3310         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3311         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3312         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3313         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3314         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3315         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3316         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3317         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3318         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3320         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3321         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3322         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3323         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3324         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3325         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3326         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3327         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3328         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3329         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3330         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3331
3332 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3333
3334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3335         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3336         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3337         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3338         (IPV6_PMTUDISC_INTERFACE): Likewise.
3339         (IPV6_PMTUDISC_OMIT): Likewise.
3340
3341 2014-06-23  Andreas Schwab  <schwab@suse.de>
3342
3343         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3344         Remove unused errout label.
3345
3346 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3347
3348         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3349         macro: hardware supports Vector Crypto instructions.
3350
3351 2014-06-23  Will Newton  <will.newton@linaro.org>
3352
3353         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3354         rather than __builtin_expect.
3355
3356         * elf/dl-lookup.c (undefined_msg): Remove variable.
3357         (_dl_lookup_symbol_x): Replace undefined_msg with string
3358         literal.
3359
3360         * elf/dl-lookup.c (do_lookup_unique): New function.
3361         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3362         to a separate function.
3363
3364 2014-06-23  Andreas Schwab  <schwab@suse.de>
3365
3366         [BZ #17079]
3367         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3368         before reading the next line.
3369
3370 2014-06-23  Will Newton  <will.newton@linaro.org>
3371
3372         * test-skeleton.c (signal_handler): Use printf and %m
3373         rather than perror.  Use printf rather than fprintf to
3374         stderr.  Use puts rather than fputs to stderr.
3375         (main): Likewise.
3376
3377 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3378
3379         * nscd/nscd.c (thread_info_t): Remove typedef.
3380         (thread_info): Remove variable.
3381
3382 2014-06-21  Allan McRae  <allan@archlinux.org>
3383
3384         * NEWS: Mention CVE-2014-4043.
3385
3386 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3387
3388         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3389         * nptl/smp.h: ... here.
3390
3391         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3392
3393         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3394         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3395         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3396         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3397
3398         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3399         * nptl/stack-aliasing.h: New file.
3400         * sysdeps/i386/i686/stack-aliasing.h: New file.
3401         * sysdeps/i386/i686/nptl/Makefile: File removed.
3402         * sysdeps/x86_64/stack-aliasing.h: New file.
3403         * sysdeps/x86_64/nptl/Makefile
3404         (CFLAGS-pthread_create.c): Variable removed.
3405
3406         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3407         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3408         old file.
3409         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3410         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3411         old file.
3412
3413 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3414
3415         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3416         (__ASSUME_SIGFRAME_V2): Remove macro.
3417         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3418         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3419         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3420         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3421         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3422         Declare as function.  Remove conditional macro definitions.
3423         (__default_rt_sa_restorer): Likewise.
3424         (__default_sa_restorer_v1): Remove declaration.
3425         (__default_sa_restorer_v2): Likewise.
3426         (__default_rt_sa_restorer_v1): Likewise.
3427         (__default_rt_sa_restorer_v2): Likewise.
3428         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3429         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3430         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3431
3432 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3433
3434         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3435         (libpthread-routines): Add sysdep.
3436         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3437         * sysdeps/unix/sysv/linux/sparc/Versions
3438         (libpthread: GLIBC_2.3.3): New version set.
3439         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3440         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3441         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3442         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3443         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3444         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3445         Moved ...
3446         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3447         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3448         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3449         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3450         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3451         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3452         * sysdeps/sparc/nptl/sem_init.c: ... here.
3453         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3454         * sysdeps/sparc/nptl/sem_post.c: ... here.
3455         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3456         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3457         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3458         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3459         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3460         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3461         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3462         (libpthread-routines): Add cpu_relax.
3463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3464         File removed.
3465         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3466         (librt: GLIBC_2.3.3): New version set.
3467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3468         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3469         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3470         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3473         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3475         Moved ...
3476         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3478         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3480         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3482         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3484         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3486         Moved ...
3487         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3488         Update #include.
3489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3490         Moved ...
3491         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3492         Update #include.
3493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3494         Moved ...
3495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3496         Update #include.
3497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3498         Moved ...
3499         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3500         Update #include.
3501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3502         Moved ...
3503         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3504         Update #include.
3505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3506         Moved ...
3507         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3508         Update #include.
3509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3510         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3514         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3516         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3518         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3520         Moved ...
3521         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3523         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3525         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3526
3527 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3528
3529         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3530         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3531         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3532         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3533         * nscd/nscd.c: Likewise.
3534         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3535         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3536         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3537         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3538
3539         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3540         <kernel-features.h>.
3541         (init_mq_netlink): Remove conditional have_sock_cloexec
3542         definitions.  Remove code conditional on have_sock_cloexec < 0.
3543         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3544         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3545         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3546         <kernel-features.h>.
3547         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3548         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3549
3550 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3551
3552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3553         Add tests for memset_chk and memset.
3554
3555         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3556         with AVX2_Usable.
3557
3558 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3559
3560         [BZ #16046]
3561         * elf/tst-dl-iter-static.c: New file.
3562         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3563
3564         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3565         error.
3566
3567 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3568
3569         * sysdeps/unix/sysv/linux/kernel-features.h
3570         (__ASSUME_F_GETOWN_EX): Remove macro.
3571         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3572         <kernel-features.h>.
3573         (miss_F_GETOWN_EX): Remove variable or macro.
3574         (do_fcntl): Do not check miss_F_GETOWN_EX.
3575         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3576
3577         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3578         Remove macro.
3579         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3580         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3581         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3582
3583         * sysdeps/unix/sysv/linux/kernel-features.h
3584         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3585         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3586         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3587         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3588
3589 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3590
3591         [BZ #17075]
3592         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3593         Fix calculation of the symbol's value.
3594         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3595         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3596         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3597         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3598         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3599         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3600         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3601         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3602         (modules-names): Add `tst-armtlsdescmod',
3603         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3604         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3605         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3606         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3607         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3608         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3609         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3610         ($(objpfx)tst-armtlsdescloc): New dependency.
3611         ($(objpfx)tst-armtlsdescextnow): Likewise.
3612         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3613         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3614         TLS scheme support.
3615         * sysdeps/arm/configure: Regenerate.
3616
3617 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3618
3619         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3620         (__atfct_seterrno_2): Likewise.
3621         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3622         <kernel-features.h>.
3623         (__ASSUME_ATFCTS): Do not undefine and redefine.
3624         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3625         (__have_atfcts): Remove conditional definition.
3626         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3627         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3628         unreachable if [__ASSUME_ATFCTS].
3629         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3630         not undefine and redefine.
3631         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3632         <kernel-features.h>.
3633         (faccessat) [__NR_faccessat]: Make code unconditional.
3634         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3635         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3636         <kernel-features.h>.
3637         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3638         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3639         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3640         <kernel-features.h>.
3641         (fchownat) [__NR_fchownat]: Make code unconditional.
3642         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3643         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3644         <kernel-features.h>.
3645         (futimesat) [__NR_futimesat]: Make code unconditional.
3646         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3647         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3648         <kernel-features.h>.
3649         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3650         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3651         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3652         <kernel-features.h>.
3653         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3654         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3655         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3656         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3657         <kernel-features.h>.
3658         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3659         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3660         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3661         <kernel-features.h>.
3662         (linkat) [__NR_linkat]: Make code unconditional.
3663         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3664         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3665         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3666         <kernel-features.h>.
3667         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3668         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3669         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3670         <kernel-features.h>.
3671         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3672         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3673         * sysdeps/unix/sysv/linux/openat.c: Do not include
3674         <kernel-features.h>.
3675         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3676         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3677         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3678         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3679         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3680         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3681         <kernel-features.h>.
3682         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3683         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3684         result of INLINE_SYSCALL directly, not via int variable.
3685         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3686         <kernel-features.h>.
3687         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3688         (renameat) [__NR_renameat]: Make code unconditional.
3689         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3690         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3691         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3692         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3693         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3694         (__ASSUME_ATFCTS): Do not undefine and redefine.
3695         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3696         <kernel-features.h>.
3697         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3698         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3699         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3700         <kernel-features.h>.
3701         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3702         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3703         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3704         (__ASSUME_ATFCTS): Do not undefine and redefine.
3705         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3706         <kernel-features.h>.
3707         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3708         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3709         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3710         <kernel-features.h>.
3711         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3712         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3713
3714 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3715
3716         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3717
3718 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3719
3720         [BZ #17069]
3721         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3722         constructed tree before returning error.
3723         * posix/bug-regexp36.c: Expand test case.
3724
3725 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3726
3727         [BZ #6803]
3728         * math/libm-test.inc (scalbln_test_date):
3729         Add errno expectations.
3730         * math/w_scalblnf.c: New File.
3731         Add wrapper which checks for setting errno to ERANGE.
3732         Add weak_alias for corresponding scalbln function.
3733         * math/w_scalbln.c: Likewise.
3734         * math/w_scalblnl.c: Likewise.
3735         * math/Makefile (libm-calls): Add w_scalbln.
3736         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3737         Remove weak_alias for corresponding scalbln function.
3738         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3739         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3740         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3741         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3742         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3743         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3744         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3745         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3746         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3747         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3748         Remove long_double_symbol for scalblnl function in libm, libc.
3749         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3750         Add wrapper which checks for setting errno to ERANGE.
3751         Add long_double_symbol for scalblnl function in libm, libc.
3752         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3753         Remove long_double_symbol for scalblnl in libm.
3754         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3755         Add wrapper which checks for setting errno to ERANGE.
3756         Add long_double_symbol for scalblnl function in libm.
3757         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3758         Do not use wrapper because of own implementation.
3759
3760 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3761
3762         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3763         3 bytes for __pad1 for x32.
3764         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3765
3766 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3767             H.J. Lu  <hongjiu.lu@intel.com>
3768
3769         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3770         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3771         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3772         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3773         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3774
3775 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3776
3777         [BZ #17069]
3778         * posix/regcomp.c (parse_expression): Deallocate partially
3779         constructed tree before returning error.
3780         * posix/Makefile.c (tests): Add bug-regex36.
3781         (generated): Add bug-regex36.mtrace.
3782         (tests-special): Add $(objpfx)bug-regex36-mem.out
3783         (bug-regex36-ENV): New variable.
3784         ($(objpfx)bug-regex36-mem.out): New rule.
3785         * posix/bug-regex36.c: New file.
3786
3787 2014-06-19  Will Newton  <will.newton@linaro.org>
3788
3789         * malloc/malloc.c (systrim): If extra is zero then return
3790         early.
3791
3792 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3793
3794         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3795
3796 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3797
3798         * sysdeps/aarch64/strchr.S: New file.
3799
3800 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3801
3802         [BZ #17022]
3803         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3804         from arguments -2 or below.
3805         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3806         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3807
3808 2014-06-18  Andreas Schwab  <schwab@suse.de>
3809
3810         [BZ #17062]
3811         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3812         of a bracket expr not to run off the end of the string.
3813         * posix/Makefile (tests): Add tst-fnmatch3.
3814         * posix/tst-fnmatch3.c: New file.
3815
3816 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3817
3818         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3819         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3820         [$(cross-compiling) = no]: Likewise.
3821         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3822         [$(cross-compiling) = no]: Likewise.
3823
3824 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3825
3826         [BZ #17031]
3827         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3828         double, adjusted for any remainder from the high double.
3829         * math/libm-test.inc (nearbyint): Add tests.
3830         (rint): Likewise.
3831
3832 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3833
3834         * nptl/sysdeps/powerpc/Makefile: Moved ...
3835         * sysdeps/powerpc/nptl/Makefile: ... here.
3836         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3837         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3838         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3839         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3840         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3841         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3842         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3843         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3844         * nptl/sysdeps/powerpc/tls.h: Moved ...
3845         * sysdeps/powerpc/nptl/tls.h: ... here.
3846
3847 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3848
3849         [BZ #16681]
3850         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3851         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3852         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3853         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3854         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3855         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3856         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3857         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3858         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3859
3860 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3861
3862         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3863
3864 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3865
3866         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3867         defined operator.
3868
3869         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3870         $TIMEOUTFACTOR.
3871
3872 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3873
3874         [BZ #17058]
3875         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3876         non-executed part of the test.
3877
3878 2014-06-16  Andreas Schwab  <schwab@suse.de>
3879
3880         * string/bits/string2.h (strdup, strndup): Update feature guard.
3881
3882 2014-06-14  David S. Miller  <davem@davemloft.net>
3883
3884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3885
3886 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3887
3888         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3889         that was previously under [RESET_PID].
3890         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3891
3892         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3893         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3894         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3895         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3896         (__libc_vfork): New strong alias.
3897         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3898
3899 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3900
3901         * sysdeps/generic/elide.h: New file.
3902
3903 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3904
3905         * Makefile (installed-headers): Adjust path of pthread.h header.
3906
3907 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3908
3909         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3910         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3911         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3912         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3913
3914         * nptl/sysdeps/s390/Makefile: Moved ...
3915         * sysdeps/s390/nptl/Makefile: ... here.
3916         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3917         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3918         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3919         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3920         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3921         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3922         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3923         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3924         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3925         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3926         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3927         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3928         * nptl/sysdeps/s390/tls.h: Moved ...
3929         * sysdeps/s390/nptl/tls.h: ... here.
3930
3931         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3932         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3933
3934 2014-06-13  David S. Miller  <davem@davemloft.net>
3935
3936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3939         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3943         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3944         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3945         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3946         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3947         Remove RESET_PID cpp guards.
3948         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3949         Remove RESET_PID cpp guards.
3950         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3951
3952 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3953
3954         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3955         __sp to uintptr_t.
3956
3957 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3958
3959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3960         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3961         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3962         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3963         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3964         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3965         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3966         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3967         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3968         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3969         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3970         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3971         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3972         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3973         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3974         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3975         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3976         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3977         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3978         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3979
3980         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3981         (pthread_rwlock_rdlock): Add elision.
3982         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3983         (pthread_rwlock_wrlock): Add elision.
3984         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3985         (pthread_rwlock_trywrlock): Add elision.
3986         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3987         (pthread_rwlock_tryrdlock): Add elision.
3988         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3989         (pthread_rwlock_tryrdlock): Add elision unlock.
3990         * nptl/sysdeps/pthread/pthread.h:
3991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3992         (PTHREAD_RWLOCK_INITIALIZER,
3993         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3994         Handle new elision field.
3995         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3996         * sysdeps/arm/nptl/bits/pthreadtypes.h
3997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3998         * sysdeps/sh/nptl/bits/pthreadtypes.h
3999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4000         * sysdeps/tile/nptl/bits/pthreadtypes.h
4001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4002         * sysdeps/a/nptl/bits/pthreadtypes.h
4003         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4004         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4006         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4008         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4009         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4010         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4012         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4014         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4016         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4017         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4018         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4020         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4021         (elision_init): Set try_xbegin to zero when no RTM.
4022         * sysdeps/x86/nptl/bits/pthreadtypes.h
4023         (pthread_rwlock_t): Change __pad1 to __rwelision.
4024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4025
4026 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4027
4028         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4029         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4030         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4031         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4032
4033 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4034
4035         [BZ #16996]
4036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4037         that the cached result has been set before returning it.
4038
4039 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4040
4041         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4042         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4043         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4044         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4045         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4046         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4047
4048         * nptl/sysdeps/sparc/Makefile: Moved ...
4049         * sysdeps/sparc/nptl/Makefile: ... here.
4050         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4051         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4052         * nptl/sysdeps/sparc/tls.h: Moved ...
4053         * sysdeps/sparc/nptl/tls.h: ... here.
4054         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4055         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4056         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4057         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4058         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4059         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4060         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4061         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4062         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4063         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4064         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4065         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4066         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4067         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4068         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4069         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4070         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4071         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4072         Update #include.
4073         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4074         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4075         Update #include.
4076         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4077         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4078         Update #include.
4079         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4080         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4081         Update #include.
4082
4083         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4084
4085         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4086         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4087
4088         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4089         (struct list_links): Type removed.
4090         (struct thread_node, struct timer_node): Replace struct list_links
4091         with struct list_head.
4092         (list_unlink_ip): Likewise.
4093         * sysdeps/pthread/timer_routines.c
4094         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4095         (list_append, list_insbefore): Likewise.
4096         (list_init): Function removed.
4097         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4098         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4099         * sysdeps/pthread/Makefile: ... here, new file.
4100
4101         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4102         * sysdeps/nptl/Implies: ... here.
4103         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4104         * nptl/sysdeps/pthread/list.h: Moved ...
4105         * include/list.h: ... here.
4106         * nptl/sysdeps/pthread/createthread.c: Moved ...
4107         * nptl/createthread.c: ... here.
4108         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4109         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4110         * nptl/pt-longjmp.c: ... here.
4111         * nptl/sysdeps/pthread/Makefile: Moved ...
4112         * sysdeps/nptl/Makefile: ... here.
4113         * nptl/sysdeps/pthread/Subdirs: Moved ...
4114         * sysdeps/nptl/Subdirs: ... here.
4115         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4116         * sysdeps/nptl/aio_misc.h: ... here.
4117         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4118         * sysdeps/nptl/bits/libc-lock.h: ... here.
4119         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4120         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4121         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4122         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4123         * nptl/sysdeps/pthread/configure: Moved ...
4124         * sysdeps/nptl/configure: ... here.
4125         * nptl/sysdeps/pthread/configure.ac: Moved ...
4126         * sysdeps/nptl/configure.ac: ... here.
4127         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4128         * sysdeps/nptl/gai_misc.h: ... here.
4129         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4130         * sysdeps/nptl/librt-cancellation.c: ... here.
4131         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4132         * sysdeps/nptl/malloc-machine.h: ... here.
4133         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4134         * sysdeps/nptl/pthread-functions.h: ... here.
4135         * nptl/sysdeps/pthread/pthread.h: Moved ...
4136         * sysdeps/nptl/pthread.h: ... here.
4137         * nptl/sysdeps/pthread/setxid.h: Moved ...
4138         * sysdeps/nptl/setxid.h: ... here.
4139         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4140         * sysdeps/nptl/sigfillset.c: ... here.
4141         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4142         * sysdeps/nptl/tcb-offsets.h: ... here.
4143         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4144         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4145         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4146         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4147         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4148         * sysdeps/pthread/allocalim.h: ... here.
4149         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4150         * sysdeps/pthread/bits/sigthread.h: ... here.
4151         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4152         * sysdeps/pthread/flockfile.c: ... here.
4153         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4154         * sysdeps/pthread/ftrylockfile.c: ... here.
4155         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4156         * sysdeps/pthread/funlockfile.c: ... here.
4157         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4158         * sysdeps/pthread/posix-timer.h: ... here.
4159         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4160         * sysdeps/pthread/timer_create.c: ... here.
4161         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4162         * sysdeps/pthread/timer_delete.c: ... here.
4163         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4164         * sysdeps/pthread/timer_getoverr.c: ... here.
4165         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4166         * sysdeps/pthread/timer_gettime.c: ... here.
4167         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4168         * sysdeps/pthread/timer_routines.c: ... here.
4169         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4170         * sysdeps/pthread/timer_settime.c: ... here.
4171         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4172         * sysdeps/pthread/tst-timer.c: ... here.
4173         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4174         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4175
4176         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4177         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4178
4179         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4180         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4181         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4182         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4183         Update #include target.
4184         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4185         * sysdeps/i386/i686/nptl/Makefile: ... here.
4186         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4187         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4188         Update #include target.
4189         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4190         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4191         * nptl/sysdeps/i386/Makefile: Moved ...
4192         * sysdeps/i386/nptl/Makefile: ... here.
4193         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4194         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4195         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4196         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4197         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4198         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4199         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4200         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4201         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4202         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4203         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4204         * nptl/sysdeps/i386/tls.h: Moved ...
4205         * sysdeps/i386/nptl/tls.h: ... here.
4206
4207         * sysdeps/sh/Makefile [$(subdir) = csu]
4208         (gen-as-const-headers): Add tcb-offsets.sym.
4209         * nptl/sysdeps/sh/Makefile: File removed.
4210         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4211         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4212         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4213         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4214         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4215         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4216         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4217         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4218         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4219         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4220         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4221         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4222         * nptl/sysdeps/sh/tls.h: Moved ...
4223         * sysdeps/sh/nptl/tls.h: ... here.
4224         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4225         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4226         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4227         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4228         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4229         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4230         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4231         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4232         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4233         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4235         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4236         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4237         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4238         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4239         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4240         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4241         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4242         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4243         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4244         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4245         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4246         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4247         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4248         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4249         Moved ...
4250         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4252         Moved ...
4253         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4254         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4255         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4256         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4257         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4258         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4259         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4260         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4261         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4262         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4263         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4264         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4265         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4266         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4267         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4268         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4269         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4270         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4271         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4272
4273 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4274
4275         * posix/spawn_faction_addopen.c: Include string.h.
4276
4277 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4278
4279         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4280         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4281         * nptl/sysdeps/x86_64/Makefile: Moved ...
4282         * sysdeps/x86_64/nptl/Makefile: ... here.
4283         * nptl/sysdeps/x86_64/configure: Moved ...
4284         * sysdeps/x86_64/nptl/configure: ... here.
4285         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4286         * sysdeps/x86_64/nptl/configure.ac: ... here.
4287         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4288         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4289         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4290         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4291         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4292         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4293         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4294         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4295         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4296         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4297         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4298         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4299         * nptl/sysdeps/x86_64/tls.h: Moved ...
4300         * sysdeps/x86_64/nptl/tls.h: ... here.
4301         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4302         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4303         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4304         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4305
4306         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4307
4308 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4309
4310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4311
4312 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4313
4314         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4315         type.
4316         [POSIX] (off_t): Likewise.
4317         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4318         [POSIX] (S_ISBLK): Require macro.
4319         [POSIX] (S_ISCHR): Likewise.
4320         [POSIX] (S_ISDIR): Likewise.
4321         [POSIX] (S_ISFIFO): Likewise.
4322         [POSIX] (S_ISREG): Likewise.
4323         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4324         optional-macro.
4325         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4326         type.
4327         [POSIX] (time_t): Likewise.
4328         [POSIX] (timer_t): Likewise.
4329
4330 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4331
4332         [BZ #17048]
4333         * posix/spawn_int.h (struct __spawn_action): Make the path string
4334         non-const to support deallocation.
4335         * posix/spawn_faction_addopen.c
4336         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4337         * posix/spawn_faction_destroy.c
4338         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4339         path in all spawn_do_open actions.
4340         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4341         posix_spawn_file_actions_addopen.
4342
4343 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4344
4345         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4346         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4347         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4348         conditional code always true.
4349         (__libc_vfork): New alias.
4350
4351 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4352
4353         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4354         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4355
4356         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4357
4358         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4359         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4360
4361         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4362         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4363
4364         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4365         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4366
4367 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4368
4369         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4370         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4371         multiarch strcmp for PPC64.
4372         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4373         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4375         multiarch optimizations.
4376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4377         (__libc_ifunc_impl_list): Likewise.
4378
4379 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4380
4381         * benchtests/scripts/validate_benchout.py: New script.
4382         * benchtests/Makefile (bench-func): Call it.
4383         * benchtests/scripts/benchout.schema.json: New file.
4384
4385 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4386
4387         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4388         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4389         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4390         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4391         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4392         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4393         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4394         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4395         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4396         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4397         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4398         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4399         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4400         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4401         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4402         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4404         Moved ...
4405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4406         ... here.
4407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4408         Moved ...
4409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4411         Moved ...
4412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4413         ... here.
4414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4415         Moved ...
4416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4417         ... here.
4418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4419         Moved ...
4420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4422         Moved ...
4423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4424         ... here.
4425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4426         Moved ...
4427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4428         ... here.
4429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4430         Moved ...
4431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4433         Moved ...
4434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4435         ... here.
4436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4437         Moved ...
4438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4439         ... here.
4440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4441         Moved ...
4442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4443         ... here.
4444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4445         Moved ...
4446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4448         Moved ...
4449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4450         ... here.
4451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4452         Moved ...
4453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4454         ... here.
4455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4456         Moved ...
4457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4458         ... here.
4459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4460         Moved ...
4461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4463         Moved ...
4464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4465         ... here.
4466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4467         Moved ...
4468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4469         ... here.
4470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4471         Moved ...
4472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4474         Moved ...
4475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4476         ... here.
4477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4478         Moved ...
4479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4481         Moved ...
4482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4484         Moved ...
4485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4486         ... here.
4487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4488         Moved ...
4489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4490         ... here.
4491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4492         Moved ...
4493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4494         ... here.
4495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4496         Moved ...
4497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4499         Moved ...
4500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4501         ... here.
4502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4503         Moved ...
4504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4505         ... here.
4506         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4507         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4508         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4509         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4511         Moved ...
4512         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4513         ... here.
4514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4515         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4516         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4517         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4519         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4521         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4522         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4523         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4525         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4527         Moved ...
4528         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4530         Moved ...
4531         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4533         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4534         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4535         Moved ...
4536         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4537         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4538         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4539         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4540         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4541         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4542         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4543
4544 2014-06-10  Wilco  <wdijkstr@arm.com>
4545
4546         * math/test-fenv-return.c: New file.
4547         * math/Makefile: Add new test test-fenv-return.
4548
4549 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4550
4551         [BZ #17042]
4552         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4553         when x - 1 is zero.
4554         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4555         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4556         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4557         0.0L for an argument of 1.0L.
4558         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4559         Likewise.
4560         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4561         value when x - 1 is zero.
4562         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4563         * sysdeps/i386/fpu/libm-test-ulps: Update.
4564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4565
4566 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4567
4568         [BZ #15119]
4569         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4570
4571 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4572
4573         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4574         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4575
4576 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4577
4578         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4579         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4580
4581         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4582         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4583
4584         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4585         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4586
4587         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4588         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4589
4590         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4591         if not already defined.
4592         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4593         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4594         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4595         (TLS_INIT_TP): Use it.
4596         (TLS_DEFINE_INIT_TP): New macro.
4597         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4598
4599 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4600
4601         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4602         constant.
4603         [POSIX] (IXANY): Likewise.
4604         [POSIX] (OLCUC): Likewise.
4605         [POSIX || POSIX2008] (CBAUD): Do not allow.
4606         [POSIX || POSIX2008] (DEFECHO): Likewise.
4607         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4608         [POSIX || POSIX2008] (ECHOKE): Likewise.
4609         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4610         [POSIX || POSIX2008] (EXTA): Likewise.
4611         [POSIX || POSIX2008] (EXTB): Likewise.
4612         [POSIX || POSIX2008] (FLUSHO): Likewise.
4613         [POSIX || POSIX2008] (LOBLK): Likewise.
4614         [POSIX || POSIX2008] (PENDIN): Likewise.
4615         [POSIX || POSIX2008] (SWTCH): Likewise.
4616         [POSIX || POSIX2008] (VDISCARD): Likewise.
4617         [POSIX || POSIX2008] (VDSUSP): Likewise.
4618         [POSIX || POSIX2008] (VLNEXT): Likewise.
4619         [POSIX || POSIX2008] (VREPRINT): Likewise.
4620         [POSIX || POSIX2008] (VSTATUS): Likewise.
4621         [POSIX || POSIX2008] (VWERASE): Likewise.
4622         (B*): Change to B[0123456789]*.
4623         * conform/data/time.h-data [POSIX || UNIX98]
4624         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4625         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4626         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4627         [POSIX] (tm_*): Do not allow.
4628
4629 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4630
4631         * Makefile (install): Don't set LANGUAGE.
4632         * Makefile.in (install): Likewise.
4633         * assert/Makefile (test-assert-ENV): Remove variable.
4634         (test-assert-perr-ENV): Likewise.
4635         * elf/Makefile (neededtest4-ENV): Likewise.
4636         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4637         [$(cross-compiling) = no]: Don't set LANGUAGE.
4638         * io/ftwtest-sh (LANG): Remove variable.
4639         * libio/Makefile (tst-widetext-ENV): Likewise.
4640         * manual/install.texi (Running make install): Don't refer to
4641         environment settings for make install.
4642         * INSTALL: Regenerated.
4643         * nptl/tst-tls6.sh: Don't set LANG.
4644         * posix/globtest.sh (LANG): Remove variable.
4645         * string/Makefile (tester-ENV): Likewise.
4646         (inl-tester-ENV): Likewise.
4647         (noinl-tester-ENV): Likewise.
4648         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4649         [$(cross-compiling) = no]: Don't set LANGUAGE.
4650         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4651         without explicit environment settings.
4652
4653 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4654
4655         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4656         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4657         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4658         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4659
4660 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4661
4662         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4663         other files in the crypt directory.
4664         * crypt/crypt.c: Remove duplicate includes.
4665         * crypt/crypt-entry.c: Likewise.
4666         * crypt/crypt_util.c: Likewise.
4667
4668 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4669
4670         * Makeconfig (run-program-env): New variable.
4671         (run-program-prefix-before-env): Likewise.
4672         (run-program-prefix-after-env): Likewise.
4673         (run-program-prefix): Define in terms of new variables.
4674         (built-program-cmd-before-env): New variable.
4675         (built-program-cmd-after-env): Likewise.
4676         (built-program-cmd): Define in terms of new variables.
4677         (test-program-prefix-before-env): New variable.
4678         (test-program-prefix-after-env): Likewise.
4679         (test-program-prefix): Define in terms of new variables.
4680         (test-program-cmd-before-env): New variable.
4681         (test-program-cmd-after-env): Likewise.
4682         (test-program-cmd): Define in terms of new variables.
4683         * Rules (make-test-out): Use $(run-program-env).
4684         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4685         (help): Do not mention environment variables.  Mention
4686         --timeoutfactor option.
4687         (timeoutfactor): New variable.
4688         (blacklist_exports): Remove function.
4689         (exports): Remove variable.
4690         (command): Do not include ${exports}.
4691         * manual/install.texi (Configuring and compiling): Do not mention
4692         test wrappers preserving environment variables.  Mention that last
4693         assignment to a variable must take precedence.
4694         * INSTALL: Regenerated.
4695         * benchtests/Makefile (run-bench): Use $(run-program-env).
4696         * catgets/Makefile ($(objpfx)test1.cat): Use
4697         $(built-program-cmd-before-env), $(run-program-env) and
4698         $(built-program-cmd-after-env).
4699         ($(objpfx)test2.cat): Do not specify environment variables
4700         explicitly.
4701         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4702         $(run-program-env) and $(built-program-cmd-after-env).
4703         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4704         $(run-program-env) and $(test-program-cmd-after-env).
4705         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4706         explicitly.
4707         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4708         run_program_env and test_program_cmd_after_env arguments.
4709         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4710         * elf/tst-pathopt.sh: Use run_program_env argument.
4711         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4712         $(test-wrapper-env) and $(run-program-env).
4713         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4714         run_program_env arguments.
4715         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4716         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4717         $(test-program-prefix-before-env), $(run-program-env) and
4718         $(test-program-prefix-after-env).
4719         ($(objpfx)tst-gettext2.out): Likewise.
4720         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4721         run_program_env and test_program_prefix_after_env arguments.
4722         * intl/tst-gettext2.sh: Likewise.
4723         * intl/tst-gettext4.sh: Do not set environment variables
4724         explicitly.
4725         * intl/tst-gettext6.sh: Likewise.
4726         * intl/tst-translit.sh: Likewise.
4727         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4728         $(test-program-prefix-before-env), $(run-program-env) and
4729         $(test-program-prefix-after-env).
4730         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4731         run_program_env and test_program_prefix_after_env arguments.
4732         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4733         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4734         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4735         explicitly with each use of ${test_wrapper_env}.
4736         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4737         $(test-program-prefix-before-env), $(run-program-env) and
4738         $(test-program-prefix-after-env).
4739         * posix/tst-getconf.sh: Do not set environment variables
4740         explicitly.
4741         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4742         run_program_env and test_program_prefix_after_env arguments.
4743         * stdio-common/tst-printf.sh: Do not set environment variables
4744         explicitly.
4745         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4746         $(test-program-prefix-before-env), $(run-program-env) and
4747         $(test-program-prefix-after-env).
4748         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4749         run_program_env and test_program_prefix_after_env arguments.
4750         Split $test calls into $test_pre and $test.
4751         * timezone/Makefile (build-testdata): Use
4752         $(built-program-cmd-before-env), $(run-program-env) and
4753         $(built-program-cmd-after-env).
4754
4755 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4756
4757         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4758         strlen for non SHARED builds.
4759
4760 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4761
4762         * nptl/allocatestack.c (check_list): Inlined function...
4763         (__reclaim_stacks): ... here.
4764
4765 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4766
4767         [BZ #15698]
4768         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4769         memory overrun.
4770
4771 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4772
4773         * Rules (make-test-out): Include
4774         LOCPATH=$(common-objpfx)localedata in default environment.
4775         * debug/Makefile (tst-chk1-ENV): Remove variable.
4776         (tst-chk2-ENV): Likewise.
4777         (tst-chk3-ENV): Likewise.
4778         (tst-chk4-ENV): Likewise.
4779         (tst-chk5-ENV): Likewise.
4780         (tst-chk6-ENV): Likewise.
4781         (tst-lfschk1-ENV): Likewise.
4782         (tst-lfschk2-ENV): Likewise.
4783         (tst-lfschk3-ENV): Likewise.
4784         (tst-lfschk4-ENV): Likewise.
4785         (tst-lfschk5-ENV): Likewise.
4786         (tst-lfschk6-ENV): Likewise.
4787         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4788         (tst-iconv7-ENV): Likewise.
4789         * intl/Makefile (LOCPATH-ENV): Likewise.
4790         (tst-codeset-ENV): Likewise.
4791         (tst-gettext3-ENV): Likewise.
4792         (tst-gettext5-ENV): Likewise.
4793         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4794         (tst-fopenloc-ENV): Likewise.
4795         (tst-fgetws-ENV): Remove variable.
4796         (tst-ungetwc1-ENV): Likewise.
4797         (tst-ungetwc2-ENV): Likewise.
4798         (bug-ungetwc2-ENV): Likewise.
4799         (tst-swscanf-ENV): Likewise.
4800         (bug-ftell-ENV): Likewise.
4801         (tst-fgetwc-ENV): Likewise.
4802         (tst-fseek-ENV): Likewise.
4803         (tst-ftell-partial-wide-ENV): Likewise.
4804         (tst-ftell-active-handler-ENV): Likewise.
4805         (tst-ftell-append-ENV): Likewise.
4806         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4807         (tst-regexloc-ENV): Likewise.
4808         (bug-regex1-ENV): Likewise.
4809         (tst-regex-ENV): Likewise.
4810         (tst-regex2-ENV): Likewise.
4811         (bug-regex5-ENV): Likewise.
4812         (bug-regex6-ENV): Likewise.
4813         (bug-regex17-ENV): Likewise.
4814         (bug-regex18-ENV): Likewise.
4815         (bug-regex19-ENV): Likewise.
4816         (bug-regex20-ENV): Likewise.
4817         (bug-regex22-ENV): Likewise.
4818         (bug-regex23-ENV): Likewise.
4819         (bug-regex25-ENV): Likewise.
4820         (bug-regex26-ENV): Likewise.
4821         (bug-regex30-ENV): Likewise.
4822         (bug-regex32-ENV): Likewise.
4823         (bug-regex33-ENV): Likewise.
4824         (bug-regex34-ENV): Likewise.
4825         (bug-regex35-ENV): Likewise.
4826         (tst-rxspencer-ENV): Likewise.
4827         (tst-rxspencer-no-utf8-ENV): Likewise.
4828         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4829         (tst-sscanf-ENV): Likewise.
4830         (tst-swprintf-ENV): Likewise.
4831         (tst-swscanf-ENV): Likewise.
4832         (test-vfprintf-ENV): Likewise.
4833         (scanf13-ENV): Likewise.
4834         (bug14-ENV): Likewise.
4835         (tst-grouping-ENV): Likewise.
4836         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4837         (tst-strtod3-ENV): Likewise.
4838         (tst-strtod4-ENV): Likewise.
4839         (tst-strtod5-ENV): Likewise.
4840         (testmb2-ENV): Likewise./
4841         * string/Makefile (tst-strxfrm-ENV): Likewise.
4842         (tst-strxfrm2-ENV): Likewise.
4843         (bug-strcoll1-ENV): Likewise.
4844         (test-strcasecmp-ENV): Likewise.
4845         (test-strncasecmp-ENV): Likewise.
4846         * time/Makefile (tst-strptime-ENV): Likewise.
4847         (tst-ftime_l-ENV): Likewise.
4848         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4849         (tst-mbrtowc-ENV): Likewise.
4850         (tst-wcrtomb-ENV): Likewise.
4851         (tst-mbrtowc2-ENV): Likewise.
4852         (tst-c16c32-1-ENV): Likewise.
4853         (tst-mbsnrtowcs-ENV): Likewise.
4854
4855 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4856
4857         * manual/resource.texi (How to get information about the memory
4858         subsystem?): Fix typo.
4859         Reported by Peon de la Parra Ivan <peon@keba.com>
4860
4861 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4862
4863         [BZ #16882]
4864         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4865         (pthread_spin_lock): Branch out of spin loop to proper location.
4866         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4867         (pthread_spin_lock): Likewise.
4868
4869         * nptl/tst-spin4.c: New test.
4870         * nptl/Makefile (tests): Add tst-spin4.
4871
4872 2014-06-03  Andreas Schwab  <schwab@suse.de>
4873
4874         [BZ #15946]
4875         * resolv/res_send.c (send_dg): Reload file descriptor after
4876         calling reopen.
4877
4878 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4879
4880         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4881
4882 2014-06-03  Richard Henderson  <rth@redhat.com>
4883
4884         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4885         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4886         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4887         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4888         in the SAVE_PID block.
4889         (__libc_vfork): New alias.
4890         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4891
4892         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4893         child in registers, not on the stack.  Remove RESET_PID conditionals.
4894         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4895
4896 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4897
4898         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4899
4900 2014-06-03  Wilco  <wdijkstr@arm.com>
4901
4902         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4903         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4904         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4905         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4906         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4907         Likewise.
4908
4909 2014-06-03  Wilco  <wdijkstr@arm.com>
4910
4911         * sysdeps/aarch64/fpu/math_private.h
4912         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4913         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4914         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4915         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4916         Fix declarations.
4917
4918 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4919
4920         * crypt/crypt-private.h: Include ufc-crypt.h.
4921         (__b64_from_24bit): Declare extern.
4922         * crypt/crypt_util.c(__b64_from_24bit): New function.
4923         (b64t): New static const variable.
4924         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4925         (b64t): Remove variable.
4926         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4927         * crypt/sha256-crypt.c: Include crypt-private.h.
4928         (b64t): Remove variable.
4929         (__sha256_crypt_r): Remove b64_from_24bit and replace
4930         with __b64_from_24bit.
4931         * crypt/sha512-crypt.c: Likewise.
4932
4933 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4934
4935         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4936         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4937         Label the code __libc_vfork rather than __vfork.
4938         [!NOT_IN_libc] (vfork): Define as weak alias.
4939         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4940         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4941         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4942
4943 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4944
4945         * malloc/malloc.c (malloc_info): Fix format specifier for
4946         n_mmaps.
4947
4948 2014-06-02  Wilco  <wdijkstr@arm.com>
4949
4950         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4951         FPCR write.
4952
4953 2014-06-02  Wilco  <wdijkstr@arm.com>
4954
4955         [BZ #17009]
4956         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4957         Rewrite to reduce FPCR/FPSR accesses.
4958
4959 2014-06-01  David S. Miller  <davem@davemloft.net>
4960
4961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4962
4963 2014-05-31  David S. Miller  <davem@davemloft.net>
4964
4965         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4966         to occur in round to nearest mode when |x| >= 2.0
4967
4968 2014-05-30  Richard Henderson  <rth@twiddle.net>
4969
4970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4971         (PSEUDO_RET_NOERRNO): Remove.
4972         (ret): Don't redefine.
4973         (ret_NOERRNO): Define in terms of ret.
4974         (ret_ERRVAL): Likewise.
4975
4976         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4977         use of PSEUDO_RET; perform the error check directly.
4978
4979 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4980
4981         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4982         with __int128_t.
4983
4984 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4985
4986         * malloc/malloc (malloc_info): Fix formatting.
4987
4988 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4989             Roland McGrath  <roland@hack.frob.com>
4990
4991         * malloc/malloc (malloc_info): Also print mmapped statistics.
4992
4993 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4994
4995         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4996         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4997
4998 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4999
5000         * malloc/malloc.c (malloc_info): Inline mi_arena.
5001
5002 2014-05-29  Richard Henderson  <rth@twiddle.net>
5003
5004         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5005         Remove comma before expanding ASM_ARGS_##nr.
5006         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5007         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5008         of ASM_ARGS_##nr.
5009         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5010         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5011         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5012         (ASM_ARGS_1): Add leading comma.
5013
5014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5015         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5016         to __errno_location.
5017         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5018         Remove the expected plt for __errno_location.
5019
5020         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5021         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5022         call to __read_tp.
5023
5024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5025         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5026         it and break it down.
5027         (DOCARGS_0, DOCARGS_1): Do nothing.
5028         (DOCARGS_2): Update to store into the new stack frame.
5029         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5030         (UNDOCARGS_1): Update to restore from the new stack frame.
5031         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5032         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5033
5034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5035         (SINGLE_THREAD_P): New parameter for result regno.
5036         (PSEUDO): Update to match; use cbz instead of beq.
5037
5038         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5039         Use ENTRY to define the _nocancel entry point.  Share the syscall
5040         and syscall error check paths with the cancel path.
5041         (PSEUDO_END): New.
5042
5043         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5044         whitespace; tabs before and after asm mnemonics.
5045
5046 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5047
5048         [BZ #15132]
5049         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5050         Call fstat64 or stat64 internally, depending on arguments passed.
5051         Replace stat buffer argument with file descriptor argument.
5052         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5053         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5054         Pass fd to __internal_statvfs instead of calling fstat64.
5055         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5056         Pass fd to __internal_statvfs64 instead of calling fstat64.
5057         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5058         Pass -1 to __internal_statvfs instead of calling stat64.
5059         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5060         Pass -1 to __internal_statvfs64 instead of calling stat64.
5061
5062 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5063
5064         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5065         that was previously under [RESET_PID].
5066         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5067
5068         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5069         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5070
5071 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5072
5073         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5074
5075         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5076         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5077
5078 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5079
5080         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5081
5082 2014-05-27  Andreas Schwab  <schwab@suse.de>
5083
5084         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5085         TLS_INIT_TP macro.
5086         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5087         * elf/rtld.c (init_tls, dl_main): Likewise.
5088         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5089         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5090         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5091         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5092         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5093         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5094         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5095         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5096         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5097         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5098         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5099         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5100         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5101         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5102         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5103         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5104         * sysdeps/generic/tls.h: Update description.
5105
5106 2014-05-27  Will Newton  <will.newton@linaro.org>
5107
5108         [BZ #16990]
5109         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5110         and restore r2 rather than just restoring.
5111
5112 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5113
5114         [BZ #16724]
5115         * libio/tst-ftell-append.c: New test case.
5116         * libio/Makefile (tests): Add test case.
5117         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5118         append mode.
5119         * libio/wfileops.c (do_ftell_wide): Likewise.
5120
5121 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5122
5123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5124
5125         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5126         ...
5127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5129         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5130         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5131         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5132         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5133         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5134         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5136         Moved ...
5137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5138         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5139         Moved ...
5140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5141         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5142         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5143         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5144         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5145         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5146         ...
5147         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5148         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5149         Moved ...
5150         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5151         here.
5152         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5153         ...
5154         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5155         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5156         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5157
5158         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5159         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5160         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5161         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5162
5163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5164         merge into ...
5165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5167         ...
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5169         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5170         ...
5171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5173         Moved ...
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5175         here.
5176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5177         Moved ...
5178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5180         Moved ...
5181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5182
5183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5184         conditional [RESET_PID].
5185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5187         removed.
5188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5189         removed.
5190
5191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5192         <tcb-offsets.h>.
5193         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5194         (__libc_vfork): New strong alias.
5195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5196         removed.
5197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5198         Removed.
5199
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5201         <tcb-offsets.h>.
5202         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5203         (__libc_vfork): New strong alias.
5204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5205         removed.
5206         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5207         removed.
5208
5209 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5210
5211         * malloc/malloc.c (mi_arena): New function.
5212         (malloc_info): Remove nested function mi_arena. Call non-nosted
5213         function mi_arena.
5214
5215 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5216
5217         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5218         by insrwi.
5219         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5220         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5221         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5222         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5223         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5224         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5225         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5226
5227 2014-05-26  Andreas Schwab  <schwab@suse.de>
5228
5229         [BZ #16984]
5230         * locale/programs/repertoire.c (repertoire_read): Add slash
5231         between I18NPATH element and file name.
5232         * locale/programs/locfile.c (locfile_read): Likewise.
5233
5234 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5235
5236         * nptl/pthread_mutexattr_settype.c
5237         (__pthread_mutexattr_settype):
5238         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5239
5240 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5241
5242         * nptl/tst-mutex5 (do_test):
5243         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5244
5245 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5246
5247         * benchtests/README: Document 'init' directive.
5248         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5249         BENCH_INIT.
5250         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5251         (parse_file): Recognize 'init' directive.
5252
5253 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5254
5255         [BZ #16796]
5256         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5257         alignment of struct pthread.
5258
5259 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5260
5261         [BZ #16878]
5262         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5263         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5264         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5265         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5266
5267 2014-05-25  Richard Henderson  <rth@twiddle.net>
5268
5269         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5270         (SINGLE_THREAD_P_PIC): Remove.
5271         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5272         (SINGLE_THREAD_P_PIC): Remove.
5273
5274         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5275         branch to syscall error ...
5276         (PSEUDO): ... here.
5277         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5278         from __local_syscall_error to .Lsyscall_error.
5279         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5280         (SYSCALL_ERROR): Update label name.
5281
5282         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5283         Do not use DOARGS/UNDOARGS.
5284         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5285         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5286         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5287         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5288         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5289
5290         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5291         block comment.
5292
5293         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5294         define if !NOT_IN_libc.
5295         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5296         define with non-default symbol versions.
5297
5298 2014-05-23  Richard Henderson  <rth@twiddle.net>
5299
5300         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5301         (vfork, __vfork): Define via compat_symbol.
5302
5303         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5304         [!HAVE_IFUNC] (vfork_compat): Remove.
5305         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5306
5307 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5308
5309         [BZ #16978]
5310         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5311         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5312         variable.
5313
5314 2014-05-23  Richard Henderson  <rth@twiddle.net>
5315
5316         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5317         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5318         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5319         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5320
5321         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5322         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5323         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5324         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5325         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5326         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5327         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5328         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5329         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5330         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5331         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5332         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5333         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5334         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5335         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5336         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5337         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5338         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5339         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5340         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5341         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5342         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5343         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5344         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5345         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5346         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5347         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5348         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5349         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5350         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5351         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5352         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5353         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5354         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5355         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5356         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5357         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5358         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5359         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5360         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5361         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5362         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5363         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5364         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5365         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5366         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5367         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5368         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5370         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5371         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5372         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5373         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5374         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5375         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5376         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5377
5378         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5379         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5380         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5381         before exiting on error.
5382         (__libc_vfork): New strong alias.
5383         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5384         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5385
5386         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5387         that was previously under [RESET_PID].
5388         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5389
5390         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5391
5392 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5393
5394         [BZ #16977]
5395         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5396         value when x - 1 is zero.
5397         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5398         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5399         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5400         0.0L for an argument of 1.0L.
5401         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5402         Likewise.
5403         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5404         value when x - 1 is zero.
5405         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5406         * sysdeps/i386/fpu/libm-test-ulps: Update.
5407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5408
5409 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5410
5411         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5412         alphasort and versionsort.
5413
5414 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5415
5416         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5417         macro.
5418         [copysignf]: Likewise.
5419
5420 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5421
5422         * crypt/md5-crypt.c: Fix formatting.
5423
5424 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5425
5426         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5427         (b64_from_24bit): New function.
5428
5429 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5430
5431         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5432         libc_hidden_builtin_def to ifunc.
5433         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5434         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5435
5436 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5437
5438         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5439         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5440
5441 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5442
5443         * nscd/Depend (linuxthreads): Remove.
5444         (nptl): Add.
5445         * resolv/Depend (linuxthreads): Remove.
5446         * rt/Depend (linuxthreads): Remove.
5447
5448         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5449         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5450         $(common-objpfx)elf/.
5451         (link-libc-before-gnulib): Likewise.
5452         (elfobjdir): Remove variable.
5453         * Makefile (install): Use $(elf-objpfx) instead of
5454         $(common-objpfx)elf/.
5455         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5456         $(elfobjdir)/.
5457         (link-libc-deps): Likewise.
5458         ($(common-objpfx)libc.so): Likewise.
5459         ($(common-objpfx)linkobj/libc.so): Likewise.
5460         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5461         instead of $(common-objpfx)elf/.
5462         (symbolic-link-list): Likewise.
5463         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5464         [$(cross-compiling) = no]: Likewise.
5465         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5466         $(elfobjdir)/.
5467         (static-gnulib-arch): Likewise.
5468         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5469         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5470         $(common-objpfx)elf/.
5471
5472 2014-05-21  Richard Henderson  <rth@redhat.com>
5473
5474         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5475         (SINGLE_THREAD_P): Use the correct width load.  Fold
5476         into the ldr offset.
5477
5478         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5479         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5480
5481 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5482
5483         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5484         (libgcc_s_resume): Use __attribute_used__.
5485         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5486         Likewise.
5487
5488 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5489
5490         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5491         optimization when used with float constants.
5492
5493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5494
5495 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5496
5497         [BZ #16915]
5498         * locale/nl_langinfo_l.c: Make direct reference to every
5499         _nl_current_CATEGORY symbol.
5500         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5501         (tests-static): Add tst-langinfo-static.
5502         (tests-special): Add tst-langinfo-static.out.
5503         ($(objpfx)tst-langinfo.out): Redirect output.
5504         ($(objpfx)tst-langinfo-static.out): New.
5505         * localedata/tst-langinfo.sh: Send output to stdout.
5506         * localedata/tst-langinfo-static.c: New file.
5507
5508         [BZ #16965]
5509         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5510         when the shift amount is modulo the limb size.
5511
5512 2014-05-20  Richard Henderson  <rth@redhat.com>
5513
5514         [BZ #16967]
5515         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5516         Change type of sa_flags from unsigned int to int.
5517
5518         [BZ #16966]
5519         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5520
5521         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5522
5523 2014-05-20  Will Newton  <will.newton@linaro.org>
5524
5525         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5526         Test the return value of the system call in the nocancel case.
5527
5528 2014-05-20  Will Newton  <will.newton@linaro.org>
5529             Yvan Roux  <yvan.roux@linaro.org>
5530
5531         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5532         #include of asm/ptrace.h.
5533         (PTRACE_GET_THREAD_AREA): Remove #undef.
5534         (PTRACE_GETHBPREGS): Likewise.
5535         (PTRACE_SETHBPREGS): Likewise.
5536         (struct user_regs_struct): New structure.
5537         (struct user_fpsimd_struct): New structure.
5538         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5539         #include of asm/ptrace.h and second #include of sys/user.h.
5540         (PTRACE_GET_THREAD_AREA): Remove #undef.
5541         (PTRACE_GETHBPREGS): Likewise.
5542         (PTRACE_SETHBPREGS): Likewise.
5543         (ELF_NGREG): Use new struct user_regs_struct.
5544         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5545
5546 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5547
5548         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5549         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5550
5551 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5552
5553         [BZ #16958]
5554         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5555         membar to avoid block loads/stores to overlap previous stores.
5556
5557 2014-05-17  Richard Henderson  <rth@redhat.com>
5558
5559         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5560         Create the __##syscall_name##_nocancel entry point.
5561         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5562         Remove; let the sysdep-cancel.h code create it.
5563
5564 2014-05-17  David S. Miller  <davem@davemloft.net>
5565
5566         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5567         Protect with __USE_GNU.
5568         (TIOCSET_TEMPT): Likewise.
5569         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5570         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5571         these are already provided in bits/ioctl-types.h
5572
5573 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5574
5575         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5576         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5577
5578         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5579         Use wait4 regardless of [__NR_waitpid].
5580
5581 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5582
5583         PR libgcc/60166
5584         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5585         (_FP_NANSIGN_Q): Set the quiet bit.
5586
5587 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5588
5589         * benchtests/Makefile
5590         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5591         not $(common-objpfx)math/libm.so.
5592         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5593         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5594         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5595         $(common-objpfx)dlfcn/libdl.so.
5596         ($(objpfx)tst-audit8): Depend on $(libm), not
5597         $(common-objpfx)math/libm.so.
5598         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5599         not $(common-objpfx)dlfcn/libdl.so.
5600         * math/Makefile
5601         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5602         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5603         [$(build-shared) = yes].
5604         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5605         $(common-objpfx)nptl/libpthread.so.
5606         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5607         $(common-objpfx)math/libm.so$(libm.so-version) or
5608         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5609         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5610         $(common-objpfx)dlfcn/libdl.so.
5611         * setjmp/Makefile (link-libm): Remove variable.
5612         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5613         * stdio-common/Makefile (link-libm): Remove variable.
5614         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5615         * stdlib/Makefile (link-libm): Remove variable.
5616         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5617         ($(objpfx)tst-strtod-round): Likewise.
5618         ($(objpfx)tst-tininess): Likewise.
5619         ($(objpfx)tst-strtod-underflow): Likewise.
5620         ($(objpfx)tst-strtod6): Likewise.
5621         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5622         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5623         $(common-objpfx)dlfcn/libdl.so.
5624
5625 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5626
5627         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5628         BSD terminal modes definitions.
5629
5630 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5631
5632         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5633         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5634
5635         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5636         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5637         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5638         Don't do #include_next.
5639         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5640         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5641         Don't do #include_next.
5642         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5643         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5644         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5645         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5646
5647 2014-05-16  Allan McRae  <allan@archlinux.org>
5648
5649         * po/sv.po: Update Swedish translation from translation project.
5650
5651         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5652         in sed expression.
5653
5654 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5655
5656         [BZ #16917]
5657         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5658         errno if the TIOCGPTN ioctl fails with an error different than
5659         EINVAL.
5660         * login/tst-ptsname.c: New file.
5661         * login/Makefile (tests): Add tst-ptsname.
5662
5663         [BZ #16943]
5664         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5665         and prlimit64.
5666
5667 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5668
5669         [BZ #16849]
5670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5671         herrno to return EAI_AGAIN.
5672
5673 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5674
5675         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5676         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5677         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5678         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5679         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5680         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5681         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5682         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5683         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5684         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5685         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5686         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5687         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5688         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5689         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5690         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5691         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5692         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5693         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5694         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5695         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5696         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5697         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5698         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5699         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5700         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5701         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5702         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5703         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5704         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5706         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5708         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5710         Moved ...
5711         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5713         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5715         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5717         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5719         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5721         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5723         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5725         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5727         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5729         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5731         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5733         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5735         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5737         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5739         Moved ...
5740         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5742         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5744         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5746         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5748         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5750         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5752         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5754         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5756         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5758         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5760         Moved ...
5761         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5763         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5764
5765         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5766         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5767         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5768         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5769         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5770         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5771         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5772         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5773         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5774         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5775         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5776         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5777         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5778         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5779         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5780         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5781         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5783         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5785         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5786         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5787         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5788         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5789         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5790         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5791         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5792         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5793         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5794         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5795         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5796
5797         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5798         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5799
5800         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5801         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5802         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5803         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5804         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5806         Moved ...
5807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5808         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5809         Moved ...
5810         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5811         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5812         Moved ...
5813         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5814         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5815         Moved ...
5816         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5817         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5818         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5820         Moved ...
5821         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5822         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5823         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5825         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5826         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5827         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5828         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5829         Moved ...
5830         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5831         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5832         Moved ...
5833         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5834         ... here.
5835         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5836         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5837         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5838         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5839         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5840         Moved ...
5841         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5842         ... here.
5843         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5844         Moved ...
5845         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5847         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5848         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5849         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5851         Moved ...
5852         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5853         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5854         Moved ...
5855         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5856         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5857         Moved ...
5858         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5859         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5860         Moved ...
5861         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5862         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5863         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5865         Moved ...
5866         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5867         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5868         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5870         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5871         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5872         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5873         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5874         Moved ...
5875         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5876         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5877         Moved ...
5878         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5879         ... here.
5880         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5881         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5882         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5883         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5884         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5885         Moved ...
5886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5887         ... here.
5888         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5889         Moved ...
5890         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5891         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5892         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5893         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5894         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5896         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5898         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5900         Moved ...
5901         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5903         Moved ...
5904         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5906         Moved ...
5907         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5908         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5909         Moved ...
5910         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5912         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5913         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5914         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5916         Moved ...
5917         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5918         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5919         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5920         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5921         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5922         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5923         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5924         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5925         Moved ...
5926         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5927         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5928         Moved ...
5929         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5930         ... here.
5931         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5932         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5933         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5934         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5935         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5936         Moved ...
5937         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5938         ... here.
5939         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5940         Moved ...
5941         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5942         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5943         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5944         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5945         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5946         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5947         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5948         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5949         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5950         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5951         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5952
5953         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5954         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5955
5956         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5957         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5958
5959         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5960         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5961         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5962         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5963         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5964         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5965         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5966         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5967         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5968         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5969         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5970         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5971         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5972         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5973         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5975         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5976         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5977         Moved ...
5978         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5980         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5982         Moved ...
5983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5985         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5987         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5988         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5989         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5991         Moved ...
5992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5993         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5994         Moved ...
5995         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5997         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5998         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5999         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6001         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6002         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6003         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6004         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6005         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6006         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6007         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6008         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6009         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6010         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6011         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6012
6013         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6014         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6015         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6016         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6017         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6018
6019         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6020         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6022         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6023         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6024         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6025         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6026         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6027         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6028         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6029
6030         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6032
6033         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6034         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6036         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6037         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6038         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6039         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6040         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6041         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6042         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6043         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6044         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6045         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6046         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6048         Update #include.
6049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6050         Likewise.
6051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6052         Likewise.
6053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6054         Likewise.
6055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6056         Likewise.
6057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6058         Likewise.
6059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6060         Likewise.
6061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6062         Likewise.
6063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6064         Likewise.
6065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6066         Likewise.
6067         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6069         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6072         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6073         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6074         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6075         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6076         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6077         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6078         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6079         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6080         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6081         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6082
6083         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6084         that was previously under [RESET_PID].
6085         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6086         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6087         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6088
6089         * sysdeps/i386/nptl/Implies: New file.
6090         * sysdeps/x86_64/nptl/Implies: New file.
6091         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6092         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6093         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6094         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6095
6096         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6097         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6098         (__libc_vfork): New strong alias.
6099         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6100         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6101
6102         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6103         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6104         (__libc_vfork): New strong alias.
6105         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6106         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6107
6108         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6109         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6110         (__libc_vfork): New strong alias.
6111         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6112         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6113         * nptl/pt-vfork.c: New file.
6114         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6115         (libpthread: GLIBC_2.20): New version set (empty).
6116
6117 2014-05-14  Will Newton  <will.newton@linaro.org>
6118
6119         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6120         rather than #if.
6121
6122 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6123
6124         [BZ #16564]
6125         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6126         arguments with exponent 65 or above.
6127         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6128         arguments 0x1p113L or above.
6129         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6130         to arguments 0x1p107L or above.
6131         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6132         positive arguments with exponent 65 or above.
6133         * math/auto-libm-test-in: Add more tests of log1p.
6134         * math/auto-libm-test-out: Regenerated.
6135
6136         [BZ #16928]
6137         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6138         non-finite arguments is +0.
6139         * math/s_cacosf.c (__cacosf): Likewise.
6140         * math/s_cacosl.c (__cacosl): Likewise.
6141         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6142         * sysdeps/i386/fpu/libm-test-ulps: Update.
6143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6144
6145         [BZ #16927]
6146         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6147         value.
6148         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6149         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6150         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6151         for explicit high bit of mantissa when testing for argument equal
6152         to 1.
6153         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6154         * sysdeps/i386/fpu/libm-test-ulps: Update.
6155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6156
6157         [BZ #16516]
6158         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6159         (__erf): Scale by 16 instead of 8 in potentially underflowing
6160         case.  Ensure exception if result actually underflows.
6161         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6162         (__erff): Scale by 16 instead of 8 in potentially underflowing
6163         case.  Ensure exception if result actually underflows.
6164         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6165         (efx8): Remove variable.
6166         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6167         case.  Ensure exception if result actually underflows.
6168         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6169         (efx8): Remove variable.
6170         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6171         case.  Ensure exception if result actually underflows.
6172         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6173         (efx8): Remove variable.
6174         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6175         case.  Ensure exception if result actually underflows.
6176         * math/auto-libm-test-in: Add more tests of erf.
6177         * math/auto-libm-test-out: Regenerated.
6178
6179 2014-05-14  Andreas Schwab  <schwab@suse.de>
6180
6181         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6182         Remove code conditionalized on USE___THREAD.
6183
6184         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6185         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6186         not definedness.
6187
6188 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6189
6190         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6191         Define unconditionally.
6192         (__ASSUME_O_CLOEXEC): Likewise.
6193         (__ASSUME_SOCK_CLOEXEC): Likewise.
6194         (__ASSUME_IN_NONBLOCK): Likewise.
6195         (__ASSUME_PIPE2): Likewise.
6196         (__ASSUME_EVENTFD2): Likewise.
6197         (__ASSUME_SIGNALFD4): Likewise.
6198         (__ASSUME_DUP3): Likewise.
6199         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6200         (__ASSUME_DUP3): Do not define.
6201         (__ASSUME_EVENTFD2): Likewise.
6202         (__ASSUME_IN_NONBLOCK): Likewise.
6203         (__ASSUME_O_CLOEXEC): Likewise.
6204         (__ASSUME_PIPE2): Likewise.
6205         (__ASSUME_SIGNALFD4): Likewise.
6206         (__ASSUME_SOCK_CLOEXEC): Likewise.
6207         (__ASSUME_UTIMES): Undefine.
6208         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6209         (__ASSUME_UTIMES): Do not define.
6210         (__ASSUME_O_CLOEXEC): Likewise.
6211         (__ASSUME_SOCK_CLOEXEC): Likewise.
6212         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6213         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6214         0x020621].
6215         (__ASSUME_PIPE2): Likewise.
6216         (__ASSUME_EVENTFD2): Likewise.
6217         (__ASSUME_SIGNALFD4): Likewise.
6218         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6219         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6220         Do not define.
6221         (__ASSUME_EVENTFD2): Likewise.
6222         (__ASSUME_SIGNALFD4): Likewise.
6223         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6224         (__ASSUME_32BITUIDS): Likewise.
6225         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6226         (__ASSUME_IPC64): Likewise.
6227         (__ASSUME_ST_INO_64_BIT): Likewise.
6228         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6229         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6230         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6231         (__ASSUME_UTIMES): Do not define.
6232         (__ASSUME_PSELECT): Likewise.
6233         (__ASSUME_PPOLL): Likewise.
6234         (__ASSUME_O_CLOEXEC): Likewise.
6235         (__ASSUME_SOCK_CLOEXEC): Likewise.
6236         (__ASSUME_IN_NONBLOCK): Likewise.
6237         (__ASSUME_PIPE2): Likewise.
6238         (__ASSUME_EVENTFD2): Likewise.
6239         (__ASSUME_SIGNALFD4): Likewise.
6240         (__ASSUME_DUP3): Likewise.
6241         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6242         (__ASSUME_UTIMES): Likewise.
6243         (__ASSUME_O_CLOEXEC): Likewise.
6244         (__ASSUME_SOCK_CLOEXEC): Likewise.
6245         (__ASSUME_IN_NONBLOCK): Likewise.
6246         (__ASSUME_PIPE2): Likewise.
6247         (__ASSUME_EVENTFD2): Likewise.
6248         (__ASSUME_SIGNALFD4): Likewise.
6249         (__ASSUME_DUP3): Likewise.
6250         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6251         (__ASSUME_UTIMES): Likewise.
6252         (__ASSUME_O_CLOEXEC): Likewise.
6253         (__ASSUME_SOCK_CLOEXEC): Likewise.
6254         (__ASSUME_IN_NONBLOCK): Likewise.
6255         (__ASSUME_PIPE2): Likewise.
6256         (__ASSUME_EVENTFD2): Likewise.
6257         (__ASSUME_SIGNALFD4): Likewise.
6258         (__ASSUME_DUP3): Likewise.
6259         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6260         Likewise.
6261         (__ASSUME_UTIMES): Likewise.
6262         (__ASSUME_EVENTFD2): Likewise.
6263         (__ASSUME_SIGNALFD4): Likewise.
6264         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6265         (__ASSUME_O_CLOEXEC): Likewise.
6266         (__ASSUME_SOCK_CLOEXEC): Likewise.
6267         (__ASSUME_IN_NONBLOCK): Likewise.
6268         (__ASSUME_PIPE2): Likewise.
6269         (__ASSUME_EVENTFD2): Likewise.
6270         (__ASSUME_SIGNALFD4): Likewise.
6271         (__ASSUME_DUP3): Likewise.
6272         (__ASSUME_UTIMES): Undefine.
6273
6274         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6275         feclearexcept.  Remove symbol versioning code.
6276         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6277         symbol versioning code.
6278         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6279         symbol versioning code.
6280         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6281         feupdateenv.  Remove symbol versioning code.
6282         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6283         fegetexceptflag.  Remove symbol versioning code.
6284         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6285         fesetexceptflag.  Remove symbol versioning code.
6286         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6287         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6288         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6289         (__posix_fadvise64_l32): Remove prototype.
6290         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6291         code.
6292
6293 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6294
6295         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6296         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6297         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6298         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6299
6300 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6301
6302         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6303         current working directory
6304
6305 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6306
6307         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6308         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6309         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6310         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6311         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6312         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6313         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6314         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6315         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6316         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6317         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6318         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6319         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6320         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6321         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6322         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6323         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6324         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6325         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6326         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6327         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6328         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6329         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6330         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6331         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6332         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6333         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6334         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6335         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6336         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6337         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6338         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6339         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6340         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6341         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6342         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6343         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6344         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6345         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6346         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6347         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6348         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6349
6350         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6351         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6352
6353         * sysdeps/unix/sysv/linux/arm/Makefile
6354         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6355         Add rt-aeabi_unwind_cpp_pr1.
6356         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6357         Add nptl-aeabi_unwind_cpp_pr1.
6358         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6359         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6360         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6361         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6362         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6363         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6364
6365         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6366         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6367         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6368         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6369
6370         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6371         Deconditionalize the code that was previously under [RESET_PID].
6372         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6373
6374         * sysdeps/generic/exit-thread.h: New file.
6375         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6376         * include/unistd.h (__exit_thread): Remove declaration.
6377         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6378         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6379         * csu/libc-start.c: Include <exit-thread.h>.
6380         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6381         * nptl/pthread_create.c: Include <exit-thread.h>.
6382         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6383         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6384         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6385         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6386         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6387         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6388         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6389         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6390         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6391         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6392         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6393         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6394         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6395         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6396         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6397         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6398         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6399
6400 2014-05-13  Andreas Schwab  <schwab@suse.de>
6401
6402         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6403
6404 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6405
6406         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6407         (__ASSUME_UTIMES): Do not condition on kernel version.
6408         (__ASSUME_PSELECT): Define unconditionally.
6409         (__ASSUME_PPOLL): Likewise.
6410         (__ASSUME_ATFCTS): Likewise.
6411         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6412         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6413         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6414         (__ASSUME_UTIMENSAT): Define unconditionally.
6415         (__ASSUME_PRIVATE_FUTEX): Likewise.
6416         (__ASSUME_FALLOCATE): Likewise.
6417         (__ASSUME_O_CLOEXEC): Likewise.
6418         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6419         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6420         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6421         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6422         (__ASSUME_IN_NONBLOCK): Likewise.
6423         (__ASSUME_PIPE2): Likewise.
6424         (__ASSUME_EVENTFD2): Likewise.
6425         (__ASSUME_SIGNALFD4): Likewise.
6426         (__ASSUME_DUP3): Likewise.
6427         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6428         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6429         (__ASSUME_AT_RANDOM): Likewise.
6430         (__ASSUME_PREADV): Likewise.
6431         (__ASSUME_PWRITEV): Likewise.
6432         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6433         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6434         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6435         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6436         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6437         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6438         (__ASSUME_O_CLOEXEC): Define unconditionally.
6439         (__ASSUME_PSELECT): Do not undefine conditionally.
6440         (__ASSUME_PPOLL): Likewise.
6441         (__ASSUME_ATFCTS): Likewise.
6442         (__ASSUME_SET_ROBUST_LIST): Likewise.
6443         (__ASSUME_UTIMENSAT): Likewise.
6444         (__ASSUME_FDATASYNC): Define unconditionally.
6445         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6446         (__ASSUME_SIGFRAME_V2): Likewise.
6447         )__ASSUME_EVENTFD2): Likewise.
6448         (__ASSUME_SIGNALFD4): Likewise.
6449         (__ASSUME_PSELECT): Do not undefine conditionally.
6450         (__ASSUME_PPOLL): Likewise.
6451         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6452         (__ASSUME_PSELECT): Define unconditionally.
6453         (__ASSUME_PPOLL): Likewise.
6454         (__ASSUME_O_CLOEXEC): Likewise.
6455         (__ASSUME_SOCK_CLOEXEC): Likewise.
6456         (__ASSUME_IN_NONBLOCK): Likewise.
6457         (__ASSUME_PIPE2): Likewise.
6458         (__ASSUME_EVENTFD2): Likewise.
6459         (__ASSUME_SIGNALFD4): Likewise.
6460         (__ASSUME_DUP3): Likewise.
6461         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6462         (__ASSUME_O_CLOEXEC): Likewise.
6463         (__ASSUME_SOCK_CLOEXEC): Likewise.
6464         (__ASSUME_IN_NONBLOCK): Likewise.
6465         (__ASSUME_PIPE2): Likewise.
6466         (__ASSUME_EVENTFD2): Likewise.
6467         (__ASSUME_SIGNALFD4): Likewise.
6468         (__ASSUME_DUP3): Likewise.
6469         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6470         (__ASSUME_EVENTFD2): Likewise.
6471         (__ASSUME_SIGNALFD4): Likewise.
6472         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6473
6474 2014-05-12  Andreas Schwab  <schwab@suse.de>
6475
6476         [BZ #16932]
6477         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6478         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6479         than maximum RPC packet size.
6480         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6481         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6482         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6483         (_nss_nis_getservbyport_r): Likewise.
6484
6485 2014-05-12  Will Newton  <will.newton@linaro.org>
6486
6487         * malloc/Makefile (tests): Add tst-mallopt.
6488         * malloc/tst-mallopt.c: New file.
6489
6490 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6491
6492         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6493         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6494
6495 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6496
6497         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6498         (tst-tlsmod6.so): Likewise.
6499
6500 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6501
6502         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6503
6504 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6505
6506         [BZ #16064]
6507         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6508         and <dl-procinfo.h>.
6509         (__fegetenv): Save SSE state in envp->__eip if supported.
6510         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6511         envp->__eip if supported.
6512         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6513         and <dl-procinfo.h>.
6514         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6515         __data_offset and __data_selector in environment to 0.  Set SSE
6516         state if supported.
6517         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6518         test-fenv-sse.
6519         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6520         -mfpmath=sse.
6521         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6522
6523 2014-05-09  Will Newton  <will.newton@linaro.org>
6524
6525         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6526         and libc_relro_required for ARM.
6527         * sysdeps/arm/preconfigure: Regenerate.
6528
6529 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6530             Stefan Liebler  <stli@linux.vnet.ibm.com>
6531
6532         * config.make.in (enable-lock-elision): New Makefile variable.
6533         * configure.ac: Likewise.
6534         * configure: Regenerate.
6535         * sysdeps/s390/configure.ac:
6536         Add check for gcc transactions support.
6537         * sysdeps/s390/configure: Regenerate.
6538         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6539         Build elision files if enabled.
6540         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6541         Add lock elision support for s390.
6542         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6543         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6544         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6545         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6546         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6547         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6549         Likewise.
6550         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6551         Likewise.
6552         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6553         Likewise.
6554         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6555         Likewise.
6556         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6557         (__lll_timedlock_elision, __lll_lock_elision)
6558         (__lll_unlock_elision, __lll_trylock_elision)
6559         (lll_timedlock_elision, lll_lock_elision)
6560         (lll_unlock_elision, lll_trylock_elision): Add.
6561         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6562         (pthread_mutex_t): Add lock elision support for s390.
6563
6564 2014-05-14  Wilco  <wdijkstr@arm.com>
6565
6566         * sysdeps/arm/fclrexcpt.c: Cleanup.
6567         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6568         * sysdeps/arm/feenablxcpt.c: Cleanup.
6569         * sysdeps/arm/fegetenv.c: Cleanup.
6570         * sysdeps/arm/fegetexcept.c: Cleanup.
6571         * sysdeps/arm/fegetround.c: Cleanup.
6572         * sysdeps/arm/feholdexcpt.c: Cleanup.
6573         * sysdeps/arm/fesetenv.c: Cleanup.
6574         * sysdeps/arm/fesetround.c: Cleanup.
6575         * sysdeps/arm/feupdateenv.c: Cleanup.
6576         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6577         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6578         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6579         * sysdeps/arm/ftestexcept.c: Cleanup.
6580         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6581         * sysdeps/arm/setfpucw.c: Cleanup.
6582
6583 2014-05-09  Will Newton  <will.newton@linaro.org>
6584
6585         * sysdeps/arm/armv7/strcmp.S: New file.
6586         * NEWS: Mention addition of ARMv7 optimized strcmp.
6587
6588 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6589
6590         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6591         look for %.ac rather than %.in.
6592
6593         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6594         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6595         * sysdeps/mach/hurd/configure: Regenerated.
6596         * sysdeps/unix/sysv/linux/configure: Regenerated.
6597
6598         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6599
6600 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6601
6602         [BZ# 16922]
6603         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6604         (LONG_SUB): Ditto.
6605         (PTR_SUB): Ditto.
6606
6607 2014-05-07  Andreas Schwab  <schwab@suse.de>
6608
6609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6610         when skipping over non-matching result from nscd.
6611
6612 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6613
6614         [BZ #16876]
6615         * nptl/sockperf.c (client): Check socket return value.
6616
6617         [BZ #16877]
6618         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6619         nscd security class.
6620
6621 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6622
6623         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6624         * sysdeps/arm/unwind.h: ... here.
6625
6626 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6627
6628         [BZ# 16916]
6629         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6630         Define.
6631
6632 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6633
6634         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6635         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6636         multiarch strncpy for PPC64.
6637         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6638         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6640         multiarch optimizations.
6641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6642         (__libc_ifunc_impl_list): Likewise.
6643         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6644         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6645         multiarch stpncpy for PPC64.
6646         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6647         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6648
6649 2014-05-06  Andreas Schwab  <schwab@suse.de>
6650
6651         [BZ #16912]
6652         * gmon/mcount.c (_MCOUNT_DECL): Use
6653         atomic_compare_and_exchange_bool_acq instead of
6654         catomic_compare_and_exchange_bool_acq.
6655
6656 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6657
6658         * elf/Makefile (others, install-bin): Remove pldd.
6659         (pldd-modules): Variable removed.
6660         ($(objpfx)pldd): Target removed.
6661         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6662         (others, install-bin): Append pldd here.
6663         ($(objpfx)pldd): New target.
6664
6665         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6666         to 0, so the first #if test emitted later doesn't see it undefined.
6667         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6668         * sysdeps/gnu/errlist.c: Regenerated.
6669
6670 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6671
6672         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6673         [libc_hidden_builtin_def]: Define to empty value.
6674         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6675         [libc_hidden_builtin_def]: Likewise.
6676         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6677         [libc_hidden_builtin_def]: Likewise.
6678         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6679         [libc_hidden_builtin_def]: Likewise.
6680         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6681         __redirect_memcpy and define ifunc as default hidden symbol.
6682         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6683         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6684
6685 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6686
6687         * locale/iso-4217.def: Reintroduce XDR currency.
6688
6689 2014-05-04  Allan McRae  <allan@archlinux.org>
6690
6691         * po/eo.po: Update Esperanto translation from translation project.
6692
6693 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6694
6695         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6696         and FEATURE_INDEX_MAX to 1.
6697         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6698
6699 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6700
6701         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6702         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6703         * iconvdata/big5.c (ONE_DIRECTION): Define.
6704         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6705         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6706         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6707         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6708         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6709         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6710         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6711         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6712         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6713         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6714         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6715         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6716         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6717         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6718         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6719         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6720         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6721         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6722         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6723         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6724         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6725         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6726         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6727         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6728         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6729         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6730         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6731         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6732         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6733         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6734         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6735         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6736         * iconvdata/johab.c (ONE_DIRECTION): Define.
6737         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6738         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6739         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6740         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6741         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6742         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6743         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6744         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6745         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6746         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6747
6748 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6749
6750         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6751         (_IO_JUMPS_OFFSET): Define to 0.
6752
6753         * nptl/sysdeps/pthread/bits/libc-lock.h
6754         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6755         (__libc_lock_define_initialized_recursive): Always define using
6756         initializer.  Modern compilers treat uninitialized (implicit zero) and
6757         explicit zero initializers the same (i.e. put the datum in bss).
6758
6759 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6760
6761         * nscd/nscd-client.h: Include <string.h>.
6762
6763 2014-05-01  David S. Miller  <davem@davemloft.net>
6764
6765         [BZ #16885]
6766         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6767         multiple zero bytes exist at the end of a string.
6768         Reported by Aurelien Jarno <aurelien@aurel32.net>
6769
6770         * string/test-strcmp.c (check): Add explicit test for situations where
6771         there are multiple zero bytes after the first.
6772
6773 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6774
6775         [BZ #16890]
6776         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6777         when compiling wprintf.
6778         * stdio-common/tstdiomisc.c (t3): New function.
6779         (main): Call it.
6780
6781 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6782
6783         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6784         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6785         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6786         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6787
6788 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6789
6790         * stdlib/longlong.h: Updated from GCC.
6791
6792 2014-05-01  Will Newton  <will.newton@linaro.org>
6793             Bernard Ogden  <bernie.ogden@linaro.org>
6794
6795         * NEWS: Update fixed bug list.
6796
6797         [BZ #15119]
6798         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6799
6800 2014-04-30  David S. Miller  <davem@davemloft.net>
6801
6802         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6803         (libc_feholdexcept_setround_sparc_ctx): New function.
6804         (libc_fesetenv_sparc_ctx): Likewise.
6805         (libc_feupdateenv_sparc_ctx): Likewise.
6806         (libc_feholdsetround_sparc_ctx): Likewise.
6807         (libc_feholdexcept_setround_ctx): Define.
6808         (libc_feholdexcept_setroundf_ctx): Likewise.
6809         (libc_feholdexcept_setroundl_ctx): Likewise.
6810         (libc_fesetenv_ctx): Likewise.
6811         (libc_fesetenvf_ctx): Likewise.
6812         (libc_fesetenvl_ctx): Likewise.
6813         (libc_feupdateenv_ctx): Likewise.
6814         (libc_feupdateenvf_ctx): Likewise.
6815         (libc_feupdateenvl_ctx): Likewise.
6816         (libc_feresetround_ctx): Likewise.
6817         (libc_feresetroundf_ctx): Likewise.
6818         (libc_feresetroundl_ctx): Likewise.
6819         (libc_feholdsetround_ctx): Likewise.
6820         (libc_feholdsetroundf_ctx): Likewise.
6821         (libc_feholdsetroundl_ctx): Likewise.
6822
6823         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6824         with __USE_GNU instead of XOPEN cpp guards.
6825
6826         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6827         0.
6828
6829         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6830         with XOPEN cpp guards.
6831
6832 2014-04-30  Julian Brown  <julian@codesourcery.com>
6833
6834         [BZ #16888]
6835         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6836         handling.
6837
6838 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6839
6840         [BZ #9894]
6841         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6842         Change to 2.6.32.
6843         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6844         * sysdeps/unix/sysv/linux/configure: Regenerated.
6845         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6846         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6847         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6848         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6849         * README: Update reference to required Linux kernel version.
6850         * manual/install.texi (Linux): Update reference to required Linux
6851         kernel headers version.
6852         * INSTALL: Regenerated.
6853
6854         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6855         header inclusion.
6856         [POSIX] (limits.h): Likewise.
6857         [POSIX] (math.h): Likewise.
6858         [POSIX] (sys/wait.h): Likewise.
6859         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6860         function.
6861         [POSIX] (stddef.h): Do not allow header inclusion.
6862
6863 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6864
6865         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6866
6867 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6868
6869         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6870         Return immediately after lll_futex_wake.
6871
6872 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6873
6874         [BZ #16791]
6875         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6876         structure.
6877         (datahead_init_pos): Call datahead_init_common early.
6878         (datahead_init_neg): Likewise.
6879
6880         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6881         datahead_init_neg): New functions.
6882         * nscd/aicache.c (addhstaiX): Use them.
6883         * nscd/grpcache.c (cache_addgr): Likewise.
6884         * nscd/hstcache.c (cache_addhst): Likewise.
6885         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6886         * nscd/netgroupcache.c (do_notfound): Likewise.
6887         (addgetnetgrentX): Likewise.
6888         (addinnetgrX): Likewise.
6889         * nscd/pwdcache.c (cache_addpw): Likewise.
6890         * nscd/servicescache.c (cache_addserv): Likewise.
6891
6892 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6893             Atsushi Onoe  <atsushi@onoe.org>
6894
6895         [BZ #14308]
6896         [BZ #12994]
6897         [BZ #13651]
6898         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6899         one response is valid.
6900         * resolv/res_send.c (send_dg): Check for validity of other
6901         response if the current response is a referral.
6902
6903 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6904
6905         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6906
6907 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6908
6909         [BZ #16823]
6910         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6911         Always divide by positive zero when computing -Inf result.
6912         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6913         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6914
6915 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6916
6917         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6918         FPSCR if value do not change.
6919         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6920         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6921         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6922         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6923         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6924         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6925         function.
6926
6927 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6928
6929         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6930         * sysdeps/unix/sysv/linux/hppa: Move directory from
6931         ports/systeps/unix/sysv/linux/hppa.
6932         * README: Update listing for hppa-*-linux-gnu.
6933
6934 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6935
6936         [BZ #16754]
6937         * manual/stdio.texi (Hook functions): Fix types of stream hook
6938         functions.
6939         [BZ #16854]
6940         * socket/sys/socket.h: Fix typo in comment.
6941
6942 2014-04-28  Wilco  <wdijkstr@arm.com>
6943
6944         * sysdeps/arm/fenv_private.h: New file.
6945         * sysdeps/arm/math_private.h: New file.
6946         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6947
6948 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6949
6950         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6951         with __int128_t.
6952         (La_x86_64_retval): Likewise.
6953
6954 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6955
6956         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6957         fpsr if value didn't change.
6958         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6959         to fpcr if value didn't change.
6960         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6961         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6962         fpsr or fpcr if value didn't change.
6963         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6964         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6965         fpcr if value didn't change.
6966         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6967         to fpsr if value didn't change.
6968
6969 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6970
6971         * nptl/tst-sem3.c: Use test-skeleton.c
6972         (main): Rename to do_test.  Use return instead of
6973         exit.
6974         * nptl/tst-sem4.c: Use test-skeleton.c
6975         (main): Rename to do_test.
6976
6977 2014-04-22  David S. Miller  <davem@davemloft.net>
6978
6979         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6980         (struct sigaction): New struct member __glibc_reserved0, change
6981         type of sa_flags to int.
6982
6983 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6984
6985         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6986         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6987
6988 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6989
6990         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6991         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6992
6993 2014-04-22  Will Newton  <will.newton@linaro.org>
6994             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6995
6996         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6997         (__longjmp): Add longjmp and longjmp_target SystemTap
6998         probes.
6999         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7000         (__sigsetjmp): Add setjmp SystemTap probe.
7001
7002 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7003
7004         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7005         match manual order.
7006
7007 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7008
7009         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7010
7011         * sysdeps/powerpc/fpu/fenv_private.h
7012         (libc_feholdexcept_setroundl_ctx): Define to
7013         libc_feholdexcept_setround_ppc_ctx.
7014         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7015         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7016         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7017         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7018
7019 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7020
7021         * sysdeps/aarch64/math-tests.h: New file.
7022
7023 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7024
7025         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7026         New.
7027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7028         Check and set bit_AVX2_Usable.
7029         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7030         macro.
7031         (bit_AVX2): Likewise.
7032         (index_AVX2_Usable): Likewise.
7033         (CPUID_AVX2): Likewise.
7034         (HAS_AVX2): Likewise.
7035
7036 2014-04-17  Will Newton  <will.newton@linaro.org>
7037
7038         * manual/setjmp.texi (System V contexts): Add note that
7039         calling setcontext on a context created by a call to a
7040         signal handler is undefined.  Update text to note that
7041         setcontext from a signal handler is possible but not
7042         recommended.
7043
7044         [BZ #16629]
7045         * stdlib/tst-setcontext.c: Include signal.h.
7046         (main): Check that the signal stack before and
7047         after swapcontext is the same.
7048
7049         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7050         Re-implement to restore registers in user code and avoid
7051         rt_sigreturn system call.
7052
7053 2014-04-17  Wilco  <wdijkstr@arm.com>
7054
7055         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7056         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7057         * math/test-fenv.c: Skip exception trap tests on targets which only
7058         support non-stop mode.
7059
7060 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7061             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7062
7063         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7064         (libc_feholdsetround_aarch64_ctx)
7065         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7066         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7067         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7068         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7069         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7070         (libc_feresetround_noexl_ctx): Define.
7071
7072 2014-04-16  Richard Henderson  <rth@redhat.com>
7073
7074         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7075
7076         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7077         unwind tables.
7078
7079         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7080         const from the non-libc, non-ldso copy.
7081
7082         * sysdeps/alpha/libm-test-ulps: Regenerate.
7083
7084 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7085             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7086
7087         * sysdeps/aarch64/fpu/math_private.h: New file.
7088
7089 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7090
7091         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7092
7093 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7094
7095         [BZ #16275]
7096         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7097         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7098         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7099         Intel MPX bound registers before _dl_profile_fixup.
7100         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7101         registers after _dl_profile_fixup.  Save and restore bound
7102         registers bnd0/bnd1 when calling _dl_call_pltexit.
7103         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7104         (LR_BND_OFFSET): Likewise.
7105         (LRV_BND0_OFFSET): Likewise.
7106         (LRV_BND1_OFFSET): Likewise.
7107
7108 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7109
7110         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7111         to...
7112         * sysdeps/mach/hurd/i386/tls.h: ... here.
7113         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7114         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7115         fields.
7116
7117 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7118
7119         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7120
7121 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7122
7123         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7124
7125 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7126
7127         [BZ #14770]
7128         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7129         * sysdeps/s390/configure: Regenerate.
7130
7131         [BZ #16824]
7132         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7133         Set round-to-nearest internally to reduce error accumulation.
7134
7135 2014-04-16  Alan Modra  <amodra@gmail.com>
7136
7137         [BZ #16740]
7138         [BZ #16619]
7139         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7140         * math/libm-test.inc (frexp_test_data): Add tests.
7141         * NEWS: Update fixed bug list.
7142
7143 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7144
7145         * benchtests/Makefile: Depend on libraries in build directory.
7146         (bench-math): Separate out math tests.
7147         (bench-pthread): Separate out pthread tests.
7148         (bench): Include math and pthread tests.
7149
7150 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7151
7152         [BZ #16831]
7153         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7154         _dl_debug_initialize.
7155
7156         * configure.ac: Remove SELinux header check.
7157         * configure: Regenerate.
7158         * nscd/selinux.c (perms): Array of const char* to permission names.
7159         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7160         default policy. Call string_to_security_class and string_to_av_perm to
7161         translate strings. Enforce default policy and call avs_has_perm with
7162         results of translated strings.
7163
7164 2014-04-13  David S. Miller  <davem@davemloft.net>
7165
7166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7167
7168 2014-04-12  Allan McRae  <allan@archlinux.org>
7169
7170         [BZ #16838]
7171         * manual/string.texi (Collation Functions): Fix qsort argument
7172         order in example.
7173         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7174
7175 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7176
7177         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7178         Make the test a no-op if there are no exceptions defined.
7179
7180 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7181
7182         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7183         enable-hardcoded-path-in-tests
7184
7185 2014-04-11  Will Newton  <will.newton@linaro.org>
7186
7187         * benchtests/Makefile (extra-objs): Add json-lib.o.
7188         (bench-func): Tidy up JSON output.
7189         * benchtests/bench-skeleton.c: Include json-lib.h.
7190         (main): Use JSON library functions to do output of
7191         benchmark results.
7192         * benchtests/bench-timing-type.c (main): Output the
7193         timing type simply, leaving formatting to the user.
7194         * benchtests/json-lib.c: New file.
7195         * benchtests/json-lib.h: Likewise.
7196
7197 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7198
7199         [BZ #15215]
7200         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7201         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7202         memory barriers.  Add comments.
7203         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7204         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7205         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7206         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7207         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7208         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7209
7210 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7211
7212         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7213         * sysdeps/s390/s390-64/configure.ac: ... this ...
7214         * sysdeps/s390/configure.ac: ... to here.
7215         * sysdeps/s390/s390-32/configure: Delete file.
7216         * sysdeps/s390/s390-64/configure: Delete file.
7217         * sysdeps/s390/configure: Regenerate.
7218
7219 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7220
7221         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7222
7223 2014-04-11  Will Newton  <will.newton@linaro.org>
7224
7225         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7226         to zero if it is not defined elsewhere.  (mtrim): Test
7227         the value of MALLOC_DEBUG with #if rather than #ifdef.
7228
7229 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7230
7231         * benchtests/pthread_once-inputs: New file.
7232         * benchtests/pthread_once-source.c: New file.
7233         * benchtests/README: Update documentation.
7234
7235 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7236             H.J. Lu  <hongjiu.lu@intel.com>
7237
7238         [BZ #16275]
7239         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7240         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7241         * sysdeps/x86_64/configure: Regenerated.
7242         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7243         macro.
7244         (REGISTER_SAVE_RAX): Likewise.
7245         (REGISTER_SAVE_RCX): Likewise.
7246         (REGISTER_SAVE_RDX): Likewise.
7247         (REGISTER_SAVE_RSI): Likewise.
7248         (REGISTER_SAVE_RDI): Likewise.
7249         (REGISTER_SAVE_R8): Likewise.
7250         (REGISTER_SAVE_R9): Likewise.
7251         (REGISTER_SAVE_BND0): Likewise.
7252         (REGISTER_SAVE_BND1): Likewise.
7253         (REGISTER_SAVE_BND2): Likewise.
7254         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7255         bound registers when calling _dl_fixup.
7256
7257 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7258
7259         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7260         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7261         of its definition.
7262         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7263         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7264         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7265         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7266         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7267         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7268         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7269
7270 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7271
7272         [BZ #15514]
7273         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7274         pathconf(_PC_NAME_MAX).
7275
7276 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7277
7278         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7279         Remove macro usage.
7280         (__PTHREAD_SPINS): Move definition to ...
7281         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7282         (__PTHREAD_SPINS): ... here.
7283         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7284         (__PTHREAD_SPIN): Likewise.
7285         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7286         (__PTHREAD_SPIN): Likewise.
7287         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7288         (__PTHREAD_SPIN): Likewise.
7289         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7290         (__PTHREAD_SPIN): Likewise.
7291         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7292         (__PTHREAD_SPIN): Likewise.
7293         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7294         (__PTHREAD_SPIN): Likewise.
7295         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7296         (__PTHREAD_SPIN): Likewise.
7297         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7298         (__PTHREAD_SPIN): Likewise.
7299         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7300         (__PTHREAD_SPIN): Likewise.
7301         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7302         (__PTHREAD_SPIN): Likewise.
7303         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7304         (__PTHREAD_SPIN): Likewise.
7305         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7306         (__PTHREAD_SPIN): Likewise.
7307
7308         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7309         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7310         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7311         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7312         imply folder.
7313         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7314         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7315         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7316         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7317         correct imply path.
7318         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7319         strlen symbol for non multi-arch builds.
7320         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7321         missing hidden_def and weak_alias.
7322
7323 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7324
7325         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7326
7327 2014-04-07  Will Newton  <will.newton@linaro.org>
7328
7329         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7330         and contents.  [!_LIBC] Remove #ifndef and contents.
7331         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7332         * string/memccpy.c (__memccpy): Use ANSI prototype.
7333         * string/memfrob.c (memfrob): Likewise.
7334         * string/strcoll.c (STRCOLL): Likewise.
7335         * string/strlen.c (strlen): Likewise.
7336         * string/strtok.c (STRTOK): Likewise.
7337         * string/strcat.c: Remove unused #include of memcopy.h.
7338         (strcat): Use ANSI prototype.
7339         * string/strchr.c: Remove unused #include of memcopy.h.
7340         (strchr): Use ANSI prototype.
7341         * string/strcmp.c: Remove unused #include of memcopy.h.
7342         (strcmp): Use ANSI prototype.
7343         * string/strcpy.c: Remove unused #include of memcopy.h.
7344         (strcpy): Use ANSI prototype.
7345
7346 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7347
7348         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7349         * config.make.in (config-extra-cppflags): Set it from
7350         libc_extra_cppflags.
7351         * configure.ac (libc_extra_cflags): Make it accumulate over
7352         configure fragments.
7353         (libc_extra_cppflags): New flag.
7354         * configure. Regenerate.
7355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7356         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7357         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7359
7360         [BZ #16815]
7361         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7362         result for FE_DOWNWARD rounding mode.
7363         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7364         Likewise.
7365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7366
7367 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7368
7369         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7370         in function argument name.
7371
7372 2014-04-03  David Svoboda  <svoboda@cert.org>
7373
7374         [BZ #5666]
7375         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7376         explicitly.
7377
7378 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7379
7380         * elf/dl-unmap-segments.h: New file.
7381         * sysdeps/generic/ldsodefs.h
7382         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7383         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7384         * elf/dl-fptr.c: Likewise.
7385         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7386         * sysdeps/aarch64/tlsdesc.c: Likewise.
7387         * sysdeps/arm/tlsdesc.c: Likewise.
7388         * sysdeps/i386/tlsdesc.c: Likewise.
7389         * sysdeps/tile/dl-runtime.c: Likewise.
7390         * sysdeps/x86_64/tlsdesc.c: Likewise.
7391         * elf/dl-load.h: New file.
7392         * elf/dl-load.c: Include it.
7393         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7394         Macros moved to dl-load.h.
7395         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7396         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7397         Use _dl_unmap_segments in place of __munmap.
7398         Break out segment-mapping loop into ...
7399         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7400
7401 2014-04-03  Will Newton  <will.newton@linaro.org>
7402
7403         * elf/dl-lookup.c (do_lookup_x): Remove comment
7404         referring to nested function and move variable
7405         declarations down to before first use.
7406
7407 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7408
7409         [BZ #16799]
7410         [BZ #16800]
7411         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7412         with 0 numerator.
7413         * math/s_catanf.c (__catanf): Likewise.
7414         * math/s_catanh.c (__catanh): Likewise.
7415         * math/s_catanhf.c (__catanhf): Likewise.
7416         * math/s_catanhl.c (__catanhl): Likewise.
7417         * math/s_catanl.c (__catanl): Likewise.
7418         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7419         by positive zero when computing -Inf result.
7420         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7421         (catanh_test): Likewise.
7422         * sysdeps/i386/fpu/libm-test-ulps: Update.
7423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7424
7425         [BZ #16789]
7426         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7427         instead of using underflowing value in computing result.
7428         * math/s_clog10.c (__clog10): Likewise.
7429         * math/s_clog10f.c (__clog10f): Likewise.
7430         * math/s_clog10l.c (__clog10l): Likewise.
7431         * math/s_clogf.c (__clogf): Likewise.
7432         * math/s_clogl.c (__clogl): Likewise.
7433         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7434         (clog10_test): Likewise.
7435         * sysdeps/i386/fpu/libm-test-ulps: Update.
7436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7437
7438 2014-04-02  Alan Modra  <amodra@gmail.com>
7439
7440         [BZ #16739]
7441         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7442         output when value is near a power of two.  Use int64_t for lx and
7443         remove casts.  Use decimal rather than hex exponent constants.
7444         Don't use long double multiplication when double will suffice.
7445         * math/libm-test.inc (nextafter_test_data): Add tests.
7446         * NEWS: Add 16739 and 16786 to bug list.
7447
7448         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7449
7450         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7451
7452 2014-04-01  Will Newton  <will.newton@linaro.org>
7453
7454         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7455         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7456
7457 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7458
7459         [BZ #13347]
7460         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7461         * nptl/tst-setuid2.c: New file.
7462         * nptl/Makefile (xtests): Add tst-setuid2.
7463
7464 2014-04-01  Alan Modra  <amodra@gmail.com>
7465
7466         [BZ #16786]
7467         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7468
7469 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7470
7471         [BZ #6803]
7472         [BZ #6804]
7473         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7474         set errno as appropriate.
7475         * math/w_scalbf.c (__scalbf): Likewise.
7476         * math/w_scalbl.c (__scalbl): Likewise.
7477         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7478         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7479         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7480         Add more NaN tests.
7481
7482         [BZ #16349]
7483         * math/w_atan2.c: Include <errno.h>.
7484         (__atan2): Set errno for result underflowing to zero.
7485         * math/w_atan2f.c: Include <errno.h>.
7486         (__atan2f): Set errno for result underflowing to zero.
7487         * math/w_atan2l.c: Include <errno.h>.
7488         (__atan2l): Set errno for result underflowing to zero.
7489         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7490         tests.
7491         * math/auto-libm-test-out: Regenerated.
7492
7493 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7494
7495         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7496         Encode instruction correctly in little endian.
7497         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7498         Likewise.
7499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7500         Likewise.
7501         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7502         Likewise.
7503         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7504         Likewise.
7505
7506 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7507
7508         [BZ #9894]
7509         * sysdeps/unix/sysv/linux/kernel-features.h
7510         [__sparc__ && !__arch64__ && !__sparc_v9__]
7511         (__ASSUME_SET_ROBUST_LIST): Do not define.
7512         [__sparc__ && !__arch64__ && !__sparc_v9__]
7513         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7514         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7515         Likewise.
7516         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7517         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7518         (__ASSUME_REQUEUE_PI): Likewise.
7519         (__ASSUME_SET_ROBUST_LIST): Likewise.
7520         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7521         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7522         Undefine.
7523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7524         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7525         Likewise.
7526         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7527         Likewise.
7528         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7529         Likewise.
7530         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7531         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7532         Undefine.
7533         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7534         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7535         Likewise.
7536
7537         [BZ #16648]
7538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7539         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7540         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7541
7542 2014-03-31  Will Newton  <will.newton@linaro.org>
7543
7544         * benchtests/Makefile (bench): Add ffs and ffsll to list
7545         of tests.
7546         * benchtests/ffs-inputs: New file.
7547         * benchtests/ffsll-inputs: Likewise.
7548
7549 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7550
7551         [BZ #16770]
7552         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7553         too large before casting to int.
7554         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7555         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7556         * math/libm-test.inc (scalb_test_data): Add more tests.
7557
7558 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7559
7560         * benchtests/Makefile (DETAILED_OPT): New make option.
7561         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7562         set.
7563         * benchtests/bench-skeleton.c: Include stdbool.h.
7564         (main): Store and print timings per input.
7565         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7566         member to each argument value.
7567         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7568         (_print_arg_data): Initialize per-input timing to 0.
7569
7570         * benchtests/Makefile (timing-type): New binary.
7571         (bench-clean): Also remove bench-timing-type.
7572         (bench): New target for timing-type.
7573         (bench-func): Print output in JSON format.
7574         * benchtests/bench-skeleton.c (main): Print output in JSON
7575         format.
7576         * benchtests/bench-timing-type.c: New file.
7577         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7578         (TIMING_PRINT_STATS): Remove.
7579         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7580         name separately.
7581
7582         * benchtests/bench-modf.c: Remove.
7583         * benchtests/modf-inputs: New inputs file.
7584
7585 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7586
7587         [BZ #16362]
7588         * math/s_clog10.c (M_PI_LOG10E): New macro.
7589         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7590         imaginary parts are 0.
7591         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7592         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7593         imaginary parts are 0.
7594         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7595         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7596         imaginary parts are 0.
7597         * math/libm-test.inc (clog10_test_data): Update expected results
7598         for when real and imaginary parts are 0.
7599
7600 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7601
7602         * elf/dl-load.c: Finish conversion of __builtin_expect into
7603         __glibc_{un}likely.
7604
7605 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7606
7607         [BZ #16348]
7608         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7609         1+x for argument with exponent below -67.
7610         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7611         Likewise.
7612         * math/auto-libm-test-in: Add more tests of exp.
7613         * math/auto-libm-test-out: Regenerated.
7614
7615 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7616
7617         [BZ #16759]
7618         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7619         (nscd_getnetgrent): Use it.
7620
7621         [BZ #16760]
7622         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7623         of stpcpy.
7624
7625 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7626
7627         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7628         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7629         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7630         (lll_robust_unlock): Remove out of line section. Use cfi
7631         intrinsics.
7632         (LLL_STUB_UNWIND_INFO*): Remove.
7633         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7634         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7635         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7636         (lll_robust_unlock): Remove out of line section. Use cfi
7637         intrinsics.
7638         (LLL_STUB_UNWIND_INFO*): Remove.
7639
7640 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7641
7642         [BZ #16758]
7643         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7644         blank values.
7645
7646 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7647
7648         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7649
7650 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7651
7652         [BZ #16198]
7653         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7654         fnstenv.
7655         * math/test-fenv-preserve.c: New file.
7656         * math/Makefile (tests): Add test-fenv-preserve.
7657
7658 2014-03-26  Will Newton <will.newton@linaro.org>
7659
7660         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7661
7662 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7663
7664         * scripts/versionlist.awk: Partition the version sets and emit all
7665         GLIBC_* (sorted) before all others (sorted).
7666
7667 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7668
7669         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7670         GLIBC_2.2.5 version.
7671
7672 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7673
7674         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7675         calls.
7676
7677         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7678         previous change.
7679
7680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7681
7682 2014-03-25  Andreas Schwab  <schwab@suse.de>
7683
7684         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7685         label to be used after in6ailist is initialized.
7686
7687 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7688
7689         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7690         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7691
7692 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7693
7694         [BZ #16357]
7695         [BZ #16599]
7696         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7697         min_plus_half.
7698         (fp_formats): Update initializers.
7699         (init_fp_formats): Initialize new field.
7700         (output_for_one_input_case): Allow underflow for results up to
7701         min_plus_half.
7702         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7703         * math/auto-libm-test-in: Don't mark some underflows from asin and
7704         atanh as spurious.
7705         * math/auto-libm-test-out: Regenerated.
7706         * sysdeps/i386/fpu/libm-test-ulps: Update.
7707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7708
7709 2014-03-25  Andreas Schwab  <schwab@suse.de>
7710
7711         * libio/Makefile (tst-ftell-partial-wide-ENV)
7712         (tst-ftell-active-handler-ENV): Define.
7713
7714 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7715
7716         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7717
7718 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7719
7720         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7721
7722 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7723
7724         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7725         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7726         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7727
7728 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7729
7730         [BZ #16634]
7731         * elf/dl-load.c (open_verify): Add mode parameter.
7732         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7733         (open_path): Change from boolean 'secure' to complete flag 'mode'
7734         (_dl_map_object): Adjust.
7735         * elf/Makefile (tests): Add tst-dlopen-aout.
7736         * elf/tst-dlopen-aout.c: New test.
7737
7738 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7739
7740         [BZ #16714]
7741         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7742         (struct stat): Rename member pad0 to __glibc_reserved0.
7743
7744         [BZ #16712]
7745         * sysdeps/s390/s390-32/bits/wordsize.h
7746         (__WORDSIZE32_SIZE_ULONG): New define.
7747         * sysdeps/s390/s390-64/bits/wordsize.h
7748         (__WORDSIZE32_SIZE_ULONG): Likewise.
7749         * sysdeps/generic/stdint.h (SIZE_MAX):
7750         Define as UL if __WORDSIZE32_SIZE_ULONG.
7751
7752         [BZ #16713]
7753         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7754         (__glibc_reserved0): New variable.
7755         (sa_flags): Change type to int.
7756
7757         * posix/Makefile (before-compile): Use += before-compile instead
7758         of a :=.
7759
7760         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7761         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7762
7763 2014-03-20  Andreas Schwab  <schwab@suse.de>
7764
7765         [BZ #16743]
7766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7767         non-matching result from nscd.
7768
7769 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7770
7771         * scripts/bench.py: Moved to ...
7772         * benchtests/scripts/bench.py: ... here.
7773         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7774
7775 2014-03-24  Andreas Schwab  <schwab@suse.de>
7776
7777         [BZ #16002]
7778         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7779         alloca_account and account alloca use for struct in6ailist.
7780
7781 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7782
7783         [BZ #16284]
7784         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7785         rounding mode to recompute results that overflow to infinity or
7786         underflow to zero.
7787         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7788         bug 16284.
7789         * math/auto-libm-test-out: Regenerated.
7790         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7791         (ccosh_test): Likewise.
7792         (csin_test_data): Use plus_oflow.
7793         (csin_test): Use ALL_RM_TEST.
7794         (csinh_test_data): Use plus_oflow.
7795         (csinh_test): Use ALL_RM_TEST.
7796         * sysdeps/i386/fpu/libm-test-ulps: Update.
7797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7798
7799 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7800
7801         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7802         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7803         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7804
7805         [BZ #16731]
7806         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7807         when x - 1 is zero.
7808         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7809         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7810         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7811         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7812         argument is 1.
7813         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7814         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7815         zero.
7816         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7817         * sysdeps/i386/fpu/libm-test-ulps: Update.
7818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7819
7820 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7821
7822         * scripts/bench.pl: Remove file.
7823         * scripts/bench.py: New benchmark script.
7824         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7825         * benchtests/README: Mention python dependency.
7826         * scripts/pylintrc: New file.
7827         * scripts/pylint: New file.
7828
7829         * bits/mathdef.h: Use #ifdef instead of #if.
7830         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7831         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7832         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7833         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7834         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7835         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7836
7837 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7838             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7839
7840         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7842         and strpbrk-ppc64 objects.
7843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7844         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7845         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7846         multiarch strpbrk for POWER7.
7847         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7848         multiarch strpbrk for PPC64.
7849         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7850         ifunc selector.
7851         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7852         strpbrk for POWER7.
7853
7854 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7855
7856         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7857         (atan_test): Likewise.
7858         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7859         (atanh_test): Use ALL_RM_TEST.
7860         (atan2_test_data): Likewise.
7861         (cabs_test): Likewise.
7862         (cacosh_test): Likewise.
7863         (carg_test): Likewise.
7864         (casin_test): Likewise.
7865         (casinh_test): Likewise.
7866         (cbrt_test): Likewise.
7867         (csqrt_test): Likewise.
7868         (erf_test): Likewise.
7869         (erfc_test): Likewise.
7870         (pow10_test): Likewise.
7871         (exp2_test): Likewise.
7872         (hypot_test): Likewise.
7873         (j0_test): Likewise.
7874         (j1_test): Likewise.
7875         (lgamma_test): Likewise.
7876         (gamma_test): Likewise.
7877         (sincos_test): Likewise.
7878         (tanh_test): Likewise.
7879         (y0_test): Likewise.
7880         (y1_test): Likewise.
7881         * sysdeps/i386/fpu/libm-test-ulps: Update.
7882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7883
7884 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7885
7886         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7888         and strcspn-ppc64 objects.
7889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7890         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7891         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7892         multiarch strcspn for POWER7.
7893         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7894         multiarch strcspn for PPC64.
7895         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7896         ifunc selector.
7897         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7898         strcspn for POWER7.
7899
7900 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7901
7902         * math/gen-libm-test.pl (generate_testfile): Expect only function
7903         name as argument to AUTO_TESTS_* and pass results for all rounding
7904         modes to parse_args.
7905         (parse_auto_input): Separate inputs of automatic tests from
7906         outputs before storing in %auto_tests.
7907         * math/libm-test.inc (acos_test_data): Update call to
7908         AUTO_TESTS_f_f.
7909         (acos_test): Use ALL_RM_TEST.
7910         (acos_tonearest_test_data): Remove.
7911         (acos_test_tonearest): Likewise.
7912         (acos_towardzero_test_data): Likewise.
7913         (acos_test_towardzero): Likewise.
7914         (acos_downward_test_data): Likewise.
7915         (acos_test_downward): Likewise.
7916         (acos_upward_test_data): Likewise.
7917         (acos_test_upward): Likewise.
7918         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7919         (asin_test_data): Likewise.
7920         (asin_test): Use ALL_RM_TEST.
7921         (asin_tonearest_test_data): Remove.
7922         (asin_test_tonearest): Likewise.
7923         (asin_towardzero_test_data): Likewise.
7924         (asin_test_towardzero): Likewise.
7925         (asin_downward_test_data): Likewise.
7926         (asin_test_downward): Likewise.
7927         (asin_upward_test_data): Likewise.
7928         (asin_test_upward): Likewise.
7929         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7930         (atan_test_data): Likewise.
7931         (atanh_test_data): Likewise.
7932         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7933         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7934         (carg_test_data): Likewise.
7935         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7936         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7937         (ccosh_test_data): Likewise.
7938         (cexp_test_data): Likewise.
7939         (clog_test_data): Likewise.
7940         (clog10_test_data): Likewise.
7941         (cos_test_data): Update call to AUTO_TESTS_f_f.
7942         (cos_test): Use ALL_RM_TEST.
7943         (cos_tonearest_test_data): Remove.
7944         (cos_test_tonearest): Likewise.
7945         (cos_towardzero_test_data): Likewise.
7946         (cos_test_towardzero): Likewise.
7947         (cos_downward_test_data): Likewise.
7948         (cos_test_downward): Likewise.
7949         (cos_upward_test_data): Likewise.
7950         (cos_test_upward): Likewise.
7951         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7952         (cosh_test): Use ALL_RM_TEST.
7953         (cosh_tonearest_test_data): Remove.
7954         (cosh_test_tonearest): Likewise.
7955         (cosh_towardzero_test_data): Likewise.
7956         (cosh_test_towardzero): Likewise.
7957         (cosh_downward_test_data): Likewise.
7958         (cosh_test_downward): Likewise.
7959         (cosh_upward_test_data): Likewise.
7960         (cosh_test_upward): Likewise.
7961         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7962         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7963         (ctan_test_data): Likewise.
7964         (ctan_test): Use ALL_RM_TEST.
7965         (ctan_tonearest_test_data): Remove.
7966         (ctan_test_tonearest): Likewise.
7967         (ctan_towardzero_test_data): Likewise.
7968         (ctan_test_towardzero): Likewise.
7969         (ctan_downward_test_data): Likewise.
7970         (ctan_test_downward): Likewise.
7971         (ctan_upward_test_data): Likewise.
7972         (ctan_test_upward): Likewise.
7973         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7974         (ctanh_test): Use ALL_RM_TEST.
7975         (ctanh_tonearest_test_data): Remove.
7976         (ctanh_test_tonearest): Likewise.
7977         (ctanh_towardzero_test_data): Likewise.
7978         (ctanh_test_towardzero): Likewise.
7979         (ctanh_downward_test_data): Likewise.
7980         (ctanh_test_downward): Likewise.
7981         (ctanh_upward_test_data): Likewise.
7982         (ctanh_test_upward): Likewise.
7983         (erf_test_data): Update call to AUTO_TESTS_f_f.
7984         (erfc_test_data): Likewise.
7985         (exp_test_data): Likewise.
7986         (exp_test): Use ALL_RM_TEST.
7987         (exp_tonearest_test_data): Remove.
7988         (exp_test_tonearest): Likewise.
7989         (exp_towardzero_test_data): Likewise.
7990         (exp_test_towardzero): Likewise.
7991         (exp_downward_test_data): Likewise.
7992         (exp_test_downward): Likewise.
7993         (exp_upward_test_data): Likewise.
7994         (exp_test_upward): Likewise.
7995         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7996         (exp10_test): Use ALL_RM_TEST.
7997         (exp10_tonearest_test_data): Remove.
7998         (exp10_test_tonearest): Likewise.
7999         (exp10_towardzero_test_data): Likewise.
8000         (exp10_test_towardzero): Likewise.
8001         (exp10_downward_test_data): Likewise.
8002         (exp10_test_downward): Likewise.
8003         (exp10_upward_test_data): Likewise.
8004         (exp10_test_upward): Likewise.
8005         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8006         (expm1_test_data): Likewise.
8007         (expm1_test): Use ALL_RM_TEST.
8008         (expm1_tonearest_test_data): Remove.
8009         (expm1_test_tonearest): Likewise.
8010         (expm1_towardzero_test_data): Likewise.
8011         (expm1_test_towardzero): Likewise.
8012         (expm1_downward_test_data): Likewise.
8013         (expm1_test_downward): Likewise.
8014         (expm1_upward_test_data): Likewise.
8015         (expm1_test_upward): Likewise.
8016         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8017         (fma_test): Use ALL_RM_TEST.
8018         (fma_towardzero_test_data): Remove.
8019         (fma_test_towardzero): Likewise.
8020         (fma_downward_test_data): Likewise.
8021         (fma_test_downward): Likewise.
8022         (fma_upward_test_data): Likewise.
8023         (fma_test_upward): Likewise.
8024         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8025         (j0_test_data): Update call to AUTO_TESTS_f_f.
8026         (j1_test_data): Likewise.
8027         (jn_test_data): Update call to AUTO_TESTS_if_f.
8028         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8029         (log_test_data): Update call to AUTO_TESTS_f_f.
8030         (log10_test_data): Likewise.
8031         (log1p_test_data): Likewise.
8032         (log2_test_data): Likewise.
8033         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8034         (pow_tonearest_test_data): Likewise.
8035         (sin_test_data): Update call to AUTO_TESTS_f_f.
8036         (sin_test): Use ALL_RM_TEST.
8037         (sin_tonearest_test_data): Remove.
8038         (sin_test_tonearest): Likewise.
8039         (sin_towardzero_test_data): Likewise.
8040         (sin_test_towardzero): Likewise.
8041         (sin_downward_test_data): Likewise.
8042         (sin_test_downward): Likewise.
8043         (sin_upward_test_data): Likewise.
8044         (sin_test_upward): Likewise.
8045         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8046         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8047         (sinh_test): Use ALL_RM_TEST.
8048         (sinh_tonearest_test_data): Remove.
8049         (sinh_test_tonearest): Likewise.
8050         (sinh_towardzero_test_data): Likewise.
8051         (sinh_test_towardzero): Likewise.
8052         (sinh_downward_test_data): Likewise.
8053         (sinh_test_downward): Likewise.
8054         (sinh_upward_test_data): Likewise.
8055         (sinh_test_upward): Likewise.
8056         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8057         (sqrt_test): Use ALL_RM_TEST.
8058         (sqrt_tonearest_test_data): Remove.
8059         (sqrt_test_tonearest): Likewise.
8060         (sqrt_towardzero_test_data): Likewise.
8061         (sqrt_test_towardzero): Likewise.
8062         (sqrt_downward_test_data): Likewise.
8063         (sqrt_test_downward): Likewise.
8064         (sqrt_upward_test_data): Likewise.
8065         (sqrt_test_upward): Likewise.
8066         (tan_test_data): Update call to AUTO_TESTS_f_f.
8067         (tan_test): Use ALL_RM_TEST.
8068         (tan_tonearest_test_data): Remove.
8069         (tan_test_tonearest): Likewise.
8070         (tan_towardzero_test_data): Likewise.
8071         (tan_test_towardzero): Likewise.
8072         (tan_downward_test_data): Likewise.
8073         (tan_test_downward): Likewise.
8074         (tan_upward_test_data): Likewise.
8075         (tan_test_upward): Likewise.
8076         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8077         (tgamma_test_data): Likewise.
8078         (y0_test_data): Likewise.
8079         (y1_test_data): Likewise.
8080         (yn_test_data): Update call to AUTO_TESTS_if_f.
8081         (main): Do not call removed functions.
8082
8083 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8084
8085         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8086         (ldexp_test_data): Remove.
8087         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8088         scalbn_test_data.
8089         (scalb_test): Use ALL_RM_TEST.
8090
8091 2014-03-19  Andreas Schwab  <schwab@suse.de>
8092
8093         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8094
8095 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8096
8097         [BZ #16649]
8098         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8099         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8100         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8101         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8102         (__ASSUME_PREADV): Undefine.
8103         (__ASSUME_PWRITEV): Likewise.
8104
8105 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8106
8107         * bits/mman-linux.h: Add comment about non-Linux use.
8108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8109         bits/mman-linux.h resting place.
8110
8111         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8112         * bits/mman-linux.h: ... here.
8113
8114 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8115
8116         * conform/conformtest.pl: Add standard definition when calling C
8117         preprocessor on data files.
8118         (checknamespace): Remove unused variable.
8119
8120 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8121
8122         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8123         minus_oflow, plus_uflow and minus_uflow in expected results.
8124         * math/libm-test.inc (scalbn_test_data): Add more tests of
8125         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8126         minus_uflow.
8127         (scalbn_test): Use ALL_RM_TEST.
8128         (scalbln_test_data): Add more tests of negative arguments.  Use
8129         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8130         (scalbln_test): Use ALL_RM_TEST.
8131
8132 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8133
8134         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8135
8136 2014-03-18  Will Newton  <will.newton@linaro.org>
8137
8138         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8139         inaccurate comment.
8140
8141 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8142
8143         * Makerules [!subdir] (check-abi): Exit with error status if a
8144         test failed.
8145
8146 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8147
8148         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8149         for rint.  Include results for all rounding modes.
8150         (nearbyint_test): Use ALL_RM_TEST.
8151         (rint_test_data): Include all tests used for nearbyint.
8152
8153 2014-03-17  Will Newton  <will.newton@linaro.org>
8154
8155         * nptl/sysdeps/pthread/pthread.h: Revert previous
8156         change.
8157
8158         * sysdeps/generic/ldsodefs.h: Revert previous
8159         change.
8160
8161         * libio/genops.c: Revert previous change.
8162         * libio/libioP.h: Likewise.
8163         * stdio-common/vfprintf.c: Likewise.
8164
8165         * sysdeps/generic/math_private.h: Revert previous
8166         change.
8167
8168         * sysdeps/generic/math_private.h: Check whether
8169         HAVE_RM_CTX is defined with #ifdef rather
8170         than #if.
8171
8172         * argp/argp-fmtstream.h: Check whether
8173         __STRICT_ANSI__ is defined with #ifdef rather
8174         than #if.
8175         * argp/argp.h: Likewise.
8176
8177         * libio/genops.c: Check whether
8178         _IO_JUMPS_OFFSET is defined with #ifdef rather
8179         than #if.
8180         * libio/libioP.h: Likewise.
8181         * stdio-common/vfprintf.c: Likewise.
8182
8183         * sysdeps/generic/ldsodefs.h: Check whether
8184         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8185         than #if.
8186
8187         * nptl/sysdeps/pthread/pthread.h: Check
8188         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8189         its value.
8190
8191 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8192
8193         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8194         setting O_APPEND.
8195         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8196         test case.
8197
8198         [BZ #16680]
8199         * libio/fileops.c (_IO_file_open): Seek to end of file but
8200         don't cache the offset.
8201         (get_file_offset): Remove function.
8202         (do_ftell): Use cached offset when available.
8203         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8204         don't cache the offset.
8205         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8206         case.
8207         (do_one_test): Call it.
8208         (do_ftell_test): Fix up expected old offset for a+ mode.
8209         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8210         available.
8211
8212         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8213         up test status with function return status.
8214         (do_write_test): Likewise.
8215         (do_append_test): Likewise.
8216
8217         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8218         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8219         Remove.
8220
8221 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8222
8223         * math/gen-libm-test.pl (parse_args): Handle results specified for
8224         each rounding mode separately.
8225         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8226         tests and results from lrint_tonearest_test_data,
8227         lrint_towardzero_test_data, lrint_downward_test_data and
8228         lrint_upward_test_data.
8229         (lrint_test): Use ALL_RM_TEST.
8230         (lrint_tonearest_test_data): Remove.
8231         (lrint_test_tonearest): Likewise.
8232         (lrint_towardzero_test_data): Likewise.
8233         (lrint_test_towardzero): Likewise.
8234         (lrint_downward_test_data): Likewise.
8235         (lrint_test_downward): Likewise.
8236         (lrint_upward_test_data): Likewise.
8237         (lrint_test_upward): Likewise.
8238         (llrint_test_data): Merge in per-rounding-mode tests and results
8239         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8240         llrint_downward_test_data and llrint_upward_test_data.
8241         (llrint_test): Use ALL_RM_TEST.
8242         (llrint_tonearest_test_data): Remove.
8243         (llrint_test_tonearest): Likewise.
8244         (llrint_towardzero_test_data): Likewise.
8245         (llrint_test_towardzero): Likewise.
8246         (llrint_downward_test_data): Likewise.
8247         (llrint_test_downward): Likewise.
8248         (llrint_upward_test_data): Likewise.
8249         (llrint_test_upward): Likewise.
8250         (rint_test_data): Merge in per-rounding-mode tests and results
8251         from rint_tonearest_test_data, rint_towardzero_test_data,
8252         rint_downward_test_data and rint_upward_test_data.  Add
8253         per-rounding-mode results for tests not in those arrays.
8254         (rint_test): Use ALL_RM_TEST.
8255         (rint_tonearest_test_data): Remove.
8256         (rint_test_tonearest): Likewise.
8257         (rint_towardzero_test_data): Likewise.
8258         (rint_test_towardzero): Likewise.
8259         (rint_downward_test_data): Likewise.
8260         (rint_test_downward): Likewise.
8261         (rint_upward_test_data): Likewise.
8262         (rint_test_upward): Likewise.
8263         (main): Don't call removed functions.
8264
8265 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8266
8267         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8268         "Compiled on ..." crapola.  It is anti-useful.
8269
8270 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8271
8272         * scripts/evaluate-test.sh: Handle fourth argument to determine
8273         whether test run should stop on failure.
8274         * Makeconfig (stop-on-test-failure): New variable.
8275         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8276         $(stop-on-test-failure).
8277         * Makefile (tests): Give a summary of results from testing and
8278         exit with failure status if they include an ERROR or FAIL.
8279         (xtests): Likewise.
8280         * manual/install.texi (Configuring and compiling): Mention
8281         stop-on-test-failure=y.
8282         * INSTALL: Regenerated.
8283
8284 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8285
8286         * scripts/versionlist.awk: New file.
8287         * Makerules [$(build-shared) = yes]
8288         (postclean-generated): Add Versions.def, not Versions.def.v and
8289         Versions.def.v.i.
8290         ($(common-objpfx)Versions.def.v.i): Target removed.
8291         ($(common-objpfx)Versions.def): New target.
8292         ($(common-objpfx)Versions.all): Depend on that rather that
8293         $(common-objpfx)Versions.def.v.
8294         * Versions.def: File removed.
8295
8296         * Makeconfig (+gccwarn): Add -Wundef.
8297         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8298         a dl-sysdep.h breaking its contract.
8299         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8300         * include/stackinfo.h: New file.
8301         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8302         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8303         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8304         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8305         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8306         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8307         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8308         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8309         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8310         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8311         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8312         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8313         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8314         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8315         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8316
8317 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8318
8319         [BZ #16707]
8320         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8321         implementation.
8322         * math/libm-test.inc (round_test_data): Add more tests.
8323
8324         [BZ #16706]
8325         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8326         implementation.
8327         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8328
8329         [BZ #16701]
8330         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8331         implementation.
8332         * math/libm-test.inc (ceil_test_data): Add more tests.
8333
8334         * math/libm-test.inc (trunc_test_data): Add more tests related to
8335         BZ#16414.
8336
8337 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8338
8339         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8340         with #if rather than #ifdef.
8341         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8342
8343 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8344
8345         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8346         first.  Disable AVX-512 GCC support if assembler doesn't support
8347         it.
8348         * sysdeps/x86_64/configure: Regenerated.
8349
8350 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8351
8352         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8353         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8354         (__old_pthread_attr_setstack): Likewise.
8355         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8356         [!_STACK_GROWS_DOWN]: Likewise.
8357
8358 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8359
8360         * config.make.in (have-bash2): Delete.
8361         * configure.ac (libc_cv_have_bash2): Delete.
8362         * configure: Regenerate.
8363         * elf/Makefile (common-ldd-rewrite): Rename to ...
8364         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8365         (sh-ldd-rewrite): Delete.
8366         (bash-ldd-rewrite): Delete.
8367         (have-bash2): Delete checks.
8368         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8369         ldd-rewrite.
8370
8371         * config.make.in (have-ksh): Delete.
8372         (KSH): Delete.
8373         * configure.ac (libc_cv_have_ksh): Delete.
8374         * configure: Regenerate.
8375
8376         * elf/Makefile: Delete $(have-ksh) check.
8377         ($(objpfx)sotruss): Change KSH to BASH.
8378         * elf/sotruss.ksh: Rename to ...
8379         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8380         function style to match POSIX.  Drop ksh vim mode setting.
8381
8382         * manual/time.texi (Specifying the Time Zone with TZ): Change
8383         Tuesday to Thursday.
8384
8385         * debug/tst-longjmp_chk2.c: Update header comment.
8386         (stackoverflow_handler): Add comment.  Call assert on pass value.
8387
8388 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8389
8390         [BZ #16194]
8391         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8392         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8393         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8394         (La_x86_64_vector): Add zmm.
8395         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8396         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8397         ($(objpfx)tst-audit10): New target.
8398         ($(objpfx)tst-audit10.out): Likewise.
8399         (tst-audit10-ENV): New.
8400         (AVX512-CFLAGS): Likewise.
8401         (CFLAGS-tst-audit10.c): Likewise.
8402         (CFLAGS-tst-auditmod10a.c): Likewise.
8403         (CFLAGS-tst-auditmod10b.c): Likewise.
8404         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8405         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8406         * sysdeps/x86_64/configure: Regenerated.
8407         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8408         AVX-512 zmm register support.
8409         (_dl_x86_64_save_sse): Likewise.
8410         (_dl_x86_64_restore_sse): Likewise.
8411         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8412         size vector registers.
8413         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8414         (ZMM_SIZE): Likewise.
8415         * sysdeps/x86_64/tst-audit10.c: New file.
8416         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8417         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8418
8419 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8420
8421         * configure.ac (HAVE_EHDR_START): New check.
8422         * configure: Regenerated.
8423         * config.h.in (HAVE_EHDR_START): New #undef.
8424         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8425         assuming the lowest-addressed segment maps the start of the file.
8426
8427 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8428
8429         * INSTALL: Regenerated.
8430
8431 2014-03-13  Will Newton  <will.newton@linaro.org>
8432
8433         * manual/setjmp.texi (System V contexts): Improve
8434         clarity and grammar of documentation.
8435
8436 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8437
8438         [BZ #16381]
8439         * elf/Makefile (tests): Add tst-pie2.
8440         (tests-pie): Add tst-pie2.
8441         * elf/tst-pie2.c: New file.
8442         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8443         for ET_EXEC.
8444         * elf/rtld.c (map_doit): Load executable as lt_executable.
8445         (dl_main): Likewise.
8446
8447 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8448
8449         [BZ #16642]
8450         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8451         (__ASSUME_PSELECT): Undefine.
8452
8453 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8454
8455         [BZ #16689]
8456         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8457         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8458         static build.
8459         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8460         selector for static builds.
8461
8462 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8463
8464         [BZ #16695]
8465         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8466         key in the buffer.
8467
8468 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8469
8470         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8471         IFUNC selector for static builds.
8472
8473 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8474
8475         * sysdeps/mips/math_private.h [__mips_hard_float]
8476         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8477         libc_feresetround_mips_ctx.
8478         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8479         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8480         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8481
8482         [BZ #16677]
8483         * math/s_nextafter.c (__nextafter): Do not return value from
8484         overflowing computation.
8485         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8486         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8487         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8488         Likewise.
8489         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8490         Likewise.
8491         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8492         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8493
8494 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8495
8496         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8497         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8498         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8499         the new mov targetting sp.
8500
8501 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8502
8503         [BZ #16683]
8504         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8505         Define it for static builds as well.
8506         (NO_BZERO_IMPL): Likewise.
8507
8508 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8509
8510         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8511         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8512         multiarch strspn for PPC64.
8513         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8514         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8516         (__libc_ifunc_impl_list): Likewise.
8517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8518         multiarch optimizations
8519         * string/strspn.c (strspn): Using macro to redefine symbol name.
8520
8521 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8522             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8523
8524         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8525         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8526         multiarch strncat for PPC64.
8527         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8528         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8530         (__libc_ifunc_impl_list): Likewise.
8531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8532         multiarch optimizations
8533
8534 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8535
8536         [BZ #16639]
8537         * nscd/nscd.service: Make service type forking.
8538
8539 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8540
8541         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8542         sign in non default rounding modes.
8543         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8544
8545 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8546
8547         * math/libm-test.inc (ALL_RM_TEST): New macro.
8548         (ceil_test): Use ALL_RM_TEST.
8549         (cimag_test): Likewise.
8550         (conj_test): Likewise.
8551         (copysign_test): Likewise.
8552         (cproj_test): Likewise.
8553         (creal_test): Likewise.
8554         (fabs_test): Likewise.
8555         (floor_test): Likewise.
8556         (fmax_test): Likewise.
8557         (fmin_test): Likewise.
8558         (fmod_test): Likewise.
8559         (fpclassify_test): Likewise.
8560         (frexp_test): Likewise.
8561         (ilogb_test): Likewise.
8562         (isfinite_test): Likewise.
8563         (finite_test): Likewise.
8564         (isgreater_test): Likewise.
8565         (isgreaterequal_test): Likewise.
8566         (isinf_test): Likewise.
8567         (isless_test): Likewise.
8568         (islessequal_test): Likewise.
8569         (islessgreater_test): Likewise.
8570         (isnan_test): Likewise.
8571         (isnormal_test): Likewise.
8572         (issignaling_test): Likewise.
8573         (isunordered_test): Likewise.
8574         (logb_test): Likewise.
8575         (logb_downward_test_data): Remove.
8576         (logb_test_downward): Likewise.
8577         (lround_test): Use ALL_RM_TEST.
8578         (llround_test): Likewise.
8579         (modf_test): Likewise.
8580         (nexttoward_test): Likewise.
8581         (remainder_test): Likewise.
8582         (drem_test): Likewise.
8583         (remainder_tonearest_test_data): Likewise.
8584         (remainder_test_tonearest): Likewise.
8585         (drem_test_tonearest): Likewise.
8586         (remainder_towardzero_test_data): Likewise.
8587         (remainder_test_towardzero): Likewise.
8588         (drem_test_towardzero): Likewise.
8589         (remainder_downward_test_data): Likewise.
8590         (remainder_test_downward): Likewise.
8591         (drem_test_downward): Likewise.
8592         (remainder_upward_test_data): Likewise.
8593         (remainder_test_upward): Likewise.
8594         (drem_test_upward): Likewise.
8595         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8596         (round_test): Use ALL_RM_TEST.
8597         (signbit_test): Likewise.
8598         (trunc_test): Likewise.
8599         (significand_test): Likewise.
8600         (main): Don't call removed functions.
8601
8602 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8603
8604         [BZ #16674]
8605         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8606         || __USE_XOPEN2K8].
8607         (ILL_ILLOPN): Likewise.
8608         (ILL_ILLADR): Likewise.
8609         (ILL_ILLTRP): Likewise.
8610         (ILL_PRVOPC): Likewise.
8611         (ILL_PRVREG): Likewise.
8612         (ILL_COPROC): Likewise.
8613         (ILL_BADSTK): Likewise.
8614         (FPE_INTDIV): Likewise.
8615         (FPE_INTOVF): Likewise.
8616         (FPE_FLTDIV): Likewise.
8617         (FPE_FLTOVF): Likewise.
8618         (FPE_FLTUND): Likewise.
8619         (FPE_FLTRES): Likewise.
8620         (FPE_FLTINV): Likewise.
8621         (FPE_FLTSUB): Likewise.
8622         (SEGV_MAPERR): Likewise.
8623         (SEGV_ACCERR): Likewise.
8624         (BUS_ADRALN): Likewise.
8625         (BUS_ADRERR): Likewise.
8626         (BUS_OBJERR): Likewise.
8627         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8628         (TRAP_TRACE): Likewise.
8629         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8630         __USE_XOPEN2K8].
8631         (CLD_KILLED): Likewise.
8632         (CLD_DUMPED): Likewise.
8633         (CLD_TRAPPED): Likewise.
8634         (CLD_STOPPED): Likewise.
8635         (CLD_CONTINUED): Likewise.
8636         (POLL_IN): Likewise.
8637         (POLL_OUT): Likewise.
8638         (POLL_MSG): Likewise.
8639         (POLL_ERR): Likewise.
8640         (POLL_PRI): Likewise.
8641         (POLL_HUP): Likewise.
8642         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8643         Likewise.
8644         (ILL_ILLOPN): Likewise.
8645         (ILL_ILLADR): Likewise.
8646         (ILL_ILLTRP): Likewise.
8647         (ILL_PRVOPC): Likewise.
8648         (ILL_PRVREG): Likewise.
8649         (ILL_COPROC): Likewise.
8650         (ILL_BADSTK): Likewise.
8651         (FPE_INTDIV): Likewise.
8652         (FPE_INTOVF): Likewise.
8653         (FPE_FLTDIV): Likewise.
8654         (FPE_FLTOVF): Likewise.
8655         (FPE_FLTUND): Likewise.
8656         (FPE_FLTRES): Likewise.
8657         (FPE_FLTINV): Likewise.
8658         (FPE_FLTSUB): Likewise.
8659         (SEGV_MAPERR): Likewise.
8660         (SEGV_ACCERR): Likewise.
8661         (BUS_ADRALN): Likewise.
8662         (BUS_ADRERR): Likewise.
8663         (BUS_OBJERR): Likewise.
8664         (BUS_MCEERR_AR): Likewise.
8665         (BUS_MCEERR_AO): Likewise.
8666         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8667         (TRAP_TRACE): Likewise.
8668         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8669         __USE_XOPEN2K8].
8670         (CLD_KILLED): Likewise.
8671         (CLD_DUMPED): Likewise.
8672         (CLD_TRAPPED): Likewise.
8673         (CLD_STOPPED): Likewise.
8674         (CLD_CONTINUED): Likewise.
8675         (POLL_IN): Likewise.
8676         (POLL_OUT): Likewise.
8677         (POLL_MSG): Likewise.
8678         (POLL_ERR): Likewise.
8679         (POLL_PRI): Likewise.
8680         (POLL_HUP): Likewise.
8681         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8682         (ILL_ILLOPN): Likewise.
8683         (ILL_ILLADR): Likewise.
8684         (ILL_ILLTRP): Likewise.
8685         (ILL_PRVOPC): Likewise.
8686         (ILL_PRVREG): Likewise.
8687         (ILL_COPROC): Likewise.
8688         (ILL_BADSTK): Likewise.
8689         (FPE_INTDIV): Likewise.
8690         (FPE_INTOVF): Likewise.
8691         (FPE_FLTDIV): Likewise.
8692         (FPE_FLTOVF): Likewise.
8693         (FPE_FLTUND): Likewise.
8694         (FPE_FLTRES): Likewise.
8695         (FPE_FLTINV): Likewise.
8696         (FPE_FLTSUB): Likewise.
8697         (SEGV_MAPERR): Likewise.
8698         (SEGV_ACCERR): Likewise.
8699         (BUS_ADRALN): Likewise.
8700         (BUS_ADRERR): Likewise.
8701         (BUS_OBJERR): Likewise.
8702         (BUS_MCEERR_AR): Likewise.
8703         (BUS_MCEERR_AO): Likewise.
8704         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8705         (TRAP_TRACE): Likewise.
8706         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8707         __USE_XOPEN2K8].
8708         (CLD_KILLED): Likewise.
8709         (CLD_DUMPED): Likewise.
8710         (CLD_TRAPPED): Likewise.
8711         (CLD_STOPPED): Likewise.
8712         (CLD_CONTINUED): Likewise.
8713         (POLL_IN): Likewise.
8714         (POLL_OUT): Likewise.
8715         (POLL_MSG): Likewise.
8716         (POLL_ERR): Likewise.
8717         (POLL_PRI): Likewise.
8718         (POLL_HUP): Likewise.
8719         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8720         Likewise.
8721         (ILL_ILLOPN): Likewise.
8722         (ILL_ILLADR): Likewise.
8723         (ILL_ILLTRP): Likewise.
8724         (ILL_PRVOPC): Likewise.
8725         (ILL_PRVREG): Likewise.
8726         (ILL_COPROC): Likewise.
8727         (ILL_BADSTK): Likewise.
8728         (ILL_BADIADDR): Likewise.
8729         (ILL_BREAK): Likewise.
8730         (FPE_INTDIV): Likewise.
8731         (FPE_INTOVF): Likewise.
8732         (FPE_FLTDIV): Likewise.
8733         (FPE_FLTOVF): Likewise.
8734         (FPE_FLTUND): Likewise.
8735         (FPE_FLTRES): Likewise.
8736         (FPE_FLTINV): Likewise.
8737         (FPE_FLTSUB): Likewise.
8738         (FPE_DECOVF): Likewise.
8739         (FPE_DECDIV): Likewise.
8740         (FPE_DECERR): Likewise.
8741         (FPE_INVASC): Likewise.
8742         (FPE_INVDEC): Likewise.
8743         (SEGV_MAPERR): Likewise.
8744         (SEGV_ACCERR): Likewise.
8745         (SEGV_PSTKOVF): Likewise.
8746         (BUS_ADRALN): Likewise.
8747         (BUS_ADRERR): Likewise.
8748         (BUS_OBJERR): Likewise.
8749         (BUS_MCEERR_AR): Likewise.
8750         (BUS_MCEERR_AO): Likewise.
8751         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8752         (TRAP_TRACE): Likewise.
8753         (TRAP_BRANCH): Likewise.
8754         (TRAP_HWBKPT): Likewise.
8755         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8756         __USE_XOPEN2K8].
8757         (CLD_KILLED): Likewise.
8758         (CLD_DUMPED): Likewise.
8759         (CLD_TRAPPED): Likewise.
8760         (CLD_STOPPED): Likewise.
8761         (CLD_CONTINUED): Likewise.
8762         (POLL_IN): Likewise.
8763         (POLL_OUT): Likewise.
8764         (POLL_MSG): Likewise.
8765         (POLL_ERR): Likewise.
8766         (POLL_PRI): Likewise.
8767         (POLL_HUP): Likewise.
8768         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8769         (ILL_ILLOPN): Likewise.
8770         (ILL_ILLADR): Likewise.
8771         (ILL_ILLTRP): Likewise.
8772         (ILL_PRVOPC): Likewise.
8773         (ILL_PRVREG): Likewise.
8774         (ILL_COPROC): Likewise.
8775         (ILL_BADSTK): Likewise.
8776         (FPE_INTDIV): Likewise.
8777         (FPE_INTOVF): Likewise.
8778         (FPE_FLTDIV): Likewise.
8779         (FPE_FLTOVF): Likewise.
8780         (FPE_FLTUND): Likewise.
8781         (FPE_FLTRES): Likewise.
8782         (FPE_FLTINV): Likewise.
8783         (FPE_FLTSUB): Likewise.
8784         (SEGV_MAPERR): Likewise.
8785         (SEGV_ACCERR): Likewise.
8786         (BUS_ADRALN): Likewise.
8787         (BUS_ADRERR): Likewise.
8788         (BUS_OBJERR): Likewise.
8789         (BUS_MCEERR_AR): Likewise.
8790         (BUS_MCEERR_AO): Likewise.
8791         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8792         (TRAP_TRACE): Likewise.
8793         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8794         __USE_XOPEN2K8].
8795         (CLD_KILLED): Likewise.
8796         (CLD_DUMPED): Likewise.
8797         (CLD_TRAPPED): Likewise.
8798         (CLD_STOPPED): Likewise.
8799         (CLD_CONTINUED): Likewise.
8800         (POLL_IN): Likewise.
8801         (POLL_OUT): Likewise.
8802         (POLL_MSG): Likewise.
8803         (POLL_ERR): Likewise.
8804         (POLL_PRI): Likewise.
8805         (POLL_HUP): Likewise.
8806         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8807         (ILL_ILLOPN): Likewise.
8808         (ILL_ILLADR): Likewise.
8809         (ILL_ILLTRP): Likewise.
8810         (ILL_PRVOPC): Likewise.
8811         (ILL_PRVREG): Likewise.
8812         (ILL_COPROC): Likewise.
8813         (ILL_BADSTK): Likewise.
8814         (FPE_INTDIV): Likewise.
8815         (FPE_INTOVF): Likewise.
8816         (FPE_FLTDIV): Likewise.
8817         (FPE_FLTOVF): Likewise.
8818         (FPE_FLTUND): Likewise.
8819         (FPE_FLTRES): Likewise.
8820         (FPE_FLTINV): Likewise.
8821         (FPE_FLTSUB): Likewise.
8822         (SEGV_MAPERR): Likewise.
8823         (SEGV_ACCERR): Likewise.
8824         (BUS_ADRALN): Likewise.
8825         (BUS_ADRERR): Likewise.
8826         (BUS_OBJERR): Likewise.
8827         (BUS_MCEERR_AR): Likewise.
8828         (BUS_MCEERR_AO): Likewise.
8829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8830         (TRAP_TRACE): Likewise.
8831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8832         __USE_XOPEN2K8].
8833         (CLD_KILLED): Likewise.
8834         (CLD_DUMPED): Likewise.
8835         (CLD_TRAPPED): Likewise.
8836         (CLD_STOPPED): Likewise.
8837         (CLD_CONTINUED): Likewise.
8838         (POLL_IN): Likewise.
8839         (POLL_OUT): Likewise.
8840         (POLL_MSG): Likewise.
8841         (POLL_ERR): Likewise.
8842         (POLL_PRI): Likewise.
8843         (POLL_HUP): Likewise.
8844         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8845         (ILL_ILLOPN): Likewise.
8846         (ILL_ILLADR): Likewise.
8847         (ILL_ILLTRP): Likewise.
8848         (ILL_PRVOPC): Likewise.
8849         (ILL_PRVREG): Likewise.
8850         (ILL_COPROC): Likewise.
8851         (ILL_BADSTK): Likewise.
8852         (FPE_INTDIV): Likewise.
8853         (FPE_INTOVF): Likewise.
8854         (FPE_FLTDIV): Likewise.
8855         (FPE_FLTOVF): Likewise.
8856         (FPE_FLTUND): Likewise.
8857         (FPE_FLTRES): Likewise.
8858         (FPE_FLTINV): Likewise.
8859         (FPE_FLTSUB): Likewise.
8860         (SEGV_MAPERR): Likewise.
8861         (SEGV_ACCERR): Likewise.
8862         (BUS_ADRALN): Likewise.
8863         (BUS_ADRERR): Likewise.
8864         (BUS_OBJERR): Likewise.
8865         (BUS_MCEERR_AR): Likewise.
8866         (BUS_MCEERR_AO): Likewise.
8867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8868         (TRAP_TRACE): Likewise.
8869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8870         __USE_XOPEN2K8].
8871         (CLD_KILLED): Likewise.
8872         (CLD_DUMPED): Likewise.
8873         (CLD_TRAPPED): Likewise.
8874         (CLD_STOPPED): Likewise.
8875         (CLD_CONTINUED): Likewise.
8876         (POLL_IN): Likewise.
8877         (POLL_OUT): Likewise.
8878         (POLL_MSG): Likewise.
8879         (POLL_ERR): Likewise.
8880         (POLL_PRI): Likewise.
8881         (POLL_HUP): Likewise.
8882         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8883         (ILL_ILLOPN): Likewise.
8884         (ILL_ILLADR): Likewise.
8885         (ILL_ILLTRP): Likewise.
8886         (ILL_PRVOPC): Likewise.
8887         (ILL_PRVREG): Likewise.
8888         (ILL_COPROC): Likewise.
8889         (ILL_BADSTK): Likewise.
8890         (ILL_DBLFLT): Likewise.
8891         (ILL_HARDWALL): Likewise.
8892         (FPE_INTDIV): Likewise.
8893         (FPE_INTOVF): Likewise.
8894         (FPE_FLTDIV): Likewise.
8895         (FPE_FLTOVF): Likewise.
8896         (FPE_FLTUND): Likewise.
8897         (FPE_FLTRES): Likewise.
8898         (FPE_FLTINV): Likewise.
8899         (FPE_FLTSUB): Likewise.
8900         (SEGV_MAPERR): Likewise.
8901         (SEGV_ACCERR): Likewise.
8902         (BUS_ADRALN): Likewise.
8903         (BUS_ADRERR): Likewise.
8904         (BUS_OBJERR): Likewise.
8905         (BUS_MCEERR_AR): Likewise.
8906         (BUS_MCEERR_AO): Likewise.
8907         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8908         (TRAP_TRACE): Likewise.
8909         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8910         __USE_XOPEN2K8].
8911         (CLD_KILLED): Likewise.
8912         (CLD_DUMPED): Likewise.
8913         (CLD_TRAPPED): Likewise.
8914         (CLD_STOPPED): Likewise.
8915         (CLD_CONTINUED): Likewise.
8916         (POLL_IN): Likewise.
8917         (POLL_OUT): Likewise.
8918         (POLL_MSG): Likewise.
8919         (POLL_ERR): Likewise.
8920         (POLL_PRI): Likewise.
8921         (POLL_HUP): Likewise.
8922         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8923         (ILL_ILLOPN): Likewise.
8924         (ILL_ILLADR): Likewise.
8925         (ILL_ILLTRP): Likewise.
8926         (ILL_PRVOPC): Likewise.
8927         (ILL_PRVREG): Likewise.
8928         (ILL_COPROC): Likewise.
8929         (ILL_BADSTK): Likewise.
8930         (FPE_INTDIV): Likewise.
8931         (FPE_INTOVF): Likewise.
8932         (FPE_FLTDIV): Likewise.
8933         (FPE_FLTOVF): Likewise.
8934         (FPE_FLTUND): Likewise.
8935         (FPE_FLTRES): Likewise.
8936         (FPE_FLTINV): Likewise.
8937         (FPE_FLTSUB): Likewise.
8938         (SEGV_MAPERR): Likewise.
8939         (SEGV_ACCERR): Likewise.
8940         (BUS_ADRALN): Likewise.
8941         (BUS_ADRERR): Likewise.
8942         (BUS_OBJERR): Likewise.
8943         (BUS_MCEERR_AR): Likewise.
8944         (BUS_MCEERR_AO): Likewise.
8945         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8946         (TRAP_TRACE): Likewise.
8947         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8948         __USE_XOPEN2K8].
8949         (CLD_KILLED): Likewise.
8950         (CLD_DUMPED): Likewise.
8951         (CLD_TRAPPED): Likewise.
8952         (CLD_STOPPED): Likewise.
8953         (CLD_CONTINUED): Likewise.
8954         (POLL_IN): Likewise.
8955         (POLL_OUT): Likewise.
8956         (POLL_MSG): Likewise.
8957         (POLL_ERR): Likewise.
8958         (POLL_PRI): Likewise.
8959         (POLL_HUP): Likewise.
8960         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8961         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8962
8963         [BZ #16670]
8964         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8965         before #include of <time.h>.
8966         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8967         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8968         (test-xfail-UNIX98/sched.h/conform): Likewise.
8969
8970 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8971
8972         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8973         error absence of trapping exception support.
8974         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8975
8976 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8977
8978         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8979         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8980         * timezone/Makefile (testdata): Move definition above include of
8981         Rules.
8982         (test-zones): New variable.
8983         (tests-special): Add zone files.
8984         (build-testdata): Use $(evaluate-test).
8985
8986         * elf/Makefile (tests-special): Rename tests to end with .out.
8987         ($(objpfx)noload-mem): Likewise.
8988         ($(objpfx)tst-leaks1-mem): Likewise.
8989         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8990         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8991         $(objpfx)test-iconvconfig.out.
8992         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8993         set -e inside subshell and redirect output to file.
8994         * iconvdata/Makefile (generated): Rename tests to end with .out.
8995         Correct type.
8996         (tests-special): Rename tests to end with .out.
8997         ($(objpfx)mtrace-tst-loading): Likewise.
8998         * intl/Makefile (generated): Likewise.
8999         (tests-special): Likewise.
9000         ($(objpfx)mtrace-tst-gettext): Likewise.
9001         * misc/Makefile (generated): Likewise.
9002         (tests-special): Likewise.
9003         ($(objpfx)tst-error1-mem): Likewise.
9004         * nptl/Makefile (tests-special): Likewise.
9005         ($(objpfx)tst-stack3-mem): Likewise.
9006         (generated): Likewise.
9007         * posix/Makefile (generated): Likewise.
9008         (tests-special): Likewise.
9009         (xtests-special): Likewise.
9010         ($(objpfx)tst-fnmatch-mem): Likewise.
9011         ($(objpfx)bug-regex2-mem): Likewise.
9012         ($(objpfx)bug-regex14-mem): Likewise.
9013         ($(objpfx)bug-regex21-mem): Likewise.
9014         ($(objpfx)bug-regex31-mem): Likewise.
9015         ($(objpfx)tst-vfork3-mem): Likewise.
9016         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9017         ($(objpfx)tst-pcre-mem): Likewise.
9018         ($(objpfx)tst-boost-mem): Likewise.
9019         ($(objpfx)bug-ga2-mem): Likewise.
9020         ($(objpfx)bug-glob2-mem): Likewise.
9021         * resolv/Makefile (generate): Likewise.
9022         (tests-special): Likewise.
9023         (xtests-special): Likewise.
9024         (generated): Likewise.
9025         ($(objpfx)mtrace-tst-leaks): Likewise.
9026         ($(objpfx)mtrace-tst-leaks2): Likewise.
9027
9028         * scripts/merge-test-results.sh: New file.
9029         * Makefile (tests-special-notdir): New variable.
9030         (tests): Run merge-test-results.sh.
9031         (xtests): Likewise.
9032         * Rules (tests-special-notdir): New variable.
9033         (xtests-special-notdir): Likewise.
9034         (tests): Run merge-test-results.sh
9035         (xtests): Likewise.
9036
9037         * Makeconfig (test-xfail-name): New variable.
9038         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9039         compute variable name for expected failures.
9040         * conform/Makefile (conformtest-headers-data): New variable.
9041         (conformtest-standards): Likewise.
9042         (conformtest-headers-ISO): Likewise.
9043         (conformtest-headers-ISO99): Likewise.
9044         (conformtest-headers-ISO11): Likewise.
9045         (conformtest-headers-POSIX): Likewise.
9046         (conformtest-headers-XPG3): Likewise.
9047         (conformtest-headers-XPG4): Likewise.
9048         (conformtest-headers-UNIX98): Likewise.
9049         (conformtest-headers-XOPEN2K): Likewise.
9050         (conformtest-headers-POSIX2008): Likewise.
9051         (conformtest-headers-XOPEN2K8): Likewise.
9052         (conformtest-header-list-base): Likewise.
9053         (conformtest-header-list-tests): Likewise.
9054         (conformtest-header-base): Likewise.
9055         (conformtest-header-tests): Likewise.
9056         (tests-special): Add $(conformtest-header-list-tests).  If
9057         [$(fast-check) && !$(cross-compiling)], add
9058         $(conformtest-header-tests) instead of
9059         $(objpfx)run-conformtest.out.
9060         (generated): Add $(conformtest-header-list-base).  If
9061         [$(fast-check) && !$(cross-compiling)], add
9062         $(conformtest-header-base).  Remove previous setting.
9063         ($(conformtest-header-list-tests)): New target.
9064         (test-xfail-run-conformtest): Remove variable.
9065         ($(objpfx)run-conformtest.out): Remove target.
9066         (test-xfail-ISO11/complex.h/conform): New variable.
9067         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9068         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9069         (test-xfail-XPG3/varargs.h/conform): Likewise.
9070         (test-xfail-XPG4/varargs.h/conform): Likewise.
9071         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9072         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9073         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9074         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9075         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9076         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9077         (test-xfail-XPG3/ftw.h/conform): Likewise.
9078         (test-xfail-XPG3/grp.h/conform): Likewise.
9079         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9080         (test-xfail-XPG3/limits.h/conform): Likewise.
9081         (test-xfail-XPG3/pwd.h/conform): Likewise.
9082         (test-xfail-XPG3/search.h/conform): Likewise.
9083         (test-xfail-XPG3/signal.h/conform): Likewise.
9084         (test-xfail-XPG3/stdio.h/conform): Likewise.
9085         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9086         (test-xfail-XPG3/string.h/conform): Likewise.
9087         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9088         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9089         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9090         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9091         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9092         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9093         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9094         (test-xfail-XPG3/termios.h/conform): Likewise.
9095         (test-xfail-XPG3/time.h/conform): Likewise.
9096         (test-xfail-XPG3/unistd.h/conform): Likewise.
9097         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9098         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9099         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9100         (test-xfail-XPG4/netdb.h/conform): Likewise.
9101         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9102         (test-xfail-XPG4/signal.h/conform): Likewise.
9103         (test-xfail-XPG4/stdio.h/conform): Likewise.
9104         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9105         (test-xfail-XPG4/stropts.h/conform): Likewise.
9106         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9107         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9108         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9109         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9110         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9111         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9112         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9113         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9114         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9115         (test-xfail-XPG4/termios.h/conform): Likewise.
9116         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9117         (test-xfail-XPG4/unistd.h/conform): Likewise.
9118         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9119         (test-xfail-POSIX/sched.h/conform): Likewise.
9120         (test-xfail-POSIX/signal.h/conform): Likewise.
9121         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9122         (test-xfail-POSIX/tar.h/conform): Likewise.
9123         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9124         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9125         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9126         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9127         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9128         (test-xfail-UNIX98/sched.h/conform): Likewise.
9129         (test-xfail-UNIX98/signal.h/conform): Likewise.
9130         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9131         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9132         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9133         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9134         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9135         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9136         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9137         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9138         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9139         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9140         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9141         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9142         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9143         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9144         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9145         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9146         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9147         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9148         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9149         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9150         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9151         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9152         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9153         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9154         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9155         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9156         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9157         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9158         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9159         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9160         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9161         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9162         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9163         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9164         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9165         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9166         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9167         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9168         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9169         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9170         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9171         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9172         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9173         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9174         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9175         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9176         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9177         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9178         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9179         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9180         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9181         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9182         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9183         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9184         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9185         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9186         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9187         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9188         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9189         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9190         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9191         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9192         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9193         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9194         (conformtest-cc-flags): Likewise.
9195         ($(conformtest-header-tests): New target.
9196         * conform/check-header-lists.sh: New file.
9197         * conform/run-conformtest.sh: Remove.
9198
9199         * conform/conformtest.pl: Allow ' and \ in values given for
9200         constants.
9201         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9202         inclusion.
9203         [POSIX] (sys/types.h): Likewise.
9204         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9205         inclusion.
9206         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9207         inclusion.
9208         * conform/data/signal.h-data (SIGIO): Remove expectation.
9209         [XPG3] (SIGBUS): Do not expect.
9210         [POSIX || XPG3] (SIGPOLL): Likewise.
9211         [POSIX || XPG3] (SIGPROF): Likewise.
9212         [POSIX || XPG3] (SIGSYS): Likewise.
9213         [XPG3] (SIGTRAP): Likewise.
9214         [POSIX || XPG3] (SIGURG): Likewise.
9215         [POSIX || XPG3] (SIGVTALRM): Likewise.
9216         [POSIX || XPG3] (SIGXCPU): Likewise.
9217         [POSIX || XPG3] (SIGXFSZ): Likewise.
9218         [POSIX] (SA_SIGINFO): Expect.
9219         [XPG3] (siginfo_t): Do not expect type or contents.
9220         [POSIX] (si_pid): Do not expect element.
9221         [POSIX] (si_uid): Likewise.
9222         [POSIX] (si_addr): Likewise.
9223         [POSIX] (si_status): Likewise.
9224         [POSIX] (si_band): Likewise.
9225         [XPG4] (si_value): Likewise.
9226         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9227         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9228         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9229         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9230         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9231         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9232         [POSIX || XPG3] (ILL_COPROC): Likewise.
9233         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9234         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9235         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9236         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9237         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9238         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9239         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9240         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9241         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9242         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9243         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9244         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9245         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9246         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9247         [POSIX || XPG3] (CLD_EXITED): Likewise.
9248         [POSIX || XPG3] (CLD_KILLED): Likewise.
9249         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9250         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9251         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9252         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9253         [POSIX || XPG3] (POLL_IN): Likewise.
9254         [POSIX || XPG3] (POLL_OUT): Likewise.
9255         [POSIX || XPG3] (POLL_MSG): Likewise.
9256         [POSIX || XPG3] (POLL_ERR): Likewise.
9257         [POSIX || XPG3] (POLL_PRI): Likewise.
9258         [POSIX || XPG3] (POLL_HUP): Likewise.
9259         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9260         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9261         (SIG*): Do not allow.
9262         [XPG3] (si_*): Likewise.
9263         [XPG3] (SI_*): Likewise.
9264         [XPG3 || XPG4] (sigev_*): Likewise.
9265         [XPG3 || XPG4] (SIGEV_*): Likewise.
9266         [XPG3 || XPG4] (sival_*): Likewise.
9267         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9268         [POSIX || XPG3] (BUS_*): Likewise.
9269         [POSIX || XPG3] (CLD_*): Likewise.
9270         [POSIX || XPG3] (FPE_*): Likewise.
9271         [POSIX || XPG3] (ILL_*): Likewise.
9272         [POSIX || XPG3] (POLL_*): Likewise.
9273         [POSIX || XPG3] (SEGV_*): Likewise.
9274         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9275         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9276         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9277         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9278         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9279         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9280         Specify type and value.
9281         (TVERSLEN): Likewise.
9282         (REGTYPE): Likewise.
9283         (AREGTYPE): Likewise.
9284         (LNKTYPE): Likewise.
9285         (SYMTYPE): Likewise.
9286         (CHRTYPE): Likewise.
9287         (BLKTYPE): Likewise.
9288         (DIRTYPE): Likewise.
9289         (FIFOTYPE): Likewise.
9290         (CONTTYPE): Likewise.
9291         (TSUID): Likewise.
9292         (TSGID): Likewise.
9293         (TSVTX): Likewise.
9294         (TUREAD): Likewise.
9295         (TUWRITE): Likewise.
9296         (TUEXEC): Likewise.
9297         (TGREAD): Likewise.
9298         (TGWRITE): Likewise.
9299         (TGEXEC): Likewise.
9300         (TOREAD): Likewise.
9301         (TOWRITE): Likewise.
9302         (TOEXEC): Likewise.
9303         [POSIX] (TSVTX): Expect constant.
9304
9305 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9306
9307         * Makefile (tests): Change dependencies to ....
9308         (tests-special): ... additions to this variable.
9309         (tests): Depend on $(tests-special).
9310         * Makerules (check-abi-list): New variable.
9311         (check-abi): Depend on $(check-abi-list).
9312         [$(subdir) = elf] (tests-special): Add
9313         $(objpfx)check-abi-libc.out.
9314         [$(build-shared) = yes && subdir] (tests-special): Add
9315         $(check-abi-list).
9316         [$(build-shared) = yes && subdir] (tests): Do not depend on
9317         check-abi.
9318         * Rules (tests): Depend on $(tests-special).
9319         (xtests): Depend on $(xtests-special).
9320         * catgets/Makefile (tests): Change dependencies to ....
9321         (tests-special): ... additions to this variable.
9322         * conform/Makefile (tests): Change dependencies to ....
9323         (tests-special): ... additions to this variable.
9324         * elf/Makefile (tests): Change dependencies to ....
9325         (tests-special): ... additions to this variable.
9326         * grp/Makefile (tests): Change dependencies to ....
9327         (tests-special): ... additions to this variable.
9328         * iconv/Makefile (xtests): Change dependencies to ....
9329         (xtests-special): ... additions to this variable.
9330         * iconvdata/Makefile (tests): Change dependencies to ....
9331         (tests-special): ... additions to this variable.
9332         * intl/Makefile (tests): Change dependencies to ....
9333         (tests-special): ... additions to this variable.  Also add
9334         $(objpfx)tst-gettext.out.
9335         * io/Makefile (tests): Change dependencies to ....
9336         (tests-special): ... additions to this variable.
9337         * libio/Makefile (tests): Change dependencies to ....
9338         (tests-special): ... additions to this variable.
9339         * malloc/Makefile (tests): Change dependencies to ....
9340         (tests-special): ... additions to this variable.
9341         * misc/Makefile (tests): Change dependencies to ....
9342         (tests-special): ... additions to this variable.
9343         * nptl/Makefile (tests): Change dependencies to ....
9344         (tests-special): ... additions to this variable.
9345         * nptl_db/Makefile (tests): Change dependencies to ....
9346         (tests-special): ... additions to this variable.
9347         * posix/Makefile (tests): Change dependencies to ....
9348         (tests-special): ... additions to this variable.
9349         (xtests): Change dependencies to ....
9350         (xtests-special): ... additions to this variable.
9351         * resolv/Makefile (tests): Change dependencies to ....
9352         (tests-special): ... additions to this variable.
9353         (xtests): Change dependencies to ....
9354         (xtests-special): ... additions to this variable.
9355         * stdio-common/Makefile (tests): Change dependencies to ....
9356         (tests-special): ... additions to this variable.
9357         (do-tst-unbputc): Remove target.
9358         (do-tst-printf): Likewise.
9359         * stdlib/Makefile (tests): Change dependencies to ....
9360         (tests-special): ... additions to this variable.
9361         * string/Makefile (tests): Change dependencies to ....
9362         (tests-special): ... additions to this variable.
9363         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9364         (tests-special): ... additions to this variable.
9365
9366         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9367         whole file.
9368         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9369         whole file.
9370         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9371         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9372
9373         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9374         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9375         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9376         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9377         * conform/data/libgen.h-data [XPG3]: Likewise.
9378         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9379         * conform/data/ndbm.h-data [XPG3]: Likewise.
9380         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9381         * conform/data/netdb.h-data [XPG3]: Likewise.
9382         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9383         * conform/data/poll.h-data [XPG3]: Likewise.
9384         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9385         * conform/data/strings.h-data [XPG3]: Likewise.
9386         * conform/data/stropts.h-data [XPG3]: Likewise.
9387         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9388         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9389         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9390         Likewise.
9391         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9392         * conform/data/sys/time.h-data [XPG3]: Likewise.
9393         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9394         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9395         * conform/data/sys/un.h-data [XPG3]: Likewise.
9396         * conform/data/syslog.h-data [XPG3]: Likewise.
9397         * conform/data/ucontext.h-data [XPG3]: Likewise.
9398         * conform/data/utmpx.h-data [XPG3]: Likewise.
9399         * conform/data/varargs.h-data [UNIX98]: Enable file.
9400
9401         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9402
9403         * math/libm-test.inc (struct test_f_f_data): Move expected results
9404         into structure for each rounding mode.
9405         (struct test_ff_f_data): Likewise.
9406         (struct test_ff_f_data_nexttoward): Likewise.
9407         (struct test_fi_f_data): Likewise.
9408         (struct test_fl_f_data): Likewise.
9409         (struct test_if_f_data): Likewise.
9410         (struct test_fff_f_data): Likewise.
9411         (struct test_c_f_data): Likewise.
9412         (struct test_f_f1_data): Likewise.
9413         (struct test_fF_f1_data): Likewise.
9414         (struct test_ffI_f1_data): Likewise.
9415         (struct test_c_c_data): Likewise.
9416         (struct test_cc_c_data): Likewise.
9417         (struct test_f_i_data): Likewise.
9418         (struct test_ff_i_data): Likewise.
9419         (struct test_f_l_data): Likewise.
9420         (struct test_f_L_data): Likewise.
9421         (struct test_fFF_11_data): Likewise.
9422         (RM_): New macro.
9423         (RM_FE_DOWNWARD): Likewise.
9424         (RM_FE_TONEAREST): Likewise.
9425         (RM_FE_TOWARDZERO): Likewise.
9426         (RM_FE_UPWARD): Likewise.
9427         (RUN_TEST_LOOP_f_f): Update references to expected results.
9428         (RUN_TEST_LOOP_2_f): Likewise.
9429         (RUN_TEST_LOOP_fff_f): Likewise.
9430         (RUN_TEST_LOOP_c_f): Likewise.
9431         (RUN_TEST_LOOP_f_f1): Likewise.
9432         (RUN_TEST_LOOP_fF_f1): Likewise.
9433         (RUN_TEST_LOOP_fI_f1): Likewise.
9434         (RUN_TEST_LOOP_ffI_f1): Likewise.
9435         (RUN_TEST_LOOP_c_c): Likewise.
9436         (RUN_TEST_LOOP_cc_c): Likewise.
9437         (RUN_TEST_LOOP_f_i): Likewise.
9438         (RUN_TEST_LOOP_f_i_tg): Likewise.
9439         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9440         (RUN_TEST_LOOP_f_b): Likewise.
9441         (RUN_TEST_LOOP_f_b_tg): Likewise.
9442         (RUN_TEST_LOOP_f_l): Likewise.
9443         (RUN_TEST_LOOP_f_L): Likewise.
9444         (RUN_TEST_LOOP_fFF_11): Likewise.
9445         * math/gen-libm-test.pl (parse_args): Output four copies of
9446         expected results for each test.
9447
9448         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9449         (__ASSUME_UTIMES): Remove.
9450         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9451         (__ASSUME_UTIMES): Likewise.
9452
9453         * math/gen-auto-libm-tests.c: Update comment on output format.
9454         (output_for_one_input_case): Generate before-rounding and
9455         after-rounding information as conditions on output flags not
9456         floating-point format.
9457         * math/auto-libm-test-out: Regenerated.
9458         * math/gen-libm-test.pl (cond_value): New function.
9459         (or_cond_value): Use cond_value.
9460         (generate_testfile): Handle conditional exceptions.
9461
9462 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9463
9464         * math/libm-test.inc (max_valid_error): New variable.
9465         (init_max_error): Take new argument specifying whether function
9466         results are exactly determined.  Set max_valid_error and bound
9467         other variables for errors based on this argument.
9468         (set_max_error): Do not record results above max_valid_error.
9469         (check_float_internal): Only accept errors of up to 0.5ulps if
9470         also at most max_valid_error.
9471         (START): Take new argument EXACT and pass it to init_max_error.
9472         (acos_test): Update call to START.
9473         (acos_test_tonearest): Likewise.
9474         (acos_test_towardzero): Likewise.
9475         (acos_test_downward): Likewise.
9476         (acos_test_upward): Likewise.
9477         (acosh_test): Likewise.
9478         (asin_test): Likewise.
9479         (asin_test_tonearest): Likewise.
9480         (asin_test_towardzero): Likewise.
9481         (asin_test_downward): Likewise.
9482         (asin_test_upward): Likewise.
9483         (asinh_test): Likewise.
9484         (atan_test): Likewise.
9485         (atanh_test): Likewise.
9486         (atan2_test): Likewise.
9487         (cabs_test): Likewise.
9488         (cacos_test): Likewise.
9489         (cacosh_test): Likewise.
9490         (carg_test): Likewise.
9491         (casin_test): Likewise.
9492         (casinh_test): Likewise.
9493         (catan_test): Likewise.
9494         (catanh_test): Likewise.
9495         (cbrt_test): Likewise.
9496         (ccos_test): Likewise.
9497         (ccosh_test): Likewise.
9498         (ceil_test): Likewise.
9499         (cexp_test): Likewise.
9500         (cimag_test): Likewise.
9501         (clog_test): Likewise.
9502         (clog10_test): Likewise.
9503         (conj_test): Likewise.
9504         (copysign_test): Likewise.
9505         (cos_test): Likewise.
9506         (cos_test_tonearest): Likewise.
9507         (cos_test_towardzero): Likewise.
9508         (cos_test_downward): Likewise.
9509         (cos_test_upward): Likewise.
9510         (cosh_test): Likewise.
9511         (cosh_test_tonearest): Likewise.
9512         (cosh_test_towardzero): Likewise.
9513         (cosh_test_downward): Likewise.
9514         (cosh_test_upward): Likewise.
9515         (cpow_test): Likewise.
9516         (cproj_test): Likewise.
9517         (creal_test): Likewise.
9518         (csin_test): Likewise.
9519         (csinh_test): Likewise.
9520         (csqrt_test): Likewise.
9521         (ctan_test): Likewise.
9522         (ctan_test_tonearest): Likewise.
9523         (ctan_test_towardzero): Likewise.
9524         (ctan_test_downward): Likewise.
9525         (ctan_test_upward): Likewise.
9526         (ctanh_test): Likewise.
9527         (ctanh_test_tonearest): Likewise.
9528         (ctanh_test_towardzero): Likewise.
9529         (ctanh_test_downward): Likewise.
9530         (ctanh_test_upward): Likewise.
9531         (erf_test): Likewise.
9532         (erfc_test): Likewise.
9533         (exp_test): Likewise.
9534         (exp_test_tonearest): Likewise.
9535         (exp_test_towardzero): Likewise.
9536         (exp_test_downward): Likewise.
9537         (exp_test_upward): Likewise.
9538         (exp10_test): Likewise.
9539         (exp10_test_tonearest): Likewise.
9540         (exp10_test_towardzero): Likewise.
9541         (exp10_test_downward): Likewise.
9542         (exp10_test_upward): Likewise.
9543         (pow10_test): Likewise.
9544         (exp2_test): Likewise.
9545         (expm1_test): Likewise.
9546         (expm1_test_tonearest): Likewise.
9547         (expm1_test_towardzero): Likewise.
9548         (expm1_test_downward): Likewise.
9549         (expm1_test_upward): Likewise.
9550         (fabs_test): Likewise.
9551         (fdim_test): Likewise.
9552         (floor_test): Likewise.
9553         (fma_test): Likewise.
9554         (fma_test_towardzero): Likewise.
9555         (fma_test_downward): Likewise.
9556         (fma_test_upward): Likewise.
9557         (fmax_test): Likewise.
9558         (fmin_test): Likewise.
9559         (fmod_test): Likewise.
9560         (fpclassify_test): Likewise.
9561         (frexp_test): Likewise.
9562         (hypot_test): Likewise.
9563         (ilogb_test): Likewise.
9564         (isfinite_test): Likewise.
9565         (finite_test): Likewise.
9566         (isgreater_test): Likewise.
9567         (isgreaterequal_test): Likewise.
9568         (isinf_test): Likewise.
9569         (isless_test): Likewise.
9570         (islessequal_test): Likewise.
9571         (islessgreater_test): Likewise.
9572         (isnan_test): Likewise.
9573         (isnormal_test): Likewise.
9574         (issignaling_test): Likewise.
9575         (isunordered_test): Likewise.
9576         (j0_test): Likewise.
9577         (j1_test): Likewise.
9578         (jn_test): Likewise.
9579         (ldexp_test): Likewise.
9580         (lgamma_test): Likewise.
9581         (gamma_test): Likewise.
9582         (lrint_test): Likewise.
9583         (lrint_test_tonearest): Likewise.
9584         (lrint_test_towardzero): Likewise.
9585         (lrint_test_downward): Likewise.
9586         (lrint_test_upward): Likewise.
9587         (llrint_test): Likewise.
9588         (llrint_test_tonearest): Likewise.
9589         (llrint_test_towardzero): Likewise.
9590         (llrint_test_downward): Likewise.
9591         (llrint_test_upward): Likewise.
9592         (log_test): Likewise.
9593         (log10_test): Likewise.
9594         (log1p_test): Likewise.
9595         (log2_test): Likewise.
9596         (logb_test): Likewise.
9597         (logb_test_downward): Likewise.
9598         (lround_test): Likewise.
9599         (llround_test): Likewise.
9600         (modf_test): Likewise.
9601         (nearbyint_test): Likewise.
9602         (nextafter_test): Likewise.
9603         (nexttoward_test): Likewise.
9604         (pow_test): Likewise.
9605         (pow_test_tonearest): Likewise.
9606         (pow_test_towardzero): Likewise.
9607         (pow_test_downward): Likewise.
9608         (pow_test_upward): Likewise.
9609         (remainder_test): Likewise.
9610         (drem_test): Likewise.
9611         (remainder_test_tonearest): Likewise.
9612         (drem_test_tonearest): Likewise.
9613         (remainder_test_towardzero): Likewise.
9614         (drem_test_towardzero): Likewise.
9615         (remainder_test_downward): Likewise.
9616         (drem_test_downward): Likewise.
9617         (remainder_test_upward): Likewise.
9618         (drem_test_upward): Likewise.
9619         (remquo_test): Likewise.
9620         (rint_test): Likewise.
9621         (rint_test_tonearest): Likewise.
9622         (rint_test_towardzero): Likewise.
9623         (rint_test_downward): Likewise.
9624         (rint_test_upward): Likewise.
9625         (round_test): Likewise.
9626         (scalb_test): Likewise.
9627         (scalbn_test): Likewise.
9628         (scalbln_test): Likewise.
9629         (signbit_test): Likewise.
9630         (sin_test): Likewise.
9631         (sin_test_tonearest): Likewise.
9632         (sin_test_towardzero): Likewise.
9633         (sin_test_downward): Likewise.
9634         (sin_test_upward): Likewise.
9635         (sincos_test): Likewise.
9636         (sinh_test): Likewise.
9637         (sinh_test_tonearest): Likewise.
9638         (sinh_test_towardzero): Likewise.
9639         (sinh_test_downward): Likewise.
9640         (sinh_test_upward): Likewise.
9641         (sqrt_test): Likewise.
9642         (sqrt_test_tonearest): Likewise.
9643         (sqrt_test_towardzero): Likewise.
9644         (sqrt_test_downward): Likewise.
9645         (sqrt_test_upward): Likewise.
9646         (tan_test): Likewise.
9647         (tan_test_tonearest): Likewise.
9648         (tan_test_towardzero): Likewise.
9649         (tan_test_downward): Likewise.
9650         (tan_test_upward): Likewise.
9651         (tanh_test): Likewise.
9652         (tgamma_test): Likewise.
9653         (trunc_test): Likewise.
9654         (y0_test): Likewise.
9655         (y1_test): Likewise.
9656         (yn_test): Likewise.
9657         (significand_test): Likewise.
9658
9659         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9660         individual tests in comment.
9661         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9662         (prev_max_error): New variable.
9663         (prev_real_max_error): Likewise.
9664         (prev_imag_max_error): Likewise.
9665         (compare_ulp_data): Don't refer to test names in comment.
9666         (find_test_ulps): Remove function.
9667         (find_function_ulps): Likewise.
9668         (find_complex_function_ulps): Likewise.
9669         (init_max_error): Take function name as argument.  Look up ulps
9670         for that function.
9671         (print_ulps): Remove function.
9672         (print_max_error): Use prev_max_error instead of calling
9673         find_function_ulps.
9674         (print_complex_max_error): Use prev_real_max_error and
9675         prev_imag_max_error instead of calling find_complex_function_ulps.
9676         (check_float_internal): Take max_ulp parameter instead of calling
9677         find_test_ulps.  Don't call print_ulps.
9678         (check_float): Update call to check_float_internal.
9679         (check_complex): Update calls to check_float_internal.
9680         (START): Pass argument to init_max_error.
9681         * math/gen-libm-test.pl (%results): Don't include "kind"
9682         information.
9683         (parse_ulps): Don't handle ulps of individual tests.
9684         (print_ulps_file): Likewise.
9685         (output_ulps): Likewise.
9686         * math/README.libm-test: Update.
9687         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9688         individual tests.
9689         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9690         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9691         * sysdeps/arm/libm-test-ulps: Likewise.
9692         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9693         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9694         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9695         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9696         * sysdeps/microblaze/libm-test-ulps: Likewise.
9697         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9698         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9699         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9700         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9701         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9702         * sysdeps/sh/libm-test-ulps: Likewise.
9703         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9704         * sysdeps/tile/libm-test-ulps: Likewise.
9705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9706
9707 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9708
9709         * math/libm-test.inc (print_complex_max_error): Check separately
9710         whether real and imaginary errors are within allowed range and
9711         pass 0 to print_complex_function_ulps instead of value within
9712         allowed range.
9713
9714 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9715
9716         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9717         formatting.
9718         (get_handles_fopen): Likewise.
9719         (do_write_test): Likewise.
9720
9721         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9722
9723         * libio/fileops.c (do_ftell): Use cached offset when
9724         available.
9725         * libio/iofwide.c (do_ftell_wide): Likewise.
9726         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9727         _IO_file_attach.
9728         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9729
9730         [BZ #16532]
9731         * libio/libioP.h (get_file_offset): New function.
9732         * libio/fileops.c (get_file_offset): Likewise.
9733         (do_ftell): Likewise.
9734         (_IO_new_file_seekoff): Split out ftell logic.
9735         * libio/wfileops.c (do_ftell_wide): Likewise.
9736         (_IO_wfile_seekoff): Split out ftell logic.
9737         * libio/tst-ftell-active-handler.c: New test case.
9738         * libio/Makefile (tests): Add it.
9739
9740 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9741
9742         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9743         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9744
9745 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9746
9747         [BZ #16639]
9748         * nscd/connections.c (nscd_init): Call do_exit.
9749         (start_threads): Call do_exit and notify_parent.
9750         (begin_drop_privileges): Call do_exit.
9751         (finish_drop_privileges): Likewise.
9752         * nscd/selinux.c (preserve_capabilities): Likewise.
9753         (install_real_capabilities): Likewise.
9754         (nscd_selinux_enabled): Likewise.
9755         (avc_create_thread): Likewise.
9756         (avc_alloc_lock): Likewise.
9757         (nscd_avc_init): Likewise.
9758         * nscd/nscd.c (parent_fd): New static variable.
9759         (main): Create a pipe between parent and child processes.
9760         Skip closing parent_fd.
9761         (monitor_child): New function.
9762         (do_exit): Likewise.
9763         (notify_parent): Likewise.
9764         * nscd/nscd.h (notify_parent): Likewise.
9765         (do_exit): Likewise.
9766
9767 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9768
9769         * malloc/malloc.c (__libc_calloc): Revert last change.
9770
9771 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9772
9773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9774
9775 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9776
9777         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9779         implementation.
9780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9781         (__libc_ifunc_impl_list): Likewise.
9782         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9783         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9784         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9785         * string/strrchr.c: Define STRRCHR.
9786
9787 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9788
9789         * benchtest/bench-strtok.c (simple_strtok): Delete.
9790         (strtok_string): Use as benchmark.
9791         * string/strtok (STRTOK): New macro.
9792
9793 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9794
9795         * manual/threads.texi: Add header and standard comments to all
9796         functions.
9797
9798         * elf/dl-lookup.c (check_match): New function.
9799         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9800         (do_lookup_x): Remove nested function check_match. Use non-nested
9801         function check_match.
9802
9803 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9804
9805         * csu/Makefile (generated, before-compile): Use += rather than =.
9806         * catgets/Makefile (generated, generated-dirs): Likewise.
9807         * debug/Makefile (generated): Likewise.
9808         * dlfcn/Makefile (generated): Likewise.
9809         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9810         * iconvdata/Makefile (before-compile, generated): Likewise.
9811         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9812         * libio/Makefile (generated): Likewise.
9813         * malloc/Makefile (generated): Likewise.
9814         * manual/Makefile (generated, generated-dirs): Likewise.
9815         * misc/Makefile (generated): Likewise.
9816         * posix/Makefile (generated): Likewise.
9817         * resolv/Makefile (generated): Likewise.
9818         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9819         * timezone/Makefile (generated, generated-dirs): Likewise.
9820
9821         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9822
9823 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9824
9825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9826         power8 implementation.
9827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9828         file: POWER8 llround ifunc implementation.
9829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9830         (__lllround): Add POWER8 implementation.
9831         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9832         POWER8 llround implementation.
9833
9834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9835         power8 implementation.
9836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9837         file: POWER8 llrint ifunc implementation.
9838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9839         Add POWER8 implementation.
9840         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9841         POWER8 llrint implementation.
9842
9843         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9844         power8 implementation.
9845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9846         file: POWER8 finite ifunc implementation.
9847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9848         Add POWER8 implementation.
9849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9850         Likewise.
9851         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9852         POWER8 finite implementation.
9853         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9854
9855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9856         power8 implementation.
9857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9858         file: POWER8 isinf ifunc implementation.
9859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9860         POWER8 implementation.
9861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9862         Likewise.
9863         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9864         isinf implementation.
9865         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9866
9867         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9868         (INIT_ARCH): Add hwcap2 initialization.
9869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9870         power8 implementation.
9871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9872         file: POWER8 isnan ifunc implementation.
9873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9874         POWER8 implementation.
9875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9876         Likewise.
9877         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9878         isnan implementation.
9879         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9880
9881 2014-02-27  Joey Ye  <joey.ye@arm.com>
9882
9883         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9884         (_FP_NANFRAC_Q): Set to zero.
9885
9886 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9887
9888         [BZ #16623]
9889         * math/auto-libm-test-in: New test inputs.
9890         * math/auto-libm-test-out: Regenerate.
9891         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9892         and DA.
9893         (__cos): Likewise.
9894         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9895
9896 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9897
9898         * scripts/evaluate-test.sh: Take new argument indicating whether
9899         failure is expected.
9900         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9901         indicating whether failure is expected.
9902         * conform/Makefile (test-xfail-run-conformtest): New variable.
9903         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9904         level.
9905         * posix/Makefile (test-xfail-annexc): New variable.
9906         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9907
9908 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9909
9910         * argp/Makefile: Include Makeconfig immediately after defining
9911         subdir.
9912         * assert/Makefile: Likewise.
9913         * benchtests/Makefile: Likewise.
9914         * catgets/Makefile: Likewise.
9915         * conform/Makefile: Likewise.
9916         * crypt/Makefile: Likewise.
9917         * csu/Makefile: Likewise.
9918         (all): Remove target.
9919         * ctype/Makefile: Include Makeconfig immediately after defining
9920         subdir.
9921         * debug/Makefile: Likewise.
9922         * dirent/Makefile: Likewise.
9923         * dlfcn/Makefile: Likewise.
9924         * gmon/Makefile: Likewise.
9925         * gnulib/Makefile: Likewise.
9926         * grp/Makefile: Likewise.
9927         * gshadow/Makefile: Likewise.
9928         * hesiod/Makefile: Likewise.
9929         * hurd/Makefile: Likewise.
9930         (all): Remove target.
9931         * iconvdata/Makefile: Include Makeconfig immediately after
9932         defining subdir.
9933         * inet/Makefile: Likewise.
9934         * intl/Makefile: Likewise.
9935         * io/Makefile: Likewise.
9936         * libio/Makefile: Likewise.
9937         (all): Remove target.
9938         * locale/Makefile: Include Makeconfig immediately after defining
9939         subdir.
9940         * login/Makefile: Likewise.
9941         * mach/Makefile: Likewise.
9942         (all): Remove target.
9943         * malloc/Makefile: Include Makeconfig immediately after defining
9944         subdir.
9945         (all): Remove target.
9946         * manual/Makefile: Include Makeconfig immediately after defining
9947         subdir.
9948         * math/Makefile: Likewise.
9949         * misc/Makefile: Likewise.
9950         * nis/Makefile: Likewise.
9951         * nss/Makefile: Likewise.
9952         * po/Makefile: Likewise.
9953         (all): Remove target.
9954         * posix/Makefile: Include Makeconfig immediately after defining
9955         subdir.
9956         * pwd/Makefile: Likewise.
9957         * resolv/Makefile: Likewise.
9958         * resource/Makefile: Likewise.
9959         * rt/Makefile: Likewise.
9960         * setjmp/Makefile: Likewise.
9961         * shadow/Makefile: Likewise.
9962         * signal/Makefile: Likewise.
9963         * socket/Makefile: Likewise.
9964         * soft-fp/Makefile: Likewise.
9965         * stdio-common/Makefile: Likewise.
9966         * stdlib/Makefile: Likewise.
9967         * streams/Makefile: Likewise.
9968         * string/Makefile: Likewise.
9969         * sunrpc/Makefile: Likewise.
9970         (all): Remove target.
9971         * sysvipc/Makefile: Include Makeconfig immediately after defining
9972         subdir.
9973         * termios/Makefile: Likewise.
9974         * time/Makefile: Likewise.
9975         * timezone/Makefile: Likewise.
9976         (all): Remove target.
9977         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9978         subdir.
9979         * wctype/Makefile: Likewise.
9980
9981 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9982
9983         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9984         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9985         (libc_feholdexcept_setround_mips): Ditto.
9986         (libc_feholdsetround): New.
9987         (libc_feholdsetroundf): New.
9988         (libc_feholdsetroundl): New.
9989         (libc_feupdateenv_test_mips): New.
9990         (libc_feupdateenv_test): New.
9991         (libc_feupdateenv_testf): New.
9992         (libc_feupdateenv_testl): New.
9993         (libc_feresetround): New.
9994         (libc_feresetroundf): New.
9995         (libc_feresetroundl): New.
9996         (libc_fetestexcept_mips): New.
9997         (libc_fetestexcept): New.
9998         (libc_fetestexceptf): New.
9999         (libc_fetestexceptl): New.
10000         (HAVE_RM_CTX): New.
10001         (libc_feholdexcept_setround_mips_ctx): New.
10002         (libc_feholdexcept_setround_ctx): New.
10003         (libc_feholdexcept_setroundf_ctx): New.
10004         (libc_feholdexcept_setroundl_ctx): New.
10005         (libc_fesetenv_mips_ctx): New.
10006         (libc_fesetenv_ctx): New.
10007         (libc_fesetenv_ctxf): New.
10008         (libc_fesetenv_ctxl): New.
10009         (libc_feupdateenv_mips_ctx): New.
10010         (libc_feupdateenv_ctx): New.
10011         (libc_feupdateenvf_ctx): New.
10012         (libc_feupdateenvl_ctx): New.
10013         (libc_feholdsetround_mips_ctx): New.
10014         (libc_feholdsetround_ctx): New.
10015         (libc_feholdsetroundf_ctx): New.
10016         (libc_feholdsetroundl_ctx): New.
10017         (libc_feresetround_mips_ctx): New.
10018         (libc_feresetround_ctx): New.
10019         (libc_feresetroundf_ctx): New.
10020         (libc_feresetroundl_ctx): New.
10021
10022 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10023
10024         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10025
10026         * manual/ipc.texi: New file.
10027         * manual/Makefile (chapters): Add ipc.
10028         * manual/job.texi: Add "Inter-Process Communication" to next.
10029         * manual/process.texi: Add "Inter-Process Communication" to prev.
10030
10031 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10032
10033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10034
10035 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10036
10037         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10038
10039         * manual/arith.texi: Fix spaces after sentences.
10040         * manual/charset.texi: Likewise.
10041         * manual/errno.texi: Likewise.
10042         * manual/install.texi: Likewise.
10043         * manual/llio.texi: Likewise.
10044         * manual/locale.texi: Likewise.
10045         * manual/maint.texi: Likewise.
10046         * manual/math.texi: Likewise.
10047         * manual/memory.texi: Likewise.
10048         * manual/message.texi: Likewise.
10049         * manual/probes.texi: Likewise.
10050         * manual/resource.texi: Likewise.
10051         * manual/signal.texi: Likewise.
10052         * manual/socket.texi: Likewise.
10053         * manual/stdio.texi: Likewise.
10054         * manual/string.texi: Likewise.
10055         * manual/time.texi: Likewise.
10056         * manual/users.texi: Likewise.
10057
10058 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10059
10060         [BZ #16632]
10061         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10062         _DEFAULT_SOURCE is defined.
10063
10064 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10065             Carlos O'Donell  <carlos@redhat.com>
10066
10067         [BZ #16613]
10068         * elf/dl-tls.c (_dl_count_modids): New function.
10069         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10070         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10071         audit library and increment generation counter.
10072         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10073         * elf/tst-audit9.c: New file.
10074         * elf/tst-auditmod9a.c: New file.
10075         * elf/tst-auditmod9b.c: New file.
10076         * elf/Makefile: Add rules to build and run tst-audit9.
10077
10078 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10079
10080         [BZ #15347]
10081         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10082
10083 2014-02-25  Will Newton  <will.newton@linaro.org>
10084
10085         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10086         (__longjmp): Restore sp and lr before restoring callee
10087         saved registers.  Add longjmp and longjmp_target
10088         SystemTap probe point.
10089         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10090         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10091         Define to zero to match jmpbuf layout.
10092         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10093         (__sigsetjmp): Save sp and lr before saving callee
10094         saved registers.  Add setjmp SystemTap probe point.
10095
10096 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10097
10098         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10099
10100 2014-02-24  Andreas Schwab  <schwab@suse.de>
10101
10102         [BZ #15804]
10103         * elf/pldd.c (wait_for_ptrace_stop): New function.
10104         (main): Call it after attaching.
10105
10106 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10107
10108         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10109         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10110         Versions files is now verboten.
10111         * hurd/Versions (libc: GLIBC_2.0):
10112         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10113         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10114         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10115         * mach/Versions: Likewise.
10116
10117         * csu/Versions: Remove unused %include.
10118         * resolv/Versions: Likewise.
10119
10120 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10121
10122         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10123         ($(objpfx)check-local-headers.out): Likewise.
10124         ($(objpfx)begin-end-check.out): Likewise.
10125         * Makerules (check-abi-%.out): Likewise.
10126         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10127         ($(objpfx)test2.cat): Likewise.
10128         ($(objpfx)de/libc.cat): Likewise.
10129         ($(objpfx)test-gencat.out): Likewise.
10130         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10131         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10132         ($(objpfx)noload-mem): Likewise.
10133         ($(objpfx)tst-pathopt.out): Likewise.
10134         ($(objpfx)tst-rtld-load-self.out): Likewise.
10135         ($(objpfx)tst-array1-cmp.out): Likewise.
10136         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10137         ($(objpfx)tst-array2-cmp.out): Likewise.
10138         ($(objpfx)tst-array3-cmp.out): Likewise.
10139         ($(objpfx)tst-array4-cmp.out): Likewise.
10140         ($(objpfx)tst-array5-cmp.out): Likewise.
10141         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10142         ($(objpfx)check-textrel.out): Likewise.
10143         ($(objpfx)check-execstack.out): Likewise.
10144         ($(objpfx)check-localplt.out): Likewise.
10145         ($(objpfx)order2-cmp.out): Likewise.
10146         ($(objpfx)tst-leaks1-mem): Likewise.
10147         ($(objpfx)tst-leaks1-static-mem): Likewise.
10148         ($(objpfx)tst-initorder-cmp.out): Likewise.
10149         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10150         ($(objpfx)tst-unused-dep.out): Likewise.
10151         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10152         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10153         * iconv/Makefile (test-iconvconfig): Likewise.
10154         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10155         ($(objpfx)iconv-test.out): Likewise.
10156         ($(objpfx)tst-tables.out): Likewise.
10157         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10158         ($(objpfx)tst-gettext.out): Likewise.
10159         ($(objpfx)tst-translit.out): Likewise.
10160         ($(objpfx)tst-gettext2.out): Likewise.
10161         ($(objpfx)tst-gettext4.out): Likewise.
10162         ($(objpfx)tst-gettext6.out): Likewise.
10163         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10164         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10165         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10166         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10167         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10168         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10169         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10170         ($(objpfx)wordexp-tst.out): Likewise.
10171         ($(objpfx)annexc.out): Likewise.
10172         ($(objpfx)tst-fnmatch-mem): Likewise.
10173         ($(objpfx)bug-regex2-mem): Likewise.
10174         ($(objpfx)bug-regex14-mem): Likewise.
10175         ($(objpfx)bug-regex21-mem): Likewise.
10176         ($(objpfx)bug-regex31-mem): Likewise.
10177         ($(objpfx)tst-vfork3-mem): Likewise.
10178         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10179         ($(objpfx)tst-pcre-mem): Likewise.
10180         ($(objpfx)tst-boost-mem): Likewise.
10181         ($(objpfx)tst-getconf.out): Likewise.
10182         ($(objpfx)bug-ga2-mem): Likewise.
10183         ($(objpfx)bug-glob2-mem): Likewise.
10184         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10185         ($(objpfx)mtrace-tst-leaks2): Likewise.
10186         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10187         ($(objpfx)tst-printf.out): Likewise.
10188         ($(objpfx)tst-setvbuf1.out): Likewise.
10189         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10190         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10191         ($(objpfx)tst-fmtmsg.out): Likewise.
10192         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10193         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10194
10195         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10196         * bits/sigaction.h [__USE_MISC]: Likewise.
10197         * bits/waitstatus.h: Update #endif comments.
10198         * ctype/ctype.h: Likewise.
10199         * dirent/dirent.h: Likewise.
10200         [__USE_MISC]: Remove redundant conditionals.
10201         * grp/grp.h: Update #endif comments.
10202         [__USE_GNU]: Remove redundant conditionals.
10203         [__USE_MISC]: Likewise.
10204         * inet/netinet/in.h [__USE_GNU]: Likewise.
10205         * io/sys/stat.h [__USE_MISC]: Likewise.
10206         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10207         * libio/bits/stdio.h: Update #endif comments.
10208         [__USE_MISC]: Remove redundant conditionals.
10209         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10210         * libio/stdio.h: Update #endif comments.
10211         [__USE_MISC]: Remove redundant conditionals.
10212         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10213         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10214         * math/math.h: Update #else and #endif comments.
10215         [__USE_MISC]: Remove redundant conditionals.
10216         * misc/sys/uio.h: Update #endif comments.
10217         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10218         * posix/glob.h [__USE_MISC]: Likewise.
10219         * posix/sys/types.h: Update #endif comments.
10220         [__USE_MISC]: Remove redundant conditionals.
10221         * posix/sys/wait.h: Update #endif comments.
10222         [__USE_MISC]: Remove redundant conditionals.
10223         * posix/unistd.h: Update #endif comments.
10224         [__USE_MISC]: Remove redundant conditionals.
10225         * pwd/pwd.h [__USE_GNU]: Likewise.
10226         [__USE_MISC]: Likewise.
10227         * resolv/netdb.h [__USE_GNU]: Likewise.
10228         * signal/signal.h: Update #endif comments.
10229         [__USE_MISC]: Remove redundant conditionals.
10230         * stdlib/stdlib.h: Update #else and #endif comments.
10231         [__USE_MISC]: Remove redundant conditionals.
10232         [__USE_GNU]: Likewise.
10233         * string/bits/string2.h [__USE_MISC]: Likewise.
10234         * string/string.h: Update #endif comments.
10235         [__USE_MISC]: Remove redundant conditionals.
10236         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10237         Likewise.
10238         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10239         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10240         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10241         Likewise.
10242         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10243         Likewise.
10244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10245         comments.
10246         [__USE_MISC]: Remove redundant conditionals.
10247         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10248         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10249         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10250         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10251         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10252         Likewise.
10253         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10254         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10255         Likewise.
10256         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10257         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10258         Likewise.
10259         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10260         Likewise.
10261         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10262         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10263         Likewise.
10264         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10265         Likewise.
10266         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10267         * sysdeps/x86/bits/string.h: Update #endif comments.
10268         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10269         conditionals.
10270         * time/sys/time.h: Update #endif comments.
10271         * time/time.h: Likewise.
10272         [__USE_MISC]: Remove redundant conditionals.
10273
10274 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10275
10276         [BZ #16600]
10277         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10278
10279 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10280
10281         * Versions.def (librt): Add GLIBC_2.17.
10282
10283 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10284
10285         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10286         synonym for _SYS_AUXV_H to allow direct inclusion.
10287         * sysdeps/sparc/bits/hwcap.h: Likewise.
10288         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10289         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10290         * sysdeps/sparc/sysdep.h: Likewise.
10291
10292 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10293
10294         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10295
10296 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10297
10298         * benchtests/bench-strrchr.c: Print length instead of position.
10299
10300 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10301
10302         [BZ #16611]
10303         * sysdeps/unix/sysv/linux/kernel-features.h
10304         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10305         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10306         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10307         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10308         Likewise.
10309         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10310         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10311         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10312         (__ASSUME_SENDMMSG): Define instead of using previous
10313         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10314         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10315         (__ASSUME_SENDMMSG_SYSCALL): Define.
10316         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10317         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10318         Likewise.
10319         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10320         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10321         Likewise.
10322         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10323         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10324         Likewise.
10325         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10326         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10327         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10328         [__ASSUME_SENDMMSG]: Change conditionals to
10329         [__ASSUME_SENDMMSG_SOCKETCALL].
10330         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10331         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10332         Define.
10333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10334         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10335         Likewise.
10336         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10337         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10338         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10339         [!__ASSUME_SENDMMSG]: Change conditional to
10340         [!__ASSUME_SENDMMSG_SOCKETCALL].
10341         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10342         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10343         Define.
10344
10345         [BZ #16610]
10346         * sysdeps/unix/sysv/linux/kernel-features.h
10347         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10348         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10349         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10350         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10351         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10352         [__i386__ || __sparc__]
10353         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10354         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10355         (__ASSUME_RECVMMSG): Define instead of using previous
10356         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10357         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10358         (__ASSUME_RECVMMSG_SYSCALL): Define.
10359         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10360         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10361         Likewise.
10362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10363         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10364         Likewise.
10365         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10366         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10367         Likewise.
10368         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10369         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10370         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10371         [__ASSUME_RECVMMSG]: Change condition to
10372         [__ASSUME_RECVMMSG_SOCKETCALL].
10373         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10374         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10375         Define.
10376         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10377         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10381         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10382         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10383         [!__ASSUME_RECVMMSG]: Change condition to
10384         [!__ASSUME_RECVMMSG_SOCKETCALL].
10385         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10386         (__ASSUME_RECVMMSG_SYSCALL): Define.
10387
10388         [BZ #16609]
10389         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10390         __powerpc__ || __s390__ || __sh__ || __sparc__]
10391         (__ASSUME_SOCKETCALL): Define.
10392         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10393         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10394         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10395         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10396         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10397         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10398         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10399         (__ASSUME_ACCEPT4): Define instead of using previous
10400         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10401         __powerpc__ || __sparc__ || __s390__)] condition.
10402         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10403         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10404         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10405         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10406         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10407         [!__ASSUME_ACCEPT4]: Change condition to
10408         [!__ASSUME_ACCEPT4_SOCKETCALL].
10409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10410         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10411         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10413         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10414         __ASSUME_ACCEPT4_SYSCALL.
10415         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10416         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10417         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10418         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10419         __ASSUME_ACCEPT4_SYSCALL.
10420         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10421         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10422         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10423         [__ASSUME_ACCEPT4]: Change condition to
10424         [__ASSUME_ACCEPT4_SOCKETCALL].
10425         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10426         (__ASSUME_SOCKETCALL): Define.
10427         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10429         (__ASSUME_SOCKETCALL): Define.
10430         (__ASSUME_ACCEPT4): Remove.
10431         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10432         Define.
10433         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10434         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10435         Likewise.
10436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10437         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10438
10439         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10440         macro.
10441         (HWCAP_ARM_LPAE): Likewise.
10442         (HWCAP_ARM_EVTSTRM): Likewise.
10443         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10444         Add vpfd32, lpae and evtstrm.
10445         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10446         Increase to 22.
10447
10448 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10449
10450         * math/auto-libm-test-in: Add tests of clog10.
10451         * math/auto-libm-test-out: Regenerated.
10452         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10453         * sysdeps/i386/fpu/libm-test-ulps: Update.
10454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10455
10456 2014-02-18  Andreas Schwab  <schwab@suse.de>
10457
10458         [BZ #16574]
10459         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10460         Store non-zero if the second buffer was newly allocated.
10461         (send_dg): Likewise.
10462         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10463         to send_vc and send_dg.
10464         (res_nsend): Pass NULL for ansp2_malloced.
10465         * resolv/res_query.c (__libc_res_nquery): Add parameter
10466         answerp2_malloced and pass it down to __libc_res_nsend.
10467         (res_nquery): Pass additional NULL to __libc_res_nquery.
10468         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10469         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10470         second answer buffer if answerp2_malloced was set.
10471         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10472         (__libc_res_nquerydomain): Add parameter
10473         answerp2_malloced and pass it down to __libc_res_nquery.
10474         (res_nquerydomain): Pass additional NULL to
10475         __libc_res_nquerydomain.
10476         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10477         additional NULL to __libc_res_nsend and __libc_res_nquery.
10478         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10479         additional NULL to __libc_res_nsearch.
10480         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10481         parameter of __libc_res_nsearch to check for separately allocated
10482         second buffer.
10483         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10484         __libc_res_nquery.
10485         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10486         additional NULL to __libc_res_nquery.
10487         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10488         __libc_res_nsearch.
10489         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10490         * include/resolv.h: Update prototypes of __libc_res_nquery,
10491         __libc_res_nsearch, __libc_res_nsend.
10492
10493 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10494
10495         * math/auto-libm-test-in: Add tests of fma.
10496         * math/auto-libm-test-out: Regenerated.
10497         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10498         (fma_towardzero_test_data): Likewise.
10499         (fma_downward_test_data): Likewise.
10500         (fma_upward_test_data): Likewise.
10501         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10502         mpc_mode.
10503         (rounding_modes): Add values for new field.
10504         (func_calc_method): Add value mpfr_fff_f.
10505         (func_calc_desc): Add mpfr_fff_f union field.
10506         (test_function): Add field exact_args.
10507         (FUNC): Add macro argument EXACT_ARGS.
10508         (FUNC_mpfr_f_f): Update call to FUNC.
10509         (FUNC_mpfr_f_f): Likewise.
10510         (FUNC_mpfr_ff_f): Likewise.
10511         (FUNC_mpfr_if_f): Likewise.
10512         (FUNC_mpc_c_f): Likewise.
10513         (FUNC_mpc_c_c): Likewise.
10514         (test_functions): Add fma.  Update calls to FUNC.
10515         (handle_input_arg): Add argument exact_args.
10516         (add_test): Update call to handle_input_arg.
10517         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10518         (output_for_one_input_case): Update call to calc_generic_results.
10519         Recalculate exact zero results in each rounding mode.
10520
10521         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10522         non-negative before setting low bit.
10523         * math/auto-libm-test-in: Mark one asin test possibly having
10524         spurious underflow.
10525         * math/auto-libm-test-out: Regenerated.
10526         * sysdeps/i386/fpu/libm-test-ulps: Update.
10527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10528
10529 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10530
10531         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10532         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10533         ports/sysdeps/unix/sysv/linux/microblaze.
10534         * README: Add missing listing for microblaze*-*-linux-gnu.
10535
10536 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10537
10538         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10539         duplicate code
10540
10541 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10542
10543         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10544         * sysdeps/unix/sysv/linux/ia64: Move directory from
10545         ports/sysdeps/unix/sysv/linux/ia64.
10546         * README: Update listing for ia64-*-linux-gnu.
10547
10548 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10549             Joseph Myers  <joseph@codesourcery.com>
10550
10551         * Makeconfig (test-name): New variable.
10552         (evaluate-test): Likewise.
10553         * Makerules (do-test-clean): Remove .test-result files.
10554         (common-mostlyclean): Likewise.
10555         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10556         * scripts/evaluate-test.sh: New file.
10557
10558 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10559
10560         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10561         separate $(objpfx)tst-fopenloc-cmp.out and
10562         $(objpfx)tst-fopenloc-mem.out targets.
10563         (tests): Update dependencies.
10564         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10565         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10566         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10567         (tst-rxspencer-no-utf8-ARGS): New variable.
10568         (tst-rxspencer-no-utf8-ENV): Likewise.
10569         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10570         instead of $(objpfx)tst-rxspencer-mem.
10571         ($(objpfx)tst-rxspencer-mem): Change target to
10572         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10573         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10574         * posix/tst-rxspencer-no-utf8.c: New file.
10575
10576         * elf/Makefile ($(objpfx)order.out): Remove rule.
10577         [$(run-built-tests) = yes] (tests): Depend on
10578         $(objpfx)order-cmp.out.
10579         ($(objpfx)order-cmp.out): New rule.
10580         [$(run-built-tests) = yes] (tests): Depend on
10581         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10582         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10583         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10584         $(objpfx)tst-array5-static-cmp.out.
10585         ($(objpfx)tst-array1.out): Remove rule.
10586         ($(objpfx)tst-array1-cmp.out): New rule.
10587         ($(objpfx)tst-array1-static.out): Remove rule.
10588         ($(objpfx)tst-array1-static-cmp.out): New rule.
10589         ($(objpfx)tst-array2.out): Remove rule.
10590         ($(objpfx)tst-array2-cmp.out): New rule.
10591         ($(objpfx)tst-array3.out): Remove rule.
10592         ($(objpfx)tst-array3-cmp.out): New rule.
10593         ($(objpfx)tst-array4.out): Remove rule.
10594         ($(objpfx)tst-array4-cmp.out): New rule.
10595         ($(objpfx)tst-array5.out): Remove rule.
10596         ($(objpfx)tst-array5-cmp.out): New rule.
10597         ($(objpfx)tst-array5-static.out): Remove rule.
10598         ($(objpfx)tst-array5-static-cmp.out): New rule.
10599         [$(run-built-tests) = yes] (tests): Depend on
10600         $(objpfx)order2-cmp.out.
10601         ($(objpfx)order2.out): Remove rule.
10602         ($(objpfx)order2-cmp.out): New rule.
10603         ($(objpfx)tst-initorder.out): Remove rule.
10604         [$(run-built-tests) = yes] (tests): Depend on
10605         $(objpfx)tst-initorder-cmp.out.
10606         ($(objpfx)tst-initorder-cmp.out): New rule.
10607         ($(objpfx)tst-initorder2.out): Remove rule.
10608         [$(run-built-tests) = yes] (tests): Depend on
10609         $(objpfx)tst-initorder2-cmp.out.
10610         ($(objpfx)tst-initorder2-cmp.out): New rule.
10611         [$(run-built-tests) = yes] (tests): Depend on
10612         $(objpfx)tst-unused-dep-cmp.out.
10613         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10614         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10615         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10616         on $(objpfx)tst-setvbuf1-cmp.out.
10617         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10618         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10619         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10620         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10621         ($(objpfx)tst-svc.out): Remove rule.
10622         ($(objpfx)tst-svc-cmp.out): New rule.
10623
10624 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10625
10626         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10627         * ctype/ctype.h [__USE_MISC]: Likewise.
10628         * dirent/dirent.h [__USE_MISC]: Likewise.
10629         * grp/grp.h [__USE_MISC]: Likewise.
10630         * io/fcntl.h [__USE_MISC]: Likewise.
10631         * io/sys/stat.h [__USE_MISC]: Likewise.
10632         * libio/stdio.h [__USE_MISC]: Likewise.
10633         * posix/unistd.h [__USE_MISC]: Likewise.
10634         * pwd/pwd.h [__USE_MISC]: Likewise.
10635         * stdlib.h [__USE_MISC]: Likewise.
10636         * string/bits/string2.h [__USE_MISC]: Likewise.
10637         * string/string.h [__USE_MISC]: Likewise.
10638         * time/time.h [__USE_MISC]: Likewise.
10639
10640 2014-02-13  Andreas Schwab  <schwab@suse.de>
10641
10642         [BZ #16574]
10643         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10644         second answer buffer if it was separately allocated.
10645
10646 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10647
10648         * sysdeps/mips/math-tests.h: Include <features.h>.
10649         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10650         (ROUNDING_TESTS_long_double): Do not define.
10651         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10652         (EXCEPTION_TESTS_long_double): Likewise.
10653         * sysdeps/mips/mips64/libm-test-ulps: Update.
10654
10655         * include/features.h (__USE_BSD): Remove macro definitions.
10656         (__USE_SVID): Likewise.
10657         (_BSD_SOURCE): Likewise.
10658         (_SVID_SOURCE): Likewise.
10659         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10660         from definition of _DEFAULT_SOURCE.
10661         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10662         [_DEFAULT_SOURCE].
10663         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10664         * bits/mman.h [__USE_BSD]: Likewise.
10665         * bits/termios.h [__USE_BSD]: Likewise.
10666         * bits/waitstatus.h [__USE_BSD]: Likewise.
10667         * ctype/ctype.h [__USE_SVID]: Likewise.
10668         * dirent/dirent.h [__USE_BSD]: Likewise.
10669         * grp/grp.h [__USE_SVID]: Likewise.
10670         [__USE_BSD]: Likewise.
10671         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10672         * io/fcntl.h [__USE_BSD]: Likewise.
10673         * io/ftw.h [__USE_BSD]: Likewise.
10674         * io/sys/stat.h [__USE_BSD]: Likewise.
10675         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10676         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10677         * libio/stdio.h [__USE_SVID]: Likewise.
10678         [__USE_BSD]: Likewise.
10679         * math/math.h [__USE_SVID]: Likewise.
10680         [__USE_BSD]: Likewise.
10681         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10682         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10683         * misc/search.h [__USE_SVID]: Likewise.
10684         * misc/sys/mman.h [__USE_BSD]: Likewise.
10685         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10686         * misc/sys/uio.h [__USE_BSD]: Likewise.
10687         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10688         * posix/glob.h [__USE_BSD]: Likewise.
10689         * posix/regex.h [__USE_BSD]: Likewise.
10690         * posix/sys/types.h [__USE_BSD]: Likewise.
10691         [__USE_SVID]: Likewise.
10692         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10693         * posix/sys/wait.h [__USE_BSD]: Likewise.
10694         [__USE_SVID]: Likewise.
10695         * posix/unistd.h [__USE_BSD]: Likewise.
10696         [__USE_SVID]: Likewise.
10697         * pwd/pwd.h [__USE_SVID]: Likewise.
10698         * resolv/netdb.h [__USE_BSD]: Likewise.
10699         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10700         * signal/signal.h [__USE_BSD]: Likewise.
10701         [__USE_SVID]: Likewise.
10702         * socket/sys/socket.h [__USE_BSD]: Likewise.
10703         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10704         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10705         [__USE_SVID]: Likewise.
10706         * string/bits/string2.h [__USE_BSD]: Likewise.
10707         [__USE_SVID]: Likewise.
10708         * string/bits/string3.h [__USE_BSD]: Likewise.
10709         * string/endian.h [__USE_BSD]: Likewise.
10710         * string/string.h [__USE_SVID]: Likewise.
10711         [__USE_BSD]: Likewise.
10712         * string/strings.h [__USE_BSD]: Likewise.
10713         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10714         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10715         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10716         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10717         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10718         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10719         Likewise.
10720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10721         Likewise.
10722         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10723         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10724         Likewise.
10725         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10726         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10727         Likewise.
10728         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10729         Likewise.
10730         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10731         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10732         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10733         Likewise.
10734         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10735         Likewise.
10736         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10737         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10738         * termios/termios.h [__USE_BSD]: Likewise.
10739         * time/sys/time.h [__USE_BSD]: Likewise.
10740         * time/time.h [__USE_BSD]: Likewise.
10741         [__USE_SVID]: Likewise.
10742
10743         * Makefile (subdir_targets): Remove subdir_lint.out.
10744
10745         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10746         (do-tst-printf): Likewise.
10747         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10748         $(objpfx)tst-printf.out.
10749
10750         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10751
10752         * Makerules (check-abi-%): Change target to
10753         $(objpfx)check-abi-%.out.
10754         (check-abi target): Update dependencies.
10755         (check-abi-pattern variable): Redirect output of diff to $@.
10756         (check-abi variable): Likewise.
10757         * elf/Makefile (check-abi): Update dependencies.
10758
10759         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10760         unused.
10761         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10762         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10763         subnormal range.
10764         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10765         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10766         value has largest subnormal exponent.
10767         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10768         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10769         * sysdeps/aarch64/soft-fp/sfp-machine.h
10770         (_FP_TININESS_AFTER_ROUNDING): New macro.
10771         * sysdeps/alpha/soft-fp/sfp-machine.h
10772         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10773         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10774         Likewise.
10775         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10776         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10777         * sysdeps/mips/soft-fp/sfp-machine.h
10778         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10779         * sysdeps/powerpc/soft-fp/sfp-machine.h
10780         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10781         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10782         Likewise.
10783         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10784         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10785         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10786         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10787         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10788         Likewise.
10789
10790 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10791
10792         [BZ #16545]
10793         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10794         model 1.
10795
10796 2014-02-12  Richard Henderson  <rth@redhat.com>
10797
10798         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10799         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10800         * sysdeps/unix/sysv/linux/alpha: Move directory from
10801         ports/sysdeps/unix/sysv/linux/alpha.
10802         * README: Update listing for alpha-*-linux-gnu.
10803
10804 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10805
10806         * include/features.h: Update comment documenting feature test
10807         macros.
10808         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10809         _DEFAULT_SOURCE.
10810         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10811         (_SVID_SOURCE): Likewise.
10812         (_DEFAULT_SOURCE): Update description of default features.
10813         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10814         with _GNU_SOURCE.
10815         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10816         (S_ISVTX): Likewise.
10817         * manual/math.texi (Mathematical Constants): Likewise.
10818         * manual/signal.texi (Interrupted Primitives): Likewise.
10819         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10820         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10821         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10822         Don't refer to _SVID_SOURCE in warning text.
10823
10824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10825
10826         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10827         already defined.
10828         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10829         * sysdeps/mips/dl-lookup.c: Remove.
10830         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10831
10832 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10833
10834         [BZ #16447]
10835         * math/auto-libm-test-in: Add testcase for expl.
10836         * math/auto-libm-test-out: Regenerate.
10837         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10838         calculation of unsafe.
10839         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10840
10841 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10842
10843         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10844         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10845         ports/sysdeps/unix/sysv/linux/aarch64.
10846         * README: Update listing for aarch64*-*-linux-gnu.
10847
10848 2014-02-11  Will Newton  <will.newton@linaro.org>
10849
10850         * manual/probes.texi (Mathematical Function Probes): Use
10851         "triggered" instead of "hit".
10852
10853         * manual/probes.texi (Internal Probes): Add documentation
10854         of setjmp, longjmp and longjmp_target probes.
10855
10856         * include/stap-probe.h: Add comment about probe argument
10857         format.
10858
10859         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10860         definition.  (tr_where, tr_freehook, tr_mallochook,
10861         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10862
10863 2014-02-11  David S. Miller  <davem@davemloft.net>
10864
10865         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10866         processing int_tests.
10867
10868 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10869
10870         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10871         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10872         * sysdeps/unix/sysv/linux/mips: Move directory from
10873         ports/sysdeps/unix/sysv/linux/mips.
10874         * README: Update listing for mips-*-linux-gnu and
10875         mips64-*-linux-gnu.
10876
10877 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10878
10879         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10880         * sysdeps/unix/sysv/linux/m68k: Move directory from
10881         ports/sysdeps/unix/sysv/linux/m68k.
10882         * README: Update listing for m68k-*-linux-gnu.
10883
10884 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10885
10886         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10887         * sysdeps/unix/sysv/linux/generic: Move directory from
10888         ports/sysdeps/unix/sysv/linux/generic.
10889         * sysdeps/unix/sysv/linux/tile: Move directory from
10890         ports/sysdeps/unix/sysv/linux/tile.
10891         * README: Update listing for tile*-*-linux-gnu.
10892
10893 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10894
10895         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10896         __builtin_expect.
10897         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10898         * catgets/open_catalog.c (__open_catalog): Likewise.
10899         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10900         * debug/confstr_chk.c: Likewise.
10901         * debug/fread_chk.c (__fread_chk): Likewise.
10902         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10903         * debug/getgroups_chk.c: Likewise.
10904         * debug/mbsnrtowcs_chk.c: Likewise.
10905         * debug/mbsrtowcs_chk.c: Likewise.
10906         * debug/mbstowcs_chk.c: Likewise.
10907         * debug/memcpy_chk.c: Likewise.
10908         * debug/memmove_chk.c: Likewise.
10909         * debug/mempcpy_chk.c: Likewise.
10910         * debug/memset_chk.c: Likewise.
10911         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10912         * debug/strcat_chk.c (__strcat_chk): Likewise.
10913         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10914         * debug/strncat_chk.c (__strncat_chk): Likewise.
10915         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10916         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10917         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10918         * debug/wcpncpy_chk.c: Likewise.
10919         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10920         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10921         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10922         * debug/wcsncpy_chk.c: Likewise.
10923         * debug/wcsnrtombs_chk.c: Likewise.
10924         * debug/wcsrtombs_chk.c: Likewise.
10925         * debug/wcstombs_chk.c: Likewise.
10926         * debug/wmemcpy_chk.c: Likewise.
10927         * debug/wmemmove_chk.c: Likewise.
10928         * debug/wmempcpy_chk.c: Likewise.
10929         * debug/wmemset_chk.c: Likewise.
10930         * dirent/scandirat.c (SCANDIRAT): Likewise.
10931         * dlfcn/dladdr1.c (dladdr1): Likewise.
10932         * dlfcn/dladdr.c (dladdr): Likewise.
10933         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10934         * dlfcn/dlerror.c (__dlerror): Likewise.
10935         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10936         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10937         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10938         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10939         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10940         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10941         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10942         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10943         Likewise.
10944         * elf/dl-conflict.c: Likewise.
10945         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10946         * elf/dl-dst.h: Likewise.
10947         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10948         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10949         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10950         * elf/dl-init.c (call_init, _dl_init): Likewise.
10951         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10952         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10953         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10954         Likewise.
10955         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10956         Likewise.
10957         * elf/dl-minimal.c (__libc_memalign): Likewise.
10958         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10959         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10960         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10961         * elf/dl-sym.c (do_sym): Likewise.
10962         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10963         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10964         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10965         * elf/dl-writev.h (_dl_writev): Likewise.
10966         * elf/ldconfig.c (search_dir): Likewise.
10967         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10968         (dl_main): Likewise.
10969         * elf/setup-vdso.h (setup_vdso): Likewise.
10970         * grp/compat-initgroups.c (compat_call): Likewise.
10971         * grp/fgetgrent.c (fgetgrent): Likewise.
10972         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10973         * grp/putgrent.c (putgrent): Likewise.
10974         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10975         Likewise.
10976         * hurd/hurdinit.c: Likewise.
10977         * iconvdata/8bit-gap.c (struct): Likewise.
10978         * iconvdata/ansi_x3.110.c : Likewise.
10979         * iconvdata/big5.c : Likewise.
10980         * iconvdata/big5hkscs.c : Likewise.
10981         * iconvdata/cp1255.c: Likewise.
10982         * iconvdata/cp1258.c : Likewise.
10983         * iconvdata/cp932.c : Likewise.
10984         * iconvdata/euc-cn.c: Likewise.
10985         * iconvdata/euc-jisx0213.c : Likewise.
10986         * iconvdata/euc-jp.c: Likewise.
10987         * iconvdata/euc-jp-ms.c : Likewise.
10988         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10989         * iconvdata/gb18030.c : Likewise.
10990         * iconvdata/gbbig5.c (const): Likewise.
10991         * iconvdata/gbgbk.c: Likewise.
10992         * iconvdata/gbk.c : Likewise.
10993         * iconvdata/ibm1364.c : Likewise.
10994         * iconvdata/ibm930.c : Likewise.
10995         * iconvdata/ibm932.c: Likewise.
10996         * iconvdata/ibm933.c : Likewise.
10997         * iconvdata/ibm935.c : Likewise.
10998         * iconvdata/ibm937.c : Likewise.
10999         * iconvdata/ibm939.c : Likewise.
11000         * iconvdata/ibm943.c: Likewise.
11001         * iconvdata/iso_11548-1.c: Likewise.
11002         * iconvdata/iso-2022-cn.c : Likewise.
11003         * iconvdata/iso-2022-cn-ext.c : Likewise.
11004         * iconvdata/iso-2022-jp-3.c: Likewise.
11005         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11006         * iconvdata/iso-2022-kr.c : Likewise.
11007         * iconvdata/iso646.c (gconv_end): Likewise.
11008         * iconvdata/iso_6937-2.c : Likewise.
11009         * iconvdata/iso_6937.c : Likewise.
11010         * iconvdata/iso8859-1.c: Likewise.
11011         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11012         * iconvdata/shift_jisx0213.c : Likewise.
11013         * iconvdata/sjis.c : Likewise.
11014         * iconvdata/t.61.c : Likewise.
11015         * iconvdata/tcvn5712-1.c : Likewise.
11016         * iconvdata/tscii.c: Likewise.
11017         * iconvdata/uhc.c : Likewise.
11018         * iconvdata/unicode.c (gconv_end): Likewise.
11019         * iconvdata/utf-16.c (gconv_end): Likewise.
11020         * iconvdata/utf-32.c (gconv_end): Likewise.
11021         * iconvdata/utf-7.c (base64): Likewise.
11022         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11023         * iconv/gconv_close.c (__gconv_close): Likewise.
11024         * iconv/gconv_open.c (__gconv_open): Likewise.
11025         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11026         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11027         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11028         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11029         (ucs4le_internal_loop_single): Likewise.
11030         * iconv/iconv.c (iconv): Likewise.
11031         * iconv/iconv_close.c: Likewise.
11032         * iconv/loop.c (SINGLE): Likewise.
11033         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11034         * include/atomic.h: Likewise.
11035         * inet/inet6_option.c (option_alloc): Likewise.
11036         * intl/bindtextdom.c (set_binding_values): Likewise.
11037         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11038         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11039         * intl/localealias.c (read_alias_file): Likewise.
11040         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11041         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11042         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11043         * libio/fmemopen.c (fmemopen): Likewise.
11044         * libio/iofgets.c (_IO_fgets): Likewise.
11045         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11046         * libio/iofgetws.c (fgetws): Likewise.
11047         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11048         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11049         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11050         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11051         * locale/findlocale.c (_nl_find_locale): Likewise.
11052         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11053         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11054         Likewise.
11055         * locale/setlocale.c (setlocale): Likewise.
11056         * login/programs/pt_chown.c (main): Likewise.
11057         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11058         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11059         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11060         (mmap, mmap64, mremap, munmap): Likewise.
11061         * math/e_exp2l.c: Likewise.
11062         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11063         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11064         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11065         * math/s_catan.c (__catan): Likewise.
11066         * math/s_catanf.c (__catanf): Likewise.
11067         * math/s_catanh.c (__catanh): Likewise.
11068         * math/s_catanhf.c (__catanhf): Likewise.
11069         * math/s_catanhl.c (__catanhl): Likewise.
11070         * math/s_catanl.c (__catanl): Likewise.
11071         * math/s_ccosh.c (__ccosh): Likewise.
11072         * math/s_ccoshf.c (__ccoshf): Likewise.
11073         * math/s_ccoshl.c (__ccoshl): Likewise.
11074         * math/s_cexp.c (__cexp): Likewise.
11075         * math/s_cexpf.c (__cexpf): Likewise.
11076         * math/s_cexpl.c (__cexpl): Likewise.
11077         * math/s_clog10.c (__clog10): Likewise.
11078         * math/s_clog10f.c (__clog10f): Likewise.
11079         * math/s_clog10l.c (__clog10l): Likewise.
11080         * math/s_clog.c (__clog): Likewise.
11081         * math/s_clogf.c (__clogf): Likewise.
11082         * math/s_clogl.c (__clogl): Likewise.
11083         * math/s_csin.c (__csin): Likewise.
11084         * math/s_csinf.c (__csinf): Likewise.
11085         * math/s_csinh.c (__csinh): Likewise.
11086         * math/s_csinhf.c (__csinhf): Likewise.
11087         * math/s_csinhl.c (__csinhl): Likewise.
11088         * math/s_csinl.c (__csinl): Likewise.
11089         * math/s_csqrt.c (__csqrt): Likewise.
11090         * math/s_csqrtf.c (__csqrtf): Likewise.
11091         * math/s_csqrtl.c (__csqrtl): Likewise.
11092         * math/s_ctan.c (__ctan): Likewise.
11093         * math/s_ctanf.c (__ctanf): Likewise.
11094         * math/s_ctanh.c (__ctanh): Likewise.
11095         * math/s_ctanhf.c (__ctanhf): Likewise.
11096         * math/s_ctanhl.c (__ctanhl): Likewise.
11097         * math/s_ctanl.c (__ctanl): Likewise.
11098         * math/w_pow.c: Likewise.
11099         * math/w_powf.c: Likewise.
11100         * math/w_powl.c: Likewise.
11101         * math/w_scalb.c (sysv_scalb): Likewise.
11102         * math/w_scalbf.c (sysv_scalbf): Likewise.
11103         * math/w_scalbl.c (sysv_scalbl): Likewise.
11104         * misc/error.c (error_tail): Likewise.
11105         * misc/pselect.c (__pselect): Likewise.
11106         * nis/nis_callback.c (__nis_create_callback): Likewise.
11107         * nis/nis_call.c (__nisfind_server): Likewise.
11108         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11109         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11110         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11111         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11112         * nis/nis_lookup.c (nis_lookup): Likewise.
11113         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11114         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11115         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11116         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11117         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11118         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11119         * nis/nss_compat/compat-initgroups.c (add_group)
11120         (internal_getgrent_r): Likewise.
11121         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11122         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11123         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11124         (internal_getspnam_r): Likewise.
11125         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11126         (_nss_nis_getaliasbyname_r): Likewise.
11127         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11128         (_nss_nis_getntohost_r): Likewise.
11129         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11130         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11131         (_nss_nis_getgrgid_r): Likewise.
11132         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11133         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11134         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11135         (_nss_nis_gethostbyname4_r): Likewise.
11136         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11137         (initgroups_netid): Likewise.
11138         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11139         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11140         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11141         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11142         (_nss_nis_getprotobynumber_r): Likewise.
11143         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11144         (_nss_nis_getsecretkey): Likewise.
11145         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11146         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11147         (_nss_nis_getpwuid_r): Likewise.
11148         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11149         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11150         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11151         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11152         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11153         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11154         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11155         Likewise.
11156         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11157         (_nss_nisplus_getntohost_r): Likewise.
11158         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11159         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11160         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11161         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11162         Likewise.
11163         * nis/nss_nisplus/nisplus-initgroups.c
11164         (_nss_nisplus_initgroups_dyn): Likewise.
11165         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11166         (_nss_nisplus_getnetbyaddr_r): Likewise.
11167         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11168         (_nss_nisplus_getprotobynumber_r): Likewise.
11169         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11170         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11171         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11172         Likewise.
11173         * nis/nss_nisplus/nisplus-service.c
11174         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11175         (_nss_nisplus_getservbyport_r): Likewise.
11176         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11177         (_nss_nisplus_getspnam_r): Likewise.
11178         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11179         Likewise.
11180         * nscd/aicache.c (addhstaiX): Likewise.
11181         * nscd/cache.c (cache_search, prune_cache): Likewise.
11182         * nscd/connections.c (register_traced_file, send_ro_fd)
11183         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11184         (main_loop_epoll): Likewise.
11185         * nscd/grpcache.c (addgrbyX): Likewise.
11186         * nscd/hstcache.c (addhstbyX): Likewise.
11187         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11188         * nscd/mem.c (gc, mempool_alloc): Likewise.
11189         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11190         (addinnetgrX): Likewise.
11191         * nscd/nscd-client.h (__nscd_acquire_maplock)
11192         (__nscd_drop_map_ref): Likewise.
11193         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11194         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11195         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11196         Likewise.
11197         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11198         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11199         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11200         (__nscd_get_map_ref): Likewise.
11201         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11202         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11203         Likewise.
11204         * nscd/pwdcache.c (addpwbyX): Likewise.
11205         * nscd/selinux.c (preserve_capabilities): Likewise.
11206         * nscd/servicescache.c (addservbyX): Likewise.
11207         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11208         * posix/fnmatch.c (fnmatch): Likewise.
11209         * posix/getopt.c (_getopt_internal_r): Likewise.
11210         * posix/glob.c (glob, glob_in_dir): Likewise.
11211         * posix/wordexp.c (exec_comm_child): Likewise.
11212         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11213         (getanswer_r, gaih_getanswer_slice): Likewise.
11214         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11215         * resolv/res_init.c: Likewise.
11216         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11217         * resolv/res_query.c (__libc_res_nquery): Likewise.
11218         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11219         Likewise.
11220         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11221         * stdio-common/perror.c (perror): Likewise.
11222         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11223         * stdio-common/tmpnam.c (tmpnam): Likewise.
11224         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11225         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11226         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11227         Likewise.
11228         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11229         * stdlib/putenv.c (putenv): Likewise.
11230         * stdlib/setenv.c (__add_to_environ): Likewise.
11231         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11232         * stdlib/strtol_l.c (INTERNAL): Likewise.
11233         * string/memmem.c (memmem): Likewise.
11234         * string/strerror.c (strerror): Likewise.
11235         * string/strnlen.c (__strnlen): Likewise.
11236         * string/test-memmem.c (simple_memmem): Likewise.
11237         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11238         * sunrpc/pm_getport.c (__get_socket): Likewise.
11239         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11240         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11241         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11242         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11243         Likewise.
11244         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11245         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11246         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11247         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11248         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11249         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11250         Likewise.
11251         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11252         Likewise.
11253         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11254         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11255         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11256         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11257         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11259         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11260         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11261         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11262         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11263         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11264         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11265         Likewise.
11266         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11267         Likewise.
11268         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11269         Likewise.
11270         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11271         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11272         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11273         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11274         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11275         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11276         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11277         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11278         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11279         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11280         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11282         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11283         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11285         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11286         Likewise.
11287         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11288         Likewise.
11289         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11290         Likewise.
11291         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11292         Likewise.
11293         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11295         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11296         Likewise.
11297         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11298         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11299         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11300         * sysdeps/posix/sleep.c: Likewise.
11301         * sysdeps/posix/tempname.c: Likewise.
11302         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11303         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11304         Likewise.
11305         * sysdeps/powerpc/powerpc32/dl-machine.h
11306         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11307         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11308         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11309         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11310         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11311         Likewise.
11312         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11313         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11314         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11315         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11316         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11317         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11318         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11319         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11320         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11321         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11322         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11323         (elf_machine_lazy_rel): Likewise.
11324         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11325         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11326         (elf_machine_lazy_rel): Likewise.
11327         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11328         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11329         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11330         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11331         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11332         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11333         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11334         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11335         Likewise.
11336         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11337         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11338         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11339         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11340         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11341         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11342         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11343         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11344         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11345         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11346         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11347         Likewise.
11348         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11349         (__posix_fallocate64_l64): Likewise.
11350         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11351         (posix_fallocate): Likewise.
11352         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11353         Likewise.
11354         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11355         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11356         (getifaddrs_internal): Likewise.
11357         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11358         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11359         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11360         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11361         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11362         (__posix_fallocate64_l64): Likewise.
11363         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11364         Likewise.
11365         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11366         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11367         (__get_clockfreq): Likewise.
11368         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11369         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11370         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11372         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11373         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11374         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11375         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11376         Likewise.
11377         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11378         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11379         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11380         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11381         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11382         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11383         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11384         Likewise.
11385         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11386         (posix_fallocate): Likewise.
11387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11388         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11389         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11390         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11391         (elf_machine_rela, elf_machine_rela_relative)
11392         (elf_machine_lazy_rel): Likewise.
11393         * time/asctime.c (asctime_internal): Likewise.
11394         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11395         * time/tzset.c (__tzset_parse_tz): Likewise.
11396         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11397         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11398         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11399         * wcsmbs/wcsmbsload.h: Likewise.
11400
11401         [BZ #15894]
11402         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11403
11404         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11405         (arena_get2): Remove THREAD_STATS conditionals.
11406         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11407         (__malloc_stats, int): Likewise.
11408
11409 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11410
11411         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11412         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11413
11414         * manual/setjmp.texi: Fix typos/grammar errors.
11415
11416         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11417         Only return early when n is <= 0.  Delete unused return statement.
11418
11419         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11420         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11421         * debug/tst-longjmp_chk3.c: New file.
11422
11423         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11424         (test_main): Replace code with set_fortify_handler call.
11425         * debug/test-strcpy_chk.c: Likewise.
11426         * debug/tst-chk1.c: Likewise.
11427         * debug/tst-longjmp_chk.c: Likewise.
11428         * test-skeleton.c: Include fcntl.h & paths.h
11429         (set_fortify_handler): Define.
11430
11431         * debug/tst-longjmp_chk.c: Add header comment and include
11432         ../test-skeleton.c.
11433         (do_test): Mark static.
11434         (TEST_FUNCTION): Define.
11435
11436         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11437         (IP_PMTUDISC_INTERFACE): Likewise.
11438         (IP_MULTICAST_IF): Likewise.
11439         (IP_MULTICAST_TTL): Likewise.
11440         (IP_MULTICAST_LOOP): Likewise.
11441         (IP_ADD_MEMBERSHIP): Likewise.
11442         (IP_DROP_MEMBERSHIP): Likewise.
11443         (IP_UNBLOCK_SOURCE): Likewise.
11444         (IP_BLOCK_SOURCE): Likewise.
11445         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11446         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11447         (IP_MSFILTER): Likewise.
11448         (MCAST_JOIN_GROUP): Likewise.
11449         (MCAST_BLOCK_SOURCE): Likewise.
11450         (MCAST_UNBLOCK_SOURCE): Likewise.
11451         (MCAST_LEAVE_GROUP): Likewise.
11452         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11453         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11454         (MCAST_MSFILTER): Likewise.
11455         (IP_MULTICAST_ALL): Likewise.
11456         (IP_UNICAST_IF): Likewise.
11457
11458         * timezone/Makefile: Delete $(have-ksh) check.
11459         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11460         * timezone/tzselect.ksh: Add +x mode bits.
11461
11462         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11463         (ANON_INODE_FS_MAGIC): Likewise.
11464         (BDEVFS_MAGIC): Likewise.
11465         (BINFMTFS_MAGIC): Likewise.
11466         (BTRFS_TEST_MAGIC): Likewise.
11467         (CRAMFS_MAGIC_WEND): Likewise.
11468         (DEBUGFS_MAGIC): Likewise.
11469         (ECRYPTFS_SUPER_MAGIC): Likewise.
11470         (EXT3_SUPER_MAGIC): Likewise.
11471         (EXT4_SUPER_MAGIC): Likewise.
11472         (FUTEXFS_SUPER_MAGIC): Likewise.
11473         (HOSTFS_SUPER_MAGIC): Likewise.
11474         (HUGETLBFS_MAGIC): Likewise.
11475         (MINIX3_SUPER_MAGIC): Likewise.
11476         (MTD_INODE_FS_MAGIC): Likewise.
11477         (NILFS_SUPER_MAGIC): Likewise.
11478         (OPENPROM_SUPER_MAGIC): Likewise.
11479         (PIPEFS_MAGIC): Likewise.
11480         (PSTOREFS_MAGIC): Likewise.
11481         (QNX6_SUPER_MAGIC): Likewise.
11482         (RAMFS_MAGIC): Likewise.
11483         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11484         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11485         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11486         (SECURITYFS_MAGIC): Likewise.
11487         (SELINUX_MAGIC): Likewise.
11488         (SMACK_MAGIC): Likewise.
11489         (SOCKFS_MAGIC): Likewise.
11490         (SQUASHFS_MAGIC): Likewise.
11491         (STACK_END_MAGIC): Likewise.
11492         (TMPFS_MAGIC): Likewise.
11493         (USBDEVICE_SUPER_MAGIC): Likewise.
11494         (V9FS_MAGIC): Likewise.
11495         (XENFS_SUPER_MAGIC): Likewise.
11496         (CRAMFS_MAGIC): Fix typo in comment.
11497         (EXT2_SUPER_MAGIC): Update comment.
11498         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11499
11500 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11501
11502         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11503         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11504         * sysdeps/unix/sysv/linux/arm: Move directory from
11505         ports/sysdeps/unix/sysv/linux/arm.
11506         * README: Update listing for arm-*-linux-gnueabi.
11507
11508         * README: Remove mention of am33.
11509
11510 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11511
11512         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11513         than the comma operator, to avoid "rhs of comma has no effect"
11514         compiler warnings.
11515         (__sigfillset, __sigandset, __sigorset): Likewise.
11516         * include/signal.h (__sigemptyset): Likewise.
11517         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11518
11519 2014-02-07  Allan McRae  <allan@archlinux.org>
11520
11521         * version.h (RELEASE): Set to "development".
11522         (VERSION): Set to "2.19.90"
11523         * NEWS: Add 2.20 section.
11524
11525 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11526
11527         [BZ #16529]
11528         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11529
11530 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11531
11532         * manual/contrib.texi: Update entry for Carlos O'Donell,
11533         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11534
11535 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11536
11537         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11538
11539         * sysdeps/unix/sysv/linux/kernel-features.h
11540         [__LINUX_KERNEL_VERSION >= 0x020621]
11541         (__ASSUME_PROC_PID_TASK_COMM): Define.
11542
11543 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11544
11545         [BZ #16398]
11546         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11547         conversion when destination buffer does not have enough space.
11548         * libio/tst-ftell-partial-wide.c: New test case.
11549         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11550
11551         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11552         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11553         Leonard and Allan McRae.
11554
11555 2014-02-04  David S. Miller  <davem@davemloft.net>
11556
11557         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11558         32-bit.
11559
11560 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11561
11562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11563         New file
11564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11565         New file
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11567         New file.
11568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11569         New file.
11570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11571         New file.
11572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11573         New file.
11574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11575         New file.
11576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11577         New file.
11578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11579         New file.
11580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11581         New file.
11582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11583         New file.
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11585         New file.
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11587         New file.
11588
11589 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11590
11591         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11592         * shlib-versions: Likewise.
11593
11594 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11595             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11596
11597         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11598         (abilist-pattern): New variable, set to %-le.abilist.
11599
11600         * Makerules (abilist-pattern): New variable.
11601         (vpath): Use $(abilist-pattern) in place of %.abilist.
11602         (check-abi-% pattern rule): Likewise.
11603         (check-abi, update-abi): Likewise.
11604
11605 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11606
11607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11608
11609 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11610
11611         * manual/startup.texi: Add next, previous, and top entries for
11612         the `Program Arguments' and `Environment Variables' nodes.
11613
11614 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11615
11616         * manual/macros.texi: Add comments before MTASC-safety macros.
11617
11618         * manual/users.texi: Document MTASC-safety properties.
11619
11620         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11621         (pthread_getspecific, pthread_setspecific): Format with
11622         @deftypefun, and add @safety note.
11623         * manual/signal.texi: Move comments that analyze the above
11624         functions to their home place.
11625
11626 2014-02-03  Allan McRae  <allan@archlinux.org>
11627
11628         * po/sl.po: Update Slovenian translation from translation project.
11629
11630 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11631
11632         * manual/time.texi (timegm): Add missing blank after @c.
11633         Reported by Joseph Myers <joseph@codesourcery.com>.
11634
11635 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11636
11637         * manual/check-safety.sh: New.
11638         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11639
11640         * manual/terminal.texi: Document MTASC-safety properties.
11641
11642         * manual/filesys.texi: Document MTASC-safety properties.
11643
11644         * manual/errno.texi: Document MTASC-safety properties.
11645
11646         * manual/intro.texi: Document safety identifiers and
11647         conditionals.
11648
11649         * manual/string.texi (wcstok): Fix prototype.
11650         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11651
11652         * manual/time.texi: Document MTASC-safety properties.
11653
11654         * manual/string.texi: Document MTASC-safety properties.
11655
11656         * manual/threads.texi: Document MTASC-safety properties.
11657
11658         * manual/stdio.texi: Document MTASC-safety properties.
11659
11660         * manual/syslog.texi: Document MTASC-safety properties.
11661
11662         * manual/sysinfo.texi: Document MTASC-safety properties.
11663
11664         * manual/startup.texi: Document MTASC-safety properties.
11665
11666         * manual/socket.texi: Document MTASC-safety properties.
11667
11668         * manual/signal.texi: Document MTASC-safety properties.
11669
11670 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11671
11672         * manual/setjmp.texi: Document MTASC-safety properties.
11673
11674         * manual/search.texi: Document MTASC-safety properties.
11675
11676         * manual/resource.texi: Document MTASC-safety properties.
11677
11678         * manual/process.texi: Document MTASC-safety properties.
11679
11680         * manual/platform.texi: Document MTASC-safety properties.
11681
11682         * manual/pipe.texi: Document MTASC-safety properties.
11683
11684         * manual/pattern.texi: Document MTASC-safety properties.
11685
11686         * manual/message.texi: Document MTASC-safety properties.
11687
11688         [BZ #12751]
11689         * manual/memory.texi: Document MTASC-safety properties.
11690
11691         * manual/math.texi: Document MTASC-safety properties.
11692
11693         * manual/locale.texi: Document MTASC-safety properties.
11694
11695         * manual/llio.texi: Document MTASC-safety properties.
11696
11697         * manual/libdl.texi: New.
11698
11699         * manual/lang.texi: Document MTASC-safety properties.
11700
11701         * manual/job.texi: Document MTASC-safety properties.
11702
11703         * manual/getopt.texi: Document MTASC-safety properties.
11704
11705         * manual/ctype.texi: Document MTASC-safety properties.
11706
11707 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11708
11709         [BZ #16046]
11710         * csu/libc-tls.c (static_map): Remove variable.
11711         (__libc_setup_tls): Use main executable's link map for TLS data.
11712         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11713         casing for LM_ID_BASE and GL(dl_nns).
11714         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11715         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11716         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11717         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11718         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11719         member.
11720         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11721         l_phnum members.
11722
11723 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11724
11725         * manual/debug.texi: Document MTASC-safety properties.
11726
11727 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11728
11729         [BZ #16510]
11730         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11731         of __x86_64__ when disabling x87 inline functions.
11732
11733 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11734
11735         * manual/charset.texi: Document MTASC-safety properties.
11736
11737         * manual/crypt.texi: Document MTASC-safety properties.
11738
11739         * manual/conf.texi: Document MTASC-safety properties.
11740
11741         * manual/arith.texi: Document MTASC-safety properties.
11742
11743         * manual/argp.texi: Document MTASC-safety properties.
11744
11745         * manual/macros.texi: Introduce macros to document multi
11746         thread, asynchronous signal and asynchronous cancellation
11747         safety properties.
11748         * manual/intro.texi: Introduce the properties themselves.
11749
11750 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11751
11752         * sysdeps/sh/sh4/Makefile: New file.
11753
11754 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11755
11756         * math/gen-libm-test.pl ($srcdir): New variable.
11757         ($auto_input): Use it.
11758
11759 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11760
11761         [BZ #16506]
11762         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11763         access beyond array bounds when parsing netgroups file.
11764
11765         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11766         the old buffer before realloc.
11767
11768 2014-01-27  Allan McRae  <allan@archlinux.org>
11769
11770         * po/fr.po: Update French translation from translation project.
11771
11772 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11773
11774         * sysdeps/sh/libm-test-ulps: Regenerate.
11775
11776 2014-01-24  David S. Miller  <davem@davemloft.net>
11777
11778         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11779
11780 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11781
11782         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11783         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11784
11785 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11786
11787         [BZ #16474]
11788         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11789         string pointers after reallocation.
11790
11791 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11792
11793         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11794         __SH4A__ instead of __SH_FPU_ANY__.
11795
11796 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11797
11798         * sysdeps/sh/fpu_control.h: New file.
11799         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11800         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11801         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11802         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11803         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11804         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11805         * sysdeps/sh/sys/ucontext.h: Remove.
11806         * sysdeps/sh/sys: Remove directory.
11807
11808 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11809
11810         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11811         s390/sys/ucontext.h.
11812         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11813         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11814
11815 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11816
11817         [BZ #15605]
11818         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11819
11820 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11821
11822         [BZ#16431]
11823         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11824         Adjust the vDSO correctly for internal calls.
11825         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11826
11827 2014-01-20  Allan McRae  <allan@archlinux.org>
11828
11829         * po/ca.po: Update Catalan translation from translation project.
11830
11831 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11832
11833         * sysdeps/s390/sotruss-lib.c: New file.
11834
11835 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11836
11837         [BZ#16430]
11838         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11839         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11840         local calls issues by not having a PLT stub required for IFUNC calls.
11841         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11842
11843 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11844
11845         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11846         * math/test-fpucw-static.c: Likewise.
11847
11848 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11849
11850         [BZ #16453]
11851         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11852
11853 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11854
11855         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11856         implementation for powerpc.
11857
11858 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11859
11860         [BZ #14782]
11861         * sysdeps/posix/system.c (__libc_system): Do not enable
11862         asynchronous cancellation.
11863
11864 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11865
11866         [BZ #16427]
11867         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11868         handling only for numbers special also in the IEEE case.
11869
11870 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11871
11872         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11873
11874 2014-01-11  Allan McRae  <allan@archlinux.org>
11875
11876         * po/bg.po: Update Bulgarian translation from translation project.
11877
11878         * po/de.po: Update German translation from translation project.
11879
11880 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11881
11882         * sysdeps/generic/gcc-compat.h: New file.
11883
11884 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11885
11886         * benchtests/asin-inputs: Correct slow inputs.
11887         * benchtests/acos-inputs: Likewise.
11888
11889 2014-01-10  Allan McRae  <allan@archlinux.org>
11890
11891         * po:sv.po: Update Swedish translation from translation project.
11892
11893         * po/vi.po: Update Vietnamese translation from translation project.
11894
11895         * po/eo.po: Update Esperanto translation from translation project.
11896
11897         * po/cs.po: Update Czech translation from translation project.
11898
11899         * po/nl.po: Update Dutch translation from translation project.
11900
11901         * po/pl.po: Update Polish translation from translation project.
11902
11903         * po/ru.po: Update Russian translation from translation project.
11904
11905         * po/uk.po: Update Ukrainian translation from translation project.
11906
11907 2014-01-08  Brooks Moses  <bmoses@google.com>
11908
11909         * elf/dl-load.c: Fix comment typo.
11910
11911 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11912
11913         * po/header.pot: Rename to...
11914         * po/pot.header: ... this.
11915         * po/Makefile: Use pot.header.
11916
11917 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11918             Maxim Kuvyrkov  <maxim@kugelworks.com>
11919
11920         [BZ #16394]
11921         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11922         SRC and DEST against LEN.
11923
11924 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11925
11926         [BZ #16414]
11927         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11928         implementation.
11929         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11930
11931 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11932
11933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11934
11935 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11936
11937         [BZ #16408]
11938         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11939         for large positive arguments.
11940
11941 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11942
11943         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11944
11945         * math/auto-libm-test-in: Mark various tests with
11946         xfail-rounding:ldbl-128ibm.
11947         * math/auto-libm-test-out: Regenerated.
11948
11949         [BZ #16407]
11950         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11951         Increase overflow threshold.
11952
11953 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11954
11955         [BZ #14286]
11956         * stdio-common/vfprintf.c: Check for integer overflow.
11957
11958 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11959
11960         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11961         the first argument and return value of __tls_get_addr_internal.
11962
11963 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11964
11965         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11966         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11967
11968 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11969
11970         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11971         * sysdeps/s390/rtld-global-offsets.sym: New file.
11972         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11973         GLIBC_2.19 symbol.
11974         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11975         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11976         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11977         ... this.
11978         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11979         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11980         ... this.
11981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11982         Regenerate.
11983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11984         Regenerate.
11985         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11986         halfs of GPRs for high_gprs contexts.
11987         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11988         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11989         field.
11990         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11991         uc_flags field.
11992         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11993         64 bit versions:
11994         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11995         for high GPRs (uc_high_gprs) and for future extensions
11996         (__reserved).
11997         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11998         for future extensions (__reserved).
11999         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12000         64 bit versions:
12001         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12002         SC_HIGHGPRS offset definition.
12003         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12004         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12005
12006         * Versions.def: Add GLIBC_2.19 for libpthread.
12007         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12008         siglongjmp for libpthread with GLIBC_2.19 symver.
12009         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12010         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12011         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12012         * sysdeps/s390/__longjmp.c: New file.
12013         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12014         * sysdeps/s390/longjmp.c: New file.
12015         * sysdeps/s390/setjmp.S: New file.
12016         * sysdeps/s390/sigjmp.S: New file.
12017         * sysdeps/s390/v1-longjmp.c: New file.
12018         * sysdeps/s390/v1-setjmp.h: New file.
12019         * sysdeps/s390/v1-sigjmp.c: New file.
12020         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12021         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12022         GLIBC_2.19 version.
12023         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12024         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12025         versioned symbols for ____longjmp_chk.
12026         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12027         Likewise.
12028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12029         Regenerate.
12030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12031         Regenerate.
12032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12033         Regenerate.
12034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12035         Regenerate.
12036         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12037         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12038         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12039         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12040         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12041         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12042         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12043         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12044         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12045         * sysdeps/s390/rtld-__longjmp.c: New file.
12046         * sysdeps/s390/rtld-setjmp.S: New file.
12047
12048 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12049
12050         [BZ #16400]
12051         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12052         Return -__logl (x) for small positive arguments without evaluating
12053         a polynomial.
12054
12055 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12056
12057         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12058         Rename to ...
12059         (__ptrace_peeksiginfo_args): ... this.
12060         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12062         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12063
12064 2014-01-06  Allan McRae  <allan@archlinux.org>
12065
12066         * inet/netinet/in.h: Fix typo in comment.
12067
12068 2014-01-05  Andreas Jaeger  <aj@suse.de>
12069
12070         * sysdeps/i386/fpu/libm-test-ulps: Update.
12071
12072 2014-01-05  Allan McRae  <allan@archlinux.org>
12073
12074         * po/libc.pot: Regenerated.
12075
12076         * malloc/memusagestat.c: Fix gettext call formatting.
12077
12078 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12079
12080         * nscd/nscd.c: Improve usage() output.
12081
12082 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12083
12084         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12085         * sysdeps/unix/sysv/linux/configure: Regenerated.
12086         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12087         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12088
12089 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12090
12091         [BZ #16390]
12092         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12093         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12094
12095 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12096
12097         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12098         extra tokens at end of #undef directive.
12099         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12100         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12101         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12102
12103 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12104
12105         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12106
12107         * math/auto-libm-test-in: Mark various tests with
12108         xfail-rounding:ldbl-128ibm.
12109         * math/auto-libm-test-out: Regenerated.
12110
12111 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12112
12113         [BZ #16386]
12114         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12115         numbers with subnormal high part when calculating exponent.
12116
12117         [BZ #16385]
12118         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12119         fabs.
12120
12121         [BZ #16384]
12122         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12123         M_LN2l.
12124         (__ieee754_acoshl): Use __log1pl not __log1p.
12125
12126 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12127
12128         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12129         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12130         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12131         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12132         (reused_arena, arena_get2): Convert to GNU style.
12133         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12134         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12135         (memalign_check, __malloc_set_state): Likewise.
12136         * malloc/mallocbug.c (main): Likewise.
12137         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12138         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12139         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12140         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12141         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12142         (__posix_memalign, malloc_info): Likewise.
12143         * malloc/malloc.h: Likewise.
12144         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12145         (mallochook, memalignhook, reallochook, mabort): Likewise.
12146         * malloc/mcheck.h: Likewise.
12147         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12148         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12149         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12150         * malloc/morecore.c (__default_morecore): Likewise.
12151         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12152         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12153         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12154         (print_and_abort): Likewise.
12155         * malloc/obstack.h: Likewise.
12156         * malloc/set-freeres.c (__libc_freeres): Likewise.
12157         * malloc/tst-mallocstate.c (main): Likewise.
12158         * malloc/tst-mtrace.c (main): Likewise.
12159         * malloc/tst-realloc.c (do_test): Likewise.
12160
12161 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12162
12163         [BZ #16366]
12164         * nscd/netgroupcache.c (do_notfound): New function.
12165         (addgetnetgrentX): Use it.
12166
12167         [BZ # 16365]
12168         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12169         NSS_STATUS_NOTFOUND.
12170
12171 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12172
12173         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12175
12176 2014-01-01  Allan McRae  <allan@archlinux.org>
12177
12178         * scripts/update-copyrights: Update configure input file suffix.
12179
12180         * NEWS: Update copyright year.
12181         * catgets/gencat.c: Likewise.
12182         * csu/version.c: Likewise.
12183         * debug/catchsegv.sh: Likewise.
12184         * debug/pcprofiledump.c: Likewise.
12185         * debug/xtrace.sh: Likewise.
12186         * elf/ldconfig.c: Likewise.
12187         * elf/ldd.bash.in: Likewise.
12188         * elf/pldd.c: Likewise.
12189         * elf/sotruss.ksh: Likewise.
12190         * elf/sprof.c: Likewise.
12191         * iconv/iconv_prog.c: Likewise.
12192         * iconv/iconvconfig.c: Likewise.
12193         * locale/programs/locale.c: Likewise.
12194         * locale/programs/localedef.c: Likewise.
12195         * login/programs/pt_chown.c: Likewise.
12196         * malloc/memusage.sh: Likewise.
12197         * malloc/memusagestat.c: Likewise.
12198         * malloc/mtrace.pl: Likewise.
12199         * manual/libc.texinfo: Likewise.
12200         * nscd/nscd.c: Likewise.
12201         * nss/getent.c: Likewise.
12202         * nss/makedb.c: Likewise.
12203         * posix/getconf.c: Likewise.
12204         * scripts/test-installation.pl: Likewise.
12205
12206         * All files with FSF copyright notices: Update copyright dates
12207         using scripts/update-copyrights.
12208         * intl/plural.c: Regenerated.
12209         * locale/programs/charmap-kw.h: Likewise.
12210         * locale/programs/locfile-kw.h: Likewise.
12211
12212 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12213
12214         * sysdeps/unix/sysv/linux/configure: Regenerated.
12215         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12216         the linux/fanotify.h header.
12217         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12218         HAVE_LINUX_FANOTIFY_H is defined.
12219
12220 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12221
12222         * benchtests/cos-inputs: New inputs.
12223         * benchtests/sin-inputs: Likewise.
12224
12225         * benchtests/atan-inputs: New inputs. Fix name of multiple
12226         precision fallback inputs.
12227
12228         * benchtests/atanh-inputs: New inputs.
12229         * benchtests/tanh-inputs: Likewise.
12230
12231         * benchtests/acosh-inputs: New inputs.
12232         * benchtests/asinh-inputs: Likewise.
12233
12234         * benchtests/cosh-inputs: New inputs.
12235         * benchtests/sinh-inputs: Likewise.
12236
12237         * benchtests/acos-inputs: Add more inputs.
12238         * benchtests/asin-inputs: Likewise.
12239
12240 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12241
12242         [BZ #16375]
12243         * manual/arith.texi: Fix spelling.
12244         * manual/charset.texi: Likewise.
12245         * manual/errno.texi: Likewise.
12246         * manual/filesys.texi: Likewise.
12247         * manual/lang.texi: Likewise.
12248         * manual/llio.texi: Likewise.
12249         * manual/locale.texi: Likewise.
12250         * manual/message.texi: Likewise.
12251         * manual/resource.texi: Likewise.
12252         * manual/search.texi: Likewise.
12253         * manual/setjmp.texi: Likewise.
12254         * manual/stdio.texi: Likewise.
12255         * manual/string.texi: Likewise.
12256         * manual/sysinfo.texi: Likewise.
12257         * manual/time.texi: Likewise.
12258
12259 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12260
12261         * po/sl.po: New file.
12262
12263 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12264
12265         * .gitignore: Add core/.gdbinit/.gdb_history.
12266
12267 2013-12-27  Allan McRae  <allan@archlinux.org>
12268
12269         [BZ #16369]
12270         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12271         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12272
12273 2013-12-24  Brooks Moses  <bmoses@google.com>
12274
12275         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12276         all compilers that claim C++98 compliance, not just GCC.
12277         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12278         Likewise.
12279
12280 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12281
12282         * NEWS: Restore accidentally deleted bug-fix entries.
12283
12284 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12285             Ondřej Bílka  <neleai@seznam.cz>
12286
12287         [BZ #15073]
12288         * malloc/malloc.c (_int_free): Perform sanity check only if we
12289         have_lock.
12290
12291 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12292
12293         [BZ #12986]
12294         * manual/stdio.texi (String Input Conversions): Clarify that character
12295         classes are not supported.
12296
12297 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12298
12299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12300
12301 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12302
12303         [BZ #16337]
12304         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12305         Calculate results for small negative arguments directly rather
12306         than using reflection formula with special underflow handling.
12307
12308         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12309         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12310         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12311         (fchflags): Likewise.
12312         (revoke): Likewise.
12313         (setlogin): Likewise.
12314         (sigaltstack): Likewise.
12315         (wait4): Likewise.
12316         (sigblock): Remove.
12317         (sigsetmask): Likewise.
12318         (wait3): Likewise.
12319         (waitpid): Likewise.
12320         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12321         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12322         file.
12323         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12324         * sysdeps/unix/bsd/Makefile: ... here.
12325         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12326         * sysdeps/unix/bsd/Versions: ... here.
12327         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12328         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12329         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12330         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12331         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12332         * sysdeps/unix/bsd/sigblock.c: ... here.
12333         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12334         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12335         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12336         * sysdeps/unix/bsd/sigvec.c: ... here.
12337         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12338         * sysdeps/unix/bsd/tcdrain.c: ... here.
12339         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12340         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12341         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12342         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12343         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12344         * sysdeps/unix/bsd/wait.c: ... here.
12345         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12346         * sysdeps/unix/bsd/wait3.c: ... here.
12347         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12348         * sysdeps/unix/bsd/waitpid.c: ... here.
12349
12350 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12351
12352         [BZ #16356]
12353         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12354         round-to-nearest for [!USE_AS_EXPM1L].
12355         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12356         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12357         more tests of exp and exp10.  Expect some exp10 tests to miss
12358         exceptions or fail in directed rounding modes.
12359         * math/auto-libm-test-out: Regenerated.
12360         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12361         (exp10_test_tonearest): New function.
12362         (exp10_towardzero_test_data): New array.
12363         (exp10_test_towardzero): New function.
12364         (exp10_downward_test_data): New array.
12365         (exp10_test_downward): New function.
12366         (exp10_upward_test_data): New array.
12367         (exp10_test_upward): New function.
12368         (main): Call the new functions.
12369         * sysdeps/i386/fpu/libm-test-ulps: Update.
12370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12371
12372 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12373
12374         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12375         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12376         * math/auto-libm-test-out: Regenerated.
12377         * math/libm-test.inc (acosh_test_data): Add more tests.
12378         (atanh_test_data): Likewise.
12379         (ceil_test_data): Likewise.
12380         (copysign_test_data): Likewise.
12381         * sysdeps/i386/fpu/libm-test-ulps: Update.
12382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12383
12384         * timezone/checktab.awk: Update from tzcode 2013i.
12385         * timezone/private.h: Likewise.
12386         * timezone/scheck.c: Likewise.
12387         * timezone/tzfile.h: Likewise.
12388         * timezone/tzselect.ksh: Likewise.
12389         * timezone/zdump.c: Likewise.
12390         * timezone/zic.c: Likewise.
12391
12392         * math/auto-libm-test-in: Add tests of cpow.
12393         * math/auto-libm-test-out: Regenerated.
12394         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12395         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12396         mpc_cc_c.
12397         (func_calc_desc): Add mpc_cc_c union field.
12398         (test_functions): Add cpow.
12399         (special_fill_2pi): New function.
12400         (special_real_inputs): Add 2pi.
12401         (calc_generic_results): Handle mpc_cc_c.
12402         * sysdeps/i386/fpu/libm-test-ulps: Update.
12403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12404
12405         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12406         csqrt, ctan and ctanh.
12407         * math/auto-libm-test-out: Regenerated.
12408         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12409         (TEST_COND_x86): Likewise.
12410         (ccos_test_data): Use AUTO_TESTS_c_c.
12411         (ccosh_test_data): Likewise.
12412         (cexp_test_data): Likewise.
12413         (clog_test_data): Likewise.
12414         (csqrt_test_data): Likewise.
12415         (ctan_test_data): Likewise.
12416         (ctan_tonearest_test_data): Likewise.
12417         (ctan_towardzero_test_data): Likewise.
12418         (ctan_downward_test_data): Likewise.
12419         (ctan_upward_test_data): Likewise.
12420         (ctanh_test_data): Likewise.
12421         (ctanh_tonearest_test_data): Likewise.
12422         (ctanh_towardzero_test_data): Likewise.
12423         (ctanh_downward_test_data): Likewise.
12424         (ctanh_upward_test_data): Likewise.
12425         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12426         mpc_c_c.
12427         (func_calc_desc): Add mpc_c_c union field.
12428         (FUNC_mpc_c_c): New macro.
12429         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12430         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12431         ctanh.
12432         (special_fill_min_subnorm_p120): New function.
12433         (special_real_inputs): Add min_subnorm_p120.
12434         (calc_generic_results): Handle mpc_c_c.
12435         * sysdeps/i386/fpu/libm-test-ulps: Update.
12436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12437
12438 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12439
12440         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12441         (do_sin_slow): New functions.
12442         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12443         (cslow2, csloww1, csloww2): Use the new functions.
12444
12445         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12446         Use M to change sign of result instead of X.  Assume X is
12447         positive.
12448         (csloww1): Likewise.
12449         (__sin): Adjust.
12450         (__cos): Adjust.
12451
12452         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12453         arguments A and DA.
12454         (__sin): Adjust.
12455         (__cos): Likewise.
12456
12457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12458         (__cos): Likewise.
12459         (sloww1): Don't adjust sign of DX.
12460         (csloww1): Likewise.
12461         (sloww2): Use X directly and don't adjust sign of DX.
12462         (csloww2): Likewise.
12463
12464 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12465
12466         * math/auto-libm-test-in: Add tests of cabs and carg.
12467         * math/auto-libm-test-out: Regenerated.
12468         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12469         (carg_test_data): Likewise.
12470         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12471         mpc_c_f.
12472         (func_calc_desc): Add mpc_c_f union field.
12473         (test_functions): Add cabs and carg.
12474         (calc_generic_results): Handle mpc_c_f.
12475
12476         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12477         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12478         as a macro and a compat symbol.
12479         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12480         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12481         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12482         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12483         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12484         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12485         not use .hidden.
12486         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12487         Likewise.
12488         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12489         Likewise.
12490         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12491         Likewise.
12492         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12493         Likewise.
12494         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12495         Likewise.
12496         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12497         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12498         from GLIBC_2.3.2.
12499
12500 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12501
12502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12503
12504 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12505
12506         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12507         trailing whitespace removed.
12508         * scripts/config.guess: Update to version 2013-11-29.
12509         * scripts/config.sub: Update to version 2013-10-01.
12510
12511         * math/auto-libm-test-in: Add tests of sincos.
12512         * math/auto-libm-test-out: Regenerated.
12513         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12514         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12515         mpfr_f_11.
12516         (func_calc_desc): Add mpfr_f_11 union field.
12517         (test_functions): Add sincos.
12518         (calc_generic_results): Handle mpfr_f_11.
12519         * sysdeps/i386/fpu/libm-test-ulps: Update.
12520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12521
12522 2013-12-19  Andreas Schwab  <schwab@suse.de>
12523
12524         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12525         CALL_MCOUNT.
12526         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12527         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12528         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12529
12530 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12531
12532         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12533         * sysdeps/i386/fpu/libm-test-ulps: Update.
12534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12535
12536         [BZ #16293]
12537         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12538         round-to-nearest mode when using frndint.
12539         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12540         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12541         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12542         Likewise.
12543         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12544         sinh test to fail.
12545         * math/auto-libm-test-out: Regenerated.
12546         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12547         (TEST_COND_x86): Likewise.
12548         (expm1_tonearest_test_data): New array.
12549         (expm1_test_tonearest): New function.
12550         (expm1_towardzero_test_data): New array.
12551         (expm1_test_towardzero): New function.
12552         (expm1_downward_test_data): New array.
12553         (expm1_test_downward): New function.
12554         (expm1_upward_test_data): New array.
12555         (expm1_test_upward): New function.
12556         (main): Run the new test functions.
12557         * sysdeps/i386/fpu/libm-test-ulps: Update.
12558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12559
12560         * include/features.h: Update comment documenting feature test
12561         macros.  Mention _DEFAULT_SOURCE in comment.
12562         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12563         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12564         _BSD_SOURCE and _SVID_SOURCE.
12565         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12566         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12567         !_SVID_SOURCE]: Likewise.
12568         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12569         (__USE_POSIX_IMPLICITLY): Define.
12570         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12571         (_POSIX_SOURCE): Undefine and redefine.
12572         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12573         (_POSIX_C_SOURCE): Likewise.
12574         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12575         (Feature Test Macros): Update documentation of default features.
12576
12577 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12578
12579         * benchtests/Makefile: Add bench-strtok.
12580         * benchtests/bench-strtok.c: New file: strtok benchtest.
12581
12582 2013-12-19  Allan McRae  <allan@archlinux.org>
12583
12584         * manual/install.texi: Suppress menu for plain text output.
12585         * INSTALL: Regenerated.
12586
12587 2013-12-18  Brooks Moses  <bmoses@google.com>
12588
12589         [BZ #15846]
12590         * misc/getauxval.c: Include errno.h.
12591         (__getauxval): Set errno to ENOENT if the requested type is not
12592         found.
12593         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12594         don't declare with __attribute_const__.
12595         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12596         * manual/startup.texi: Document that getauxval sets errno.
12597
12598 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12599
12600         * math/auto-libm-test-in: Add tests of jn and yn.
12601         * math/auto-libm-test-out: Regenerated.
12602         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12603         (yn_test_data): Likewise.
12604         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12605         mpfr_if_f.
12606         (func_calc_desc): Add mpfr_if_f union field.
12607         (FUNC_mpfr_if_f): New macro.
12608         (test_functions): Add jn and yn.
12609         (calc_generic_results): Assert type of second input for
12610         mpfr_ff_f.  Handle mpfr_if_f.
12611         (output_for_one_input_case): Disable all checking for arguments
12612         fitting floating-point types in case of an integer argument.
12613         * sysdeps/i386/fpu/libm-test-ulps: Update.
12614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12615
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12617         Don't expect fegetround reference in libm.so.
12618
12619 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12620
12621         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12622         $(config-cflags-nofma).
12623
12624 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12625
12626         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12627         * math/auto-libm-test-out: Regenerated.
12628
12629         [BZ #16338]
12630         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12631         to determine exponent and adjust argument to have exponent of -1.
12632         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12633         log2.
12634         * math/auto-libm-test-out: Regenerated.
12635         * sysdeps/i386/fpu/libm-test-ulps: Update.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12637
12638 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12639
12640         * manual/probes.texi: Remove cases when per-thread arenas are
12641         disabled.
12642
12643 2013-12-18  Andreas Schwab  <schwab@suse.de>
12644
12645         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12646         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12647         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12648         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12649         * sysdeps/i386/i686/multiarch/Makefile: Update.
12650         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12651
12652 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12653
12654         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12655         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12656
12657 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12658
12659         [BZ #15968]
12660         Support TZ transition times < 00:00:00.
12661         This is needed for version-3 tz-format files; it supports time
12662         stamps past 2037 for America/Godthab (the only entry in the tz
12663         database for which this change is relevant).
12664         * manual/time.texi (TZ Variable): Document transition times
12665         from -167:59:59 through -00:00:01.
12666         * time/tzset.c (tz_rule): Time of day is now signed.
12667         (__tzset_parse_tz): Parse negative time of day.
12668
12669         Document TZ transition times >= 25:00:00.
12670         * manual/time.texi (TZ Variable): Document transition times from
12671         25:00:00 through 167:59:59.  These are already supported, and this
12672         support will help with version-3 tz-format files.
12673
12674         * manual/time.texi (TZ Variable): Modernize North America example
12675         to reflect current (i.e., 2007-and-later) daylight saving rules.
12676
12677         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12678
12679 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12680
12681         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12682         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12684         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12685         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12686         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12687         * sysdeps/unix/bsd/clock.c: Likewise.
12688         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12689         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12690         * sysdeps/unix/bsd/init-posix.c: Likewise.
12691         * sysdeps/unix/bsd/poll.c: Likewise.
12692         * sysdeps/unix/bsd/ptsname.c: Likewise.
12693         * sysdeps/unix/bsd/seekdir.c: Likewise.
12694         * sysdeps/unix/bsd/setegid.c: Likewise.
12695         * sysdeps/unix/bsd/seteuid.c: Likewise.
12696         * sysdeps/unix/bsd/setgid.c: Likewise.
12697         * sysdeps/unix/bsd/setrgid.c: Likewise.
12698         * sysdeps/unix/bsd/setruid.c: Likewise.
12699         * sysdeps/unix/bsd/setsid.c: Likewise.
12700         * sysdeps/unix/bsd/setuid.c: Likewise.
12701         * sysdeps/unix/bsd/sigaction.c: Likewise.
12702         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12703         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12704         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12705         * sysdeps/unix/bsd/telldir.c: Likewise.
12706         * sysdeps/unix/bsd/times.c: Likewise.
12707         * sysdeps/unix/bsd/usleep.c: Likewise.
12708
12709         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12710         ($(objpfx)libbsd-compat.a): Remove rule.
12711
12712         * include/features.h (__FAVOR_BSD): Do not define.
12713         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12714         features conflicting with POSIX.
12715         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12716         (_BSD_SOURCE): Remove description of not being a subset of other
12717         feature test macros.
12718         * manual/job.texi (getpgrp): Do not document BSD version.
12719         (getpgid): Do not document by reference to BSD getpgrp.
12720         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12721         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12722         * signal/signal.h [__FAVOR_BSD]: Likewise.
12723         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12724         instead of making contents conditional on [__FAVOR_BSD].
12725         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12726
12727 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12728
12729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12730
12731 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12732
12733         [BZ #16314]
12734         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12735         values below 2**-450, not 2**-500.
12736         * math/auto-libm-test-in: Don't allow spurious underflow from
12737         hypot.
12738         * math/auto-libm-test-out: Regenerated.
12739
12740         [BZ #16316]
12741         [BZ #16330]
12742         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12743         values of ha and hb and sort them after adjusting subnormal
12744         arguments.
12745         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12746         Likewise.
12747         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12748         values of ea and eb and sort them after adjusting subnormal
12749         arguments.
12750         * math/auto-libm-test-in: Do not expect some hypot tests of
12751         subnormals to fail.  Add more hypot tests.
12752         * math/auto-libm-test-out: Regenerated.
12753
12754 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12755
12756         [BZ #13304]
12757         * sysdeps/sh/s_fma.c: New file.
12758         * sysdeps/sh/s_fmaf.c: New file.
12759         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12760         version.
12761         * sysdeps/sh/Implies: Add sh/soft-fp.
12762
12763 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12764
12765         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12766         level of indirection to members `objname', `errstring', `malloced'.
12767         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12768         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12769         it as the __longjmp argument (just pass 1 instead).
12770         (_dl_catch_error): Initialize C with argument pointers and address of
12771         volatile local ERRCODE rather than copying values out of C at return.
12772
12773 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12774
12775         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12776         * math/auto-libm-test-out: Regenerated.
12777         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12778         (hypot_test_data): Likewise.
12779         (pow_test_data): Likewise.
12780         (pow_tonearest_test_data): Likewise.
12781         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12782         mpfr_ff_f.
12783         (func_calc_desc): Add mpfr_ff_f union field.
12784         (FUNC_mpfr_ff_f): New macro.
12785         (test_functions): Add atan2, hypot and pow.
12786         (special_fill_min): New function.
12787         (special_fill_minus_min): Likewise.
12788         (special_fill_min_subnorm): Likewise.
12789         (special_fill_minus_min_subnorm): Likewise.
12790         (special_real_inputs): Add min, -min, min_subnorm and
12791         -min_subnorm.
12792         (calc_generic_results): Handle mpfr_ff_f.
12793         * sysdeps/i386/fpu/libm-test-ulps: Update.
12794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12795
12796 2013-12-16  Will Newton  <will.newton@linaro.org>
12797
12798         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12799         (Aligned Memory Blocks): Add documentation for aligned_alloc
12800         and suggest it as an alternative to posix_memalign.
12801         (Hooks for Malloc): Document __memalign_hook is also called
12802         for aligned_alloc.  (Summary of Malloc): Add summary for
12803         aligned alloc.  Document __memalign_hook is also called
12804         for aligned_alloc.
12805
12806 2013-12-16  Will Newton  <will.newton@linaro.org>
12807
12808         * manual/memory.texi (Malloc Examples): Clarify default
12809         alignment documentation.  Suggest posix_memalign rather
12810         than memalign or valloc.
12811         (Aligned Memory Blocks): Remove suggestion to use memalign
12812         or valloc.  Remove obsolete comment about BSD.
12813         Document memalign errno values and mark the function obsolete.
12814         Document posix_memalign returned error codes.  Mark valloc
12815         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12816         called for posix_memalign and valloc.
12817         (Summary of Malloc): Add posix_memalign to function summary.
12818         __memalign_hook is also called for posix_memalign and valloc.
12819
12820 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12821
12822         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12823         TAYLOR_SIN.
12824         (__sin): Adjust.
12825         (__cos): Likewise.
12826         (sloww): Use mynumber union.  Expand ternary operator into
12827         if-else statements.
12828         (cslow): use mynumber union.
12829
12830 2013-12-16  Allan McRae  <allan@archlinux.org>
12831
12832         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12833         * configure: Regenerated.
12834
12835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12836
12837         [BZ #14120]
12838         * configure.ac: Added --enable-maintainer-mode. Check for
12839         autoconf when enabled.
12840         * configure: Regenerated.
12841
12842         * nscd/nscd.service: New file.
12843         * nscd/nscd.tmpfiles: New file.
12844
12845 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12846
12847         [BZ #12100]
12848         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12849         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12850         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12851         (strstr): Add __strstr_sse2_unaligned ifunc.
12852         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12853         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12854         (strcasestr): Remove __strcasestr_sse42 ifunc.
12855         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12858
12859 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12860
12861         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12862         * sysdeps/sh/bits/fenv.h: ... here.
12863         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12864
12865 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12866
12867         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12868
12869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12870         hypotf multiarch implementations.
12871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12873         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12874         multiarch hypot for PPC64.
12875         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12876         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12877         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12878         multiarch hypotf for PPC64.
12879
12880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12881         modff multiarch implementations.
12882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12885         multiarch modf for PPC64.
12886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12889         multiarch modff for PPC64.
12890
12891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12892         and logl multiarch implementations.
12893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12896         multiarch logb for PPC64.
12897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12900         multiarch logb for PPC64.
12901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12904         multiarch logb for PPC64.
12905
12906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12907         isinff multiarch implementation.
12908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12909         file.
12910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12912         multiarch isinf for PPC64.
12913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12914         file.
12915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12916         multiarch isinff for PPC64.
12917
12918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12919         finitef multiarch implementation.
12920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12921         file.
12922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12924         multiarch finite for PPC64.
12925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12926         file.
12927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12928         multiarch finitef for PPC64.
12929
12930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12931         lrint multiarch implementation.
12932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12933         file.
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12936         multiarch llrint for PPC64.
12937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12938         multiarch lrint for PPC64.
12939
12940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12941         copysignf multiarch implementation.
12942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12943         file.
12944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12945         file.
12946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12947         multiarch copysign for PPC64.
12948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12949         multiarch copysignf for PPC64.
12950
12951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12952         multiarch implementation.
12953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12954         file.
12955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12956         file.
12957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12958         file.
12959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12960         file.
12961         multiarch llround for PPC64.
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12963         multiarch trunc for PPC64.
12964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12965         multiarch truncf for PPC64.
12966
12967         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12968         multiarch implementation.
12969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12970         file.
12971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12972         file.
12973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12974         file.
12975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12976         file.
12977         multiarch llround for PPC64.
12978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12979         multiarch round for PPC64.
12980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12981         multiarch roundf for PPC64.
12982
12983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12984         multiarch implementation.
12985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12986         file.
12987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12988         file.
12989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12990         file.
12991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12992         file.
12993         multiarch llround for PPC64.
12994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12995         multiarch floor for PPC64.
12996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12997         multiarch floorf for PPC64.
12998
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13000         multiarch implementation.
13001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13002         file.
13003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13004         file.
13005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13006         file.
13007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13008         file.
13009         multiarch llround for PPC64.
13010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13011         multiarch ceil for PPC64.
13012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13013         multiarch ceilf for PPC64.
13014
13015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13016         multiarch implementation.
13017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13018         file.
13019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13020         file.
13021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13022         file.
13023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13024         multiarch llround for PPC64.
13025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13026         multiarch lround for PPC64.
13027
13028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13029         multiarch implementation.
13030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13033         file.
13034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13037         multiarch isnan for PPC64.
13038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13039         multiarch isnanf for PPC64.
13040
13041         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13042         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13043         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13044         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13045         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13047
13048         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13049         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13051         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13052
13053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13054         multiarch implementations.
13055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13056         (__libc_ifunc_impl_list): Likewise.
13057         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13058         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13059         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13060         multiarch stpcpy for PPC64.
13061
13062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13063         multiarch implementations.
13064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13065         (__libc_ifunc_impl_list): Likewise.
13066         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13067         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13068         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13069         multiarch strcpy for PPC64.
13070
13071         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13072         redefine function name.
13073         (_wordcopy_fwd_dest_aligned): Likewise.
13074         (_wordcopy_bwd_aligned): Likewise.
13075         (_wordcopy_bwd_dest_aligned): Likewise.
13076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13077         multiarch implementations.
13078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13079         (__libc_ifunc_impl_list): Likewise.
13080         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13081         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13082         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13083         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13084         multiarch wcscpy for PPC64.
13085
13086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13087         multiarch implementations.
13088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13089         (__libc_ifunc_impl_list): Likewise.
13090         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13091         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13092         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13093         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13094         multiarch wcscpy for PPC64.
13095
13096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13097         multiarch implementations.
13098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13099         (__libc_ifunc_impl_list): Likewise.
13100         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13101         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13102         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13103         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13104         multiarch wcsrchr for PPC64.
13105
13106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13107         multiarch implementations.
13108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13109         (__libc_ifunc_impl_list): Likewise.
13110         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13111         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13112         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13113         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13114         multiarch wcschr for PPC64.
13115
13116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13117         multiarch implementations.
13118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13119         (__libc_ifunc_impl_list): Likewise.
13120         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13121         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13122         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13123         multiarch strchrnul for PPC64.
13124
13125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13126         implementations.
13127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13128         (__libc_ifunc_impl_list): Likewise.
13129         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13130         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13131         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13132         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13133         strchr for PPC64.
13134
13135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13136         implementations.
13137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13138         (__libc_ifunc_impl_list): Likewise.
13139         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13140         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13141         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13142         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13143         strncmp for PPC64.
13144
13145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13146         multiarch implementations.
13147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13148         (__libc_ifunc_impl_list): Likewise.
13149         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13150         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13151         strncasecmp for PPC64.
13152         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13153         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13154         multiarch strncasecmp_l for PPC64.
13155
13156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13157         multiarch implementations.
13158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13159         (__libc_ifunc_impl_list): Likewise.
13160         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13161         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13162         multiarch strcasecmp for PPC64.
13163         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13164         file.
13165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13166         multiarch strcasecmp_l for PPC64.
13167
13168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13169         implementations.
13170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13171         (__libc_ifunc_impl_list): Likewise.
13172         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13173         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13174         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13175         strnlen for PPC64.
13176
13177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13178         implementations.
13179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13180         (__libc_ifunc_impl_list): Likewise.
13181         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13182         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13183         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13184         strlen for PPC64.
13185
13186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13187         implementations.
13188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13189         (__libc_ifunc_impl_list): Likewise.
13190         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13191         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13192         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13193         rawmemrchr for PPC64.
13194
13195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13196         implementation.
13197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13198         (__libc_ifunc_impl_list): Likewise.
13199         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13200         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13201         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13202         memrchr for PPC64.
13203
13204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13205         implementation.
13206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13207         (__libc_ifunc_impl_list): Likewise.
13208         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13209         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13210         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13211         memchr for PPC64.
13212
13213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13214         implementation.
13215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13216         (__libc_ifunc_impl_list): Likewise.
13217         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13218         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13219         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13220         mempcpy for PPC64.
13221
13222         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13223         avoid cretion of __bzero symbol.
13224         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13225         Likewise.
13226         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13227         Likewise.
13228         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13229         Likewise.
13230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13231         multiarch implementations.
13232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13233         (__libc_ifunc_impl_list): Likewise.
13234         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13237         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13238         bzero for PPC32.
13239         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13240         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13241         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13242         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13243         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13244         memset for PPC64.
13245         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13246
13247         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13249         implementations.
13250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13251         (__libc_ifunc_impl_list): Likewise.
13252         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13253         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13254         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13255         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13256         memcmp for PPC64.
13257
13258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13259         multiarch for POWER/PPC64.
13260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13261         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13262         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13263         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13264         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13268         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13269         memcpy for PPC64.
13270
13271         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13272         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13273         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13274         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13275         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13276         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13277         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13278         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13279         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13280         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13281         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13282         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13283         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13284         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13285         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13293
13294 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13295
13296         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13297
13298 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13299
13300         * benchtests/Makefile (bench): Add exp2 and log2.
13301         (LDLIBS-bench-exp2): Add -lm.
13302         (LDLIBS-bench-log2): Likewise.
13303         * benchtests/exp2-inputs: New inputs file.
13304         * benchtests/log2-inputs: New inputs file.
13305         * benchtests/log-inputs: Add new inputs.
13306         * benchtests/tan-inputs: Likewise.
13307
13308 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13309
13310         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13311         definition...
13312         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13313         (csloww2): ... from here.
13314
13315         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13316         instead of structures.
13317         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13318         (POLYNOMIAL): Likewise.
13319         (TAYLOR_SLOW): Likewise.
13320         (__sin): Likewise.
13321         (__cos): Likewise.
13322         (slow1): Likewise.
13323         (slow2): Likewise.
13324         (sloww): Likewise.
13325         (sloww1); Likewise.
13326         (sloww2): Likewise.
13327         (bsloww1): Likewise.
13328         (bsloww2): Likewise.
13329         (cslow2): Likewise.
13330         (csloww): Likewise.
13331         (csloww1): Likewise.
13332         (csloww2): Likewise.
13333
13334 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13335
13336         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13337         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13338         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13339         * malloc/hooks.c (realloc_check): Likewise.
13340
13341         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13342         * malloc/arena.c: Remove PER_THREAD conditional.
13343         [!PER_THREAD]: Remove code.
13344         (ptmalloc_unlock_all2): Likewise.
13345         (ptmalloc_init): Likewise.
13346         (_int_new_arena): Likewise.
13347         (arena_get2): Likewise.
13348         * malloc/hooks.c (__malloc_get_state): Likewise.
13349         (__malloc_set_state): Likewise.
13350         * malloc/malloc.c: Likewise.
13351         (struct malloc_state): Likewise.
13352         (struct malloc_par): Likewise.
13353         (__libc_realloc): Likewise.
13354         (__libc_mallopt): Likewise.
13355
13356 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13357
13358         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13359
13360 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13361
13362         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13363         macro to a function.  Check for zero perturb_byte.
13364         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13365
13366         * malloc/malloc.c: (force_reg): Remove.
13367         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13368         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13369         force_reg by atomic_forced_read.
13370         * malloc/arena.c (ptmalloc_init): Likewise.
13371         * malloc/hooks.c (top_check): Likewise.
13372
13373 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13374
13375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13376
13377 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13378
13379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13380
13381 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13382
13383         * math/auto-libm-test-in: Add tests of lgamma.
13384         * math/auto-libm-test-out: Regenerated.
13385         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13386         (M_LOG_2_SQRT_PIl): Likewise.
13387         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13388         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13389         mpfr_f_f1.
13390         (func_calc_desc): Add mpfr_f_f1 union field.
13391         (ARGS1): New macro.
13392         (ARGS2): Likewise.
13393         (ARGS3): Likewise.
13394         (ARGS4): Likewise.
13395         (RET1): Likewise.
13396         (RET2): Likewise.
13397         (CALC): Likewise.
13398         (FUNC): Likewise.
13399         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13400         (test_functions): Add lgamma.
13401         (calc_generic_results): Handle mpfr_f_f1.
13402         * sysdeps/i386/fpu/libm-test-ulps: Update.
13403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13404
13405 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13406
13407         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13408         __mpn_add_n for PowerPC64/POWER7.
13409         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13410         __mpn_sub_n for PowerPC64/POWER7.
13411
13412         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13413         __mpn_addmul_1 for PowerPC64.
13414         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13415         __mpn_submul_1 for PowerPC64.
13416         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13417         for PowerPC64.
13418         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13419         for PowerPC64.
13420
13421 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13422
13423         [BZ #15089]
13424         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13425
13426 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13427
13428         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13429
13430         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13431         add multiarch folders.
13432         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13433         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13434         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13435         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13436         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13437         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13438         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13439         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13440         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13441         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13442         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13449
13450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13451         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13453         New file.
13454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13455         New file.
13456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13457         multiarch __ieee754_hypot for PowerPC32.
13458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13459         New file.
13460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13461         New file.
13462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13463         multiarch __ieee754_hypotf for PowerPC32.
13464
13465         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13466         long_double_symbol only if __logbl is defined.
13467         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13468         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13469         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13470         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13472         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13473         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13474         path for implementation.
13475         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13476         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13478         logb, and logbl multiarch implementations for PowerPC32.
13479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13480         file.
13481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13482         file.
13483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13484         multiarch logb for PowerPC32.
13485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13486         file.
13487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13488         file.
13489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13490         multiarch logbf for PowerPC32.
13491         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13493         file.
13494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13495         multiarch logbl implementation for PowerPC32.
13496
13497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13498         and modff multiarch implementations.
13499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13500         New file.
13501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13502         New file.
13503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13504         multiarch modf for PowerPC32.
13505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13506         New file.
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13508         New file.
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13510         multiarch modff for PowerPC32.
13511
13512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13513         and lrintf multiarch implementations.
13514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13515         New file.
13516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13517         New file.
13518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13519         multiarch lrint for PowerPC32.
13520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13521         file: multiarch lrintf for PowerPC32.
13522
13523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13524         and lroundf multiarch implementations.
13525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13526         New file.
13527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13528         New file.
13529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13530         New file.
13531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13532         multiarch lround for PowerPC32.
13533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13534         file: multiarch lroundf for PowerPC32.
13535
13536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13537         copysign and copysignf multiarch implementations.
13538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13539         New file.
13540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13541         New file.
13542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13543         file: multiarch copysign for PowerPC32.
13544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13545         file: multiarch copysignf for PowerPC32.
13546
13547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13548         and truncf multiarch implementations.
13549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13550         New file.
13551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13552         file.
13553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13554         multiarch trunc for PowerPC32.
13555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13556         New file.
13557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13558         New file.
13559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13560         multiarch truncf for PowerPC32.
13561
13562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13563         and roundf multiarch implementations.
13564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13565         New file.
13566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13567         file.
13568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13569         multiarch round for PowerPC32.
13570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13571         New file.
13572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13573         New file.
13574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13575         multiarch roundf for PowerPC32.
13576
13577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13578         and floorf multiarch implementations.
13579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13580         New file.
13581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13582         file.
13583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13584         multiarch floor for PowerPC32.
13585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13586         New file.
13587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13588         New file.
13589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13590         multiarch floorf for PowerPC32.
13591
13592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13593         and ceilf multiarch implementations.
13594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13595         New file.
13596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13597         file.
13598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13599         multiarch ceil for PowerPC32.
13600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13601         New file.
13602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13603         file.
13604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13605         multiarch ceilf for PowerPC32.
13606
13607         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13608         is defined.
13609         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13610         FINITEF is defined.
13611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13612         and finitef multiarch implementations.
13613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13614         New file.
13615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13616         file.
13617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13618         multiarch finite for PowerPC32.
13619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13620         New file.
13621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13622         file: multiarch finitef for PowerPC32.
13623
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13625         and isinff multiarch implementations.
13626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13627         file.
13628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13629         file.
13630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13631         multiarch isinf for PowerPC32.
13632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13633         New file.
13634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13635         multiarch isinff for PowerPC32.
13636
13637         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13638         alias when __isnan is defined.
13639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13640         and isnanf multiarch implementations.
13641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13642         file.
13643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13644         file.
13645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13646         file.
13647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13648         file.
13649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13650         multiarch isnan for PowerPC32.
13651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13652         New file.
13653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13654         New file.
13655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13656         multiarch isnanf for PowerPC32.
13657
13658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13659         and sqrtf multiarch implementations.
13660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13661         file.
13662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13663         file.
13664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13665         multiarch sqrt for PowerPC32.
13666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13667         file.
13668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13669         file.
13670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13671         multiarch sqrtf for PowerPC32.
13672
13673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13674         and llroundf multiarch implementations.
13675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13676         New file.
13677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13678         New file.
13679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13680         New file.
13681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13682         file: multiarch llround for PowerPC32.
13683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13684         file: multiarch llroundf for PowerPC32.
13685
13686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13687         multiarch PowerPC32 fpu implementations.
13688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13689         New file.
13690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13691         New file.
13692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13693         multiarch llrint for PowerPC32.
13694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13695         New file.
13696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13697         New file.
13698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13699         file.
13700
13701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13702
13703         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13704         file.
13705         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13706         file.
13707         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13708         file.
13709         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13710         multiarch wordcopy for PPC32.
13711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13712         wordcopy objects.
13713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13714         (__libc_ifunc_impl_list): Likewise.
13715         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13716         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13717         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13718         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13719         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13720         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13721
13722         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13724         file.
13725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13726         file.
13727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13728         file.
13729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13730         multiarch wcscpy for PPC32.
13731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13732         multiarch objects.
13733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13734         (__libc_ifunc_impl_list): Likewise.
13735         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13736         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13737         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13738         sysdeps/powerpc/power6/wcscpy.c.
13739
13740         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13742         file.
13743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13744         file.
13745         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13746         file.
13747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13748         multiarch wcsrchr for PPC32.
13749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13750         multiarch objects.
13751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13752         (__libc_ifunc_impl_list): Likewise.
13753         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13754         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13755         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13756         sysdeps/powerpc/power6/wcsrchr.c.
13757
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13759         file.
13760         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13761         file.
13762         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13764         multiarch wcschr for PPc32.
13765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13766         multiarch objects.
13767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13768         (__libc_ifunc_impl_list): Likewise.
13769         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13770         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13771         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13772         sysdeps/powerpc/power6/wcschr.c.
13773
13774         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13775         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13776         file.
13777         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13778         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13779         file: multiarch strchr for PPC32.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13781         multiarch objects.
13782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13783         (__libc_ifunc_impl_list): Likewise.
13784
13785         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13786         name.
13787         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13788         file.
13789         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13790         file.
13791         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13792         multiarch strchrnul for PPC32.
13793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13794         multiarch objects.
13795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13796         (__libc_ifunc_impl_list): Likewise.
13797
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13799         file.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13801         multiarch strncasecmp for PPC32.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13803         file.
13804         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13805         multiarch strncasecmp_l for PPC32.
13806         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13807         strncasecmp multiarch objects.
13808         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13809         (__libc_ifunc_impl_list): Likewise.
13810
13811         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13812         file.
13813         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13814         multiarch strncasecmp for PPC32.
13815         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13816         New file.
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13818         multiarch strcasecmp_l for PPC32.
13819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13820         multiarch objects.
13821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13822         (__libc_ifunc_impl_list): Likewise.
13823
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13825         file.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13827         file.
13828         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13829         multiarch strncmp for PPC32.
13830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13831         multiarch objects.
13832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13833         (__libc_ifunc_impl_list): Likewise.
13834
13835         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13836         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13837         file.
13838         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13839         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13841         multiarch objects.
13842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13843         (__libc_ifunc_impl_list): Likewise.
13844
13845         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13846         file.
13847         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13848         file.
13849         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13851         multiarch objects.
13852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13853         (__libc_ifunc_impl_list): Likewise.
13854
13855         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13856         file.
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13858         file.
13859         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13860         multiarch rawmemchr for PPC32.
13861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13862         multiarch objects.
13863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13864         (__libc_ifunc_impl_list): Likewise.
13865
13866         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13867         file.
13868         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13869         file.
13870         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13871         file: memrchr multiarch for PPC32.
13872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13873         multiarch objects.
13874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13875         (__libc_ifunc_impl_list): Likewise.
13876
13877         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13878         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13879         file.
13880         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13881         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13882         multiarch memchr for PPC32.
13883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13884         multiarch objects.
13885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13886         (__libc_ifunc_impl_list): Likewise.
13887
13888         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13889         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13890         file.
13891         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13892         file.
13893         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13894         file: multiarch mempcpy for PPC32.
13895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13896         multiarch objects.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13898         (__libc_ifunc_impl_list): Likewise.
13899
13900         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13901         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13902         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13903         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13904         multiarch bzero for PPC32.
13905         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13906         file.
13907         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13908         file.
13909         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13910         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13911         file: multiarch memset for PPC32.
13912         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13914         memset multiarch objects.
13915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13916         (__libc_ifunc_impl_list): Likewise.
13917
13918         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13919         file.
13920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13922         memcmp for PPC32.
13923         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13924         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13925         multiarch objects.
13926         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13927         (__libc_ifunc_impl_list): Likewise.
13928
13929         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13932         file.
13933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13934         file.
13935         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13936         file.
13937         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13938         multiarch memcpy for PPC32.
13939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13940         multiarch objects.
13941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13942         (__libc_ifunc_impl_list): Likewise.
13943
13944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13945         support multiarch for POWER/PPC32.
13946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13947         Likewise.
13948         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13950         Implies file to make multiarch folder appers before the fpu and
13951         default folder for power4 configuration.
13952
13953 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13954
13955         * scripts/bench.pl: Append volatile keyword to type.
13956
13957 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13958
13959         * sysdeps/sh/sotruss-lib.c: New file.
13960         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13961
13962 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13963
13964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13965
13966 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13967
13968         [BZ #6810]
13969         * math/w_tgamma.c: Include <errno.h>.
13970         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13971         * math/w_tgammaf.c: Include <errno.h>.
13972         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13973         * math/w_tgammal.c: Include <errno.h>.
13974         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13975         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13976         underflow.  Add more tgamma tests.
13977         * math/auto-libm-test-out: Regenerated.
13978         * sysdeps/i386/fpu/libm-test-ulps: Update.
13979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13980
13981         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13982         sin, sinh, tan, tanh, tgamma, y0 and y1.
13983         * math/auto-libm-test-out: Regenerated.
13984         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13985         (TEST_COND_x86): Likewise.
13986         (M_E2l): Remove macro.
13987         (M_E3l): Likewise.
13988         (M_2_SQRT_PIl): Likewise.
13989         (M_SQRT_PIl): Likewise.
13990         (M_1_DIV_El): Likewise.
13991         (log_test_data): Use AUTO_TESTS_f_f.
13992         (log10_test_data): Likewise.
13993         (log1p_test_data): Likewise.
13994         (log2_test_data): Likewise.
13995         (sin_test_data): Likewise.
13996         (sin_tonearest_test_data): Likewise.
13997         (sin_towardzero_test_data): Likewise.
13998         (sin_downward_test_data): Likewise.
13999         (sin_upward_test_data): Likewise.
14000         (sinh_test_data): Likewise.
14001         (sinh_tonearest_test_data): Likewise.
14002         (sinh_towardzero_test_data): Likewise.
14003         (sinh_downward_test_data): Likewise.
14004         (sinh_upward_test_data): Likewise.
14005         (tan_test_data): Likewise.
14006         (tan_tonearest_test_data): Likewise.
14007         (tan_towardzero_test_data): Likewise.
14008         (tan_downward_test_data): Likewise.
14009         (tan_upward_test_data): Likewise.
14010         (tanh_test_data): Likewise.
14011         (tgamma_test_data): Likewise.
14012         (y0_test_data): Likewise.
14013         (y1_test_data): Likewise.
14014         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14015         (special_real_inputs): Add pi/4.
14016         * sysdeps/i386/fpu/libm-test-ulps: Update.
14017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14018
14019 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14020
14021         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14022         "longjmp_target" static probes.
14023         (__longjmp): Rename to __longjmp_symbol.
14024         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14025         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14026         on which longjmp to generate.
14027         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14028         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14029         probe.
14030         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14031         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14032         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14033         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14034         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14035         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14037         __longjmp_symbol based on which __longjmp to generate.
14038         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14039         probe.
14040         (setjmp): Rename to setjmp_symbol.
14041         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14042         (_setjmp): Rename to _setjmp_symbol.
14043         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14044         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14045         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14046         which setjmp to generate.
14047         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14048         "longjmp_target" static probes.
14049
14050 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14051
14052         * benchtests/README: Add note about output arguments.
14053         * benchtests/bench-sincos.c: Remove file.
14054         * benchtests/sincos-inputs: New file.
14055         * scripts/bench.pl: Identify output arguments and define
14056         static variables for them.
14057
14058         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14059
14060         [BZ #15941]
14061         * Makefile (INSTALL): Add install-plain.texi as the primary
14062         dependency.
14063         * manual/install-plain.texi: New file.
14064         * manual/install.texi: Include node directive only for
14065         non-plaintext output.
14066
14067 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14068
14069         * stdlib/longlong.h: Update from GCC.
14070
14071         [BZ #6807]
14072         [BZ #15901]
14073         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14074         * math/w_j0f.c (y0f): Likewise.
14075         * math/w_j0l.c (__y0l): Likewise.
14076         * math/w_j1.c (y1): Likewise.
14077         * math/w_j1f.c (y1f): Likewise.
14078         * math/w_j1l.c (__y1l): Likewise
14079         * math/w_jn.c (yn): Likewise.
14080         * math/w_jnf.c (ynf): Likewise.
14081         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14082         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14083         value for Bessel function domain errors outside _SVID_ mode.
14084         Adjust sign of return value for yn (negative integer, 0).
14085         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14086         by zero in return for negative x and set sign appropriately for
14087         negative n.
14088         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14089         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14090         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14091         expectations in error cases.
14092         (y1_test_data): Likewise.
14093         (yn_test_data): Likewise.
14094         * sysdeps/i386/fpu/libm-test-ulps: Update.
14095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14096
14097 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14098
14099         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14100         "64" to "64-v1".  Add "64-v2".
14101         (abi-64-options): Rename to ...
14102         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14103         (abi-64-condition): Rename to ...
14104         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14105         (abi-64-ld-soname): Rename to ...
14106         (abi-64-v1-ld-soname): ... this.
14107         (abi-64-v2-options): Define.
14108         (abi-64-v2-condition): Likewise.
14109         (abi-64-v2-ld-soname): Likewise.
14110         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14111         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14115
14116 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14117             Alan Modra  <amodra@gmail.com>
14118
14119         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14120         New versions for use with the ELFv2 ABI.
14121         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14122         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14123         declaration.
14124         (struct La_ppc64v2_retval): Likewise.
14125         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14126         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14127         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14128         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14129         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14130         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14131         Do not save or restore CR.
14132         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14133         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14134         return values for ELFv2 ABI.  Fix location of FPR return registers.
14135         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14136         updated values for _CALL_ELF == 2.
14137         (La_regs, La_retval, int_retval): Likewise.
14138
14139 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14140
14141         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14142         (FRAME_MIN_SIZE_PARM): Likewise.
14143         (FRAME_BACKCHAIN): Likewise.
14144         (FRAME_CR_SAVE): Likewise.
14145         (FRAME_LR_SAVE): Likewise.
14146         (FRAME_TOC_SAVE): Likewise.
14147         (FRAME_PARM_SAVE): Likewise.
14148         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14149         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14150         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14151         (call_mcount_parm_offset): New macro.
14152         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14153         (PROF): Use symbolic stack frame offsets.
14154         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14155         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14156         Redefine in terms of FRAME_MIN_SIZE.
14157         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14158         (_dl_profile_resolve): Likewise.  Update comment.
14159         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14160         symbols stack frame offsets.
14161         (__sigsetjmp): Likewise.
14162         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14163         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14164         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14165         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14166
14167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14168         (FRAME_BACKCHAIN): Remove.
14169         (FRAME_CR_SAVE): Likewise.
14170         (FRAME_LR_SAVE): Likewise.
14171         (FRAME_COMPILER_DW): Likewise.
14172         (FRAME_LINKER_DW): Likewise.
14173         (FRAME_TOC_SAVE): Likewise.
14174         (FRAME_PARM_SAVE): Likewise.
14175         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14176         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14177         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14179         (CHECK_SP): Use symbolic stack frame offsets.
14180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14181         zone" instead of caller's parameter save area for temp storage.
14182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14183         Likewise.  Also, use symbolic stack frame offsets.
14184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14185         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14186         our own stack frame instead of the caller's.
14187         (__socket): Use symbolic stack frame offsets.
14188
14189 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14190             Alan Modra  <amodra@gmail.com>
14191
14192         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14193         Define.
14194         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14195         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14196         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14197         New function.
14198         (elf_machine_fixup_plt): Call it.
14199         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14200         reloc arguments.
14201         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14202         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14203         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14204         r2 before calling target.
14205
14206 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14207             Alan Modra  <amodra@gmail.com>
14208
14209         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14210         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14211         versions of macros to support ELFv2 ABI.
14212         (LOCALENTRY): New macro.
14213         (ENTRY, EALIGN): Use it.
14214         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14215         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14216         fall through into ENTRY entry point.
14217         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14218         Only define if _CALL_ELF != 2.
14219
14220         (elf_machine_matches_host): Verify ABI version matches.
14221         (RTLD_START): Use LOCALENTRY.
14222         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14223         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14224         (PLT_ENTRY_WORDS): New macro.
14225         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14226         (elf_machine_runtime_setup): Support ELFv2 ABI.
14227         (elf_machine_fixup_plt): Likewise.
14228         (elf_machine_plt_conflict): Likewise.
14229         (resolve_ifunc): Likewise.
14230         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14231         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14232         Likewise.
14233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14234         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14236         (makecontext): Support ELFv2 ABI.
14237         * elf/elf.h (EF_PPC64_ABI): Define.
14238
14239 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14240
14241         * sysdeps/powerpc/powerpc64/sysdep.h
14242         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14243         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14244         (ENTRY) [ASSEMBLER]: ... but instead here ...
14245         (EALIGN) [ASSEMBLER]: ... and here.
14246         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14247         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14248         (ENTRY_2) [!ASSEMBLER]: Use it.
14249         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14250         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14251         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14252         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14253         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14255         Use PPC64_LOAD_FUNCPTR.
14256
14257         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14258
14259 2013-12-04  Alan Modra  <amodra@gmail.com>
14260
14261         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14262         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14263         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14264         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14265
14266         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14267         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14268         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14269         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14270         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14271         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14272
14273 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14274
14275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14276         (__makecontext): Fix incorrect CFI when backtracing out of
14277         context created via makecontext.
14278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14279         (__setcontext): Fix incorrect CFI during switch to new context.
14280         (__novec_setcontext): Likewise.
14281
14282 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14283
14284         [BZ #4772]
14285         * time/strptime_l.c (__strptime_internal): Allow modifiers
14286         in strptime.
14287         * time/tst-strptime.c (day_tests): Add testcase.
14288
14289 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14290
14291         * scripts/bench.pl: Skip over blank lines.
14292
14293 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14294
14295         [BZ #926]
14296         * manual/time.texi (Calendar Time): Clarify what timezone functions
14297         use.
14298
14299 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14300
14301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14302
14303 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14304
14305         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14306         implementation.
14307         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14308         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14309         * debug/memset_chk.c (__memset_chk): Likewise.
14310         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14311         * debug/strncpy_chk.c: Likewise.
14312
14313 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14314
14315         [BZ #15268]
14316         [BZ #15425]
14317         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14318         (__ieee754_exp): For possibly underflowing results, check size of
14319         result and force underflow exception if required.
14320         * math/auto-libm-test-in: Add more tests of exp.
14321         * math/auto-libm-test-out: Regenerated.
14322         * sysdeps/i386/fpu/libm-test-ulps: Update.
14323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14324
14325         [BZ #16283]
14326         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14327         * math/w_exp2f.c (__exp2f): Likewise.
14328         * math/w_exp2l.c (__exp2l): Likewise.
14329         * math/auto-libm-test-in: Do not allow missing errno on exp2
14330         underflow.
14331         * math/auto-libm-test-out: Regenerated.
14332
14333 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14334
14335         [BZ #16274]
14336         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14337         handle filename validation.
14338         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14339         (do_open): Delete.
14340
14341 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14342
14343         [BZ #6786]
14344         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14345         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14346         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14347         <float.h>.
14348         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14349         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14350         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14351         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14352         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14353         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14354         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14355         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14356         Add more erfc tests.
14357         * math/auto-libm-test-out: Regenerated.
14358         * sysdeps/i386/fpu/libm-test-ulps: Update.
14359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14360
14361         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14362         exp2, expm1, j0 and j1.
14363         * math/auto-libm-test-out: Regenerated.
14364         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14365         (erfc_test_data): Likewise.
14366         (exp_test_data): Likewise.
14367         (exp_tonearest_test_data): Likewise.
14368         (exp_towardzero_test_data): Likewise.
14369         (exp_downward_test_data): Likewise.
14370         (exp_upward_test_data): Likewise.
14371         (exp10_test_data): Likewise.
14372         (exp2_test_data): Likewise.
14373         (expm1_test_data): Likewise.
14374         (j0_test_data): Likewise.
14375         (j1_test_data): Likewise.
14376         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14377         (input_flag_type): Add flag_xfail_rounding.
14378         (input_flags): Add xfail-rounding.
14379         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14380         (output_for_one_input_case): Handle flag_xfail_rounding.
14381         * sysdeps/i386/fpu/libm-test-ulps: Update.
14382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14383
14384 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14385
14386         [BZ #16289]
14387         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14388         division by 0.
14389
14390 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14391
14392         [BZ #16195]
14393         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14394         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14395         (STAP_PROBE0): New macro.
14396         (STAP_PROBE1): Likewise.
14397         (STAP_PROBE2): Likewise.
14398         (STAP_PROBE3): Likewise.
14399         (STAP_PROBE4): Likewise.
14400
14401 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14402
14403         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14404
14405 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14406
14407         * benchtests/Makefile (bench): Add sqrt.
14408         (LDLIBS-bench-sqrt): New.
14409         * benchtests/sqrt-input: New.
14410
14411 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14412
14413         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14414         (GAIH_EAI): Likewise.
14415         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14416         (gaih_inet): Likewise.
14417         (getaddrinfo): Don't use GAIH_EAI.
14418
14419         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14420         (struct gaih): Remove definition.
14421
14422 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14423
14424         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14425         Use HERRNOP directly.
14426
14427 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14428
14429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14430
14431 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14432
14433         * math/gen-auto-libm-tests.c (test_functions): Add more
14434         single-argument functions.
14435         (special_fill_pi_2): New function.
14436         (special_fill_minus_pi_2): Likewise.
14437         (special_fill_pi_6): Likewise.
14438         (special_fill_minus_pi_6): Likewise.
14439         (special_fill_pi_3): Likewise.
14440         (special_fill_2pi_3): Likewise.
14441         (special_fill_e): Likewise.
14442         (special_fill_1_e): Likewise.
14443         (special_fill_e_minus_1): Likewise.
14444         (special_real_inputs): Add more special inputs.
14445         (output_for_one_input_case): Do not require ERANGE on underflow to
14446         zero if round-to-nearest result does not underflow to zero, unless
14447         exact results required.
14448         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14449         atan, atanh, cbrt, cos and cosh.
14450         * math/auto-libm-test-out: Regenerated.
14451         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14452         (acos_tonearest_test_data): Likewise.
14453         (acos_towardzero_test_data): Likewise.
14454         (acos_downward_test_data): Likewise.
14455         (acos_upward_test_data): Likewise.
14456         (acosh_test_data): Likewise.
14457         (asin_test_data): Likewise.
14458         (asin_tonearest_test_data): Likewise.
14459         (asin_towardzero_test_data): Likewise.
14460         (asin_upward_test_data): Likewise.
14461         (asinh_test_data): Likewise.
14462         (atan_test_data): Likewise.
14463         (atanh_test_data): Likewise.
14464         (cbrt_test_data): Likewise.
14465         (cos_test_data): Likewise.
14466         (cos_tonearest_test_data): Likewise.
14467         (cos_towardzero_test_data): Likewise.
14468         (cos_downward_test_data): Likewise.
14469         (cos_upward_test_data): Likewise.
14470         (cosh_test_data): Likewise.
14471         (cosh_tonearest_test_data): Likewise.
14472         (cosh_towardzero_test_data): Likewise.
14473         (cosh_downward_test_data): Likewise.
14474         (cosh_upward_test_data): Likewise.
14475         * sysdeps/i386/fpu/libm-test-ulps: Update.
14476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14477
14478 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14479
14480         [BZ #6787]
14481         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14482         * math/w_exp10f.c (__exp10f): Likewise.
14483         * math/w_exp10l.c (__exp10l): Likewise.
14484         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14485         errno settings in existing tests.
14486
14487         [BZ #14032]
14488         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14489         precision control set to double precision.
14490         * sysdeps/i386/fpu/w_sqrt.c: New file.
14491         * math/auto-libm-test-in: Add more tests.
14492         * math/auto-libm-test-out: Update.
14493
14494         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14495         (sqrt_test_tonearest): New function.
14496         (sqrt_towardzero_test_data): New variable.
14497         (sqrt_test_towardzero): New function.
14498         (sqrt_downward_test_data): New variable.
14499         (sqrt_test_downward): New function.
14500         (sqrt_upward_test_data): New variable.
14501         (sqrt_test_upward): New function.
14502         (main): Call the new functions.
14503
14504         * math/gen-auto-libm-tests.c: New file.
14505         * math/auto-libm-test-in: Likewise.
14506         * math/auto-libm-test-out: New generated file.
14507         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14508         variables.
14509         (%beautify): Add generated representations of zero.
14510         (top level): Set $auto_input and call parse_auto_input.
14511         (beautify): Remove trailing "f" from hex float constants.
14512         (parse_args): Handle XFAIL_TEST.
14513         (convert_condition): New function.
14514         (or_value): Likewise.
14515         (or_cond_value): Likewise.
14516         (generate_testfile): Handle AUTO_TESTS_* lines.
14517         (parse_auto_input): New function.
14518         * math/libm-test.inc (XFAIL_TEST): New macro.
14519         (ERRNO_UNCHANGED): Update value.
14520         (ERRNO_EDOM): Likewise.
14521         (ERRNO_ERANGE): Likewise.
14522         (IGNORE_RESULT): Likewise.
14523         (TEST_COND_flt_32): New macro.
14524         (TEST_COND_dbl_64): Likewise.
14525         (TEST_COND_ldbl_96_intel): Likewise.
14526         (TEST_COND_ldbl_96_m68k): Likewise.
14527         (TEST_COND_ldbl_128): Likewise.
14528         (TEST_COND_ldbl_128ibm): Likewise.
14529         (TEST_COND_long32): Likewise.
14530         (TEST_COND_long64): Likewise.
14531         (TEST_COND_before_rounding): Likewise.
14532         (TEST_COND_after_rounding): Likewise.
14533         (enable_test): Handle XFAIL_TEST flag.
14534         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14535         with finite results.
14536         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14537         auto-libm-test-out.
14538
14539 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14540             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14541
14542         [BZ #16214]
14543         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14544         __tls_get_addr_internal instead of __tls_get_offset in order to
14545         avoid GOT pointer dependency.  Make rtld export
14546         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14547         __tls_get_addr since we are a __tls_get_offset platform.
14548         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14549         GOT pointer being set up before.
14550         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14551
14552 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14553
14554         * manual/math.texi (Errors in Math Functions): Document accuracy
14555         goals.
14556
14557         [BZ #15004]
14558         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14559         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14560         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14561         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14562         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14563         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14564         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14565         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14566         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14568         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14570         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14571         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14572         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14573         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14574
14575         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14576         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14577         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14578         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14579         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14580         Likewise.
14581         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14582         Likewise.
14583         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14584         Likewise.
14585         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14586         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14587         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14588         atomic-feupdateenv and flt-rounds.
14589         * sysdeps/powerpc/nofpu/Versions (libc): Add
14590         __atomic_feholdexcept, __atomic_feclearexcept,
14591         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14592         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14593         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14594         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14595         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14596         here.
14597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14598         Update.
14599
14600         * manual/arith.texi (FP Exceptions): Document that exceptions may
14601         not be raised when matherr is used.
14602         (Math Error Reporting): Document overflow in directed rounding
14603         modes.  Document that errno may not be set when finite values are
14604         returned on overflow.  Document intent to set errno on underflow
14605         only for underflow to zero.
14606
14607         [BZ #16271]
14608         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14609         round-to-nearest then adjust result for other rounding modes.
14610         * include/fenv.h (fegetround): Use libm_hidden_proto.
14611         * math/fegetround.c (fegetround): Use libm_hidden_def.
14612         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14613         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14614         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14615         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14616         Likewise.
14617         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14618         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14619         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14620         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14621
14622 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14623
14624         [BZ #16077]
14625         * nss/Versions (libnss_files): Add
14626         _nss_files_gethostbyname3_r.
14627         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14628         New function.
14629         (HOST_DB_LOOKUP): Remove macro.
14630         (_nss_files_gethostbyname_r): Implement function without the
14631         HOST_DB_LOOKUP macro.
14632         (_nss_files_gethostbyname2_r): Likewise.
14633
14634 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14635
14636         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14637
14638 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14639
14640         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14641         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14642         warning.
14643
14644 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14645
14646         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14647         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14648         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14649         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14650         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14651         __fe_nomask_env_priv and attribute_hidden.
14652         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14653         (libc_feupdateenv_test_ppc): Likewise.
14654         (libc_feresetround_ppc): Likewise.
14655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14656         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14657         compat_symbol macro.
14658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14659         (__fe_nomask_env): Likewise.
14660         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14661
14662 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14663
14664         * string/Makefile: Remove ifunc tests.
14665         * string/test-string.h: Define TEST_IFUNC.
14666         * string/test-bcopy-ifunc.c: Remove.
14667         * string/test-bzero-ifunc.c: Likewise.
14668         * string/test-memccpy-ifunc.c: Likewise.
14669         * string/test-memchr-ifunc.c: Likewise.
14670         * string/test-memcmp-ifunc.c: Likewise.
14671         * string/test-memcpy-ifunc.c: Likewise.
14672         * string/test-memmem-ifunc.c: Likewise.
14673         * string/test-memmove-ifunc.c: Likewise.
14674         * string/test-mempcpy-ifunc.c: Likewise.
14675         * string/test-memrchr-ifunc.c: Likewise.
14676         * string/test-memset-ifunc.c: Likewise.
14677         * string/test-rawmemchr-ifunc.c: Likewise.
14678         * string/test-stpcpy-ifunc.c: Likewise.
14679         * string/test-stpncpy-ifunc.c: Likewise.
14680         * string/test-strcasecmp-ifunc.c: Likewise.
14681         * string/test-strcasestr-ifunc.c: Likewise.
14682         * string/test-strcat-ifunc.c: Likewise.
14683         * string/test-strchr-ifunc.c: Likewise.
14684         * string/test-strchrnul-ifunc.c: Likewise.
14685         * string/test-strcmp-ifunc.c: Likewise.
14686         * string/test-strcpy-ifunc.c: Likewise.
14687         * string/test-strcspn-ifunc.c: Likewise.
14688         * string/test-strlen-ifunc.c: Likewise.
14689         * string/test-strncasecmp-ifunc.c: Likewise.
14690         * string/test-strncat-ifunc.c: Likewise.
14691         * string/test-strncmp-ifunc.c: Likewise.
14692         * string/test-strncpy-ifunc.c: Likewise.
14693         * string/test-strnlen-ifunc.c: Likewise.
14694         * string/test-strpbrk-ifunc.c: Likewise.
14695         * string/test-strrchr-ifunc.c: Likewise.
14696         * string/test-strspn-ifunc.c: Likewise.
14697         * string/test-strstr-ifunc.c: Likewise.
14698
14699 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14700
14701         * benchtests/Makefile: Remove ifunc tests.
14702         * benchtests/bench-string.h: Define TEST_IFUNC.
14703         * benchtests/bench-bcopy-ifunc.c: Remove.
14704         * benchtests/bench-bzero-ifunc.c: Likewise.
14705         * benchtests/bench-memccpy-ifunc.c: Likewise.
14706         * benchtests/bench-memchr-ifunc.c: Likewise.
14707         * benchtests/bench-memcmp-ifunc.c: Likewise.
14708         * benchtests/bench-memcpy-ifunc.c: Likewise.
14709         * benchtests/bench-memmem-ifunc.c: Likewise.
14710         * benchtests/bench-memmove-ifunc.c: Likewise.
14711         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14712         * benchtests/bench-memrchr-ifunc.c: Likewise.
14713         * benchtests/bench-memset-ifunc.c: Likewise.
14714         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14715         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14716         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14717         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14718         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14719         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14720         * benchtests/bench-strcat-ifunc.c: Likewise.
14721         * benchtests/bench-strchr-ifunc.c: Likewise.
14722         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14723         * benchtests/bench-strcmp-ifunc.c: Likewise.
14724         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14725         * benchtests/bench-strcpy-ifunc.c: Likewise.
14726         * benchtests/bench-strcspn-ifunc.c: Likewise.
14727         * benchtests/bench-strlen-ifunc.c: Likewise.
14728         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14729         * benchtests/bench-strncat-ifunc.c: Likewise.
14730         * benchtests/bench-strncmp-ifunc.c: Likewise.
14731         * benchtests/bench-strncpy-ifunc.c: Likewise.
14732         * benchtests/bench-strnlen-ifunc.c: Likewise.
14733         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14734         * benchtests/bench-strrchr-ifunc.c: Likewise.
14735         * benchtests/bench-strsep-ifunc.c: Likewise.
14736         * benchtests/bench-strspn-ifunc.c: Likewise.
14737         * benchtests/bench-strstr-ifunc.c: Likewise.
14738
14739 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14740
14741         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14742
14743 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14744
14745         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14746         * rt/aio.h: Likewise.
14747         * sysdeps/gnu/bits/utmp.h: Likewise.
14748         * sysdeps/gnu/bits/utmpx.h: Likewise.
14749         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14750         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14751         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14752         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14753         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14754         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14755         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14756         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14757         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14758         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14759         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14760         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14761         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14763         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14764         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14765         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14766         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14767         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14768         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14769         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14770         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14771         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14772         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14773         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14774         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14775         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14776         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14777         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14778         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14779         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14780         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14781         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14782         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14783         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14784         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14785         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14786         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14787         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14788         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14789         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14790         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14791
14792 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14793
14794         [BZ #16245]
14795         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14796         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14797
14798 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14799
14800         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14801         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14802         Likewise.
14803
14804 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14805
14806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14807         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14808         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14809         (__fesetround): Remove define.
14810         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14811         rounding and exceptions handling.
14812         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14813         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14814         (__fe_nomask_env): Likewise.
14815         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14816         __fegetround instead of fegetround.
14817         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14818         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14819
14820 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14821
14822         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14823         it's there.
14824
14825         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14826
14827 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14828
14829         [BZ #11157]
14830         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14831         (encrypt_r): Likewise.
14832         * malloc/obstack.h (obstack_free): Likewise.
14833         * posix/unistd.h (encrypt): Likewise.
14834
14835 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14836
14837         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14838         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14839         DL_CALL_DT_FINI() that call the functions directly.
14840         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14841         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14842         * elf/dl-fini.c: Likewise.
14843
14844 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14845
14846         * malloc/hooks.c (memalign_check): Add alignment rounding.
14847         * malloc/malloc.c (_mid_memalign): New function.
14848         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14849         Implement by calling _mid_memalign.
14850         * manual/probes.texi (Memory Allocation Probes): Remove
14851         memory_valloc_retry and memory_pvalloc_retry.
14852
14853 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14854
14855         * locale/programs/locarchive.c (open_archive): Add const
14856         qualifier to ARCHIVEFNAME and copy default fname to
14857         DEFAULT_FNAME.
14858
14859         [BZ #15601]
14860         * libio/tst-widetext.input: Rename Oriya to Odia.
14861         * locale/iso-639.def: Likewise.
14862
14863         * manual/probes.texi (Mathematical Function Probes): Add
14864         documentation for sin, cos, asin and acos probes.
14865         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14866         (__sin32): Add slowasin probe.
14867         (__cos32): Add slowacos probe.
14868         (__mpsin): Add slowsin probe.
14869         (__mpcos): Add slowcos probe.
14870
14871 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14872
14873         [BZ #15483]
14874         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14875         thread-local __sim_exceptions_thread and global
14876         __sim_exceptions_global.
14877         (__sim_disabled_exceptions): Change to thread-local
14878         __sim_disabled_exceptions_thread and global
14879         __sim_disabled_exceptions_global.
14880         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14881         and global __sim_round_mode_global.
14882         (__simulate_exceptions): Use thread-local floating-point state and
14883         set global state from it as needed.
14884         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14885         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14886         __sim_round_mode_thread.
14887         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14888         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14889         and global __sim_exceptions_global.
14890         (__sim_disabled_exceptions): Change to thread-local
14891         __sim_disabled_exceptions_thread and global
14892         __sim_disabled_exceptions_global.
14893         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14894         and global __sim_round_mode_global.
14895         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14896         (SIM_SET_GLOBAL): Likewise.
14897         * sysdeps/powerpc/soft-fp/sfp-machine.h
14898         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14899         __sim_round_mode_thread.
14900         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14901         __sim_disabled_exceptions_thread.
14902         (__sim_exceptions): Change to __sim_exceptions_thread.
14903         (__sim_disabled_exceptions): Change to
14904         __sim_disabled_exceptions_thread.
14905         (__sim_round_mode): Change to __sim_round_mode_thread.
14906         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14907         thread-local floating-point state and set global state from it as
14908         needed.
14909         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14910         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14911         (__sim_disabled_exceptions): Remove extern declaration.
14912         (feenableexcept): Use thread-local floating-point state and set
14913         global state from it as needed.
14914         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14915         extern declaration.
14916         (__sim_disabled_exceptions): Likewise.
14917         (__sim_round_mode): Likewise.
14918         (__fegetenv): Use thread-local floating-point state.
14919         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14920         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14921         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14922         floating-point state and set global state from it as needed.
14923         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14924         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14925         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14926         Likewise.
14927         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14928         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14929         Likewise.
14930         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14931         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14932         Use __sim_round_mode_thread.
14933         * math/test-fenv-tls.c: New file.
14934         * math/Makefile (tests): Add test-fenv-tls.
14935         ($(objpfx)test-fenv-tls): Depend on
14936         $(common-objpfx)nptl/libpthread.so.
14937
14938 2013-11-19  Andreas Schwab  <schwab@suse.de>
14939
14940         * locale/programs/locale.c (show_info): Decode wordarray elements.
14941         * locale/categories.def (LC_MONETARY): Add element for
14942         _NL_MONETARY_CRNCYSTR.
14943         * locale/C-monetary.c (conversion_rate): New variable.
14944         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14945         element.
14946
14947 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14948
14949         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14950         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14951
14952 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14953
14954         * elf/Makefile (tst-auxv): New test.
14955         * elf/tst-auxv.c: New
14956         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14957
14958 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14959
14960         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14961         (hidden_proto): Caller changed.
14962         (hidden_tls_proto): New macro.
14963         (libc_hidden_tls_proto): Likewise.
14964         (rtld_hidden_tls_proto): Likewise.
14965         (libm_hidden_tls_proto): Likewise.
14966         (libresolv_hidden_tls_proto): Likewise.
14967         (librt_hidden_tls_proto): Likewise.
14968         (libdl_hidden_tls_proto): Likewise.
14969         (libnss_files_hidden_tls_proto): Likewise.
14970         (libnsl_hidden_tls_proto): Likewise.
14971         (libnss_nisplus_hidden_tls_proto): Likewise.
14972         (libutil_hidden_tls_proto): Likewise.
14973
14974 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14975
14976         [BZ #10253]
14977         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14978         (decompose_rpath): Defer expansion to fillin_rpath.
14979         (_dl_init_paths): Pass linkmap to fillin_rpath.
14980
14981 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14982
14983         * benchtests/Makefile: Add strsep.
14984         * benchtests/bench-strsep.c: New file: strsep benchtest.
14985         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14986
14987 2013-11-18  Andreas Schwab  <schwab@suse.de>
14988
14989         * locale/programs/locale.c (show_info) [case byte]: Check for
14990         '\377' instead of '\177'.
14991         * locale/C-monetary.c (not_available): Always use "\377".
14992         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14993         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14994         detect unavailable sign_posn locale elements.
14995         * locale/localeconv.c (__localeconv): For grouping and
14996         mon_grouping handle "\177" and "\377" like no grouping.
14997         (INT_ELEM): New macro.  Use it to set all numeric members.
14998         * locale/programs/ld-monetary.c (monetary_read)
14999         <tok_mon_grouping>: Normalize single -1 to the empty string.
15000         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15001         Likewise.
15002
15003 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15004
15005         [BZ #16055]
15006         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15007         when we match (nil).
15008         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15009
15010 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15011
15012         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15013         (NO_TEST_INLINE): Update value.
15014         (ERRNO_UNCHANGED): Likewise.
15015         (ERRNO_EDOM): Likewise.
15016         (ERRNO_ERANGE): Likewise.
15017         (IGNORE_RESULT): Likewise.
15018         (check_float_internal): Check signs of NaN results if
15019         TEST_NAN_SIGN used.
15020         (check_complex): Pass TEST_NAN_SIGN flag through to second
15021         check_float_internal call.
15022         (copysign_test_data): Add tests with quiet NaNs as second
15023         argument.  Use TEST_NAN_SIGN.
15024         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15025         TEST_NAN_SIGN.
15026         (signbit_test_data): Add tests of quiet NaN argument.
15027         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15028
15029         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15030         $ignore_result.
15031         (parse_args): Handle function results specified as IGNORE.
15032         * math/libm-test.inc (IGNORE_RESULT): New macro.
15033         (check_float_internal): Do not check numerical result if flag
15034         IGNORE_RESULT set.
15035         (check_complex): Pass through IGNORE_RESULT to second
15036         check_float_internal call.
15037         (check_int): Do not check numerical result if flag IGNORE_RESULT
15038         set.
15039         (check_long): Likewise.
15040         (check_bool): Likewise.
15041         (check_longlong): Likewise.
15042         (lrint_test_data): Add tests of infinite and NaN arguments.
15043         (lrint_tonearest_test_data): Likewise.
15044         (lrint_towardzero_test_data): Likewise.
15045         (lrint_downward_test_data): Likewise.
15046         (lrint_upward_test_data): Likewise.
15047         (llrint_test_data): Likewise.
15048         (llrint_tonearest_test_data): Likewise.
15049         (llrint_towardzero_test_data): Likewise.
15050         (llrint_downward_test_data): Likewise.
15051         (llrint_upward_test_data): Likewise.
15052         (lround_test_data): Likewise.
15053         (llround_test_data): Likewise.
15054
15055         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15056         (ERRNO_UNCHANGED): Update value.
15057         (ERRNO_EDOM): Likewise.
15058         (ERRNO_ERANGE): Likewise.
15059         (NO_TEST_INLINE_FLOAT): New macro.
15060         (NO_TEST_INLINE_DOUBLE): Likewise.
15061         (enable_test): New function.
15062         (RUN_TEST_f_f): Check enable_test before running test.
15063         (RUN_TEST_2_f): Likewise.
15064         (RUN_TEST_fff_f): Likewise.
15065         (RUN_TEST_c_f): Likewise.
15066         (RUN_TEST_f_f1): Likewise.
15067         (RUN_TEST_fF_f1): Likewise.
15068         (RUN_TEST_fI_f1): Likewise.
15069         (RUN_TEST_ffI_f1): Likewise.
15070         (RUN_TEST_c_c): Likewise.
15071         (RUN_TEST_cc_c): Likewise.
15072         (RUN_TEST_f_i): Likewise.
15073         (RUN_TEST_f_i_tg): Likewise.
15074         (RUN_TEST_ff_i_tg): Likewise.
15075         (RUN_TEST_f_b): Likewise.
15076         (RUN_TEST_f_b_tg): Likewise.
15077         (RUN_TEST_f_l): Likewise.
15078         (RUN_TEST_f_L): Likewise.
15079         (RUN_TEST_fFF_11): Likewise.
15080         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15081         conditionals.
15082         (cosh_test_data): Likewise.
15083         (exp_test_data): Likewise.
15084         (expm1_test_data): Likewise.
15085         (hypot_test_data): Likewise.
15086         (pow_test_data): Likewise.
15087         (sinh_test_data): Likewise.
15088         (tanh_test_data): Likewise.
15089         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15090         flags argument.
15091
15092         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15093         tests with quiet NaN input and output.
15094         (acosh_test_data): Likewise.
15095         (asin_test_data): Likewise.
15096         (asinh_test_data): Likewise.
15097         (atan_test_data): Likewise.
15098         (atanh_test_data): Likewise.
15099         (atan2_test_data): Likewise.
15100         (cbrt_test_data): Likewise.
15101         (cos_test_data): Likewise.
15102         (cosh_test_data): Likewise.
15103         (erf_test_data): Likewise.
15104         (erfc_test_data): Likewise.
15105         (exp_test_data): Likewise.
15106         (exp10_test_data): Likewise.
15107         (exp2_test_data): Likewise.
15108         (expm1_test_data): Likewise.
15109         (hypot_test_data): Likewise.
15110         (j0_test_data): Likewise.
15111         (j1_test_data): Likewise.
15112         (jn_test_data): Likewise.
15113         (lgamma_test_data): Likewise.
15114         (log_test_data): Likewise.
15115         (log10_test_data): Likewise.
15116         (log1p_test_data): Likewise.
15117         (log2_test_data): Likewise.
15118         (pow_test_data): Likewise.
15119         (scalb_test_data): Likewise.
15120         (sin_test_data): Likewise.
15121         (sincos_test_data): Likewise.
15122         (sinh_test_data): Likewise.
15123         (tan_test_data): Likewise.
15124         (tanh_test_data): Likewise.
15125         (tgamma_test_data): Likewise.
15126         (y0_test_data): Likewise.
15127         (y1_test_data): Likewise.
15128         (yn_test_data): Likewise.
15129
15130         [BZ #16167]
15131         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15132         argument being NaN and avoid computations with second argument in
15133         that case.
15134         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15135         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15136         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15137
15138 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15139
15140         * locale/iso-639.def: Add Chitwani Tharu (the).
15141
15142 2013-11-14  Andreas Schwab  <schwab@suse.de>
15143
15144         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15145         word instead of empty string.
15146
15147 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15148
15149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15150         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15152         (__fe_nomask_env): Likewise.
15153
15154 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15155
15156         * benchtests/bench-timing.h: Include time.h.
15157
15158 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15159
15160         [BZ #15997]
15161         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15162         to 3.4.0 for x32.
15163         * sysdeps/unix/sysv/linux/configure: Regenerated.
15164
15165 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15166
15167         [BZ #16151]
15168         * stdlib/strtod_l.c (round_and_return): Do not consider
15169         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15170         exponent one less than half the least subnormal exponent.
15171         * stdlib/test-strtod-round-data: Add more tests.
15172         * stdlib/tst-strtod-round.c (tests): Regenerated.
15173
15174 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15175
15176         [BZ #14143]
15177         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15178         (__fe_mask_env): Likewise.
15179         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15180         libm_hidden_proto and add function prototype.
15181         (__fe_mask_env): Add function prototype.
15182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15183         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15185         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15187         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15188
15189 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15190
15191         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15192         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15193
15194 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15195
15196         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15197         of htab_find_slot().
15198
15199 2013-11-11  David S. Miller  <davem@davemloft.net>
15200
15201         [BZ #16150]
15202         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15203         symbol in the non-vis3 case in static builds.
15204         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15205         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15206         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15207         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15208
15209 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15210
15211         [BZ #387]
15212         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15213         it is empty.
15214
15215 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15216
15217         * benchtests/Makefile: Add bench-strtod.
15218         * benchtests/bench-strtod.c: New file: strtod benchtest
15219
15220 2013-11-11  Andreas Schwab  <schwab@suse.de>
15221
15222         [BZ #16153]
15223         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15224         terminating NUL in key length.
15225
15226 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15227
15228         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15229         Add artificial ODP entry for vDSO symbol for PPC64.
15230         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15231         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15232
15233 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15234
15235         [BZ #15374]
15236         * nss/getent.c (services_keys): Recognize services starting with digit.
15237
15238 2013-11-06  David S. Miller  <davem@davemloft.net>
15239
15240         [BZ #15985]
15241         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15242         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15243
15244 2013-11-06  Will Newton  <will.newton@linaro.org>
15245
15246         * manual/memory.texi (Malloc Examples): Remove register
15247         keyword from examples.
15248
15249 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15250
15251         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15252
15253 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15254
15255         [BZ #6981]
15256         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15257         depending on [__GCC_IEC_559 > 0].
15258         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15259         depending on [__GCC_IEC_559_COMPLEX > 0].
15260
15261 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15262
15263         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15264         to iso-639.def.
15265
15266 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15267
15268         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15269
15270 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15271
15272         [BZ #16112]
15273         * malloc/malloc (malloc_info): Do not handle first bin as
15274         special case.
15275
15276 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15277
15278         * locale/iso-639.def: Add Central Nahuatl (nhn).
15279
15280 2013-11-01  Bruno Haible  <bruno@clisp.org>
15281
15282         [BZ #7003]
15283         * manual/math.texi (BSD Random): Specify range upper bound as
15284         in POSIX.
15285
15286 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15287
15288         * locale/iso-639.def: Add Meadow Mari (mhr).
15289
15290 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15291
15292         [BZ #14752], [BZ #15763]
15293         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15294         Validate name.
15295         * rt/tst_shm.c: Add test for escaping directory.
15296
15297 2013-10-31  Andreas Schwab  <schwab@suse.de>
15298
15299         [BZ #15917]
15300         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15301         followed by 'x' as part of digit sequence.
15302         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15303
15304 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15305
15306         [BZ #16037]
15307         * configure.ac: allow GNU Make 4.0 and greater.
15308         * configure: Regenerated.
15309
15310 2013-10-30  Will Newton  <will.newton@linaro.org>
15311
15312         [BZ #16038]
15313         * malloc/hooks.c (memalign_check): Limit alignment to the
15314         maximum representable power of two.
15315         * malloc/malloc.c (__libc_memalign): Likewise.
15316         * malloc/tst-memalign.c (do_test): Add test for very
15317         large alignment values.
15318         * malloc/tst-posix_memalign.c (do_test): Likewise.
15319
15320 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15321
15322         [BZ #11087]
15323         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15324         (munmap_chunk): Likewise.
15325         (mremap_chunk): Likewise.
15326
15327 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15328
15329         [BZ #15799]
15330         * stdlib/div.c (div): Remove obsolete code.
15331         * stdlib/ldiv.c (ldiv): Likewise.
15332         * stdlib/lldiv.c (lldiv): Likewise.
15333
15334 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15335
15336         [BZ #16071]
15337         * nss/nss_files/files-XXX.c (get_contents_ret): New
15338         enumerator.
15339         (get_contents): New function.
15340         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15341
15342 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15343
15344         * configure.in: Moved to ...
15345         * configure.ac: ... here. Change reference to configure.in
15346         to configure.ac.
15347         * sysdeps/arm/preconfigure.ac: ... here.
15348         configure.in to configure.ac.
15349         * sysdeps/gnu/configure.in: Moved to ...
15350         * sysdeps/gnu/configure.ac: ... here.
15351         * sysdeps/i386/configure.in: Moved to ...
15352         * sysdeps/i386/configure.ac: ... here.
15353         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15354         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15355         * sysdeps/mach/configure.in: Moved to ...
15356         * sysdeps/mach/configure.ac: ... here.
15357         * sysdeps/mach/hurd/configure.in: Moved to ...
15358         * sysdeps/mach/hurd/configure.ac: ... here.
15359         * sysdeps/powerpc/configure.in: Moved to ...
15360         * sysdeps/powerpc/configure.ac: ... here.
15361         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15362         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15363         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15364         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15365         * sysdeps/s390/s390-32/configure.in: Moved to ...
15366         * sysdeps/s390/s390-32/configure.ac: ... here.
15367         * sysdeps/s390/s390-64/configure.in: Moved to ...
15368         * sysdeps/s390/s390-64/configure.ac: ... here.
15369         * sysdeps/sh/configure.in: Moved to ...
15370         * sysdeps/sh/configure.ac: ... here.
15371         * sysdeps/sparc/configure.in: Moved to ...
15372         * sysdeps/sparc/configure.ac: ... here.
15373         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15374         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15375         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15376         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15377         * sysdeps/x86_64/configure.in: Moved to ...
15378         * sysdeps/x86_64/configure.ac: ... here.
15379         * sysdeps/x86_64/preconfigure.in: Moved to ...
15380         * sysdeps/x86_64/preconfigure.ac: ... here.
15381         * aclocal.m4: Change reference to configure.in to configure.ac.
15382         * config.h.in: Likewise.
15383         * manual/install.texi: Likewise.
15384         * manual/maint.texi: Likewise.
15385         * Makefile: Likewise.
15386         * malloc/Makefile: Likewise.
15387         * nscd/Makefile: Likewise.
15388         * Makeconfig: Change reference to configure.in and
15389         preconfigure.in to configure.ac and preconfigure.ac
15390         respectively.
15391         * INSTALL: Regenerated.
15392         * configure: Likewise.
15393         * sysdeps/gnu/configure: Likewise.
15394         * sysdeps/i386/configure: Likewise.
15395         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15396         * sysdeps/mach/configure: Likewise.
15397         * sysdeps/mach/hurd/configure: Likewise.
15398         * sysdeps/powerpc/configure: Likewise.
15399         * sysdeps/powerpc/powerpc32/configure: Likewise.
15400         * sysdeps/powerpc/powerpc64/configure: Likewise.
15401         * sysdeps/s390/s390-32/configure: Likewise.
15402         * sysdeps/s390/s390-64/configure: Likewise.
15403         * sysdeps/sh/configure: Likewise.
15404         * sysdeps/sparc/configure: Likewise.
15405         * sysdeps/unix/sysv/linux/configure: Likewise.
15406         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15407         * sysdeps/x86_64/configure: Likewise.
15408         * sysdeps/x86_64/preconfigure: Likewise.
15409
15410 2013-10-29  Andreas Schwab  <schwab@suse.de>
15411
15412         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15413
15414 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15415
15416         * benchtests/pow-inputs: Add new inputs.
15417
15418         * benchtests/exp-inputs: Add new inputs.
15419
15420         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15421         conditional check for return value.
15422         (__cos32): Likewise.
15423
15424 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15425
15426         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15427         to provide a boost for large inputs with word alignment.
15428         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15429         implementation based on optimized PPC64 strcpy.
15430         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15431         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15432         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15433         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15434
15435 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15436
15437         [BZ #2801]
15438         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15439
15440 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15441
15442         [BZ #14876]
15443         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15444         * time/tst-strptime.c (day_tests): Add testcase.
15445
15446 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15447
15448         [BZ #14029]
15449         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15450
15451 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15452
15453         [BZ #16074]
15454         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15455         MAP_FAILED on error.
15456
15457 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15458
15459         [BZ #16072]
15460         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15461         heap for large requests.
15462
15463 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15464
15465         [BZ #9954]
15466         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15467         result if the result has no associated interface.
15468         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15469         interface for all 127.X.Y.Z addresses.
15470
15471 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15472
15473         * locale/iso-639.def: Add Ligurian (lij)
15474
15475 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15476
15477         [BZ #15825]
15478         * sunrpc/rpc_main.c: Document rpcgen -5.
15479
15480 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15481
15482         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15483
15484 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15485
15486         [BZ #10278]
15487         * posix/glob.c: Match only directories when trailing slash is present.
15488         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15489         (main): Add testcase.
15490
15491 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15492
15493         [BZ #15670]
15494         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15495
15496 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15497
15498         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15499         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15500         AUTH_DES and cindex for FIPS 140-2.
15501         (DES Encryption): Add cindex FIPS 46-3.
15502
15503         * locale/locarchive.h (struct locarhandle): Add fname.
15504         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15505         if an optional argument was specified to --list-archive,
15506         otherwise NULL.
15507         * locale/programs/locarchive.c (show_archive_content): Take new
15508         argument fname and pass it via ah.fname to open_archive.
15509         * locale/programs/localedef.h: Update decl.
15510         (open_archive): If AH->fname is non-null, open that file
15511         rather than the default file name, and don't ignore ENOENT.
15512         (create_archive): Set AH.fname to NULL.
15513         (delete_locales_from_archive): Likewise.
15514         (add_locales_to_archive): Likewise.
15515         * locale/programs/locfile.c (write_all_categories): Likewise.
15516
15517 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15518             Aldy Hernandez  <aldyh@redhat.com>
15519
15520         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15521         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15522         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15523         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15524         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15526         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15527         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15528         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15529         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15530         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15531         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15532         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15533         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15534         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15535         Likewise.
15536         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15537         Likewise.
15538         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15539         Likewise.
15540         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15541         Likewise.
15542         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15543         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15544         Likewise.
15545         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15546         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15547         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15548         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15549         Likewise.
15550         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15551         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15552         * sysdeps/powerpc/preconfigure: Likewise.
15553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15554         Likewise.
15555         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15556         Replace contents of file by #include of <fenv_libc.h>.
15557         * sysdeps/powerpc/soft-fp/sfp-machine.h
15558         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15559         and <sys/prctl.h>.
15560         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15561         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15562         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15563         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15568         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15569         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15570         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15571         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15573         Allow copysignl PLT reference to be missing.
15574
15575 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15576             Joseph Myers  <joseph@codesourcery.com
15577
15578         [BZ #15948]
15579         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15580         single character.
15581         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15582
15583 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15584
15585         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15586         * elf/tst-tls1.c: Likewise.
15587         * elf/tst-tls10.h: Likewise.
15588         * elf/tst-tls14.c: Likewise.
15589         * elf/tst-tls2.c: Likewise.
15590         * elf/tst-tls3.c: Likewise.
15591         * elf/tst-tls4.c: Likewise.
15592         * elf/tst-tls5.c: Likewise.
15593         * elf/tst-tls6.c: Likewise.
15594         * elf/tst-tls7.c: Likewise.
15595         * elf/tst-tls8.c: Likewise.
15596         * elf/tst-tls9.c: Likewise.
15597         * elf/tst-tlsmod1.c: Likewise.
15598         * elf/tst-tlsmod13.c: Likewise.
15599         * elf/tst-tlsmod13a.c: Likewise.
15600         * elf/tst-tlsmod14a.c: Likewise.
15601         * elf/tst-tlsmod16a.c: Likewise.
15602         * elf/tst-tlsmod16b.c: Likewise.
15603         * elf/tst-tlsmod2.c: Likewise.
15604         * elf/tst-tlsmod3.c: Likewise.
15605         * elf/tst-tlsmod4.c: Likewise.
15606         * elf/tst-tlsmod5.c: Likewise.
15607         * elf/tst-tlsmod6.c: Likewise.
15608
15609 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15610
15611         [BZ #12486]
15612         * malloc/malloc.c: remove checks for statistics.
15613
15614 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15615
15616         [BZ #15277]
15617         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15618         * inet/tst-network.c: Add testcase.
15619
15620 2013-10-17  Andreas Schwab  <schwab@suse.de>
15621
15622         [BZ #15218]
15623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15624         to determine canonical name.
15625
15626 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15627
15628         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15629         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15630         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15631         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15632         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15633         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15634         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15635         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15636         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15637         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15638         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15639         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15640         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15641         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15642         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15643         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15644         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15645         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15646         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15647         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15648         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15650         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15651         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15652         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15653         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15654         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15655         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15656         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15657         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15658         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15659         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15660         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15661         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15662         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15663         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15664         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15665         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15666         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15667         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15668         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15669         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15670         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15671         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15672         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15673         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15674         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15675         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15676         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15677         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15678         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15679         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15680         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15681         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15682         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15683         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15685         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15686
15687 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15688
15689         [BZ #16041]
15690         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15691         make result into a quiet NaN.
15692
15693 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15694
15695         * soft-fp/adddf3.c: Fix horizontal whitespace.
15696         * soft-fp/addsf3.c: Likewise.
15697         * soft-fp/addtf3.c: Likewise.
15698         * soft-fp/divdf3.c: Likewise.
15699         * soft-fp/divsf3.c: Likewise.
15700         * soft-fp/divtf3.c: Likewise.
15701         * soft-fp/double.h: Likewise.
15702         * soft-fp/eqdf2.c: Likewise.
15703         * soft-fp/eqsf2.c: Likewise.
15704         * soft-fp/eqtf2.c: Likewise.
15705         * soft-fp/extenddftf2.c: Likewise.
15706         * soft-fp/extended.h: Likewise.
15707         * soft-fp/extendsfdf2.c: Likewise.
15708         * soft-fp/extendsftf2.c: Likewise.
15709         * soft-fp/extendxftf2.c: Likewise.
15710         * soft-fp/fixdfdi.c: Likewise.
15711         * soft-fp/fixdfsi.c: Likewise.
15712         * soft-fp/fixdfti.c: Likewise.
15713         * soft-fp/fixsfdi.c: Likewise.
15714         * soft-fp/fixsfsi.c: Likewise.
15715         * soft-fp/fixsfti.c: Likewise.
15716         * soft-fp/fixtfdi.c: Likewise.
15717         * soft-fp/fixtfsi.c: Likewise.
15718         * soft-fp/fixtfti.c: Likewise.
15719         * soft-fp/fixunsdfdi.c: Likewise.
15720         * soft-fp/fixunsdfsi.c: Likewise.
15721         * soft-fp/fixunsdfti.c: Likewise.
15722         * soft-fp/fixunssfdi.c: Likewise.
15723         * soft-fp/fixunssfsi.c: Likewise.
15724         * soft-fp/fixunssfti.c: Likewise.
15725         * soft-fp/fixunstfdi.c: Likewise.
15726         * soft-fp/fixunstfsi.c: Likewise.
15727         * soft-fp/fixunstfti.c: Likewise.
15728         * soft-fp/floatdidf.c: Likewise.
15729         * soft-fp/floatdisf.c: Likewise.
15730         * soft-fp/floatditf.c: Likewise.
15731         * soft-fp/floatsidf.c: Likewise.
15732         * soft-fp/floatsisf.c: Likewise.
15733         * soft-fp/floatsitf.c: Likewise.
15734         * soft-fp/floattidf.c: Likewise.
15735         * soft-fp/floattisf.c: Likewise.
15736         * soft-fp/floattitf.c: Likewise.
15737         * soft-fp/floatundidf.c: Likewise.
15738         * soft-fp/floatundisf.c: Likewise.
15739         * soft-fp/floatunditf.c: Likewise.
15740         * soft-fp/floatunsidf.c: Likewise.
15741         * soft-fp/floatunsisf.c: Likewise.
15742         * soft-fp/floatunsitf.c: Likewise.
15743         * soft-fp/floatuntidf.c: Likewise.
15744         * soft-fp/floatuntisf.c: Likewise.
15745         * soft-fp/floatuntitf.c: Likewise.
15746         * soft-fp/fmadf4.c: Likewise.
15747         * soft-fp/fmasf4.c: Likewise.
15748         * soft-fp/fmatf4.c: Likewise.
15749         * soft-fp/gedf2.c: Likewise.
15750         * soft-fp/gesf2.c: Likewise.
15751         * soft-fp/getf2.c: Likewise.
15752         * soft-fp/ledf2.c: Likewise.
15753         * soft-fp/lesf2.c: Likewise.
15754         * soft-fp/letf2.c: Likewise.
15755         * soft-fp/muldf3.c: Likewise.
15756         * soft-fp/mulsf3.c: Likewise.
15757         * soft-fp/multf3.c: Likewise.
15758         * soft-fp/negdf2.c: Likewise.
15759         * soft-fp/negsf2.c: Likewise.
15760         * soft-fp/negtf2.c: Likewise.
15761         * soft-fp/op-1.h: Likewise.
15762         * soft-fp/op-2.h: Likewise.
15763         * soft-fp/op-4.h: Likewise.
15764         * soft-fp/op-8.h: Likewise.
15765         * soft-fp/op-common.h: Likewise.
15766         * soft-fp/quad.h: Likewise.
15767         * soft-fp/single.h: Likewise.
15768         * soft-fp/soft-fp.h: Likewise.
15769         * soft-fp/sqrtdf2.c: Likewise.
15770         * soft-fp/sqrtsf2.c: Likewise.
15771         * soft-fp/sqrttf2.c: Likewise.
15772         * soft-fp/subdf3.c: Likewise.
15773         * soft-fp/subsf3.c: Likewise.
15774         * soft-fp/subtf3.c: Likewise.
15775         * soft-fp/truncdfsf2.c: Likewise.
15776         * soft-fp/trunctfdf2.c: Likewise.
15777         * soft-fp/trunctfsf2.c: Likewise.
15778         * soft-fp/trunctfxf2.c: Likewise.
15779         * soft-fp/unorddf2.c: Likewise.
15780         * soft-fp/unordsf2.c: Likewise.
15781         * soft-fp/unordtf2.c: Likewise.
15782
15783 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15784
15785         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15786         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15787
15788 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15789
15790         * elf/dl-libc.c: Clear initfini list after freeing.
15791
15792 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15793
15794         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15795         * soft-fp/addsf3.c: Likewise.
15796         * soft-fp/addtf3.c: Likewise.
15797         * soft-fp/divdf3.c: Likewise.
15798         * soft-fp/divsf3.c: Likewise.
15799         * soft-fp/divtf3.c: Likewise.
15800         * soft-fp/double.h: Likewise.
15801         * soft-fp/eqdf2.c: Likewise.
15802         * soft-fp/eqsf2.c: Likewise.
15803         * soft-fp/eqtf2.c: Likewise.
15804         * soft-fp/extenddftf2.c: Likewise.
15805         * soft-fp/extended.h: Likewise.
15806         * soft-fp/extendsfdf2.c: Likewise.
15807         * soft-fp/extendsftf2.c: Likewise.
15808         * soft-fp/extendxftf2.c: Likewise.
15809         * soft-fp/fixdfdi.c: Likewise.
15810         * soft-fp/fixdfsi.c: Likewise.
15811         * soft-fp/fixdfti.c: Likewise.
15812         * soft-fp/fixsfdi.c: Likewise.
15813         * soft-fp/fixsfsi.c: Likewise.
15814         * soft-fp/fixsfti.c: Likewise.
15815         * soft-fp/fixtfdi.c: Likewise.
15816         * soft-fp/fixtfsi.c: Likewise.
15817         * soft-fp/fixtfti.c: Likewise.
15818         * soft-fp/fixunsdfdi.c: Likewise.
15819         * soft-fp/fixunsdfsi.c: Likewise.
15820         * soft-fp/fixunsdfti.c: Likewise.
15821         * soft-fp/fixunssfdi.c: Likewise.
15822         * soft-fp/fixunssfsi.c: Likewise.
15823         * soft-fp/fixunssfti.c: Likewise.
15824         * soft-fp/fixunstfdi.c: Likewise.
15825         * soft-fp/fixunstfsi.c: Likewise.
15826         * soft-fp/fixunstfti.c: Likewise.
15827         * soft-fp/floatdidf.c: Likewise.
15828         * soft-fp/floatdisf.c: Likewise.
15829         * soft-fp/floatditf.c: Likewise.
15830         * soft-fp/floatsidf.c: Likewise.
15831         * soft-fp/floatsisf.c: Likewise.
15832         * soft-fp/floatsitf.c: Likewise.
15833         * soft-fp/floattidf.c: Likewise.
15834         * soft-fp/floattisf.c: Likewise.
15835         * soft-fp/floattitf.c: Likewise.
15836         * soft-fp/floatundidf.c: Likewise.
15837         * soft-fp/floatundisf.c: Likewise.
15838         * soft-fp/floatunsidf.c: Likewise.
15839         * soft-fp/floatunsisf.c: Likewise.
15840         * soft-fp/floatuntidf.c: Likewise.
15841         * soft-fp/floatuntisf.c: Likewise.
15842         * soft-fp/floatuntitf.c: Likewise.
15843         * soft-fp/fmadf4.c: Likewise.
15844         * soft-fp/fmasf4.c: Likewise.
15845         * soft-fp/fmatf4.c: Likewise.
15846         * soft-fp/gedf2.c: Likewise.
15847         * soft-fp/gesf2.c: Likewise.
15848         * soft-fp/getf2.c: Likewise.
15849         * soft-fp/ledf2.c: Likewise.
15850         * soft-fp/lesf2.c: Likewise.
15851         * soft-fp/letf2.c: Likewise.
15852         * soft-fp/muldf3.c: Likewise.
15853         * soft-fp/mulsf3.c: Likewise.
15854         * soft-fp/multf3.c: Likewise.
15855         * soft-fp/negdf2.c: Likewise.
15856         * soft-fp/negsf2.c: Likewise.
15857         * soft-fp/negtf2.c: Likewise.
15858         * soft-fp/op-1.h: Likewise.
15859         * soft-fp/op-2.h: Likewise.
15860         * soft-fp/op-4.h: Likewise.
15861         * soft-fp/op-8.h: Likewise.
15862         * soft-fp/op-common.h: Likewise.
15863         * soft-fp/quad.h: Likewise.
15864         * soft-fp/single.h: Likewise.
15865         * soft-fp/soft-fp.h: Likewise.
15866         * soft-fp/sqrtdf2.c: Likewise.
15867         * soft-fp/sqrtsf2.c: Likewise.
15868         * soft-fp/sqrttf2.c: Likewise.
15869         * soft-fp/subdf3.c: Likewise.
15870         * soft-fp/subsf3.c: Likewise.
15871         * soft-fp/subtf3.c: Likewise.
15872         * soft-fp/truncdfsf2.c: Likewise.
15873         * soft-fp/trunctfdf2.c: Likewise.
15874         * soft-fp/trunctfsf2.c: Likewise.
15875         * soft-fp/trunctfxf2.c: Likewise.
15876         * soft-fp/unorddf2.c: Likewise.
15877         * soft-fp/unordsf2.c: Likewise.
15878         * soft-fp/unordtf2.c: Likewise.
15879
15880 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15881
15882         [BZ #15672]
15883         * misc/error.c (error_tail): Fix possible buffer overflow.
15884
15885 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15886
15887         [BZ #13028]
15888         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15889         address.
15890
15891 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15892
15893         [BZ #832]
15894         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15895         testing pipefail option.
15896
15897 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15898
15899         * soft-fp/double.h: Indent preprocessor directives inside #if.
15900         * soft-fp/extended.h: Likewise.
15901         * soft-fp/op-2.h: Likewise.
15902         * soft-fp/op-4.h: Likewise.
15903         * soft-fp/op-common.h: Likewise.
15904         * soft-fp/quad.h: Likewise.
15905         * soft-fp/single.h: Likewise.
15906         * soft-fp/soft-fp.h: Likewise.
15907
15908 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15909
15910         * iconv/iconv_prog.c: Fix typos.
15911         * stdio-common/psiginfo-data.h: Likewise.
15912
15913 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15914
15915         [BZ #15764]
15916         * locale/setlocale.c: Fix typo.
15917
15918 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15919
15920         [BZ #16036]
15921         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15922         signaling NaN arguments.
15923         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15924         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15925
15926         [BZ #14910]
15927         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15928         unordered operands.
15929         * soft-fp/gesf2.c (__gesf2): Likewise.
15930         * soft-fp/getf2.c (__getf2): Likewise.
15931         * soft-fp/ledf2.c (__ledf2): Likewise.
15932         * soft-fp/lesf2.c (__lesf2): Likewise.
15933         * soft-fp/letf2.c (__letf2): Likewise.
15934
15935         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15936         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15937         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15938         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15939         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15940         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15941         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15942         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15943         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15944         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15945         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15946         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15947         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15948         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15949         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15950         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15951         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15952         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15953         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15954         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15955         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15956         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15957         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15958         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15959         * soft-fp/floattidf.c (__floattidf): Likewise.
15960         * soft-fp/floattisf.c (__floattisf): Likewise.
15961         * soft-fp/floattitf.c (__floattitf): Likewise.
15962         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15963         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15964         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15965         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15966         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15967         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15968         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15969         * soft-fp/gesf2.c (__gesf2): Likewise.
15970         * soft-fp/getf2.c (__getf2): Likewise.
15971         * soft-fp/ledf2.c (__ledf2): Likewise.
15972         * soft-fp/lesf2.c (__lesf2): Likewise.
15973         * soft-fp/letf2.c (__letf2): Likewise.
15974
15975         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15976         Undefine and redefine.
15977         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15978         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15979         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15980         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15981         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15982         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15983         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15984         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15985         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15986         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15987         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15988         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15989         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15990         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15991         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15992
15993         [BZ #16032]
15994         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15995         without decrementing exponent if mantissa >= that for the
15996         denominator, not >.
15997         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15998         denominator, not >.  Decrement exponent in < case instead of
15999         incrementing in >= case.
16000         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16001         without decrementing exponent if mantissa >= that for the
16002         denominator, not >.
16003
16004         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16005         computing saturated result for unsigned overflow.
16006
16007 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16008             Jeff Law  <law@redhat.com>
16009
16010         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16011         (atan2Mp): Add systemtap probe marker.
16012         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16013         (__ieee754_log): Add systemtap probe marker.
16014         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16015         (atanMp): Add systemtap probe marker.
16016         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16017         (tanMp): Add systemtap probe marker.
16018         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16019         (__slowexp): Add systemtap probe marker.
16020         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16021         (__slowpow): Add systemtap probe marker.
16022         * manual/probes.texi: Document probes.
16023
16024 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16025
16026         [BZ #15362]
16027         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16028         written.
16029         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16030         written.
16031         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16032         written to buffer but not flushed.
16033         * libio/iofwrite_u.c:  Likewise.
16034         * libio/iopadn.c:  Return bytes returned even if EOF was
16035         encountered.
16036         * libio/iowpadn.c:  Likewise.
16037         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16038         if _IO_padn does not write the whole buffer.
16039         [!COMPILE_WPRINTF] (PAD): Likewise.
16040
16041 2013-10-10  David S. Miller  <davem@davemloft.net>
16042
16043         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16044         directory block.
16045
16046 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16047
16048         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16049         instead of FSF address.
16050         * soft-fp/fixdfti.c: Likewise.
16051         * soft-fp/fixsfti.c: Likewise.
16052         * soft-fp/fixtfti.c: Likewise.
16053         * soft-fp/fixunsdfti.c: Likewise.
16054         * soft-fp/fixunssfti.c: Likewise.
16055         * soft-fp/fixunstfti.c: Likewise.
16056         * soft-fp/floattidf.c: Likewise.
16057         * soft-fp/floattisf.c: Likewise.
16058         * soft-fp/floattitf.c: Likewise.
16059         * soft-fp/floatuntidf.c: Likewise.
16060         * soft-fp/floatuntisf.c: Likewise.
16061         * soft-fp/floatuntitf.c: Likewise.
16062         * soft-fp/trunctfxf2.c: Likewise.
16063
16064         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16065         * soft-fp/fixdfti.c: Likewise.
16066         * soft-fp/fixsfti.c: Likewise.
16067         * soft-fp/fixtfti.c: Likewise.
16068         * soft-fp/fixunsdfti.c: Likewise.
16069         * soft-fp/fixunssfti.c: Likewise.
16070         * soft-fp/fixunstfti.c: Likewise.
16071         * soft-fp/floattidf.c: Likewise.
16072         * soft-fp/floattisf.c: Likewise.
16073         * soft-fp/floattitf.c: Likewise.
16074         * soft-fp/floatuntidf.c: Likewise.
16075         * soft-fp/floatuntisf.c: Likewise.
16076         * soft-fp/floatuntitf.c: Likewise.
16077         * soft-fp/trunctfxf2.c: Likewise.
16078
16079 2013-10-10  David S. Miller  <davem@davemloft.net>
16080
16081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16082
16083 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16084
16085         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16086         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16087         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16088         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16089         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16090         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16091         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16092
16093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16094         for NaNs before doing comparisons on argument.
16095         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16096         Likewise.
16097
16098 2013-10-10  Will Newton  <will.newton@linaro.org>
16099
16100         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16101         passed to _int_memalign does not overflow.
16102
16103 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16104
16105         * scripts/bench.pl: Add include-sources directive.
16106         * benchtests/README: Update documentation.
16107
16108 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16109
16110         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16111         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16112         instead of FP_INIT_ROUNDMODE.
16113         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16114         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16115
16116         [BZ #16034]
16117         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16118         copy class of input value.
16119         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16120         not handle exceptions.
16121         * soft-fp/negsf2.c (__negsf2): Likewise.
16122         * soft-fp/negtf2.c (__negtf2): Likewise.
16123         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16124
16125 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16126
16127         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16128         semicolon.  From Linux kernel.
16129
16130 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16131
16132         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16133
16134 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16135
16136         [BZ #156]
16137         * manual/socket.texi: Added statement about buffer
16138         for gethostbyname2_r.
16139
16140 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16141
16142         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16143         Use .p2align directive instead, throughout.
16144         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16145         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16146         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16147         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16148         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16149         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16150         * sysdeps/x86_64/strchr.S: Likewise.
16151         * sysdeps/x86_64/strrchr.S: Likewise.
16152
16153 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16154
16155         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16156
16157         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16158
16159         * sysdeps/generic/math_private.h (__mpsin1): Remove
16160         declaration.
16161         (__mpcos1): Likewise.
16162         (__mpsin): New argument __range_reduce.
16163         (__mpcos): Likewise.
16164         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16165         (slow): Use __mpsin and __mpcos.
16166         (slow1): Likewise.
16167         (slow2): Likewise.
16168         (sloww): Likewise.
16169         (sloww1): Likewise.
16170         (sloww2): Likewise.
16171         (bsloww): Likewise.
16172         (bsloww1): Likewise.
16173         (bsloww2): Likewise.
16174         (cslow2): Likewise.
16175         (csloww): Likewise.
16176         (csloww1): Likewise.
16177         (csloww2): Likewise.
16178         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16179         range_reduce.  Merge in __mpsin1.
16180         (__mpcos): Likewise.
16181         (__mpsin1): Remove.
16182         (__mpcos1): Likewise.
16183
16184 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16185
16186         * locale/loadlocale.c (_nl_intern_locale_data): Use
16187         LOCFILE_ALIGNED_P.
16188         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16189         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16190         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16191         obstack data is appropriately aligned.
16192         (obstack_int32_grow_fast): Likewise.
16193         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16194         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16195         (add_locale_uint32_array): Likewise.
16196
16197 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16198
16199         * benchtests/Makefile: Remove ARGLIST and RET variables.
16200         ($(objpfx)bench-%.c): Pass only function name to the script.
16201         * benchtests/README: Update documentation.
16202         * benchtests/acos-inputs: Add new directives.
16203         * benchtests/acosh-inputs: Likewise.
16204         * benchtests/asin-inputs: Likewise.
16205         * benchtests/asinh-inputs: Likewise.
16206         * benchtests/atan-inputs: Likewise.
16207         * benchtests/atanh-inputs: Likewise.
16208         * benchtests/cos-inputs: Likewise.
16209         * benchtests/cosh-inputs: Likewise.
16210         * benchtests/exp-inputs: Likewise.
16211         * benchtests/log-inputs: Likewise.
16212         * benchtests/pow-inputs: Likewise.
16213         * benchtests/rint-inputs: Likewise.
16214         * benchtests/sin-inputs: Likewise.
16215         * benchtests/sinh-inputs: Likewise.
16216         * benchtests/tan-inputs: Likewise.
16217         * benchtests/tanh-inputs: Likewise.
16218         * scripts/bench.pl: Add support for new directives.
16219
16220 2013-10-07  Alan Modra  <amodra@gmail.com>
16221
16222         * README: Fix careless merge.
16223
16224 2013-10-05  Alan Modra  <amodra@gmail.com>
16225
16226         * NEWS: Mention powerpc64le support and bugs fixed.
16227         * README: Both big-endian and little-endian powerpc64 supported.
16228
16229 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16230
16231         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16232         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16233         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16234         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16235
16236 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16237
16238         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16239         match prototype.
16240
16241 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16242
16243         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16244         Move -mhard-float appending from
16245         ports/sysdeps/powerpc/powerpc32/Makefile.
16246         [$(with-fp) = yes] (ASFLAGS): Likewise.
16247         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16248         * sysdeps/powerpc/nofpu: Move directory from
16249         ports/sysdeps/powerpc/nofpu.
16250         * sysdeps/powerpc/soft-fp: Move directory from
16251         ports/sysdeps/powerpc/soft-fp.
16252         * sysdeps/powerpc/powerpc32/405: Move directory from
16253         ports/sysdeps/powerpc/powerpc32/405.
16254         * sysdeps/powerpc/powerpc32/440: Move directory from
16255         ports/sysdeps/powerpc/powerpc32/440.
16256         * sysdeps/powerpc/powerpc32/464: Move directory from
16257         ports/sysdeps/powerpc/powerpc32/464.
16258         * sysdeps/powerpc/powerpc32/476: Move directory from
16259         ports/sysdeps/powerpc/powerpc32/476.
16260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16261         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16263         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16265         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16267         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16269         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16270         * README: Update for powerpc-*-linux-gnu software floating point
16271         support in libc.
16272
16273         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16274         case to powerpc/powerpc32*.
16275         * sysdeps/unix/sysv/linux/configure: Regenerated.
16276
16277         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16278         (_FPU_MASK_OM): Define as 0x04.
16279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16281         0x00c10080.
16282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16283         0x0000003c.
16284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16285
16286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16287         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16288         getcontext_e500.
16289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16290         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16291         setcontext_e500.
16292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16293         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16294         and setcontext_e500.
16295
16296 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16297
16298         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16299
16300 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16301
16302         * manual/threads.texi (Default Thread Attributes): Fix typo.
16303
16304 2013-10-04  Will Newton  <will.newton@linaro.org>
16305
16306         * malloc/Makefile: Add tst-memalign.
16307         * malloc/tst-memalign.c: New file.
16308
16309         * malloc/tst-posix_memalign.c: Add comments.
16310         (do_test): Add comments and call free on all potentially
16311         allocated pointers. Add space after cast.
16312
16313         * malloc/tst-pvalloc.c: Add comments.
16314         (do_test): Add comments and call free on all potentially
16315         allocated pointers. Remove duplicate check for NULL pointer.
16316         Add space after cast.
16317
16318         * malloc/tst-valloc.c: Add comments.
16319         (do_test): Add comments and call free on all potentially
16320         allocated pointers. Remove duplicate check for NULL pointer.
16321         Add space after cast.
16322
16323 2013-10-04  Alan Modra  <amodra@gmail.com>
16324
16325         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16326         Use stdint types in rather than __attribute__((mode())).
16327         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16328
16329 2013-10-04  Alan Modra  <amodra@gmail.com>
16330
16331         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16332         Correct handling of unaligned relocs for little-endian.
16333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16334
16335 2013-10-04  Alan Modra  <amodra@gmail.com>
16336
16337         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16338         * configure: Regenerate.
16339         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16340         * shlib-versions: Likewise.
16341
16342 2013-10-04  Alan Modra  <amodra@gmail.com>
16343
16344         * string/tester.c (test_memrchr): Increment reported test cycle.
16345
16346 2013-10-04  Alan Modra  <amodra@gmail.com>
16347
16348         * string/test-memcpy.c (do_one_test): When reporting errors, print
16349         string address and don't overrun end of string.
16350
16351 2013-10-04  Alan Modra  <amodra@gmail.com>
16352
16353         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16354         insrdi.  Make better use of reg selection to speed exit slightly.
16355         Schedule entry path a little better.  Remove useless "are we done"
16356         checks on entry to main loop.  Handle wrapping around zero address.
16357         Correct main loop count.  Handle single left-over word from main
16358         loop inline rather than by using loop_small.  Remove extra word
16359         case in loop_small caused by wrong loop count.  Add little-endian
16360         support.
16361         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16362         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16363         cache hint.
16364         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16365         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16366         support.  Avoid rlwimi.
16367         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16368
16369 2013-10-04  Alan Modra  <amodra@gmail.com>
16370
16371         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16372         insrdi.  Formatting.
16373         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16374         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16375         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16376         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16377         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16378         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16379
16380 2013-10-04  Alan Modra  <amodra@gmail.com>
16381
16382         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16383         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16384         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16385         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16386         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16387         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16388         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16389         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16390         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16391         use of regs.  Use power7 mtocrf.  Tidy function tails.
16392
16393 2013-10-04  Alan Modra  <amodra@gmail.com>
16394
16395         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16396         Formatting.  Consistently use rXXX register defines or rN defines.
16397         Use early exit labels that avoid restoring unused non-volatile regs.
16398         Make cr field use more consistent with rWORDn compares.  Rename
16399         regs used as shift registers for unaligned loop, using rN defines
16400         for short lifetime/multiple use regs.
16401         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16402         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16403         addi 1,1,64 to pop stack frame.  Simplify return value code.
16404         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16405
16406 2013-10-04  Alan Modra  <amodra@gmail.com>
16407
16408         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16409         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16410         rather than rlwimi.
16411         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16412         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16413         little-endian support.  Correct typos.
16414         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16415         rather than rlwimi.
16416         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16417         in loop and entry code to keep "and." results.
16418         (strchr): Add little-endian support.  Comment.  Move cntlzd
16419         earlier in tail.
16420         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16421
16422 2013-10-04  Alan Modra  <amodra@gmail.com>
16423
16424         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16425         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16426         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16427         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16428
16429 2013-10-04  Alan Modra  <amodra@gmail.com>
16430
16431         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16432         (rTMP): Define as r11.
16433         (strcmp): Add little-endian support.  Optimise tail.
16434         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16435         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16436         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16437         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16438         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16439         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16440         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16441
16442 2013-10-04  Alan Modra  <amodra@gmail.com>
16443
16444         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16445         little-endian support.  Remove unnecessary "are we done" tests.
16446         Handle "s" wrapping around zero and extremely large "size".
16447         Correct main loop count.  Handle single left-over word from main
16448         loop inline rather than by using small_loop.  Correct comments.
16449         Delete "zero" tail, use "end_max" instead.
16450         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16451
16452 2013-10-04  Alan Modra  <amodra@gmail.com>
16453
16454         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16455         support.  Don't branch over align.
16456         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16457         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16458         support.  Rearrange tmp reg use to suit.  Comment.
16459         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16460
16461 2013-10-04  Alan Modra  <amodra@gmail.com>
16462
16463         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16464
16465 2013-10-04  Alan Modra  <amodra@gmail.com>
16466
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16468         conditional form of branch and link when obtaining pc.
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16470
16471 2013-10-04  Alan Modra  <amodra@gmail.com>
16472
16473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16474         HIWORD/LOWORD.
16475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16477
16478 2013-10-04  Alan Modra  <amodra@gmail.com>
16479
16480         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16481         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16482         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16483         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16484         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16485         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16486         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16487         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16488         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16489         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16490
16491 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16492             Alistair Popple <alistair@ozlabs.au.ibm.com>
16493             Alan Modra <amodra@gmail.com>
16494
16495         [BZ #15723]
16496         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16497         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16498         _dl_hwcap access for little-endian.
16499         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16500         destroy vmx regs when saving unaligned.
16501         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16502         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16503         destroy vmx regs when saving unaligned.
16504
16505 2013-10-04  Alan Modra  <amodra@gmail.com>
16506
16507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16508         Don't use a union to pack hi/low value.
16509
16510 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16511
16512         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16513         for little-endian.
16514         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16515         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16516         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16517         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16518         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16519
16520 2013-10-04  Alan Modra  <amodra@gmail.com>
16521
16522         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16523         constants to usual value for .cst8 section, and remove redundant
16524         high address load.
16525         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16526         constant for 0x1p52.  Load little-endian words of double from
16527         correct stack offsets.
16528
16529 2013-10-04  Alan Modra  <amodra@gmail.com>
16530
16531         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16532         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16533         words of double from correct stack offsets.
16534         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16535         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16536         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16537         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16538         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16539         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16540         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16541         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16542         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16543         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16544         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16545         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16546         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16547         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16548         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16549         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16550         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16551
16552 2013-10-04  Alan Modra  <amodra@gmail.com>
16553
16554         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16555         64-bit int/double union.
16556         (_FPU_SETCW): Likewise.
16557         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16558         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16559
16560 2013-10-04  Alan Modra  <amodra@gmail.com>
16561
16562         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16563         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16564
16565 2013-10-04  Alan Modra  <amodra@gmail.com>
16566
16567         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16568         use vector int constants.
16569         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16570
16571 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16572
16573         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16574         array with long long.
16575         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16576         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16577         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16578         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16579         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16580         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16581         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16582         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16583         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16584         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16585         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16586         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16587         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16588
16589 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16590
16591         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16592         (__signbit): Likewise.  Correct for little-endian.
16593         (__signbitl): Call __signbit.
16594         (lrint): Correct for little-endian.
16595         (lrintf): Call lrint.
16596
16597 2013-10-04  Alan Modra  <amodra@gmail.com>
16598
16599         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16600         union 32-bit int array member with 64-bit int array.
16601         (t515, tm256): Double rather than long double.
16602         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16603
16604 2013-10-04  Alan Modra  <amodra@gmail.com>
16605
16606         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16607         Delete.
16608         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16609         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16610         version of math_ldbl.h.
16611
16612 2013-10-04  Alan Modra  <amodra@gmail.com>
16613
16614         [BZ #15734], [BZ #15735]
16615         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16616         all uses of ieee875 long double macros and unions.  Simplify test
16617         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16618         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16619         normalize after ldbl_extract_mantissa, and don't add hidden bit
16620         already handled.  Don't treat low word of ieee854 mantissa like
16621         low word of IBM long double and mask off bit when testing for
16622         zero.
16623         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16624         all uses of ieee875 long double macros and unions.  Simplify tests
16625         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16626         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16627         two1022, instead use their values.  Recognise that tests for large
16628         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16629         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16630         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16631         test for 0.0L and nan.  Correct negation.
16632         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16633         ieee875 long double macros and unions.  Correct output for large
16634         magnitude x.  Correct absolute value calculation.
16635         (__erfcl): Likewise.
16636         * math/libm-test.inc: Add tests for errors discovered in IBM long
16637         double versions of fmodl, remainderl, erfl and erfcl.
16638
16639 2013-10-04  Alan Modra  <amodra@gmail.com>
16640
16641         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16642         all uses of ieee854 long double macros and unions.  Simplify tests
16643         for long doubles that are fully specified by the high double.
16644         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16645         Likewise.
16646         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16647         Remove dead code too.
16648         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16649         (__ieee754_ynl): Likewise.
16650         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16652         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16653         Remove dead code too.
16654         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16655         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16656         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16657         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16658         Simplify.
16659         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16660         Simplify.
16661         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16662         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16663         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16664         Comment on variable precision.
16665         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16666         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16667         Likewise.
16668         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16669         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16670         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16671         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16672         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16673
16674 2013-10-04  Alan Modra  <amodra@gmail.com>
16675
16676         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16677         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16678         all uses of ieee854 long double macros and unions.
16679         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16680         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16681         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16682         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16683         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16684         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16685         Likewise.
16686         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16687         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16688         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16689         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16690         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16691         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16692         Simplify sign and nan test too.
16693         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16694         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16695         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16696         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16697         Likewise.
16698         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16699         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16700         Likewise.
16701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16702         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16703         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16704         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16705         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16706         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16707
16708 2013-10-04  Alan Modra  <amodra@gmail.com>
16709
16710         * stdio-common/printf_size.c (__printf_size): Don't use
16711         union ieee854_long_double in fpnum union.
16712         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16713         signbit macro to retrieve sign from long double.
16714         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16715         retrieve sign from long double.
16716         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16717         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16718         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16719         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16720         * math/test-misc.c (main): Don't use union ieee854_long_double.
16721
16722 2013-10-04  Alan Modra  <amodra@gmail.com>
16723
16724         [BZ #15680]
16725         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16726         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16727         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16728         calculation.  Remove unnecessary test for denormal exponent.
16729         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16730         Correct handling of denormals.  Avoid undefined shift behaviour.
16731         Correct normalisation of low mantissa when low double is denormal.
16732         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16733         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16734         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16735         Correct normalisation of low mantissa.  Test for overflow of high
16736         mantissa and normalise.
16737         (ldbl_nearbyint): Use more readable constant for two52.
16738         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16739         (__mpn_construct_long_double): Fix test for overflow of high
16740         mantissa and correct normalisation.  Avoid undefined shift.
16741
16742 2013-10-04  Alan Modra  <amodra@gmail.com>
16743
16744         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16745         (union ibm_extended_long_double): Define as an array of ieee754_double.
16746         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16747         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16748         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16749         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16751         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16752         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16753         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16754         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16755         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16756         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16757
16758 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16759
16760         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16761         page size instead of calling getpagesize.
16762
16763         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16764         (LOCFILE_ALIGN_MASK): Likewise.
16765         (LOCFILE_ALIGN_UP): Likewise.
16766         (LOCFILE_ALIGNED_P): Likewise.
16767         * locale/programs/ld-collate.c (collate_output): Use the new
16768         macros instead of __alignof__ (int32_t).
16769         * locale/weight.h (findidx): Likewise.
16770
16771 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16772
16773         [BZ #431]
16774         * manual/string.texi: Fix strncat and wcsncat.
16775
16776 2013-10-03  Brooks Moses  <bmoses@google.com>
16777
16778         [BZ #15915]
16779         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16780         * Makerules: ...here, and adjust associated comments.
16781
16782 2013-10-02  Will Newton  <will.newton@linaro.org>
16783
16784         * malloc/Makefile: Add tst-pvalloc.
16785         * malloc/tst-pvalloc.c: New file.
16786
16787 2013-10-02  Will Newton  <will.newton@linaro.org>
16788
16789         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16790         improve test coverage.
16791
16792 2013-10-02  Will Newton  <will.newton@linaro.org>
16793
16794         * malloc/Makefile: Add tst-posix_memalign.
16795         * malloc/tst-posix_memalign.c: New file.
16796
16797 2013-10-01  Eric Blake  <eblake@redhat.com>
16798
16799         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16800         Use __THROWNL rather than __THROW on static functions.
16801
16802 2013-09-30  Petr Machata  <pmachata@redhat.com>
16803
16804         * elf/elf.h (R_AARCH64_ABS16): New macro.
16805         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16806         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16807         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16808         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16809         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16810         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16811         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16812         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16813         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16814         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16815         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16816         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16817         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16818         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16819         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16820         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16821         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16822         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16823         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16824         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16825         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16826         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16827         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16828         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16829         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16830         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16831         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16832         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16833         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16834         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16835         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16836         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16837         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16838         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16839         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16840         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16841         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16842         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16843         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16844         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16845         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16846         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16847         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16848         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16849         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16850         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16851         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16852         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16853         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16854         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16855         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16856         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16857         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16858         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16859         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16860         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16861         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16862         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16863         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16864         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16865         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16866         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16867         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16868         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16869         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16870         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16871         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16872         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16873         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16874         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16875         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16876         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16877         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16878         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16879         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16880         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16881         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16882         (R_AARCH64_TLSDESC_LDR): Likewise.
16883         (R_AARCH64_TLSDESC_ADD): Likewise.
16884         (R_AARCH64_TLSDESC_CALL): Likewise.
16885
16886 2013-09-30  Andreas Schwab  <schwab@suse.de>
16887
16888         [BZ #15048]
16889         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16890         the nss database lookup.
16891         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16893
16894 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16895
16896         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16897
16898 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16899
16900         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16901         ${Bash-specific parameter/pattern/string} parameter expansion.
16902         * sysdeps/unix/make-syscalls.sh: Likewise.
16903
16904 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16905
16906         * sysdeps/sh/stackguard-macros.h: New file.
16907
16908 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16909
16910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16912         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16913         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16914         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16915         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16916
16917 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16918
16919         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16920         Fix thread ID register.
16921
16922 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16923
16924         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16925         [POSIX || UNIX98]: Require rather than permitting all symbols from
16926         <time.h>.
16927         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16928         element of struct sched_param.
16929         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16930         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16931         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16932         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16933         constant.
16934
16935 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16936
16937         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16938         argument calculation.
16939
16940 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16941
16942         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16943         Expect macro.
16944         [POSIX] (pthread_attr_t): Do not require type.
16945         [POSIX] (pthread_cond_t): Likewise.
16946         [POSIX] (pthread_condattr_t): Likewise.
16947         [POSIX] (pthread_key_t): Likewise.
16948         [POSIX] (pthread_mutex_t): Likewise.
16949         [POSIX] (pthread_mutexattr_t): Likewise.
16950         [POSIX] (pthread_once_t): Likewise.
16951         [POSIX] (pthread_t): Likewise.
16952         [POSIX-based standards] (pthread_atfork): Expect function.
16953
16954 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16955             Richard Sandiford  <richard@codesourcery.com>
16956
16957         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16958         (swap_endianness_p): New extern variable.
16959         (set_big_endian): New inline function.
16960         (maybe_swap_uint32): Likewise.
16961         (maybe_swap_uint32_array): Likewise.
16962         (maybe_swap_uint32_obstack): Likewise.
16963         * locale/programs/locfile.c: Include <stdbool.h>.
16964         (swap_endianness_p): New variable.
16965         (add_locale_uint32): Call maybe_swap_uint32.
16966         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16967         (write_locale_data): Call maybe_swap_uint32_array.
16968         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16969         maybe_swap_uint32.
16970         (obstack_int32_grow_fast): Likewise.
16971         (output_weightwc): Call maybe_swap_uint32_obstack.
16972         (collate_output): Likewise.
16973         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16974         (OPT_LITTLE_ENDIAN): Likewise.
16975         (options): Add --little-endian and --big-endian options.
16976         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16977         * locale/programs/locarchive.c: Include "locfile.h".
16978         (GET): New macro.
16979         (SET): Likewise.
16980         (INC): Likewise.
16981         (create_archive): Use the new macros to access fields of
16982         structures directly mapped from or written to locale archives.
16983         (oldlocrecentcmp): Likewise.
16984         (enlarge_archive): Likewise.
16985         (insert_name): Likewise.
16986         (add_alias): Likewise.
16987         (add_locale): Likewise.
16988         (delete_locales_from_archive): Likewise.
16989         (show_archive_content): Likewise.
16990         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16991         locale data.
16992
16993 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16994
16995         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16996         http://www.gnu.org/doc/freemanuals.texi.
16997         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16998
16999 2013-09-24  Will Newton  <will.newton@linaro.org>
17000
17001         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17002         macro.
17003
17004 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17005
17006         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17007         unsigned char.
17008
17009 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17010
17011         * manual/threads.texi (POSIX Threads): Fix a typo.
17012
17013 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17014
17015         [BZ #14547]
17016         * string/tst-strcoll-overflow.c: New test case.
17017         * string/Makefile (xtests): Add tst-strcoll-overflow.
17018         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17019         cache if string sizes may cause integer overflow.
17020
17021         [BZ #14547]
17022         * string/strcoll_l.c (coll_seq): New members rule, idx,
17023         save_idx and back_us.
17024         (get_next_seq_nocache): New function.
17025         (do_compare_nocache): New function.
17026         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17027         when malloc fails.
17028
17029 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17030
17031         [BZ #15754]
17032         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17033         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17034         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17035
17036         [BZ #15754]
17037         * elf/Makefile (tests): Add tst-ptrguard1.
17038         (tests-static): Add tst-ptrguard1-static.
17039         (tst-ptrguard1-ARGS): Define.
17040         (tst-ptrguard1-static-ARGS): Define.
17041         * elf/tst-ptrguard1.c: New file.
17042         * elf/tst-ptrguard1-static.c: New file.
17043         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17044         * sysdeps/i386/stackguard-macros.h: Likewise.
17045         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17046         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17047         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17048         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17049         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17050         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17051
17052 2013-09-23  Hector Marco  <hecmargi@upv.es>
17053             Ismael Ripoll  <iripoll@disca.upv.es>
17054             Carlos O'Donell  <carlos@redhat.com>
17055
17056         [BZ #15754]
17057         * sysdeps/generic/stackguard-macros.h: Define
17058         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17059         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17060         Define __pointer_chk_guard_local.
17061         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17062         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17063
17064 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17065
17066         [BZ #15859]
17067         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17068
17069 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17070
17071         * include/string.h (__ffs): Declare as hidden.
17072         * string/ffs.c (__ffs): Define as hidden.
17073         * sysdeps/i386/ffs.c (__ffs): Likewise.
17074         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17075         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17076         * sysdeps/s390/ffs.c (__ffs): Likewise.
17077         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17078
17079 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17080
17081         * NEWS: Mention malloc probes.
17082
17083         * malloc/arena.c (new_heap): New memory_heap_new probe.
17084         (grow_heap): New memory_heap_more probe.
17085         (shrink_heap): New memory_heap_less probe.
17086         (heap_trim): New memory_heap_free probe.
17087         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17088         (systrim): New memory_sbrk_less probe.
17089         * manual/probes.texi: Document them.
17090
17091         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17092         * manual/probes.texi: Document it.
17093
17094         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17095         (__libc_realloc): Add memory_realloc_retry probe.
17096         (__libc_memalign): Add memory_memalign_retry probe.
17097         (__libc_valloc): Add memory_valloc_retry probe.
17098         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17099         (__libc_calloc): Add memory_calloc_retry probe.
17100         * manual/probes.texi: Document them.
17101
17102         * malloc/arena.c (get_free_list): Add probe
17103         memory_arena_reuse_free_list.
17104         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17105         and memory_arena_reuse.
17106         (arena_get2) [!PER_THREAD]: Likewise.
17107         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17108         memory_arena_reuse_realloc.
17109         * manual/probes.texi: Document them.
17110
17111         * malloc/malloc.c (__libc_free): Add
17112         memory_mallopt_free_dyn_thresholds probe.
17113         (__libc_mallopt): Add multiple memory_mallopt probes.
17114         * manual/probes.texi: Document them.
17115
17116         * malloc/malloc.c: Include stap-probe.h.
17117         (__libc_mallopt): Add memory_mallopt probe.
17118         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17119         * manual/probes.texi: New.
17120         * manual/Makefile (chapters): Add probes.
17121         * manual/threads.texi: Set next node.
17122
17123 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17124
17125         [BZ #15963, #13985]
17126         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17127         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17128         Add `Chinese' to `nan' entry name.
17129
17130 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17131
17132         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17133         (POLYNOMIAL): Likewise.
17134         (TAYLOR_SINCOS): Likewise.
17135         (TAYLOR_SLOW): Likewise.
17136         (__sin): Use TAYLOR_SINCOS.
17137         (__cos): Likewise.
17138         (slow): Use TAYLOR_SLOW.
17139         (sloww): Likewise.
17140         (bsloww): Likewise.
17141         (csloww): Likewise.
17142
17143 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17144
17145         * stdlib/strtod_l.c: Fix buffer overrun.
17146
17147 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17148
17149         * benchtests/Makefile (bench): Add sincos.
17150         * benchtests/bench-sincos.c: New file.
17151
17152         * math/libm-test.inc (cos_test_data): New test inputs.
17153         (sin_test_data): Likewise.
17154
17155         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17156         macro.
17157         (__sin): Use it.
17158         (__cos): Likewise.
17159         (slow1): Likewise.
17160         (slow2): Likewise.
17161         (sloww1): Likewise.
17162         (sloww2): Likewise.
17163         (bsloww1): Likewise.
17164         (bsloww2): Likewise.
17165         (cslow2): Likewise.
17166         (csloww1): Likewise.
17167         (csloww2): Likewise.
17168
17169         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17170         function.
17171         (__sin): Use it.
17172         (__cos): Likewise.
17173
17174         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17175         gotos.
17176         (__cos): Likewise.
17177
17178 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17179
17180         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17181         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17182         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17183         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17184         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17185         * elf/cache.c (print_entry): Handle the new cache flags.
17186
17187 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17188             Aldy Hernandez  <aldyh@redhat.com>
17189
17190         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17191         Change condition to [_SOFT_FLOAT].
17192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17204         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17205         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17206         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17207         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17208         declaration.
17209
17210 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17211
17212         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17213         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17214         (__longjmp): Use LOAD_GP to load saved GPRs.
17215         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17216         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17217         (__sigsetjmp): Use SAVE_GP to save GPRs.
17218
17219         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17220         Do not append -msoft-float.
17221         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17222
17223 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17224
17225         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17226
17227 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17228
17229         [BZ #15966]
17230         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17231         (_FPU_GETCW): Use initial "__" on variable and field names but not
17232         on macro parameter name.
17233         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17234         parentheses around reference to macro parameter.
17235
17236 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17237
17238         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17239         prototype.
17240         (ctype_startup): Use uint32_t in cast and sizeof for
17241         ctype->charnames.
17242
17243 2013-09-11  Jia Liu  <proljc@gmail.com>
17244
17245         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17246         __daddr_t_defined.
17247         [__FreeBSD__]: Likewise.
17248
17249 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17250
17251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17252         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17253         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17254         (strchr): Remove __strchr_sse42 ifunc selection.
17255         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17256         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17257
17258 2013-09-11  Will Newton  <will.newton@linaro.org>
17259
17260         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17261         parameter to RES. Remove hardcoded 1000 value.
17262         * benchtests/bench-skeleton.c (main): Pass RES parameter
17263         to TIMING_INIT and multiply result by 1000.
17264
17265 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17266
17267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17268
17269 2013-09-11  Andreas Schwab  <schwab@suse.de>
17270
17271         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17272         if not defined.
17273         (O_TMPFILE) [__USE_GNU]: Define.
17274         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17275         Define.
17276
17277 2013-09-11  Will Newton  <will.newton@linaro.org>
17278
17279         [BZ #15857]
17280         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17281         does not overflow.
17282
17283 2013-09-11  Will Newton  <will.newton@linaro.org>
17284
17285         [BZ #15856]
17286         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17287         does not overflow.
17288
17289 2013-09-11  Will Newton  <will.newton@linaro.org>
17290
17291         [BZ #15855]
17292         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17293         does not overflow.
17294
17295 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17296
17297         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17298         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17299         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17300         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17301         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17302
17303 2013-09-10  Allan McRae  <allan@archlinux.org>
17304
17305         [BZ #15748]
17306         * manual/arith.texi (Parsing of Floats): Clarify
17307         cross-reference.
17308
17309         [BZ #15849]
17310         * manual/install.texi (Running make install): Mention
17311         --enable-pt-chown.
17312         * INSTALL: Regenerated.
17313
17314 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17315
17316         * csu/init-first.c (_init): Remove the !SHARED condition around
17317         FPU control word initialization.
17318         * elf/dl-support.c (_dl_fpu_control): New variable.
17319         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17320         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17321         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17322         * math/test-fpucw-static.c: New file.
17323         * math/test-fpucw-ieee.c: New file.
17324         * math/test-fpucw-ieee-static.c: New file.
17325         * math/Makefile (tests): Add `test-fpucw-ieee' and
17326         `$(tests-static)'.
17327         (tests-static): New variable.
17328         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17329         dependency to...
17330         [($(build-shared),yes)]
17331         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17332         ... this.
17333         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17334         New dependency.
17335
17336 2013-09-09  Allan McRae  <allan@archlinux.org>
17337
17338         [BZ #15939]
17339         * manual/string.texi (Collation Functions): Fix typo in
17340         strcoll example.
17341         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17342
17343         [BZ #15893]
17344         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17345
17346         [BZ #15892]
17347         * libio/memstream.c (open_memstream): Fix memory leak.
17348         * libio/wmemstream.c (open_wmemstream): Likewise.
17349
17350         [BZ #15895]
17351         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17352
17353 2013-09-09  Will Newton  <will.newton@linaro.org>
17354
17355         * malloc/Makefile: Add tst-realloc to tests.
17356         * malloc/tst-realloc.c: New file.
17357
17358 2013-09-09  Allan McRae  <allan@archlinux.org>
17359
17360         [BZ #15844]
17361         * COPYING: Update from GNU website to fix FSF address.
17362         * COPYING.LIB: Likewise.
17363
17364 2013-09-06  David S. Miller  <davem@davemloft.net>
17365
17366         * po/zh_TW.po: Update Chinese (traditional) translation from
17367         translation project.
17368
17369 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17370             Joseph Myers  <joseph@codesourcery.com>
17371
17372         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17373         "localeinfo.h".
17374         (obstack_chunk_alloc): New macro.
17375         (obstack_chunk_free): Likewise.
17376         (record_offset): New function.
17377         (init_locale_data): Likewise.
17378         (align_locale_data): Likewise.
17379         (add_locale_empty): Likewise.
17380         (add_locale_raw_data): Likewise.
17381         (add_locale_raw_obstack): Likewise.
17382         (add_locale_string): Likewise.
17383         (add_locale_wstring): Likewise.
17384         (add_locale_uint32): Likewise.
17385         (add_locale_uint32_array): Likewise.
17386         (add_locale_char): Likewise.
17387         (start_locale_structure): Likewise.
17388         (end_locale_structure): Likewise.
17389         (start_locale_prelude): Likewise.
17390         (end_locale_prelude): Likewise.
17391         (write_locale_data): Take locale_file structure rather than an
17392         iovec.
17393         * locale/programs/locfile.h: Include "obstack.h".
17394         (struct locale_file): Change to store locale file contents instead
17395         of header.
17396         (init_locale_data): New prototype.
17397         (align_locale_data): Likewise.
17398         (add_locale_empty): Likewise.
17399         (add_locale_raw_data): Likewise.
17400         (add_locale_raw_obstack): Likewise.
17401         (add_locale_string): Likewise.
17402         (add_locale_wstring): Likewise.
17403         (add_locale_uint32): Likewise.
17404         (add_locale_uint32_array): Likewise.
17405         (add_locale_char): Likewise.
17406         (start_locale_structure): Likewise.
17407         (end_locale_structure): Likewise.
17408         (start_locale_prelude): Likewise.
17409         (end_locale_prelude): Likewise.
17410         (write_locale_data): Update prototype.
17411         * locale/programs/3level.h (struct TABLE): Remove result field.
17412         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17413         Use new locale_file interface.
17414         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17415         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17416         * locale/programs/ld-address.c (address_output): Use new
17417         locale_file interface.
17418         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17419         NO_ADD_LOCALE.
17420         (collate_finish): Don't call collseq_table_finalize.
17421         (collate_output): Use new locale_file interface.
17422         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17423         in file.
17424         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17425         (TABLE): Move defines earlier in file.
17426         (ELEMENT): Likewise.
17427         (DEFAULT): Likewise.
17428         (wctrans_table_add): Move macro and inline function earlier in
17429         file.
17430         (struct wctype_table): Move type earlier in file.
17431         (add_locale_wctype_table): New static prototype.
17432         (struct locale_ctype_t): Use logical types instead of struct iovec
17433         pointers for members.
17434         (ctype_output): Use new locale_file interface.
17435         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17436         new locale_file interface.
17437         (allocate_arrays): Update for use of new locale_file interface.
17438         * locale/programs/ld-identification.c (identification_output): Use
17439         new locale_file interface.
17440         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17441         * locale/programs/ld-messages.c (messages_output): Likewise.
17442         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17443         * locale/programs/ld-name.c (name_output): Likewise.
17444         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17445         * locale/programs/ld-paper.c (paper_output): Likewise.
17446         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17447         * locale/programs/ld-time.c (time_output): Likewise.
17448
17449 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17450
17451         * benchtests/Makefile: Add memrchr benchmark.
17452         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17453         benchmark as memrchr.
17454         * benchtests/bench-memrchr-ifunc.c: New file.
17455         * benchtests/bench-memrchr.c: New file.
17456
17457 2013-09-06   Will Newton  <will.newton@linaro.org>
17458
17459         * benchtests/Makefile (string-bench): Add memcpy.
17460
17461 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17462             Cong Wang  <amwang@redhat.com>
17463
17464         [BZ #15850]
17465         * sysdeps/unix/sysv/linux/bits/in.h
17466         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17467         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17468         before __USE_KERNEL_IPV6_DEFS uses.
17469         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17470         IPPROTO_BEETPH.
17471         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17472         sockaddr_in6, or ipv6_mreq.
17473
17474 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17475
17476         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17477         memory access for final bytes in some large inputs.
17478         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17479
17480 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17481
17482         * string/test-memrchr.c: New file.
17483         * string/test-memrchr-ifunc.c: New file.
17484         * string/Makefile: Add new memrchr testcase.
17485
17486 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17487
17488         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17489         fanotify_init returns EPERM.
17490
17491 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17492
17493         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17494         errors.
17495         (top level): Treat second token from macro or constant entries for
17496         allowed headers as allowed.
17497         * include/complex.h: Condition internal declarations on
17498         [!_ISOMAC].
17499         * include/fenv.h: Condition include of <stdbool.h> and internal
17500         declarations on [!_ISOMAC].
17501
17502 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17503
17504         [BZ #15923]
17505         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17506
17507 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17508
17509         * configure.in (--enable-versioning): Remove configure option.
17510         (libc_cv_asm_symver_directive): Remove configure test.
17511         (libc_cv_ld_version_script_option): Likewise.
17512         (VERSIONING): Remove variable and AC_SUBST.
17513         (DO_VERSIONING): Remove AC_DEFINE.
17514         * configure: Regenerated.
17515         * config.h.in (DO_VERSIONING): Remove macro.
17516         * Makerules [$(versioning) = yes]: Change conditionals to
17517         [$(build-shared) = yes].
17518         * config.make.in (versioning): Remove variable.
17519         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17520         [$(build-shared) = yes].
17521         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17522         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17523         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17524         [$(build-shared) = yes].
17525         * extra-lib.mk [$(versioning) = yes]: Likewise.
17526         * hurd/Makefile [$(versioning) = yes]: Likewise.
17527         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17528         [SHARED].
17529         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17530         [SHARED].
17531         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17532         [SHARED && !NO_HIDDEN].
17533         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17534         [SHARED].
17535         [SHARED && DO_VERSIONING]: Likewise..
17536         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17537         [$(build-shared) = yes].
17538         * manual/install.texi (--disable-versioning): Remove
17539         documentation.
17540         * INSTALL: Regenerated.
17541         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17542         to [SHARED].
17543         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17544         [$(build-shared) = yes].
17545         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17546         * sysdeps/i386/i686/multiarch/strstr-c.c
17547         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17548         [SHARED && !NO_HIDDEN].
17549         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17550         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17551         * sysdeps/powerpc/powerpc32/dl-machine.c
17552         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17553         * sysdeps/powerpc/powerpc32/sysdep.h
17554         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17555         to [SHARED && PIC && !NO_HIDDEN].
17556         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17557         conditional to [SHARED].
17558
17559 2013-09-04   Will Newton  <will.newton@linaro.org>
17560
17561         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17562         * benchtests/bench-string.h: Include bench-timing.h instead
17563         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17564         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17565         call to HP_TIMING_DIFF_INIT.
17566         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17567         instead of hp-timing.h macros.
17568         * benchtests/bench-memchr.c: Likewise.
17569         * benchtests/bench-memcmp.c: Likewise.
17570         * benchtests/bench-memcpy.c: Likewise.
17571         * benchtests/bench-memmem.c: Likewise.
17572         * benchtests/bench-memmove.c: Likewise.
17573         * benchtests/bench-memset.c: Likewise.
17574         * benchtests/bench-rawmemchr.c: Likewise.
17575         * benchtests/bench-strcasecmp.c: Likewise.
17576         * benchtests/bench-strcasestr.c: Likewise.
17577         * benchtests/bench-strcat.c: Likewise.
17578         * benchtests/bench-strchr.c: Likewise.
17579         * benchtests/bench-strcmp.c: Likewise.
17580         * benchtests/bench-strcpy.c: Likewise.
17581         * benchtests/bench-strcpy_chk.c: Likewise.
17582         * benchtests/bench-strlen.c: Likewise.
17583         * benchtests/bench-strncasecmp.c: Likewise.
17584         * benchtests/bench-strncat.c: Likewise.
17585         * benchtests/bench-strncmp.c: Likewise.
17586         * benchtests/bench-strncpy.c: Likewise.
17587         * benchtests/bench-strnlen.c: Likewise.
17588         * benchtests/bench-strpbrk.c: Likewise.
17589         * benchtests/bench-strrchr.c: Likewise.
17590         * benchtests/bench-strspn.c: Likewise.
17591         * benchtests/bench-strstr.c: Likewise.
17592
17593 2013-09-04  Will Newton  <will.newton@linaro.org>
17594
17595         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17596
17597 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17598
17599         [BZ #15427]
17600         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17601         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17602         * math/libm-test.inc (lgamma_test_data): Add more tests.
17603         * sysdeps/i386/fpu/libm-test-ulps: Update.
17604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17605
17606 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17607
17608         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17609         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17610         Add ifunc.
17611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17612         Add strcmp-sse2-unaligned
17613         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17614
17615 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17616
17617         * Versions.def (libc): Add GLIBC_2.19.
17618
17619 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17620
17621         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17622         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17623
17624 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17625
17626         [BZ #14155]
17627         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17628         intermediate calculations in recurrence.
17629         (__ieee754_ynf): Likewise.
17630         * math/libm-test.inc (jn_test_data): Do not allow spurious
17631         underflow exception.  Add more tests.
17632         (yn_test_data): Add more tests.
17633         * sysdeps/i386/fpu/libm-test-ulps: Update.
17634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17635
17636 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17637
17638         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17639
17640 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17641
17642         * csu/init-first.c: Fix then/than typos.
17643         * locale/programs/ld-collate.c: Likewise.
17644         * locale/programs/linereader.h: Likewise.
17645         * manual/charset.texi: Likewise.
17646         * manual/filesys.texi: Likewise.
17647         * manual/stdio.texi: Likewise.
17648         * manual/string.texi: Likewise.
17649         * stdlib/fmtmsg.c: Likewise.
17650         * sysdeps/i386/stpncpy.S: Likewise.
17651         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17652         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17653         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17654         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17655
17656 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17657
17658         * elf/dl-open.c: Fix typos.
17659         * iconvdata/gbbig5.c: Likewise.
17660         * iconvdata/iso-2022-jp.c: Likewise.
17661         * iconv/gconv_int.h: Likewise.
17662         * iconv/loop.c: Likewise.
17663         * nis/rpcsvc/nis.h: Likewise.
17664         * resolv/ns_name.c: Likewise.
17665         * stdio-common/vfscanf.c: Likewise.
17666         * streams/stropts.h: Likewise.
17667         * sunrpc/rpc_thread.c: Likewise.
17668         * sysdeps/i386/strpbrk.S: Likewise.
17669         * sysdeps/ieee754/k_standard.c: Likewise.
17670         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17671         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17672         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17673         * sysdeps/mach/hurd/profil.c: Likewise.
17674         * sysdeps/s390/dl-procinfo.h: Likewise.
17675         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17676         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17677         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17678         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17679         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17680
17681 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17682
17683         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17685
17686 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17687
17688         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17689         aix specific files.
17690         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17691         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17692         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17693         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17694         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17695         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17696         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17697         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17698
17699 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17700             Roland McGrath  <roland@hack.frob.com>
17701
17702         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17703         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17704
17705 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17706
17707         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17708         __executable_start symbol instead of _start.
17709
17710 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17711
17712         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17713         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17714         Move macros to...
17715         * sysdeps/gnu/ldsodefs.h: ... this new file.
17716
17717         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17718         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17719         instead of ELFOSABI_LINUX.
17720
17721         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17722         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17723         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17724         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17725         Likewise.
17726         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17727         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17728         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17729         Likewise.
17730         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17731         (ibm_extended_long_double): Add ieee_nan member.
17732         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17733         (do_test): New function.
17734
17735         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17736         TEST_TRUNC.
17737         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17738         functions, renamed from truncdfsf_test, trunctfsf_test,
17739         trunctfdf_test.
17740         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17741         functions.
17742         (do_test): Run all these.
17743
17744 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17745
17746         * argp/argp-help.c: Fix typos.
17747         * argp/argp-parse.c: Likewise.
17748         * debug/backtracesyms.c: Likewise.
17749         * elf/elf.h: Likewise.
17750         * malloc/malloc.c: Likewise.
17751         * nis/nis_print.c: Likewise.
17752         * resolv/res_comp.c: Likewise.
17753         * stdlib/stdlib.h: Likewise.
17754         * sunrpc/clnt_tcp.c: Likewise.
17755         * sunrpc/clnt_udp.c: Likewise.
17756         * sunrpc/clnt_unix.c: Likewise.
17757         * sysdeps/unix/bsd/ptsname.c: Likewise.
17758         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17759         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17761         Likewise.
17762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17763         Likewise.
17764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17765         Likewise.
17766         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17767
17768 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17769
17770         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17772
17773 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17774
17775         [BZ #15897]
17776         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17777         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17778         ($(objpfx)bug-dl-leaf): New rule.
17779         ($(objpfx)bug-dl-leaf.so): Likewise.
17780         ($(objpfx)bug-dl-leaf.out): Likewise.
17781         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17782         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17783         * dlfcn/bug-dl-leaf.c: New test.
17784         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17785         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17786         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17787         (dlclose): Likewise.
17788         (dlmopen): Likewise.
17789
17790 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17791
17792         * include/netdb.h [!_ISOMAC]:
17793         Don't include <tls.h>.
17794         (h_errno, __libc_h_errno): Move declaration and macros out of
17795         [_LIBC_REENTRANT].
17796
17797         * include/resolv.h [_RESOLV_H_]:
17798         Don't include <tls.h>.
17799         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17800         * resolv/res_libc.c: Don't include <tls.h>.
17801         (_res): Use __attribute__ ((nocommon)) in place of
17802         __attribute__ ((section (".bss"))).
17803
17804         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17805         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17806
17807         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17808
17809         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17810         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17811
17812         * resolv/res_mkquery.c: Include <sys/time.h>.
17813
17814         * inet/ifreq.c: Moved to ...
17815         * sysdeps/unix/ifreq.c: ... here.
17816         * inet/ifreq.c: New file, true stub version.
17817
17818         * socket/sa_len.c: New file.
17819         * socket/Makefile (aux): Add it.
17820         * sysdeps/unix/sysv/linux/Makefile
17821         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17822         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17823         and #include <socket/sa_len.c>.
17824         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17825         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17826
17827         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17828         * bits/socket.h: ... here.
17829
17830         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17831         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17832         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17833
17834 2013-08-27  Andreas Schwab  <schwab@suse.de>
17835
17836         [BZ #15736]
17837         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17838         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17839         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17840         * string/test-strcasecmp.c (test_main): Run tests in several
17841         locales.
17842         * string/test-strncasecmp.c (test_main): Likewise.
17843
17844         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17845         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17846         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17847         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17848         (__strncasecmp_ssse3) [PIC]: Likewise.
17849
17850 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17851
17852         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17853
17854         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17855         instead of explicitly declaring xdecrypt.
17856         * nis/nss_nis/nis-publickey.c: Likewise.
17857
17858 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17859
17860         [BZ #15890]
17861         * nscd/aicache.c: Include res_hconf.h.
17862         (addhstaiX): Initialize res_hconf.
17863
17864 2013-08-26  Andreas Schwab  <schwab@suse.de>
17865
17866         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17867         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17868
17869 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17870
17871         * nscd/aicache.c (addhstaiX): Fix indentation.
17872
17873 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17874
17875         * configure.ac: Quote $build_pt_chown test.
17876         * configure: Regenerated.
17877
17878 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17879
17880         [BZ #15532]
17881         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17882         * math/s_cexpf.c (__cexpf): Likewise.
17883         * math/s_cexpl.c (__cexpl): Likewise.
17884         * math/libm-test.inc (cexp_test_data): Correct expected return
17885         value for NaN + i0.  Add another test.
17886
17887 2013-08-22  David S. Miller  <davem@davemloft.net>
17888
17889         * po/ca.po: Update Catalan translation from translation project.
17890         * po/uk.po: Add Ukrainian translations from translation project.
17891
17892 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17893
17894         [BZ #15797]
17895         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17896         is infinite, not alongside NaN test.
17897         * math/s_fdimf.c (__fdimf): Likewise.
17898         * math/s_fdiml.c (__fdiml): Likewise.
17899         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17900         errno is unchanged.
17901
17902 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17903
17904         * argp/argp-help.c: Fix typos.
17905         * crypt/speeds.c: Likewise.
17906         * csu/check_fds.c: Likewise.
17907         * elf/dl-load.c: Likewise.
17908         * elf/dl-open.c: Likewise.
17909         * elf/reldep3.c: Likewise.
17910         * elf/reldep.c: Likewise.
17911         * elf/sprof.c: Likewise.
17912         * iconv/iconv_charmap.c: Likewise.
17913         * iconv/skeleton.c: Likewise.
17914         * iconv/strtab.c: Likewise.
17915         * io/lockf64.c: Likewise.
17916         * libio/libioP.h: Likewise.
17917         * resolv/gai_notify.c: Likewise.
17918         * resolv/ns_name.c: Likewise.
17919         * resolv/ns_samedomain.c: Likewise.
17920         * resolv/res_send.c: Likewise.
17921         * stdlib/random.c: Likewise.
17922         * sunrpc/rpc/xdr.h: Likewise.
17923         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17924         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17925         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17926         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17928         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17929         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17930         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17931         * sysdeps/mach/hurd/check_fds.c: Likewise.
17932         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17933         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17934         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17935         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17936         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17937         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17938         * sysdeps/pthread/aio_notify.c: Likewise.
17939         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17940         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17941         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17942         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17943         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17944
17945 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17946
17947         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17948         version if bit_Slow_SSE4_2 is set.
17949         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17950         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17951
17952 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17953
17954         [BZ #15867]
17955         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17956         trampoline stack frame information.
17957         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17958         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17959         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17960         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17961         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17962         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17963         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17964         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17965         sa_flags value.
17966         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17967         interrupting a syscall and set with option SA_SIGINFO.
17968
17969 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17970
17971         [BZ #15531]
17972         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17973         argument is infinite.
17974         * math/s_cprojf.c (__cprojf): Likewise.
17975         * math/s_cprojl.c (__cprojl): Likewise.
17976         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17977         * math/libm-test.inc (cproj_test_data): Add more tests.
17978
17979         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17980
17981         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17982         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17983         size.  Use __ffs to determine corresponding shift.
17984
17985 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17986             Roland McGrath  <roland@hack.frob.com>
17987
17988         * Makefile (INSTALL): Remove trailing blank lines from output of
17989         makeinfo.
17990
17991 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17992
17993         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17994         Align 32 bit compat elf_greg to 8 bytes.
17995
17996 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17997
17998         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17999
18000 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18001
18002         * string/strcoll_l.c (coll_seq): New structure.
18003         (get_next_seq_cached): New function.
18004         (get_next_seq): New function.
18005         (do_compare): New function.
18006         (STRCOLL): Use GNU style definition.  Simplify implementation
18007         by using get_next_seq, get_next_seq_cached and do_compare.
18008
18009 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18010
18011         [BZ #14699]
18012         CVE-2013-4237
18013         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18014         member.
18015         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18016         member.
18017         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18018         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18019         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18020         conditional.
18021         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18022         GETDENTS_64BIT_ALIGNED.
18023         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18024         * manual/filesys.texi (Reading/Closing Directory): Document
18025         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18026         strongly.
18027         * manual/conf.texi (Limits for Files): Add portability note to
18028         NAME_MAX, PATH_MAX.
18029         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18030
18031 2013-08-13  Andreas Schwab  <schwab@suse.de>
18032
18033         [BZ #15749]
18034         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18035         of fabs.
18036         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18037         LDBL_MAX_EXP >= 16384]: Add tests for it.
18038
18039 2013-08-12  David S. Miller  <davem@davemloft.net>
18040
18041         * version.h (RELEASE): Set to "development".
18042         (VERSION): Set to "2.18.90".
18043         * NEWS: Add 2.19 section.
18044
18045 2013-08-03  David S. Miller  <davem@davemloft.net>
18046
18047         * po/ko.po: Update Korean translation from translation project.
18048
18049 2013-08-01  David S. Miller  <davem@davemloft.net>
18050
18051         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18052         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18053         Bilka.
18054
18055 2013-07-30  David S. Miller  <davem@davemloft.net>
18056
18057         * po/fr.po: Update French translation from translation project.
18058
18059 2013-07-28  David S. Miller  <davem@davemloft.net>
18060
18061         * po/cs.po: Update Czech translation from translation project.
18062
18063         * po/sv.po: Update Swedish translation from translation project.
18064
18065 2013-07-27  David S. Miller  <davem@davemloft.net>
18066
18067         * po/eo.po: Update Esperanto translation from translation project.
18068
18069         * po/vi.po: Update Vietnamese translation from translation project.
18070
18071         * po/de.po: Update German translation from translation project.
18072
18073 2013-07-26  David S. Miller  <davem@davemloft.net>
18074
18075         * po/bg.po: Update Bulgarian translation from translation project.
18076
18077         * po/nl.po: Update Dutch translation from translation project.
18078         * po/pl.po: Update Polish translation from translation project.
18079         * po/ru.po: Update Russian translation from translation project.
18080
18081 2013-07-24  David S. Miller  <davem@davemloft.net>
18082
18083         * po/libc.pot: Update.
18084
18085 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18086
18087         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18088         variable page size.
18089         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18090         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18091         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18092
18093 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18094
18095         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18096
18097 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18098             Andreas Schwab  <schwab@suse.de>
18099             Roland McGrath  <roland@hack.frob.com>
18100             Joseph Myers  <joseph@codesourcery.com>
18101             Carlos O'Donell  <carlos@redhat.com>
18102
18103         [BZ #15755]
18104         * config.h.in: Define HAVE_PT_CHOWN.
18105         * config.make.in (build-pt-chown): New variable.
18106         * configure.in (--enable-pt_chown): New configure option.
18107         * configure: Regenerate.
18108         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18109         build-pt-chown is enabled.
18110         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18111         pt_chown to fix pty ownership.
18112         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18113         CLOSE_ALL_FDS.
18114         * manual/install.texi (Configuring and compiling): Mention
18115         --enable-pt_chown. Add @findex for grantpt.
18116         * INSTALL: Regenerate.
18117
18118 2013-07-20  David S. Miller  <davem@davemloft.net>
18119
18120         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18121         difference between 32-bit and 64-bit.
18122
18123 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18124
18125         [BZ #15711]
18126         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18127         Avoid system header dependency with -ffreestanding.
18128         ($(objpfx)bits/syscall%d): Likewise.
18129
18130 2013-07-13  David S. Miller  <davem@davemloft.net>
18131
18132         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18133         underflows from atanl/atan2l due to bug 15319.
18134         (casinh_test_data): Likewise.
18135
18136 2013-07-07  David S. Miller  <davem@davemloft.net>
18137
18138         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18139
18140 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18141
18142         * sysdeps/i386/fpu/libm-test-ulps: Update.
18143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18144
18145 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18146
18147         * configure.in (--enable-lock-elision): Fix message text.
18148         * INSTALL: Regenerate.
18149         * configure: Regenerate.
18150
18151 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18152
18153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18154
18155 2013-07-03  Andreas Jaeger  <aj@suse.de>
18156
18157         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18158         define.
18159         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18160         (ptrace_peeksiginfo_args): Add.
18161         (__ptrace_peeksiginfo_flags): Add.
18162         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18163         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18164         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18165
18166 2013-07-03  Allan McRae  <allan@archlinux.org>
18167
18168         * sysdeps/i386/fpu/libm-test-ulps: Update.
18169
18170 2013-07-02  David S. Miller  <davem@davemloft.net>
18171
18172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18173
18174 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18175
18176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18177
18178 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18179
18180         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18182
18183 2013-07-02  Andi Kleen <ak@linux.intel.com>
18184
18185         * config.h.in (ENABLE_LOCK_ELISION): Add.
18186         * configure.in (--enable-lock-elision): Add option.
18187         * manual/install.texi: Document --enable lock elision.
18188         * configure: Regenerate
18189         * INSTALL: Regenerate.
18190
18191 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18192
18193         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18194         SSE4.2 strcasecmp for libc.a.
18195         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18196
18197 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18198
18199         [BZ #13304]
18200         * soft-fp/op-common.h (_FP_FMA): New macro.
18201         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18202         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18203         (_FP_MUL_MEAT_1_imm): ... here.
18204         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18205         (_FP_MUL_MEAT_1_wide): ... here.
18206         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18207         (_FP_MUL_MEAT_1_hard): ... here.
18208         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18209         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18210         (_FP_MUL_MEAT_2_wide): ... here.
18211         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18212         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18213         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18214         (_FP_MUL_MEAT_2_gmp): ... here.
18215         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18216         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18217         (_FP_MUL_MEAT_4_wide): ... here.
18218         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18219         (_FP_MUL_MEAT_4_gmp): ... here.
18220         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18221         (_FP_WFRACBITS_DW_S): Likewise.
18222         (_FP_WFRACXBITS_DW_S): Likewise.
18223         (_FP_HIGHBIT_DW_S): Likewise.
18224         (FP_FMA_S): Likewise.
18225         (_FP_FRAC_HIGH_DW_S): Likewise.
18226         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18227         (_FP_WFRACBITS_DW_D): Likewise.
18228         (_FP_WFRACXBITS_DW_D): Likewise.
18229         (_FP_HIGHBIT_DW_D): Likewise.
18230         (FP_FMA_D): Likewise.
18231         (_FP_FRAC_HIGH_DW_D): Likewise.
18232         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18233         (_FP_WFRACBITS_DW_E): Likewise.
18234         (_FP_WFRACXBITS_DW_E): Likewise.
18235         (_FP_HIGHBIT_DW_E): Likewise.
18236         (FP_FMA_E): Likewise.
18237         (_FP_FRAC_HIGH_DW_E): Likewise.
18238         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18239         (_FP_WFRACBITS_DW_Q): Likewise.
18240         (_FP_WFRACXBITS_DW_Q): Likewise.
18241         (_FP_HIGHBIT_DW_Q): Likewise.
18242         (FP_FMA_Q): Likewise.
18243         (_FP_FRAC_HIGH_DW_Q): Likewise.
18244         * soft-fp/fmasf4.c: New file.
18245         * soft-fp/fmadf4.c: Likewise.
18246         * soft-fp/fmatf4.c: Likewise.
18247
18248 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18249
18250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18251         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18252         Silvermont.
18253         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18254         macro.
18255         (index_Slow_SSE4_2): Likewise.
18256         (index_Prefer_PMINUB_for_stringop): Likewise.
18257         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18258         bit_Slow_SSE4_2 is set.
18259         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18260         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18261
18262 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18263
18264         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18265         rtld_global._dl_hwcap2.
18266         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18267         POWER8.
18268         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18269         POWER8 feature descriptions defined in _dl_hwcap2.
18270         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18271         string handling for POWER8 feature bits.
18272         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18273         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18274         _dl_powerpc_cap_flags.
18275         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18276         * sysdeps/powerpc/rtld-global-offsets.sym
18277         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18278         _dl_hwcap2 in the rtld_global_ro structure.
18279
18280 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18281
18282         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18283         hardware capabilities in support of AT_HWCAP2.
18284         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18285         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18286         GLRO(dl_hwcap2).
18287         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18288         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18289         explicitly the unknown a_type display mechanism is used.
18290         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18291         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18292         struct member.
18293         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18294         to macro prototype for AT_HWCAP2 support.
18295         * sysdeps/i386/dl-procinfo.h: Likewise.
18296         * sysdeps/s390/dl-procinfo.h: Likewise.
18297         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18298         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18299         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18300         return -1 for unknown a_type display fallback.
18301         * sysdeps/sparc/dl-procinfo.h: Likewise.
18302         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18303         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18304
18305 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18306
18307         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18308         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18309
18310 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18311
18312         [BZ #12492]
18313         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18314         mprotect making __stack_prot writable.
18315
18316 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18317             Joseph Myers  <joseph@codesourcery.com>
18318
18319         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18320         as being properly aligned.
18321
18322 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18323
18324         * dlfcn/modstatic5.c: New file.
18325         * dlfcn/tststatic5.c: New file.
18326         * dlfcn/Makefile (tests): Add tststatic5.
18327         (tests-static): Likewise.
18328         (modules-names): Add modstatic5.
18329         (tststatic5-ENV): New variable.
18330         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18331
18332         [BZ #15022]
18333         * elf/dl-support.c (_dl_main_map): New variable.
18334         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18335         (_dl_nns, _dl_load_adds): Set to 1.
18336         (_dl_initial_searchlist): Refer to _dl_main_map.
18337         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18338         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18339         call to _dl_get_origin.
18340         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18341         around call_map.
18342         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18343         * dlfcn/modstatic3.c: New file.
18344         * dlfcn/tststatic3.c: New file.
18345         * dlfcn/tststatic4.c: New file.
18346         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18347         (tests-static): Likewise.
18348         (modules-names): Add modstatic3.
18349         (tststatic3-ENV, tststatic4-ENV): New variables.
18350         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18351         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18352
18353 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18354
18355         * configure.in (CC): Require GCC version 4.4 or later.
18356         * configure: Regenerated.
18357         * manual/install.texi (Tools for Compilation): Update GCC version
18358         requirement.
18359         * INSTALL: Regenerated.
18360
18361 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18362
18363         [BZ #15674]
18364         * string/test-memcmp.c (check2): New.
18365         (main): Call check2.
18366
18367         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18368
18369 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18370
18371         [BZ #15022]
18372         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18373         over to...
18374         (dl_open_worker) [!SHARED]: ... here.
18375
18376 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18377
18378         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18379
18380 2013-06-25  Richard Henderson  <rth@redhat.com>
18381
18382         * locale/programs/locarchive.c: Include <libc-internal.h>
18383
18384 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18385
18386         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18387         trailing whitespace removed.
18388
18389 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18390
18391         [BZ #10283]
18392         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18393         * locale/programs/locarchive.c: Include libc-mmap.h.
18394         (prepare_address_space): Take two new outputs (the mmap base and len).
18395         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18396         values.
18397         (create_archive): Declare new mmap base and len values for
18398         prepare_address_space, and store the result in ah.
18399         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18400         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18401         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18402         Declare new mmap base and len values for
18403         prepare_address_space, and store the result in new_ah.
18404         (open_archive): Declare new mmap base and len values for
18405         prepare_address_space, and store the result in ah.
18406         (close_archive): If ah->mmap_base is not NULL, use that and
18407         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18408         * sysdeps/generic/libc-mmap.h: New file.
18409
18410 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18411
18412         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18413         (ALIGN_UP): Likewise.
18414         (PTR_ALIGN_DOWN): Likewise.
18415         (PTR_ALIGN_UP): Likewise.
18416
18417 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18418
18419         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18420         entry mapped to PPC_PLATFORM_POWER8.
18421         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18422         POWER8.
18423         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18424         (_dl_string_platform): Add case for exporting platform position for
18425         POWER8.
18426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18427         search path to sysdeps/powerpc/powerpc32/power8 directory.
18428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18429         search path to sysdeps/powerpc/powerpc64/power8 directory.
18430         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18431         power7 directories.
18432         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18433         power7 directories.
18434
18435 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18436
18437         * INSTALL: Regenerate.
18438
18439         * nscd/connections.c (nscd_init): Fix comment.
18440
18441 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18442
18443         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18444
18445         [BZ #15667]
18446         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18447         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18448
18449 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18450
18451         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18452         DL_DST_REQ_STATIC.
18453         (DL_DST_REQ_STATIC): Remove macro.
18454
18455 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18456
18457         [BZ #7006]
18458         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18459         with a shift of 0 bits.
18460
18461 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18462
18463         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18464         $(tststatic-ENV).
18465
18466 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18467
18468         [BZ #15655]
18469         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18470
18471 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18472
18473         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18474         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18475         accepts -fno-tree-loop-distribute-patterns.
18476         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18477         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18478         recursive call.
18479         * string/memset.c (memset): Likewise.
18480         * string/test-memmove.c (simple_memmove): Disable loop transformation
18481         to library calls.
18482         * string/test-memset.c (simple_memset): Likewise.
18483         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18484         * benchtests/bench-memset.c (simple_memset): Likewise.
18485         * configure: Regenerated.
18486
18487 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18488
18489         * math/test-misc.c (main): Ignore fesetround failure when failures
18490         of subsequent rounding tests would be ignored.
18491
18492         [BZ #15654]
18493         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18494         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18495         * math/fegetenv.c (__fegetenv): Return 0.
18496         * math/fegetexcept.c (fegetexcept): Return 0.
18497         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18498         FE_TONEAREST.
18499         * math/feholdexcpt.c (feholdexcept): Return 0.
18500         * math/fesetenv.c (__fesetenv): Return 0.
18501         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18502         argument FE_TONEAREST.
18503         * math/feupdateenv.c (__feupdateenv): Return 0.
18504         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18505
18506 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18507
18508         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18509         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18510         ($(objpfx)rtld-%.os rules): Use them.
18511
18512 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18513
18514         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18515         fields.
18516
18517 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18518
18519         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18520         length of target pattern, then descending length of dependency pattern.
18521         * configure.in (AWK): Require gawk 3.1.2 or newer.
18522         * manual/install.texi (Tools for Compilation): Say that we do.
18523         * configure: Regenerated.
18524
18525         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18526         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18527         * scripts/sysd-rules.awk: ... this new script.
18528         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18529         than a glob-style pattern.
18530
18531 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18532
18533         * math/test-misc.c (main): Do not treat incorrectly rounded
18534         conversions as failure unless ROUNDING_TESTS passes.
18535
18536 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18537
18538         [BZ #15631]
18539         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18540         restore exception state around main square root computation, then
18541         check for inexactness explicitly.
18542
18543         * math/libm-test.inc (fma_test_data): Add another test.
18544
18545 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18546
18547         * manual/threads.texi (Non-POSIX Extensions): New document
18548         node.  Document pthread_getattr_default_np and
18549         pthread_setattr_default_np.
18550
18551         * Versions.def (libpthread): Add GLIBC_2.18.
18552         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18554         Likewise.
18555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18556         Likewise.
18557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18558         Likewise.
18559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18560         Likewise.
18561         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18562         Likewise.
18563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18564         Likewise.
18565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18566         Likewise.
18567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18568         Likewise.
18569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18570         Likewise.
18571
18572 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18573
18574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18575         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18576
18577 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18578             H.J. Lu  <hjl.tools@gmail.com>
18579
18580         [BZ #15627]
18581         * sysdeps/x86_64/rtld-memset.c: Remove file.
18582         * sysdeps/x86_64/rtld-memset.S: New file.
18583
18584 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18585
18586         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18587         (test_in_one_mode): Take arguments for whether the rounding mode
18588         is supported for each floating-point type.
18589         (do_test): Pass new arguments to test_in_one_mode using
18590         ROUNDING_TESTS.
18591
18592 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18593
18594         * posix/tst-waitid.c (do_test): Distinguish different instances of
18595         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18596         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18597         before entering the kernel for waitpid.
18598
18599 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18600
18601         * NEWS: Fix note on clock function precision.  Text by Roland
18602         McGrath.
18603
18604 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18605
18606         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18607         it into place only when and if the sanity check passes.
18608
18609 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18610
18611         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18612         output for whether conversion result is exact.  Take argument
18613         indicating whether type is IBM long double.
18614         (round_for_all): Change need_exact field to ibm_ld.
18615         * stdlib/tst-strtod-round.c (struct exactness): New type.
18616         (struct test): Change bool ld_ok field to struct exactness exact.
18617         (TEST): Update all definitions for change to field.
18618         (tests): Regenerate array contents.
18619         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18620         field value.  Check for IBM long double here.
18621         (do_test): Update calls to test_in_one_mode.
18622
18623 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18624
18625         [BZ #12515]
18626         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18627         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18628
18629 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18630
18631         [BZ #15605]
18632         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18633         generated by the compiler on loop optimizations.
18634         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18635         general definitions.
18636
18637 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18638
18639         * math/bug-nextafter.c: Include <math-tests.h>.
18640         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18641         the relevant type.
18642         * math/bug-nexttoward.c: Include <math-tests.h>.
18643         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18644         the relevant type.
18645         * math/test-misc.c: Include <math-tests.h>.
18646         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18647         the relevant type.
18648
18649 2013-06-12  Andreas Jaeger  <aj@suse.de>
18650
18651         * po/ia.po: Update Interlingua translation from translation
18652         project.
18653
18654 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18655
18656         * include/fenv.h: Include stdbool.h.
18657         (struct rm_ctx): New structure.
18658         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18659         Define macro.
18660         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18661         (SET_RESTORE_ROUNDF): Likewise.
18662         (SET_RESTORE_ROUNDL): Likewise.
18663         (SET_RESTORE_ROUND_NOEX): Likewise.
18664         (SET_RESTORE_ROUND_NOEXF): Likewise.
18665         (SET_RESTORE_ROUND_NOEXL): Likewise.
18666         (SET_RESTORE_ROUND_53BIT): Likewise.
18667         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18668         (libc_feresetround_noexf_ctx): Likewise.
18669         (libc_feresetround_noexl_ctx): Likewise.
18670         (libc_feholdsetround_53bit_ctx): Likewise.
18671         (libc_feresetround_53bit_ctx): Likewise.
18672         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18673         (libc_feholdexcept_setround_sse_ctx): New function.
18674         (libc_fesetenv_sse_ctx): Likewise.
18675         (libc_feupdateenv_sse_ctx): Likewise.
18676         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18677         (libc_feholdexcept_setround_387_ctx): Likewise.
18678         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18679         (libc_feholdsetround_387_prec_ctx): Likewise.
18680         (libc_feholdsetround_387_ctx): Likewise.
18681         (libc_feholdsetround_387_53bit_ctx): Likewise.
18682         (libc_feholdsetround_sse_ctx): Likewise.
18683         (libc_feresetround_sse_ctx): Likewise.
18684         (libc_feresetround_387_ctx): Likewise.
18685         (libc_feupdateenv_387_ctx): Likewise.
18686         (libc_feholdexcept_setroundf_ctx): Define macro.
18687         (libc_fesetenvf_ctx): Likewise.
18688         (libc_feupdateenvf_ctx): Likewise.
18689         (libc_feholdsetroundf_ctx): Likewise.
18690         (libc_feresetroundf_ctx): Likewise.
18691         (libc_feholdexcept_setround_ctx): Likewise.
18692         (libc_fesetenv_ctx): Likewise.
18693         (libc_feupdateenv_ctx): Likewise.
18694         (libc_feholdsetround_ctx): Likewise.
18695         (libc_feresetround_ctx): Likewise.
18696         (libc_feholdexcept_setroundl_ctx): Likewise.
18697         (libc_feupdateenvl_ctx): Likewise.
18698         (libc_feholdsetroundl_ctx): Likewise.
18699         (libc_feresetroundl_ctx): Likewise.
18700         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18701         (libc_feresetround_53bit_ctx): Likewise.
18702
18703 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18704
18705         * locale/iso-639.def: Convert to UTF-8.
18706
18707 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18708
18709         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18710         (EXCEPTION_TESTS_double): Likewise.
18711         (EXCEPTION_TESTS_long_double): Likewise.
18712         (EXCEPTION_TESTS): Likewise.
18713         * math/libm-test.inc (test_exceptions): Only test exceptions if
18714         EXCEPTION_TESTS (FLOAT).
18715
18716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18717
18718         * benchtests/Makefile (string-bench): Add strcpy_chk and
18719         stpcpy_chk.
18720         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18721         * benchtests/bench-stpcpy_chk.c: New file.
18722         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18723         * benchtests/bench-strcpy_chk.c: New file.
18724         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18725         code.
18726         (do_test): Likewise.
18727
18728 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18729
18730         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18731         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18732         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18733         with tabs where appropriate.
18734         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18735         dl-procinfo.h.
18736         [PPC_PLATFORM_PPC440]: Likewise.
18737         [PPC_PLATFORM_PPC464]: Likewise.
18738         [PPC_PLATFORM_PPC476]: Likewise.
18739         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18740         ppc464, and ppc476 platform strings merging from ports/
18741         dl-procinfo.h.
18742
18743 2013-06-11  Andreas Schwab  <schwab@suse.de>
18744
18745         [BZ #14991]
18746         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18747         (from_ucs4_idx): Regenerate.
18748         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18749         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18750         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18751         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18752         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18753         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18754         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18755         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18756         from FROM_LOOP and TO_LOOP specific macros.
18757         (BODY): Handle combining characters.
18758         * iconvdata/BIG5HKSCS.irreversible: Update.
18759         * iconvdata/BIG5HKSCS.precomposed: New file.
18760         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18761         characters.
18762         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18763
18764 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18765
18766         * include/sys/time.h: Fix indentation and add copyright header.
18767
18768         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18769         (do_test): Likewise.
18770         * string/test-memchr.c (do_one_test): Likewise.
18771         (do_test): Likewise.
18772         * string/test-memcmp.c (do_one_test): Likewise.
18773         (do_test): Likewise.
18774         * string/test-memcpy.c (do_one_test): Likewise.
18775         (do_test): Likewise.
18776         * string/test-memmem.c (do_one_test): Likewise.
18777         (do_test): Likewise.
18778         (do_random_tests): Likewise.
18779         * string/test-memmove.c (do_one_test): Likewise.
18780         (do_test): Likewise.
18781         * string/test-memset.c (do_one_test): Likewise.
18782         (do_test): Likewise.
18783         * string/test-rawmemchr.c (do_one_test): Likewise.
18784         (do_test): Likewise.
18785         * string/test-strcasecmp.c (do_one_test): Likewise.
18786         (do_test): Likewise.
18787         * string/test-strcasestr.c (do_one_test): Likewise.
18788         (do_test): Likewise.
18789         * string/test-strcat.c (do_one_test): Likewise.
18790         (do_test): Likewise.
18791         * string/test-strchr.c (do_one_test): Likewise.
18792         (do_test): Likewise.
18793         * string/test-strcmp.c (do_one_test): Likewise.
18794         (do_test): Likewise.
18795         * string/test-strcpy.c (do_one_test): Likewise.
18796         (do_test): Likewise.
18797         * string/test-string.h: Likewise.
18798         (test_init): Likewise.
18799         * string/test-strlen.c (do_one_test): Likewise.
18800         (do_test): Likewise.
18801         * string/test-strncasecmp.c (do_one_test): Likewise.
18802         (do_test): Likewise.
18803         * string/test-strncat.c (do_one_test): Likewise.
18804         (do_test): Likewise.
18805         * string/test-strncmp.c (do_one_test): Likewise.
18806         (do_test_limit): Likewise.
18807         (do_test): Likewise.
18808         * string/test-strncpy.c (do_one_test): Likewise.
18809         (do_test): Likewise.
18810         * string/test-strnlen.c (do_one_test): Likewise.
18811         (do_test): Likewise.
18812         * string/test-strpbrk.c (do_one_test): Likewise.
18813         (do_test): Likewise.
18814         * string/test-strrchr.c (do_one_test): Likewise.
18815         (do_test): Likewise.
18816         * string/test-strspn.c (do_one_test): Likewise.
18817         (do_test): Likewise.
18818         * string/test-strstr.c (do_one_test): Likewise.
18819         (do_test): Likewise.
18820
18821         * benchtests/Makefile (string-bench): Add string benchmarks.
18822         * benchtests/bench-bcopy-ifunc.c: New file.
18823         * benchtests/bench-bcopy.c: New file.
18824         * benchtests/bench-bzero-ifunc.c: New file.
18825         * benchtests/bench-bzero.c: New file.
18826         * benchtests/bench-memccpy-ifunc.c: New file.
18827         * benchtests/bench-memccpy.c: New file.
18828         * benchtests/bench-memchr-ifunc.c: New file.
18829         * benchtests/bench-memchr.c: New file.
18830         * benchtests/bench-memcmp-ifunc.c: New file.
18831         * benchtests/bench-memcmp.c: New file.
18832         * benchtests/bench-memmem-ifunc.c: New file.
18833         * benchtests/bench-memmem.c: New file.
18834         * benchtests/bench-memmove-ifunc.c: New file.
18835         * benchtests/bench-memmove.c: New file.
18836         * benchtests/bench-mempcpy-ifunc.c: New file.
18837         * benchtests/bench-mempcpy.c: New file.
18838         * benchtests/bench-memset-ifunc.c: New file.
18839         * benchtests/bench-memset.c: New file.
18840         * benchtests/bench-rawmemchr-ifunc.c: New file.
18841         * benchtests/bench-rawmemchr.c: New file.
18842         * benchtests/bench-stpcpy-ifunc.c: New file.
18843         * benchtests/bench-stpcpy.c: New file.
18844         * benchtests/bench-stpncpy-ifunc.c: New file.
18845         * benchtests/bench-stpncpy.c: New file.
18846         * benchtests/bench-strcasecmp-ifunc.c: New file.
18847         * benchtests/bench-strcasecmp.c: New file.
18848         * benchtests/bench-strcasestr-ifunc.c: New file.
18849         * benchtests/bench-strcasestr.c: New file.
18850         * benchtests/bench-strcat-ifunc.c: New file.
18851         * benchtests/bench-strcat.c: New file.
18852         * benchtests/bench-strchr-ifunc.c: New file.
18853         * benchtests/bench-strchr.c: New file.
18854         * benchtests/bench-strchrnul-ifunc.c: New file.
18855         * benchtests/bench-strchrnul.c: New file.
18856         * benchtests/bench-strcmp-ifunc.c: New file.
18857         * benchtests/bench-strcmp.c: New file.
18858         * benchtests/bench-strcpy-ifunc.c: New file.
18859         * benchtests/bench-strcpy.c: New file.
18860         * benchtests/bench-strcspn-ifunc.c: New file.
18861         * benchtests/bench-strcspn.c: New file.
18862         * benchtests/bench-strlen-ifunc.c: New file.
18863         * benchtests/bench-strlen.c: New file.
18864         * benchtests/bench-strncasecmp-ifunc.c: New file.
18865         * benchtests/bench-strncasecmp.c: New file.
18866         * benchtests/bench-strncat-ifunc.c: New file.
18867         * benchtests/bench-strncat.c: New file.
18868         * benchtests/bench-strncmp-ifunc.c: New file.
18869         * benchtests/bench-strncmp.c: New file.
18870         * benchtests/bench-strncpy-ifunc.c: New file.
18871         * benchtests/bench-strncpy.c: New file.
18872         * benchtests/bench-strnlen-ifunc.c: New file.
18873         * benchtests/bench-strnlen.c: New file.
18874         * benchtests/bench-strpbrk-ifunc.c: New file.
18875         * benchtests/bench-strpbrk.c: New file.
18876         * benchtests/bench-strrchr-ifunc.c: New file.
18877         * benchtests/bench-strrchr.c: New file.
18878         * benchtests/bench-strspn-ifunc.c: New file.
18879         * benchtests/bench-strspn.c: New file.
18880         * benchtests/bench-strstr-ifunc.c: New file.
18881         * benchtests/bench-strstr.c: New file.
18882
18883         * benchtests/Makefile: Disable parallel execution of targets.
18884         (string-bench): Add memcpy.
18885         (benchset): New variable to store a list of benchmark sets.
18886         (bench-func): Renamed from bench.
18887         (bench-set): New target.
18888         (bench): Depend on bench-func and bench-set.
18889         * benchtests/README: Add section on benchmark sets.
18890         * benchtests/bench-memcpy-ifunc.c: New file.
18891         * benchtests/bench-memcpy.c: New file.
18892         * benchtests/bench-string.h: New file.
18893
18894 2013-06-11  Andreas Schwab  <schwab@suse.de>
18895
18896         [BZ #15577]
18897         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18898         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18899         values in the triple.
18900         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18901         terminator in the group key.
18902
18903 2013-06-11  Andreas Jaeger  <aj@suse.de>
18904
18905         * po/zh_TW.po: Update Chinese (traditional) translation from
18906         translation project.
18907
18908 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909
18910         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18911         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18912         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18914         (clock_getcpuclockid): Likewise.
18915         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18916         Add weak_alias and libc_hidden_def.
18917         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18918         * rt/clock_gettime.c (clock_gettime): Rename to
18919         __clock_gettime.  Add weak_alias and libc_hidden_def.
18920         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18921         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18922         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18923         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18924         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18925         Likewise.
18926         * rt/clock_settime.c (clock_settime): Rename to
18927         __clock_settime.  Add weak_alias and libc_hidden_def.
18928         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18929
18930 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18931
18932         * mach/err_boot.sub: Remove trailing whitespace.
18933         * mach/err_ipc.sub: Likewise.
18934         * mach/err_mach.sub: Likewise.
18935
18936         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18937         (ROUNDING_TESTS_double): Likewise.
18938         (ROUNDING_TESTS_long_double): Likewise.
18939         (ROUNDING_TESTS): Likewise.
18940         * math/libm-test.inc: Include <math-tests.h>.
18941         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18942         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18943         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18944         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18945
18946 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18947
18948         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18949         of assigning.
18950
18951 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18952
18953         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18954         otherwise empty TRANS lines.
18955         * sysdeps/gnu/errlist.c: Regenerated.
18956
18957         * catgets/gencat.c (error_print): Use (void) in function
18958         definition.
18959         * crypt/crypt_util.c (__init_des): Likewise.
18960         * crypt/speeds.c (Stop): Likewise.
18961         (main): Likewise.
18962         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18963         * inet/ruserpass.c (token): Likewise.
18964         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18965         * intl/localealias.c (extend_alias_table): Likewise.
18966         * intl/plural-exp.c (init_germanic_plural): Likewise.
18967         * libio/fcloseall.c (__fcloseall): Likewise.
18968         * libio/genops.c (_IO_flush_all): Likewise.
18969         (_IO_flush_all_linebuffered): Likewise.
18970         (_IO_cleanup): Likewise.
18971         (_IO_iter_begin): Likewise.
18972         (_IO_iter_end): Likewise.
18973         (_IO_list_lock): Likewise.
18974         (_IO_list_unlock): Likewise.
18975         (_IO_list_resetlock): Likewise.
18976         * libio/getchar.c (getchar): Likewise.
18977         * libio/getchar_u.c (getchar_unlocked): Likewise.
18978         * libio/getwchar.c (getwchar): Likewise.
18979         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18980         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18981         * login/getpt.c (__getpt): Likewise.
18982         * login/tst-utmp.c (main): Likewise.
18983         * malloc/hooks.c (__malloc_check_init): Likewise.
18984         * malloc/malloc.c (__malloc_stats): Likewise.
18985         * malloc/mtrace.c (tr_break): Likewise.
18986         (mtrace): Likewise.
18987         (muntrace): Likewise.
18988         * misc/fstab.c (endfsent): Likewise.
18989         * misc/getclktck.c (__getclktck): Likewise.
18990         * misc/getdtsz.c (__getdtablesize): Likewise.
18991         * misc/gethostid.c (gethostid): Likewise.
18992         * misc/getpagesize.c (__getpagesize): Likewise.
18993         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18994         (__get_nprocs): Likewise.
18995         (__get_phys_pages): Likewise.
18996         (__get_avphys_pages): Likewise.
18997         * misc/getttyent.c (getttyent): Likewise.
18998         (setttyent): Likewise.
18999         (endttyent): Likewise.
19000         * misc/getusershell.c (getusershell): Likewise.
19001         (endusershell): Likewise.
19002         (setusershell): Likewise.
19003         (initshells): Likewise.
19004         * misc/hsearch.c (__hdestroy): Likewise.
19005         * misc/sync.c (sync): Likewise.
19006         * misc/syslog.c (closelog_internal): Likewise.
19007         (closelog): Likewise.
19008         * misc/ttyslot.c (ttyslot): Likewise.
19009         * misc/vhangup.c (vhangup): Likewise.
19010         * posix/fork.c (__fork): Likewise.
19011         * posix/getegid.c (__getegid): Likewise.
19012         * posix/geteuid.c (__geteuid): Likewise.
19013         * posix/getgid.c (__getgid): Likewise.
19014         * posix/getpid.c (__getpid): Likewise.
19015         * posix/getppid.c (__getppid): Likewise.
19016         * posix/getuid.c (__getuid): Likewise.
19017         * posix/pause.c (pause): Likewise.
19018         * posix/setpgrp.c (setpgrp): Likewise.
19019         * posix/setsid.c (__setsid): Likewise.
19020         * posix/test-vfork.c (noop): Likewise.
19021         * resolv/gethnamaddr.c (_endhtent): Likewise.
19022         (_gethtent): Likewise.
19023         (ht_endhostent): Likewise.
19024         (gethostent): Likewise.
19025         (dns_service): Likewise.
19026         * stdlib/drand48.c (drand48): Likewise.
19027         * stdlib/lrand48.c (lrand48): Likewise.
19028         * stdlib/mrand48.c (mrand48): Likewise.
19029         * stdlib/rand.c (rand): Likewise.
19030         * stdlib/random.c (__random): Likewise.
19031         * stdlib/setenv.c (clearenv): Likewise.
19032         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19033         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19034         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19035         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19036         (__get_nprocs): Likewise.
19037         (__get_phys_pages): Likewise.
19038         (__get_avphys_pages): Likewise.
19039         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19040         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19041         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19042         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19043         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19044         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19045         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19046         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19047         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19048         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19049         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19050         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19051         * sysdeps/posix/clock.c (clock): Likewise.
19052         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19053         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19054         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19055         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19056         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19058         (__get_nprocs_conf): Likewise.
19059         (__get_phys_pages): Likewise.
19060         (__get_avphys_pages): Likewise.
19061         * time/clock.c (clock): Likewise.
19062         * time/tzset.c (__tzname_max): Likewise.
19063
19064 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19065
19066         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19067         (__bswap_32): Do not use "register".
19068         * crypt/crypt.c (_ufc_doit_r): Likewise.
19069         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19070         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19071         * gmon/gmon.c (__monstartup): Likewise.
19072         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19073         * hurd/hurdmalloc.c (more_memory): Likewise.
19074         (malloc): Likewise.
19075         (free): Likewise.
19076         (realloc): Likewise.
19077         (malloc_fork_prepare): Likewise.
19078         (malloc_fork_parent): Likewise.
19079         (malloc_fork_child): Likewise.
19080         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19081         (_svcauth_des): Likewise.
19082         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19083         * inet/inet_net.c (inet_network): Likewise.
19084         * inet/inet_netof.c (inet_netof): Likewise.
19085         * inet/rcmd.c (__validuser2_sa): Likewise.
19086         * io/fts.c (fts_open): Likewise.
19087         (fts_load): Likewise.
19088         (fts_close): Likewise.
19089         (fts_read): Likewise.
19090         (fts_children): Likewise.
19091         (fts_build): Likewise.
19092         (fts_stat): Likewise.
19093         (fts_sort): Likewise.
19094         (fts_alloc): Likewise.
19095         (fts_lfree): Likewise.
19096         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19097         (_IO_file_xsgetn): Likewise.
19098         (_IO_file_xsgetn_mmap): Likewise.
19099         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19100         (_IO_cookie_write): Likewise.
19101         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19102         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19103         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19104         * malloc/obstack.c (_obstack_begin): Likewise.
19105         (_obstack_begin_1): Likewise.
19106         (_obstack_newchunk): Likewise.
19107         (_obstack_allocated_p): Likewise.
19108         (obstack_free): Likewise.
19109         (_obstack_memory_used): Likewise.
19110         * misc/getttyent.c (getttynam): Likewise.
19111         (getttyent): Likewise.
19112         (skip): Likewise.
19113         (value): Likewise.
19114         * misc/getusershell.c (initshells): Likewise.
19115         * misc/syslog.c (__vsyslog_chk): Likewise.
19116         * misc/ttyslot.c (ttyslot): Likewise.
19117         * nis/nis_hash.c (__nis_hash): Likewise.
19118         * posix/fnmatch_loop.c (FCT): Likewise.
19119         * posix/getconf.c (print_all): Likewise.
19120         (main): Likewise.
19121         * posix/getopt.c (exchange): Likewise.
19122         * posix/glob.c (globfree): Likewise.
19123         (prefix_array): Likewise.
19124         (__glob_pattern_type): Likewise.
19125         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19126         (NS_GET32): Likewise.
19127         (NS_PUT16): Likewise.
19128         (NS_PUT32): Likewise.
19129         * resolv/gethnamaddr.c (getanswer): Likewise.
19130         (gethostbyname2): Likewise.
19131         (gethostbyaddr): Likewise.
19132         (_gethtent): Likewise.
19133         (_gethtbyname2): Likewise.
19134         (_gethtbyaddr): Likewise.
19135         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19136         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19137         * resolv/res_init.c (__res_vinit): Likewise.
19138         (net_mask): Likewise.
19139         * resolv/res_mkquery.c (outchar): Likewise.
19140         (PRINT): Likewise.
19141         * stdio-common/printf_fp.c (outchar): Likewise.
19142         (PRINT): Likewise.
19143         * stdio-common/printf_fphex.c (outchar): Likewise.
19144         (PRINT): Likewise.
19145         * stdio-common/printf_size.c (outchar): Likewise.
19146         (PRINT): Likewise.
19147         * stdio-common/test_rdwr.c (main): Likewise.
19148         * stdio-common/tfformat.c (matches): Likewise.
19149         * stdio-common/vfprintf.c (outchar): Likewise.
19150         (printf_unknown): Likewise.
19151         (buffered_vfprintf): Likewise.
19152         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19153         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19154         (ReadFile): Likewise.
19155         * stdlib/qsort.c (SWAP): Likewise.
19156         (_quicksort): Likewise.
19157         * stdlib/setenv.c (__add_to_environ): Likewise.
19158         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19159         * stdlib/strtol_l.c (__strtol_l): Likewise.
19160         * stdlib/tst-strtod.c (main): Likewise.
19161         * stdlib/tst-strtol.c (main): Likewise.
19162         * stdlib/tst-strtoll.c (main): Likewise.
19163         * string/bits/string2.h (__strcmp_cc): Likewise.
19164         (__strcmp_cg): Likewise.
19165         (__strcspn_c1): Likewise.
19166         (__strcspn_c2): Likewise.
19167         (__strcspn_c3): Likewise.
19168         (__strspn_c1): Likewise.
19169         (__strspn_c2): Likewise.
19170         (__strspn_c3): Likewise.
19171         (__strsep_1c): Likewise.
19172         (__strsep_2c): Likewise.
19173         (__strsep_3c): Likewise.
19174         * string/memccpy.c (__memccpy): Likewise.
19175         * string/stpcpy.c (__stpcpy): Likewise.
19176         * string/strcmp.c (strcmp): Likewise.
19177         * string/strrchr.c (strrchr): Likewise.
19178         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19179         Likewise.
19180         * sysdeps/mach/hurd/getcwd.c
19181         (_hurd_canonicalize_directory_name_internal): Likewise.
19182         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19183         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19184         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19185         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19186         Likewise, in both definitions.
19187         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19188         definitions.
19189         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19190         64] (__bswap_64): Likewise.
19191         * time/test_time.c (main): Likewise.
19192         * time/tzfile.c (__tzfile_read): Likewise.
19193         (__tzfile_compute): Likewise.
19194         * time/tzset.c (__tzset_parse_tz): Likewise.
19195         (tzset_internal): Likewise.
19196         (compute_change): Likewise.
19197         * wcsmbs/wcscat.c (__wcscat): Likewise.
19198         * wcsmbs/wcschr.c (wcschr): Likewise.
19199         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19200         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19201         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19202         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19203         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19204         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19205         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19206         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19207         * wcsmbs/wmemset.c (wmemset): Likewise.
19208
19209 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19210
19211         * scripts/config.guess: Update to version 2013-05-16.
19212         * scripts/config.sub: Update to version 2013-04-24.
19213         * scripts/install-sh: Update to version 2011-11-20.07.
19214         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19215         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19216
19217 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19218
19219         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19220         * elf/sln.c: Likewise.
19221         * hurd/hurd/ioctl.h: Likewise.
19222         * hurd/hurdmalloc.c: Likewise.
19223         * hurd/xattr.c: Likewise.
19224         * include/shlib-compat.h: Likewise.
19225         * inet/ruserpass.c: Likewise.
19226         * libio/iofgets_u.c: Likewise.
19227         * libio/iofgetws_u.c: Likewise.
19228         * locale/programs/ld-identification.c: Likewise.
19229         * locale/programs/ld-time.c: Likewise.
19230         * mach/msg-destroy.c: Likewise.
19231         * nss/nss_files/files-netgrp.c: Likewise.
19232         * resolv/res_data.c: Likewise.
19233         * soft-fp/op-1.h: Likewise.
19234         * soft-fp/op-2.h: Likewise.
19235         * soft-fp/op-4.h: Likewise.
19236         * soft-fp/op-common.h: Likewise.
19237         * stdio-common/printf_fphex.c: Likewise.
19238         * stdlib/strtod_l.c: Likewise.
19239         * sunrpc/rpc/clnt.h: Likewise.
19240         * sysdeps/generic/framestate.c: Likewise.
19241         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19242         * sysdeps/i386/bsd-setjmp.S: Likewise.
19243         * sysdeps/i386/__longjmp.S: Likewise.
19244         * sysdeps/i386/setjmp.S: Likewise.
19245         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19246         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19247         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19248         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19249         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19250         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19252         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19253         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19254         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19255         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19256         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19257         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19258         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19259         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19260         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19261         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19262         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19263         * sysdeps/ieee754/support.c: Likewise.
19264         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19265         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19266         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19267         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19268         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19269         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19270         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19271         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19272         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19273         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19274         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19275         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19276         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19277         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19278         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19279         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19280         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19282
19283 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19284
19285         * posix/transbug.c: Remove executable mode.
19286
19287 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19288
19289         * crypt/speeds.c: Remove trailing whitespace.
19290         * dlfcn/default.c: Likewise.
19291         * elf/ifuncdep2.c: Likewise.
19292         * elf/ifuncmain1.c: Likewise.
19293         * elf/ifuncmain1vis.c: Likewise.
19294         * elf/testobj.h: Likewise.
19295         * elf/tst-stackguard1.c: Likewise.
19296         * gmon/sys/gmon.h: Likewise.
19297         * hurd/hurdmsg.c: Likewise.
19298         * hurd/new-fd.c: Likewise.
19299         * hurd/ports-get.c: Likewise.
19300         * iconvdata/ibm1008_420.c: Likewise.
19301         * inet/tst-getni1.c: Likewise.
19302         * inet/tst-getni2.c: Likewise.
19303         * libio/ioungetc.c: Likewise.
19304         * libio/wfiledoalloc.c: Likewise.
19305         * manual/libm-err-tab.pl: Likewise.
19306         * math/w_dremf.c: Likewise.
19307         * misc/ftruncate.c: Likewise.
19308         * posix/bug-glob2.c: Likewise.
19309         * posix/tst-pcre.c: Likewise.
19310         * posix/wait4.c: Likewise.
19311         * resolv/README: Likewise.
19312         * resolv/res_debug.h: Likewise.
19313         * resolv/tst-inet_ntop.c: Likewise.
19314         * setjmp/bug269-setjmp.c: Likewise.
19315         * soft-fp/extended.h: Likewise.
19316         * soft-fp/op-1.h: Likewise.
19317         * soft-fp/op-2.h: Likewise.
19318         * soft-fp/op-4.h: Likewise.
19319         * soft-fp/op-8.h: Likewise.
19320         * soft-fp/testit.c: Likewise.
19321         * stdio-common/bug16.c: Likewise.
19322         * stdlib/random.c: Likewise.
19323         * sunrpc/rpcsvc/rquota.x: Likewise.
19324         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19325         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19327         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19328         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19329         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19330         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19331         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19332         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19333         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19334         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19335         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19336         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19337         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19338         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19339         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19340         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19341         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19342         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19343         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19344         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19345         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19346         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19347         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19348         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19349         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19350         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19351         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19352         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19353         * sysdeps/ieee754/s_lib_version.c: Likewise.
19354         * sysdeps/mach/hurd/check_fds.c: Likewise.
19355         * sysdeps/mach/hurd/getsockname.c: Likewise.
19356         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19357         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19358         * sysdeps/powerpc/bits/link.h: Likewise.
19359         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19360         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19361         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19362         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19363         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19364         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19365         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19366         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19367         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19368         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19369         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19370         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19371         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19372         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19373         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19374         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19375         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19376         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19377         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19378         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19379         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19380         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19381         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19382         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19383         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19384         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19385         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19386         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19387         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19388         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19389         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19390         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19391         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19392         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19393         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19394         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19395         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19396         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19397         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19398         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19399         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19400         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19401         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19402         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19403         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19404         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19405         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19406         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19407         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19408         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19409         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19410         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19411         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19412         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19413         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19414         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19415         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19416         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19417         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19418         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19419         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19420         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19421         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19422         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19423         * sysdeps/powerpc/sysdep.h: Likewise.
19424         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19425         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19426         * sysdeps/sh/dl-trampoline.S: Likewise.
19427         * sysdeps/sh/memset.S: Likewise.
19428         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19429         * sysdeps/sh/strlen.S: Likewise.
19430         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19431         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19432         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19433         * sysdeps/sparc/sparc32/rem.S: Likewise.
19434         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19435         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19436         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19437         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19438         * sysdeps/sparc/sparc32/urem.S: Likewise.
19439         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19440         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19441         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19442         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19443         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19444         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19445         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19446         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19447         * sysdeps/unix/bsd/times.c: Likewise.
19448         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19449         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19453         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19454         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19455         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19456         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19457         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19458         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19459         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19460         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19461         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19462         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19463         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19464         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19465         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19466         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19467         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19468         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19469         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19470         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19471         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19472         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19473         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19474         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19475         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19476         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19477         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19478         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19479         * sysdeps/x86_64/strcspn.S: Likewise.
19480
19481 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19482
19483         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19484         generated file.  Regenerate properly from gen-translit.pl.
19485         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19486         locale/C-translit.h.
19487
19488 2013-06-05  Andreas Schwab  <schwab@suse.de>
19489
19490         [BZ #15100]
19491         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19492         week as 6 instead of -1.
19493         * time/tst-strptime.c (day_tests): Add test case.
19494
19495 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19496
19497         * sysdeps/generic/math_private.h
19498         (libc_feholdexcept_setround_53bit): Replace with
19499         libc_feholdsetround_53bit.
19500         (libc_feupdateenv_53bit): Replace with
19501         libc_feresetround_53bit.
19502         (SET_RESTORE_ROUND_53BIT): Adjust.
19503
19504 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19505
19506         * string/test-strchrnul.c: Add copyright header.
19507
19508         * posix/tst-getaddrinfo4.c: Increase test timeout.
19509
19510 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19511
19512         [BZ #15536]
19513         * math/libm-test.inc (MAX_EXP): Remove
19514         (MIN_EXP): Define.
19515         (ulp): Use MIN_EXP - MANT_DIG.
19516         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19517
19518 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19519
19520         * po/be.po: Revert last change.
19521         * po/zh_CN.po: Likewise.
19522         * po/header.pot: Likewise.
19523
19524 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19525
19526         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19527         link-libc-deps to empty as target-specific variable.
19528         * Makerules (link-libc-args): New variable.
19529         (libc-for-link): Likewise.
19530         (link-libc-deps): Likewise.
19531         (lib%.so): Depend on $(link-libc-deps).  Link with
19532         $(link-libc-args).
19533         (build-module): Link with $(link-libc-args).
19534         (build-module-asneeded): Likewise.
19535         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19536         list of objects.
19537         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19538         target-specific variable.
19539         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19540         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19541         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19542         libc.
19543         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19544         libc and ld.so.
19545         ($(objpfx)libpcprofile.so): Likewise.
19546         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19547         libc_nonshared.a.
19548         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19549         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19550         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19551         $(link-libc-deps).
19552         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19553         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19554         * login/Makefile ($(objpfx)libutil.so): Likewise.
19555         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19556         * math/Makefile ($(objpfx)libm.so): Likewise.
19557         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19558         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19559         variable instead of depending directly on libc.
19560         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19561         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19562         $(link-libc-deps).
19563         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19564         libc.
19565         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19566         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19567         ($(objpfx)libanl.so): Likewise.
19568         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19569         ld.so.
19570         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19571         $(link-libc-deps).
19572         * sysdeps/i386/fpu/Makefile: Remove file.
19573         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19574         ($(objpfx)libm.so): Remove dependency on ld.so.
19575
19576 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19577
19578         [BZ # 15553]
19579         * nis/yp_xdr.c (XDRMAXNAME): Define.
19580         (XDRMAXRECORD): Define.
19581         (xdr_domainname): Use XDRMAXNAME.
19582         (xdr_mapname): Likewise.
19583         (xdr_peername): Likewise.
19584         (xdr_keydat): Use XDRMAXRECORD.
19585         (xdr_valdat): Likewise.
19586
19587 2013-05-30  Jeff Law  <law@redhat.com>
19588
19589         [BZ #14256]
19590         * manual/errno.texi (ESTALE): Update to account for more than
19591         just NFS file systems.
19592         * sysdeps/gnu/errlist.c: Regenerated.
19593
19594 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19595
19596         [BZ #15465]
19597         * elf/Makefile (tests): Add tst-null-argv.
19598         (modules-names):  Add tst-null-argv-lib.
19599         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19600         (tst-null-argv-ENV): Set environment for tst-null-argv.
19601         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19602         (RTLD_PROGNAME): New macro.
19603         * elf/tst-null-argv.c: New test case.
19604         * elf/tst-null-argv-lib.c: Library for test case.
19605         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19606         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19607         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19608         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19609         * elf/dl-init.c (call_init): Likewise.
19610         (_dl_init): Likewise.
19611         * elf/dl-load.c (print_search_path): Likewise.
19612         (_dl_map_object): Likewise.
19613         * elf/dl-lookup.c (do_lookup_x): Likewise.
19614         (add_dependency): Likewise.
19615         (_dl_lookup_symbol_x): Likewise.
19616         (_dl_debug_bindings): Likewise.
19617         * elf/dl-open.c (_dl_show_scope): Likewise.
19618         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19619         * elf/dl-version.c (match_symbol): Likewise.
19620         (_dl_check_map_versions): Likewise.
19621         * elf/rtld.c (dl_main): Likewise.
19622         (print_unresolved): Use RTLD_PROGNAME.
19623         (print_missing_version): Likewise.
19624         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19625         (elf_machine_rela): Likewise.
19626         * sysdeps/powerpc/powerpc32/dl-machine.c
19627         (__process_machine_rela): Likewise.
19628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19629         Likewise.
19630         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19631         Likewise.
19632         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19633         Likewise.
19634         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19635         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19636         Likewise.
19637         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19638         Likewise.
19639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19640
19641 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19642
19643         * po/be.po: Add descriptive title.
19644         * po/zh_CN.po: Likewise.
19645         * po/header.pot: Likewise.
19646
19647 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19648
19649         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19650         error message.
19651         (enlarge_archive): Likewise.
19652
19653 2013-05-28  Ben North  <ben@redfrontdoor.org>
19654
19655         * manual/arith.texi (frexp): It is the magnitude of the return
19656         value which lies in [0.5, 1), not the return value itself.
19657
19658 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19659
19660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19661
19662 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19663
19664         * stdio-common/bug26.c (main): Correct fscanf template.
19665
19666         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19667         declare _dl_skip_args.
19668
19669         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19670         Don't declare.
19671
19672         * manual/platform.texi: Add missing @end deftypefun.
19673
19674 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19675
19676         [BZ #15529]
19677         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19678         bit of mantissa of 2^16382.
19679         * math/libm-test.inc (hypot_test_data): Add more tests.
19680
19681         * math/libm-test.inc: Add drem and pow10 to list of tested
19682         functions.
19683         (pow10_test): New function.
19684         (drem_test): Likewise.
19685         (drem_test_tonearest): Likewise.
19686         (drem_test_towardzero): Likewise.
19687         (drem_test_downward): Likewise.
19688         (drem_test_upward): Likewise.
19689         (main): Call the new functions.
19690
19691         * math/libm-test.inc (finite_test_data): Remove.
19692         (finite_test): Run tests from isfinite_test_data.
19693         (gamma_test_data): Remove.
19694         (gamma_test): Run tests from lgamma_test_data.
19695         * sysdeps/i386/fpu/libm-test-ulps: Update.
19696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19697
19698 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19699
19700         * manual/platform.texi: Add PowerPC PPR function set documentation.
19701         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19702         implementation.
19703
19704 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19705
19706         * math/libm-test.inc (MAX_EXP): Define.
19707         (ULPDIFF): Define.
19708         (ulp): New function.
19709         (check_float_internal): Use ULPDIFF.
19710         (cpow_test): Disable failing test.
19711         (check_ulp): Test ulp() implemetnation.
19712         (main): Call check_ulp before starting tests.
19713
19714 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19715
19716         * math/gen-libm-test.pl (generate_testfile): Do not handle
19717         START_DATA and END_DATA.
19718         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19719         END_DATA.
19720         (acos_tonearest_test_data): Likewise.
19721         (acos_towardzero_test_data): Likewise.
19722         (acos_downward_test_data): Likewise.
19723         (acos_upward_test_data): Likewise.
19724         (acosh_test_data): Likewise.
19725         (asin_test_data): Likewise.
19726         (asin_tonearest_test_data): Likewise.
19727         (asin_towardzero_test_data): Likewise.
19728         (asin_downward_test_data): Likewise.
19729         (asin_upward_test_data): Likewise.
19730         (asinh_test_data): Likewise.
19731         (atan_test_data): Likewise.
19732         (atanh_test_data): Likewise.
19733         (atan2_test_data): Likewise.
19734         (cabs_test_data): Likewise.
19735         (cacos_test_data): Likewise.
19736         (cacosh_test_data): Likewise.
19737         (carg_test_data): Likewise.
19738         (casin_test_data): Likewise.
19739         (casinh_test_data): Likewise.
19740         (catan_test_data): Likewise.
19741         (catanh_test_data): Likewise.
19742         (cbrt_test_data): Likewise.
19743         (ccos_test_data): Likewise.
19744         (ccosh_test_data): Likewise.
19745         (ceil_test_data): Likewise.
19746         (cexp_test_data): Likewise.
19747         (cimag_test_data): Likewise.
19748         (clog_test_data): Likewise.
19749         (clog10_test_data): Likewise.
19750         (conj_test_data): Likewise.
19751         (copysign_test_data): Likewise.
19752         (cos_test_data): Likewise.
19753         (cos_tonearest_test_data): Likewise.
19754         (cos_towardzero_test_data): Likewise.
19755         (cos_downward_test_data): Likewise.
19756         (cos_upward_test_data): Likewise.
19757         (cosh_test_data): Likewise.
19758         (cosh_tonearest_test_data): Likewise.
19759         (cosh_towardzero_test_data): Likewise.
19760         (cosh_downward_test_data): Likewise.
19761         (cosh_upward_test_data): Likewise.
19762         (cpow_test_data): Likewise.
19763         (cproj_test_data): Likewise.
19764         (creal_test_data): Likewise.
19765         (csin_test_data): Likewise.
19766         (csinh_test_data): Likewise.
19767         (csqrt_test_data): Likewise.
19768         (ctan_test_data): Likewise.
19769         (ctan_tonearest_test_data): Likewise.
19770         (ctan_towardzero_test_data): Likewise.
19771         (ctan_downward_test_data): Likewise.
19772         (ctan_upward_test_data): Likewise.
19773         (ctanh_test_data): Likewise.
19774         (ctanh_tonearest_test_data): Likewise.
19775         (ctanh_towardzero_test_data): Likewise.
19776         (ctanh_downward_test_data): Likewise.
19777         (ctanh_upward_test_data): Likewise.
19778         (erf_test_data): Likewise.
19779         (erfc_test_data): Likewise.
19780         (exp_test_data): Likewise.
19781         (exp_tonearest_test_data): Likewise.
19782         (exp_towardzero_test_data): Likewise.
19783         (exp_downward_test_data): Likewise.
19784         (exp_upward_test_data): Likewise.
19785         (exp10_test_data): Likewise.
19786         (exp2_test_data): Likewise.
19787         (expm1_test_data): Likewise.
19788         (fabs_test_data): Likewise.
19789         (fdim_test_data): Likewise.
19790         (finite_test_data): Likewise.
19791         (floor_test_data): Likewise.
19792         (fma_test_data): Likewise.
19793         (fma_towardzero_test_data): Likewise.
19794         (fma_downward_test_data): Likewise.
19795         (fma_upward_test_data): Likewise.
19796         (fmax_test_data): Likewise.
19797         (fmin_test_data): Likewise.
19798         (fmod_test_data): Likewise.
19799         (fpclassify_test_data): Likewise.
19800         (frexp_test_data): Likewise.
19801         (gamma_test_data): Likewise.
19802         (hypot_test_data): Likewise.
19803         (ilogb_test_data): Likewise.
19804         (isfinite_test_data): Likewise.
19805         (isgreater_test_data): Likewise.
19806         (isgreaterequal_test_data): Likewise.
19807         (isinf_test_data): Likewise.
19808         (isless_test_data): Likewise.
19809         (islessequal_test_data): Likewise.
19810         (islessgreater_test_data): Likewise.
19811         (isnan_test_data): Likewise.
19812         (isnormal_test_data): Likewise.
19813         (issignaling_test_data): Likewise.
19814         (isunordered_test_data): Likewise.
19815         (j0_test_data): Likewise.
19816         (j1_test_data): Likewise.
19817         (jn_test_data): Likewise.
19818         (ldexp_test_data): Likewise.
19819         (lgamma_test_data): Likewise.
19820         (lrint_test_data): Likewise.
19821         (lrint_tonearest_test_data): Likewise.
19822         (lrint_towardzero_test_data): Likewise.
19823         (lrint_downward_test_data): Likewise.
19824         (lrint_upward_test_data): Likewise.
19825         (llrint_test_data): Likewise.
19826         (llrint_tonearest_test_data): Likewise.
19827         (llrint_towardzero_test_data): Likewise.
19828         (llrint_downward_test_data): Likewise.
19829         (llrint_upward_test_data): Likewise.
19830         (log_test_data): Likewise.
19831         (log10_test_data): Likewise.
19832         (log1p_test_data): Likewise.
19833         (log2_test_data): Likewise.
19834         (logb_test_data): Likewise.
19835         (logb_downward_test_data): Likewise.
19836         (lround_test_data): Likewise.
19837         (llround_test_data): Likewise.
19838         (modf_test_data): Likewise.
19839         (nearbyint_test_data): Likewise.
19840         (nextafter_test_data): Likewise.
19841         (nexttoward_test_data): Likewise.
19842         (pow_test_data): Likewise.
19843         (pow_tonearest_test_data): Likewise.
19844         (pow_towardzero_test_data): Likewise.
19845         (pow_downward_test_data): Likewise.
19846         (pow_upward_test_data): Likewise.
19847         (remainder_test_data): Likewise.
19848         (remainder_tonearest_test_data): Likewise.
19849         (remainder_towardzero_test_data): Likewise.
19850         (remainder_downward_test_data): Likewise.
19851         (remainder_upward_test_data): Likewise.
19852         (remquo_test_data): Likewise.
19853         (rint_test_data): Likewise.
19854         (rint_tonearest_test_data): Likewise.
19855         (rint_towardzero_test_data): Likewise.
19856         (rint_downward_test_data): Likewise.
19857         (rint_upward_test_data): Likewise.
19858         (round_test_data): Likewise.
19859         (scalb_test_data): Likewise.
19860         (scalbn_test_data): Likewise.
19861         (scalbln_test_data): Likewise.
19862         (signbit_test_data): Likewise.
19863         (sin_test_data): Likewise.
19864         (sin_tonearest_test_data): Likewise.
19865         (sin_towardzero_test_data): Likewise.
19866         (sin_downward_test_data): Likewise.
19867         (sin_upward_test_data): Likewise.
19868         (sincos_test_data): Likewise.
19869         (sinh_test_data): Likewise.
19870         (sinh_tonearest_test_data): Likewise.
19871         (sinh_towardzero_test_data): Likewise.
19872         (sinh_downward_test_data): Likewise.
19873         (sinh_upward_test_data): Likewise.
19874         (sqrt_test_data): Likewise.
19875         (tan_test_data): Likewise.
19876         (tan_tonearest_test_data): Likewise.
19877         (tan_towardzero_test_data): Likewise.
19878         (tan_downward_test_data): Likewise.
19879         (tan_upward_test_data): Likewise.
19880         (tanh_test_data): Likewise.
19881         (tgamma_test_data): Likewise.
19882         (trunc_test_data): Likewise.
19883         (y0_test_data): Likewise.
19884         (y1_test_data): Likewise.
19885         (yn_test_data): Likewise.
19886         (significand_test_data): Likewise.
19887
19888         * math/gen-libm-test.pl (@functions): Remove variable.
19889         (generate_testfile): Don't handle START and END lines.
19890         * math/libm-test.inc (START): New macro.
19891         (END): Likewise.
19892         (END_COMPLEX): Likewise.
19893         (acos_test): Use END macro without arguments.
19894         (acos_test_tonearest): Likewise.
19895         (acos_test_towardzero): Likewise.
19896         (acos_test_downward): Likewise.
19897         (acos_test_upward): Likewise.
19898         (acosh_test): Likewise.
19899         (asin_test): Likewise.
19900         (asin_test_tonearest): Likewise.
19901         (asin_test_towardzero): Likewise.
19902         (asin_test_downward): Likewise.
19903         (asin_test_upward): Likewise.
19904         (asinh_test): Likewise.
19905         (atan_test): Likewise.
19906         (atanh_test): Likewise.
19907         (atan2_test): Likewise.
19908         (cabs_test): Likewise.
19909         (cacos_test): Use END_COMPLEX macro without arguments.
19910         (cacosh_test): Likewise.
19911         (carg_test): Use END macro without arguments.
19912         (casin_test): Use END_COMPLEX macro without arguments.
19913         (casinh_test): Likewise.
19914         (catan_test): Likewise.
19915         (catanh_test): Likewise.
19916         (cbrt_test): Use END macro without arguments.
19917         (ccos_test): Use END_COMPLEX macro without arguments.
19918         (ccosh_test): Likewise.
19919         (ceil_test): Use END macro without arguments.
19920         (cexp_test): Use END_COMPLEX macro without arguments.
19921         (cimag_test): Use END macro without arguments.
19922         (clog_test): Use END_COMPLEX macro without arguments.
19923         (clog10_test): Likewise.
19924         (conj_test): Likewise.
19925         (copysign_test): Use END macro without arguments.
19926         (cos_test): Likewise.
19927         (cos_test_tonearest): Likewise.
19928         (cos_test_towardzero): Likewise.
19929         (cos_test_downward): Likewise.
19930         (cos_test_upward): Likewise.
19931         (cosh_test): Likewise.
19932         (cosh_test_tonearest): Likewise.
19933         (cosh_test_towardzero): Likewise.
19934         (cosh_test_downward): Likewise.
19935         (cosh_test_upward): Likewise.
19936         (cpow_test): Use END_COMPLEX macro without arguments.
19937         (cproj_test): Likewise.
19938         (creal_test): Use END macro without arguments.
19939         (csin_test): Use END_COMPLEX macro without arguments.
19940         (csinh_test): Likewise.
19941         (csqrt_test): Likewise.
19942         (ctan_test): Likewise.
19943         (ctan_test_tonearest): Likewise.
19944         (ctan_test_towardzero): Likewise.
19945         (ctan_test_downward): Likewise.
19946         (ctan_test_upward): Likewise.
19947         (ctanh_test): Likewise.
19948         (ctanh_test_tonearest): Likewise.
19949         (ctanh_test_towardzero): Likewise.
19950         (ctanh_test_downward): Likewise.
19951         (ctanh_test_upward): Likewise.
19952         (erf_test): Use END macro without arguments.
19953         (erfc_test): Likewise.
19954         (exp_test): Likewise.
19955         (exp_test_tonearest): Likewise.
19956         (exp_test_towardzero): Likewise.
19957         (exp_test_downward): Likewise.
19958         (exp_test_upward): Likewise.
19959         (exp10_test): Likewise.
19960         (exp2_test): Likewise.
19961         (expm1_test): Likewise.
19962         (fabs_test): Likewise.
19963         (fdim_test): Likewise.
19964         (finite_test): Likewise.
19965         (floor_test): Likewise.
19966         (fma_test): Likewise.
19967         (fma_test_towardzero): Likewise.
19968         (fma_test_downward): Likewise.
19969         (fma_test_upward): Likewise.
19970         (fmax_test): Likewise.
19971         (fmin_test): Likewise.
19972         (fmod_test): Likewise.
19973         (fpclassify_test): Likewise.
19974         (frexp_test): Likewise.
19975         (gamma_test): Likewise.
19976         (hypot_test): Likewise.
19977         (ilogb_test): Likewise.
19978         (isfinite_test): Likewise.
19979         (isgreater_test): Likewise.
19980         (isgreaterequal_test): Likewise.
19981         (isinf_test): Likewise.
19982         (isless_test): Likewise.
19983         (islessequal_test): Likewise.
19984         (islessgreater_test): Likewise.
19985         (isnan_test): Likewise.
19986         (isnormal_test): Likewise.
19987         (issignaling_test): Likewise.
19988         (isunordered_test): Likewise.
19989         (j0_test): Likewise.
19990         (j1_test): Likewise.
19991         (jn_test): Likewise.
19992         (ldexp_test): Likewise.
19993         (lgamma_test): Likewise.
19994         (lrint_test): Likewise.
19995         (lrint_test_tonearest): Likewise.
19996         (lrint_test_towardzero): Likewise.
19997         (lrint_test_downward): Likewise.
19998         (lrint_test_upward): Likewise.
19999         (llrint_test): Likewise.
20000         (llrint_test_tonearest): Likewise.
20001         (llrint_test_towardzero): Likewise.
20002         (llrint_test_downward): Likewise.
20003         (llrint_test_upward): Likewise.
20004         (log_test): Likewise.
20005         (log10_test): Likewise.
20006         (log1p_test): Likewise.
20007         (log2_test): Likewise.
20008         (logb_test): Likewise.
20009         (logb_test_downward): Likewise.
20010         (lround_test): Likewise.
20011         (llround_test): Likewise.
20012         (modf_test): Likewise.
20013         (nearbyint_test): Likewise.
20014         (nextafter_test): Likewise.
20015         (nexttoward_test): Likewise.
20016         (pow_test): Likewise.
20017         (pow_test_tonearest): Likewise.
20018         (pow_test_towardzero): Likewise.
20019         (pow_test_downward): Likewise.
20020         (pow_test_upward): Likewise.
20021         (remainder_test): Likewise.
20022         (remainder_test_tonearest): Likewise.
20023         (remainder_test_towardzero): Likewise.
20024         (remainder_test_downward): Likewise.
20025         (remainder_test_upward): Likewise.
20026         (remquo_test): Likewise.
20027         (rint_test): Likewise.
20028         (rint_test_tonearest): Likewise.
20029         (rint_test_towardzero): Likewise.
20030         (rint_test_downward): Likewise.
20031         (rint_test_upward): Likewise.
20032         (round_test): Likewise.
20033         (scalb_test): Likewise.
20034         (scalbn_test): Likewise.
20035         (scalbln_test): Likewise.
20036         (signbit_test): Likewise.
20037         (sin_test): Likewise.
20038         (sin_test_tonearest): Likewise.
20039         (sin_test_towardzero): Likewise.
20040         (sin_test_downward): Likewise.
20041         (sin_test_upward): Likewise.
20042         (sincos_test): Likewise.
20043         (sinh_test): Likewise.
20044         (sinh_test_tonearest): Likewise.
20045         (sinh_test_towardzero): Likewise.
20046         (sinh_test_downward): Likewise.
20047         (sinh_test_upward): Likewise.
20048         (sqrt_test): Likewise.
20049         (tan_test): Likewise.
20050         (tan_test_tonearest): Likewise.
20051         (tan_test_towardzero): Likewise.
20052         (tan_test_downward): Likewise.
20053         (tan_test_upward): Likewise.
20054         (tanh_test): Likewise.
20055         (tgamma_test): Likewise.
20056         (trunc_test): Likewise.
20057         (y0_test): Likewise.
20058         (y1_test): Likewise.
20059         (yn_test): Likewise.
20060         (significand_test): Likewise.
20061
20062 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20063
20064         [BZ #15381]
20065         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20066
20067 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20068
20069         [BZ #14894]
20070         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20071         __ppc_mdoio and __ppc_mdoom.
20072         * manual/platform.texi: Document new functions __ppc_yield,
20073         __ppc_mdoio and __ppc_mdoom.
20074
20075 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20076
20077         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20078         (main): Mention "tls" pseudo-hwcap is legacy.
20079         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20080
20081 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20082
20083         * math/gen-libm-test.pl (parse_args): Output only string of
20084         arguments as text for test name, not full call or descriptions of
20085         tests for extra outputs.
20086         (generate_testfile): Do not pass function name to parse_args.
20087         Generate this_func variable from START.
20088         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20089         field to arg_str.
20090         (struct test_ff_f_data): Likewise.
20091         (test_ff_f_data_nexttoward): Likewise.
20092         (struct test_fi_f_data): Likewise.
20093         (struct test_fl_f_data): Likewise.
20094         (struct test_if_f_data): Likewise.
20095         (struct test_fff_f_data): Likewise.
20096         (struct test_c_f_data): Likewise.
20097         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20098         (struct test_fF_f1_data): Likewise.
20099         (struct test_ffI_f1_data): Likewise.
20100         (struct test_c_c_data): Rename test_name field to arg_str.
20101         (struct test_cc_c_data): Likewise.
20102         (struct test_f_i_data): Likewise.
20103         (struct test_ff_i_data): Likewise.
20104         (struct test_f_l_data): Likewise.
20105         (struct test_f_L_data): Likewise.
20106         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20107         and extra2_name.
20108         (COMMON_TEST_SETUP): New macro.
20109         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20110         (COMMON_TEST_CLEANUP): Likewise.
20111         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20112         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20113         macros.
20114         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20115         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20116         macros.
20117         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20118         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20119         cleanup macros.
20120         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20121         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20122         macros.
20123         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20124         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20125         macros.
20126         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20127         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20128         cleanup macros.
20129         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20130         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20131         cleanup macros.
20132         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20133         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20134         cleanup macros.
20135         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20136         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20137         macros.
20138         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20139         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20140         macros.
20141         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20142         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20143         macros.
20144         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20145         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20146         cleanup macros.
20147         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20148         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20149         cleanup macros.
20150         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20151         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20152         macros.
20153         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20154         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20155         cleanup macros.
20156         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20157         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20158         macros.
20159         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20160         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20161         macros.
20162         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20163         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20164         cleanup macros.
20165         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20166
20167 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20168
20169         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20170         to _sifields.sigfault.
20171         (si_addr_lsb): Define new macro.
20172         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20173         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20174         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20175
20176 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20177
20178         [BZ #15441]
20179         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20180         returns -1.
20181         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20182         null return -1.
20183         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20184         loading the domain.
20185
20186 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20187
20188         * math/gen-libm-test.pl (parse_args): Do not include expected
20189         result in test name.
20190         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20192         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20193         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20194         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20196
20197 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20198
20199         * benchtests/Makefile: Sort function entries.
20200
20201         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20202         tanh, asinh, acosh, atanh.
20203         * benchtests/acos-inputs: New file.
20204         * benchtests/acosh-inputs: New file.
20205         * benchtests/asin-inputs: New file.
20206         * benchtests/asinh-inputs: New file.
20207         * benchtests/atanh-inputs: New file.
20208         * benchtests/cosh-inputs: New file.
20209         * benchtests/log-inputs: New file.
20210         * benchtests/sinh-inputs: New file.
20211         * benchtests/tanh-inputs: New file.
20212
20213 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20214
20215         [BZ #15339]
20216         * posix/tst-getaddrinfo4.c: New test.
20217         * posix/Makefile (tests): Add it.
20218
20219 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20220
20221         [BZ #15339]
20222         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20223         when no services were used.
20224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20225         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20226
20227 2013-05-21  Andreas Schwab  <schwab@suse.de>
20228
20229         [BZ #15014]
20230         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20231         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20232         successful.
20233         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20234         redundant variable declarations and reallocation of buffer when
20235         parsing as IPv6 address.  Always set NSS status when called from
20236         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20237         buffer too small.  Correct computation of needed size.
20238         * nss/Makefile (tests): Add test-digits-dots.
20239         * nss/test-digits-dots.c: New test.
20240
20241 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20242
20243         * benchtests/Makefile: Remove instructions for adding
20244         benchmark tests.
20245         * benchtests/README: New file to explain how to execute and
20246         enhance the benchmark tests.
20247
20248 2013-05-21  Andreas Schwab  <schwab@suse.de>
20249
20250         [BZ #15493]
20251         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20252         * setjmp/tst-sigsetjmp.c: New test.
20253
20254 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20255
20256         * sysdeps/x86_64/memset.S (memset): New implementation.
20257         (__bzero): Likewise.
20258         (__memset_tail): New function.
20259
20260 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20261
20262         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20263         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20264         __memcpy_sse2_unaligned ifunc selection.
20265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20266         Add memcpy-sse2-unaligned.S.
20267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20268         Add: __memcpy_sse2_unaligned.
20269
20270 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20271
20272         [BZ #15490]
20273         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20274         math_force_eval before restoring floating-point envrionment.
20275         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20276         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20277         Likewise.
20278         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20279         <math_private.h>.
20280         (__nearbyintl): Use math_force_eval before restoring
20281         floating-point environment.
20282         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20283
20284         * math/gen-libm-test.pl (special_functions): Remove.
20285         (parse_args): Don't handle TEST_extra.  Handle functions with no
20286         return value.
20287         * math/libm-test.inc (struct test_sincos_data): Replace with
20288         struct test_fFF_11_data.
20289         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20290         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20291         (sincos_test_data): Change element type to struct
20292         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20293         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20294         RUN_TEST_LOOP_sincos.
20295         * math/README.libm-test: Don't mention special handling of
20296         individual functions.
20297         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20298         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20299         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20300         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20301         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20303
20304         * math/gen-libm-test.pl (get_variable): Remove function.
20305         (parse_args): Don't show pointer parameters to call in test
20306         names.  Use "extra output N" in test names for extra outputs
20307         rather than naming variables.
20308
20309 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20310
20311         [BZ #15488]
20312         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20313         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20314         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20315         double tests.
20316         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20317         disable.
20318         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20319         check_long_double.
20320
20321         * math/gen-libm-test.pl (@tests): Remove variable.
20322         ($count): Likewise.
20323         (new_test): Remove function.
20324         (show_exceptions): New function.
20325         (special_functions): Use show_exceptions instead of new_test.
20326         (parse_args): Likewise.
20327         (generate_testfile): Pass only function name in generated call to
20328         print_max_error or print_complex_max_error.
20329         (get_ulps): Do not handle complex tests specially.
20330         (output_test): Rename to ...
20331         (get_all_ulps_for_test): ... this.  Return a string rather than
20332         printing to a file.  Require ulps to be present.
20333         (output_ulps): Generate arrays rather than #defines.
20334         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20335         (struct ulp_data): New type.
20336         (BUILD_COMPLEX_ULP): Remove macro.
20337         (compare_ulp_data): New function.
20338         (find_ulps): Likewise.
20339         (find_test_ulps): Likewise.
20340         (find_function_ulps): Likewise.
20341         (find_complex_function_ulps): Likewise.
20342         (print_max_error): Determine allowed ulps using
20343         find_function_ulps.
20344         (print_complex_max_error): Determine allowed ulps using
20345         find_complex_function_ulps.
20346         (check_float_internal): Determine max ulps using find_test_ulps.
20347         (check_float): Do not take max_ulp parameter.  Update call to
20348         check_float_internal.
20349         (check_complex): Likewise.
20350         (check_int): Do not take max_ulp parameter.
20351         (check_long): Likewise.
20352         (check_bool): Likewise.
20353         (check_longlong): Likewise.
20354         (struct test_f_f_data): Remove max_ulp field.
20355         (struct test_ff_f_data): Likewise.
20356         (struct test_ff_f_data_nexttoward): Likewise.
20357         (struct test_fi_f_data): Likewise.
20358         (struct test_fl_f_data): Likewise.
20359         (struct test_if_f_data): Likewise.
20360         (struct test_fff_f_data): Likewise.
20361         (struct test_c_f_data): Likewise.
20362         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20363         (struct test_fF_f1_data): Likewise.
20364         (struct test_ffI_f1_data): Likewise.
20365         (struct test_c_c_data): Remove max_ulp field.
20366         (struct test_cc_c_data): Likewise.
20367         (struct test_f_i_data): Likewise.
20368         (struct test_ff_i_data): Likewise.
20369         (struct test_f_l_data): Likewise.
20370         (struct test_f_L_data): Likewise.
20371         (struct test_sincos_data): Likewise.
20372         (RUN_TEST_f_f): Do not handle ulps.
20373         (RUN_TEST_LOOP_f_f): Likewise.
20374         (RUN_TEST_2_f): Likewise.
20375         (RUN_TEST_LOOP_2_f): Likewise.
20376         (RUN_TEST_fff_f): Likewise.
20377         (RUN_TEST_LOOP_fff_f): Likewise.
20378         (RUN_TEST_c_f): Likewise.
20379         (RUN_TEST_LOOP_c_f): Likewise.
20380         (RUN_TEST_f_f1): Likewise.
20381         (RUN_TEST_LOOP_f_f1): Likewise.
20382         (RUN_TEST_fF_f1): Likewise.
20383         (RUN_TEST_LOOP_fF_f1): Likewise.
20384         (RUN_TEST_fI_f1): Likewise.
20385         (RUN_TEST_LOOP_fI_f1): Likewise.
20386         (RUN_TEST_ffI_f1): Likewise.
20387         (RUN_TEST_LOOP_ffI_f1): Likewise.
20388         (RUN_TEST_c_c): Likewise.
20389         (RUN_TEST_LOOP_c_c): Likewise.
20390         (RUN_TEST_cc_c): Likewise.
20391         (RUN_TEST_LOOP_cc_c): Likewise.
20392         (RUN_TEST_f_i): Likewise.
20393         (RUN_TEST_LOOP_f_i): Likewise.
20394         (RUN_TEST_f_i_tg): Likewise.
20395         (RUN_TEST_LOOP_f_i_tg): Likewise.
20396         (RUN_TEST_ff_i_tg): Likewise.
20397         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20398         (RUN_TEST_f_b): Likewise.
20399         (RUN_TEST_LOOP_f_b): Likewise.
20400         (RUN_TEST_f_b_tg): Likewise.
20401         (RUN_TEST_LOOP_f_b_tg): Likewise.
20402         (RUN_TEST_f_l): Likewise.
20403         (RUN_TEST_LOOP_f_l): Likewise.
20404         (RUN_TEST_f_L): Likewise.
20405         (RUN_TEST_LOOP_f_L): Likewise.
20406         (RUN_TEST_sincos): Likewise.
20407         (RUN_TEST_LOOP_sincos): Likewise.
20408
20409 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20410
20411         [BZ #15480]
20412         [BZ #15485]
20413         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20414         main case of finite arguments, set rounding mode to FE_TONEAREST
20415         and discard exceptions.
20416         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20417         exceptions.
20418         (remainder_tonearest_test_data): New variable.
20419         (remainder_test_tonearest): New function.
20420         (remainder_towardzero_test_data): New variable.
20421         (remainder_test_towardzero): New function.
20422         (remainder_downward_test_data): New variable.
20423         (remainder_test_downward): New function.
20424         (remainder_upward_test_data): New variable.
20425         (remainder_test_upward): New function.
20426         (main): Call the new test functions.
20427
20428         * math/libm-test.inc (struct test_f_f1_data): Remove field
20429         extra_init.
20430         (struct test_fF_f1_data): Likewise.
20431         (struct test_ffI_f1_data): Likewise.
20432         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20433         based on value of EXTRA_EXPECTED.
20434         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20435         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20436         EXTRA_VAR based on value of EXTRA_EXPECTED.
20437         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20438         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20439         EXTRA_VAR based on value of EXTRA_EXPECTED.
20440         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20441         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20442         EXTRA_VAR based on value of EXTRA_EXPECTED.
20443         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20444         * math/gen-libm-test.pl (parse_args): Don't output initializers
20445         for extra output values.
20446
20447         * math/libm-test.inc (check_int): Expect result to be exactly
20448         equal to expected value and do not handle ulps.
20449         (check_long): Likewise.
20450         (check_longlong): Likewise.
20451
20452         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20453         exceptions.
20454         (cimag_test_data): Likewise.
20455         (conj_test_data): Likewise.
20456         (copysign_test_data): Likewise.
20457         (cproj_test_data): Likewise.
20458         (creal_test_data): Likewise.
20459         (fabs_test_data): Likewise.
20460         (fdim_test_data): Likewise.
20461         (finite_test_data): Likewise.
20462         (floor_test_data): Likewise.
20463         (fmax_test_data): Likewise.
20464         (fmin_test_data): Likewise.
20465         (fmod_test_data): Likewise.
20466         (fpclassify_test_data): Likewise.
20467         (frexp_test_data): Likewise.
20468         (ilogb_test_data): Likewise.
20469         (isfinite_test_data): Likewise.
20470         (isgreater_test_data): Likewise.
20471         (isgreaterequal_test_data): Likewise.
20472         (isinf_test_data): Likewise.
20473         (isless_test_data): Likewise.
20474         (islessequal_test_data): Likewise.
20475         (islessgreater_test_data): Likewise.
20476         (isnan_test_data): Likewise.
20477         (isnormal_test_data): Likewise.
20478         (issignaling_test_data): Likewise.
20479         (isunordered_test_data): Likewise.
20480         (ldexp_test_data): Likewise.
20481         (lrint_test_data): Likewise.
20482         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20483         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20484         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20485         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20486         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20487         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20488         test input.
20489         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20490         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20491         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20492         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20493         that test input.
20494         (lrint_downward_test_data): Test for "inexact" exceptions.
20495         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20496         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20497         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20498         test input.
20499         (lrint_upward_test_data): Test for "inexact" exceptions.
20500         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20501         test input.
20502         (llrint_test_data): Test for "inexact" exceptions.
20503         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20504         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20505         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20506         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20507         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20508         (llrint_downward_test_data): Test for "inexact" exceptions.
20509         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20510         (llrint_upward_test_data): Test for "inexact" exceptions.
20511         (logb_test_data): Likewise.
20512         (logb_downward_test_data): Likewise.
20513         (nextafter_test_data): Likewise.
20514         (nexttoward_test_data): Likewise.
20515         (remainder_test_data): Likewise.
20516         (remquo_test_data): Likewise.
20517         (scalbn_test_data): Likewise.
20518         (scalbln_test_data): Likewise.
20519         (signbit_test_data): Likewise.
20520         (sqrt_test_data): Likewise.
20521         (significand_test_data): Likewise.
20522
20523 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20524
20525         [BZ #15424]
20526         * benchtests/bench-modf.c (struct args): Mark arg0 as
20527         volatile.
20528         * scripts/bench.pl: Mark members of struct args as volatile.
20529
20530 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20531
20532         [BZ # 15497]
20533         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20534         negative infinity on POWER6 or lower.
20535         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20536
20537 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20538
20539         [BZ #15442]
20540         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20541         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20542         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20543         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20544         (_FP_SETQNAN): New macro.
20545         (_FP_SETQNAN_SEMIRAW): Likewise.
20546         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20547         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20548         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20549         (FP_EXTEND): Use _FP_FRAC_SNANP.
20550         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20551         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20552         into account.
20553         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20554         New macro.
20555         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20556         Likewise.
20557
20558 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20559
20560         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20561         with DIVIDE_BY_ZERO_EXCEPTION.
20562         (gamma_test_data): Likewise.
20563         (lgamma_test_data): Likewise.
20564         (log_test_data): Likewise.
20565         (log10_test_data): Likewise.
20566         (log2_test_data): Likewise.
20567         (tgamma_test_data): Likewise.
20568
20569         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20570         (acos_test_tonearest): Likewise.
20571         (acos_test_towardzero): Likewise.
20572         (acos_test_downward): Likewise.
20573         (acos_test_upward): Likewise.
20574         (acosh_test): Likewise.
20575         (asin_test): Likewise.
20576         (asin_test_tonearest): Likewise.
20577         (asin_test_towardzero): Likewise.
20578         (asin_test_downward): Likewise.
20579         (asin_test_upward): Likewise.
20580         (asinh_test): Likewise.
20581         (atan_test): Likewise.
20582         (atanh_test): Likewise.
20583         (atan2_test): Likewise.
20584         (cabs_test): Likewise.
20585         (cacos_test): Likewise.
20586         (cacosh_test): Likewise.
20587         (casin_test): Likewise.
20588         (casinh_test): Likewise.
20589         (catan_test): Likewise.
20590         (catanh_test): Likewise.
20591         (cbrt_test): Likewise.
20592         (ccos_test): Likewise.
20593         (ccosh_test): Likewise.
20594         (cexp_test): Likewise.
20595         (clog_test): Likewise.
20596         (clog10_test): Likewise.
20597         (cos_test): Likewise.
20598         (cos_test_tonearest): Likewise.
20599         (cos_test_towardzero): Likewise.
20600         (cos_test_downward): Likewise.
20601         (cos_test_upward): Likewise.
20602         (cosh_test): Likewise.
20603         (cosh_test_tonearest): Likewise.
20604         (cosh_test_towardzero): Likewise.
20605         (cosh_test_downward): Likewise.
20606         (cosh_test_upward): Likewise.
20607         (cpow_test): Likewise.
20608         (csin_test): Likewise.
20609         (csinh_test): Likewise.
20610         (csqrt_test): Likewise.
20611         (ctan_test): Likewise.
20612         (ctan_test_tonearest): Likewise.
20613         (ctan_test_towardzero): Likewise.
20614         (ctan_test_downward): Likewise.
20615         (ctan_test_upward): Likewise.
20616         (ctanh_test): Likewise.
20617         (ctanh_test_tonearest): Likewise.
20618         (ctanh_test_towardzero): Likewise.
20619         (ctanh_test_downward): Likewise.
20620         (ctanh_test_upward): Likewise.
20621         (erf_test): Likewise.
20622         (erfc_test): Likewise.
20623         (exp_test): Likewise.
20624         (exp_test_tonearest): Likewise.
20625         (exp_test_towardzero): Likewise.
20626         (exp_test_downward): Likewise.
20627         (exp_test_upward): Likewise.
20628         (exp10_test): Likewise.
20629         (exp2_test): Likewise.
20630         (expm1_test): Likewise.
20631         (fmod_test): Likewise.
20632         (gamma_test): Likewise.
20633         (hypot_test): Likewise.
20634         (j0_test): Likewise.
20635         (j1_test): Likewise.
20636         (jn_test): Likewise.
20637         (lgamma_test): Likewise.
20638         (log_test): Likewise.
20639         (log10_test): Likewise.
20640         (log1p_test): Likewise.
20641         (log2_test): Likewise.
20642         (logb_test_downward): Likewise.
20643         (pow_test): Likewise.
20644         (pow_test_tonearest): Likewise.
20645         (pow_test_towardzero): Likewise.
20646         (pow_test_downward): Likewise.
20647         (pow_test_upward): Likewise.
20648         (remainder_test): Likewise.
20649         (remquo_test): Likewise.
20650         (sin_test): Likewise.
20651         (sin_test_tonearest): Likewise.
20652         (sin_test_towardzero): Likewise.
20653         (sin_test_downward): Likewise.
20654         (sin_test_upward): Likewise.
20655         (sincos_test): Likewise.
20656         (sinh_test): Likewise.
20657         (sinh_test_tonearest): Likewise.
20658         (sinh_test_towardzero): Likewise.
20659         (sinh_test_downward): Likewise.
20660         (sinh_test_upward): Likewise.
20661         (sqrt_test): Likewise.
20662         (tan_test): Likewise.
20663         (tan_test_tonearest): Likewise.
20664         (tan_test_towardzero): Likewise.
20665         (tan_test_downward): Likewise.
20666         (tan_test_upward): Likewise.
20667         (tanh_test): Likewise.
20668         (tgamma_test): Likewise.
20669         (y0_test): Likewise.
20670         (y1_test): Likewise.
20671         (yn_test): Likewise.
20672
20673         * math/gen-libm-test.pl (adjust_arg): Remove function.
20674         (special_function): Remove argument $in_func.  Only handle
20675         generating output for tables of tests, not inside functions.
20676         (parse_args): Likewise.
20677         (generate_testfile): Remove variable $in_func.  Update call to
20678         parse_args.
20679         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20680         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20681         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20682         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20683         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20684         (MAX_VALUE_INIT): Rename macro to max_value.
20685         (MIN_VALUE_INIT): Rename macro to min_value.
20686         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20687         (plus_zero): Remove variable.
20688         (minus_zero): Likewise.
20689         (plus_infty): Likewise.
20690         (minus_infty): Likewise.
20691         (qnan_value): Likewise.
20692         (max_value): Likewise.
20693         (min_value): Likewise.
20694         (min_subnorm_value): Likewise.
20695
20696 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20697
20698         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20699         uint64_t or uint32_t usage.
20700         * crypt/sha256-block.c: Likewise.
20701         * crypt/sha256-crypt.c: Likewise.
20702         * crypt/sha256.c: Likewise.
20703         * crypt/sha512-block.c: Likewise.
20704         * crypt/sha512-crypt.c: Likewise.
20705         * crypt/sha512.c: Likewise.
20706         * debug/backtrace-tst.c: Likewise.
20707         * debug/pcprofiledump.c: Likewise.
20708         * elf/cache.c: Likewise.
20709         * elf/dl-cache.c: Likewise.
20710         * elf/dl-misc.c: Likewise.
20711         * elf/dl-profile.c: Likewise.
20712         * elf/dl-support.c: Likewise.
20713         * elf/ldconfig.c: Likewise.
20714         * elf/sprof.c: Likewise.
20715         * iconv/dummy-repertoire.c: Likewise.
20716         * iconv/iconv_charmap.c: Likewise.
20717         * iconv/skeleton.c: Likewise.
20718         * iconvdata/8bit-generic.c: Likewise.
20719         * iconvdata/cp737.h: Likewise.
20720         * iconvdata/cp775.h: Likewise.
20721         * iconvdata/ibm1008.h: Likewise.
20722         * iconvdata/ibm1025.h: Likewise.
20723         * iconvdata/ibm1046.h: Likewise.
20724         * iconvdata/ibm1097.h: Likewise.
20725         * iconvdata/ibm1112.h: Likewise.
20726         * iconvdata/ibm1122.h: Likewise.
20727         * iconvdata/ibm1123.h: Likewise.
20728         * iconvdata/ibm1124.h: Likewise.
20729         * iconvdata/ibm1129.h: Likewise.
20730         * iconvdata/ibm1130.h: Likewise.
20731         * iconvdata/ibm1132.h: Likewise.
20732         * iconvdata/ibm1133.h: Likewise.
20733         * iconvdata/ibm1137.h: Likewise.
20734         * iconvdata/ibm1140.h: Likewise.
20735         * iconvdata/ibm1141.h: Likewise.
20736         * iconvdata/ibm1142.h: Likewise.
20737         * iconvdata/ibm1143.h: Likewise.
20738         * iconvdata/ibm1144.h: Likewise.
20739         * iconvdata/ibm1145.h: Likewise.
20740         * iconvdata/ibm1146.h: Likewise.
20741         * iconvdata/ibm1147.h: Likewise.
20742         * iconvdata/ibm1148.h: Likewise.
20743         * iconvdata/ibm1149.h: Likewise.
20744         * iconvdata/ibm1153.h: Likewise.
20745         * iconvdata/ibm1154.h: Likewise.
20746         * iconvdata/ibm1155.h: Likewise.
20747         * iconvdata/ibm1156.h: Likewise.
20748         * iconvdata/ibm1157.h: Likewise.
20749         * iconvdata/ibm1158.h: Likewise.
20750         * iconvdata/ibm1160.h: Likewise.
20751         * iconvdata/ibm1161.h: Likewise.
20752         * iconvdata/ibm1162.h: Likewise.
20753         * iconvdata/ibm1163.h: Likewise.
20754         * iconvdata/ibm1164.h: Likewise.
20755         * iconvdata/ibm1166.h: Likewise.
20756         * iconvdata/ibm1167.h: Likewise.
20757         * iconvdata/ibm12712.h: Likewise.
20758         * iconvdata/ibm1390.h: Likewise.
20759         * iconvdata/ibm1399.h: Likewise.
20760         * iconvdata/ibm16804.h: Likewise.
20761         * iconvdata/ibm4517.h: Likewise.
20762         * iconvdata/ibm4899.h: Likewise.
20763         * iconvdata/ibm4909.h: Likewise.
20764         * iconvdata/ibm4971.h: Likewise.
20765         * iconvdata/ibm5347.h: Likewise.
20766         * iconvdata/ibm803.h: Likewise.
20767         * iconvdata/ibm856.h: Likewise.
20768         * iconvdata/ibm901.h: Likewise.
20769         * iconvdata/ibm902.h: Likewise.
20770         * iconvdata/ibm9030.h: Likewise.
20771         * iconvdata/ibm9066.h: Likewise.
20772         * iconvdata/ibm921.h: Likewise.
20773         * iconvdata/ibm922.h: Likewise.
20774         * iconvdata/ibm9448.h: Likewise.
20775         * iconvdata/isiri-3342.h: Likewise.
20776         * iconvdata/jis0201.h: Likewise.
20777         * include/link.h: Likewise.
20778         * include/netdb.h: Likewise.
20779         * inet/check_native.c: Likewise.
20780         * inet/check_pf.c: Likewise.
20781         * inet/getipv4sourcefilter.c: Likewise.
20782         * inet/getnameinfo.c: Likewise.
20783         * inet/getsourcefilter.c: Likewise.
20784         * inet/htonl.c: Likewise.
20785         * inet/setipv4sourcefilter.c: Likewise.
20786         * inet/setsourcefilter.c: Likewise.
20787         * inet/test-inet6_opt.c: Likewise.
20788         * inet/tst-network.c: Likewise.
20789         * locale/C-collate.c: Likewise.
20790         * locale/C-ctype.c: Likewise.
20791         * locale/C-time.c: Likewise.
20792         * locale/C-translit.h: Likewise.
20793         * locale/loadarchive.c: Likewise.
20794         * locale/programs/3level.h: Likewise.
20795         * locale/programs/charmap.c: Likewise.
20796         * locale/programs/charmap.h: Likewise.
20797         * locale/programs/ld-address.c: Likewise.
20798         * locale/programs/ld-collate.c: Likewise.
20799         * locale/programs/ld-ctype.c: Likewise.
20800         * locale/programs/ld-identification.c: Likewise.
20801         * locale/programs/ld-measurement.c: Likewise.
20802         * locale/programs/ld-messages.c: Likewise.
20803         * locale/programs/ld-monetary.c: Likewise.
20804         * locale/programs/ld-name.c: Likewise.
20805         * locale/programs/ld-numeric.c: Likewise.
20806         * locale/programs/ld-paper.c: Likewise.
20807         * locale/programs/ld-telephone.c: Likewise.
20808         * locale/programs/ld-time.c: Likewise.
20809         * locale/programs/linereader.c: Likewise.
20810         * locale/programs/locale.c: Likewise.
20811         * locale/programs/locarchive.c: Likewise.
20812         * locale/programs/locfile.h: Likewise.
20813         * locale/programs/repertoire.c: Likewise.
20814         * locale/programs/simple-hash.c: Likewise.
20815         * locale/programs/simple-hash.h: Likewise.
20816         * malloc/memusage.c: Likewise.
20817         * malloc/memusagestat.c: Likewise.
20818         * nis/nis_defaults.c: Likewise.
20819         * nis/nis_hash.c: Likewise.
20820         * nis/nis_print.c: Likewise.
20821         * nis/nis_xdr.c: Likewise.
20822         * nscd/connections.c: Likewise.
20823         * nscd/hstcache.c: Likewise.
20824         * nscd/nscd_gethst_r.c: Likewise.
20825         * nscd/nscd_getserv_r.c: Likewise.
20826         * nscd/nscd_helper.c: Likewise.
20827         * nscd/servicescache.c: Likewise.
20828         * nss/makedb.c: Likewise.
20829         * nss/nss_db/db-XXX.c: Likewise.
20830         * nss/nss_db/db-initgroups.c: Likewise.
20831         * nss/nss_db/db-netgrp.c: Likewise.
20832         * nss/nss_files/files-network.c: Likewise.
20833         * nss/nss_files/files-parse.c: Likewise.
20834         * posix/bug-regex5.c: Likewise.
20835         * posix/fnmatch_loop.c: Likewise.
20836         * posix/regcomp.c: Likewise.
20837         * posix/regexec.c: Likewise.
20838         * posix/tst-rfc3484-2.c: Likewise.
20839         * posix/tst-rfc3484-3.c: Likewise.
20840         * posix/tst-rfc3484.c: Likewise.
20841         * resolv/nss_dns/dns-canon.c: Likewise.
20842         * resolv/nss_dns/dns-network.c: Likewise.
20843         * resolv/res_init.c: Likewise.
20844         * resolv/res_mkquery.c: Likewise.
20845         * resolv/tst-aton.c: Likewise.
20846         * stdlib/cxa_atexit.c: Likewise.
20847         * stdlib/cxa_finalize.c: Likewise.
20848         * stdlib/gen-fpioconst.c: Likewise.
20849         * stdlib/strtol_l.c: Likewise.
20850         * string/tst-endian.c: Likewise.
20851         * sunrpc/auth_des.c: Likewise.
20852         * sunrpc/clnt_udp.c: Likewise.
20853         * sunrpc/rtime.c: Likewise.
20854         * sunrpc/svcauth_des.c: Likewise.
20855         * sunrpc/xdr.c: Likewise.
20856         * sunrpc/xdr_intXX_t.c: Likewise.
20857         * sunrpc/xdr_rec.c: Likewise.
20858         * sysdeps/generic/ldconfig.h: Likewise.
20859         * sysdeps/generic/ldsodefs.h: Likewise.
20860         * sysdeps/generic/memusage.h: Likewise.
20861         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20862         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20863         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20864         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20865         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20866         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20867         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20868         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20869         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20870         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20871         * sysdeps/posix/getaddrinfo.c: Likewise.
20872         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20873         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20874         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20875         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20876         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20877         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20878         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20879         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20880         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20881         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20882         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20883         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20884         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20885         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20886         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20887         * sysdeps/x86_64/dl-tls.h: Likewise.
20888         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20889         * time/alt_digit.c: Likewise.
20890         * time/era.c: Likewise.
20891         * wcsmbs/tst-c16c32-1.c: Likewise.
20892
20893 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20894
20895         * math/libm-test.inc (struct test_sincos_data): New type.
20896         (RUN_TEST_LOOP_sincos): New macro.
20897         (sincos_test_data): New variable.
20898         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20899
20900 2013-05-16  Richard Henderson  <rth@redhat.com>
20901
20902         * math/atest-exp2.c (LIMB64): New macro.
20903         (CONSTSZ): New macro.
20904         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20905         (hexdig): Move ...
20906         (print_mpn_fp): ... to function scope.
20907         (read_mpn_hex): Remove.
20908         (get_log2): Remove.
20909         (exp2_mpn): Use mp_log2.
20910         (main): Use mp_exp1.
20911
20912 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20913
20914         * math/libm-test.inc: Remove comment about not testing "inexact"
20915         exceptions.
20916         (INEXACT_EXCEPTION): New macro.
20917         (NO_INEXACT_EXCEPTION): Likewise.
20918         (INVALID_EXCEPTION_OK): Update value.
20919         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20920         (OVERFLOW_EXCEPTION_OK): Likewise.
20921         (UNDERFLOW_EXCEPTION_OK): Likewise.
20922         (IGNORE_ZERO_INF_SIGN): Likewise.
20923         (ERRNO_UNCHANGED): Likewise.
20924         (ERRNO_EDOM): Likewise.
20925         (ERRNO_ERANGE): Likewise.
20926         (test_exceptions): Handle testing "inexact" exceptions.
20927         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20928         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20929         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20930         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20931         INEXACT_EXCEPTION.
20932         (rint_towardzero_test_data): Likewise.
20933         (rint_downward_test_data): Likewise.
20934         (rint_upward_test_data): Likewise.
20935
20936         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20937         with OVERFLOW_EXCEPTION.
20938         (exp10_test_data): Likewise.
20939         (exp2_test_data): Likewise.
20940         (expm1_test_data): Likewise.
20941         (lgamma_test_data): Likewise.
20942         (pow_test_data): Likewise.
20943         (tgamma_test_data): Likewise.
20944         (yn_test_data): Remove duplicate test of overflow.
20945
20946         * math/libm-test.inc (struct test_cc_c_data): New type.
20947         (RUN_TEST_LOOP_cc_c): New macro.
20948         (cpow_test_data): New variable.
20949         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20950
20951         * math/libm-test.inc (struct test_f_L_data): New type.
20952         (RUN_TEST_LOOP_f_L): New macro.
20953         (llrint_test_data): New variable.
20954         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20955         (llrint_tonearest_test_data): New variable.
20956         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20957         (llrint_towardzero_test_data): New variable.
20958         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20959         (llrint_downward_test_data): New variable.
20960         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20961         (llrint_upward_test_data): New variable.
20962         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20963         (llround_test_data): New variable.
20964         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20965
20966 2013-05-13  Peter Collingbourne  <pcc@google.com>
20967
20968         * math/atest-exp2.c (get_log2): Remove const attribute.
20969
20970 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20971
20972         * math/libm-test.inc (struct test_f_l_data): New type.
20973         (RUN_TEST_LOOP_f_l): New macro.
20974         (lrint_test_data): New variable.
20975         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20976         (lrint_tonearest_test_data): New variable.
20977         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20978         (lrint_towardzero_test_data): New variable.
20979         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20980         (lrint_downward_test_data): New variable.
20981         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20982         (lrint_upward_test_data): New variable.
20983         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20984         (lround_test_data): New variable.
20985         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20986
20987 2013-05-15  Peter Collingbourne  <pcc@google.com>
20988
20989         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20990         (EXTRACT_WORDS64) Use where appropriate.
20991         (INSERT_WORDS64) Likewise.
20992
20993         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20994         constraints with x constraints.
20995         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20996
20997         * malloc/obstack.c (_obstack_compat): Add initializer.
20998
20999 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21000
21001         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21002         si_trapno and add si_addr_lsb to _sifields.sigfault.
21003         (si_trapno): Remove macro.
21004         (si_addr_lsb): Define new macro.
21005         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21006
21007 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21008
21009         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21010         instead of TEST_f_l.
21011         (llrint_test_tonearest): Likewise.
21012         (llrint_test_towardzero): Likewise.
21013         (llrint_test_downward): Likewise.
21014         (llrint_test_upward): Likewise.
21015         (llround_test): Likewise.
21016
21017         * math/libm-test.inc (struct test_f_i_data): Add comment.
21018         (RUN_TEST_LOOP_f_b): New macro.
21019         (RUN_TEST_LOOP_f_b_tg): Likewise.
21020         (finite_test_data): New variable.
21021         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21022         (isfinite_test_data): New variable.
21023         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21024         (isinf_test_data): New variable.
21025         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21026         (isnan_test_data): New variable.
21027         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21028         (isnormal_test_data): New variable.
21029         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21030         (issignaling_test_data): New variable.
21031         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21032         (signbit_test_data): New variable.
21033         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21034
21035         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21036         with INVALID_EXCEPTION.
21037         (acosh_test_data): Likewise.
21038         (asin_test_data): Likewise.
21039         (atanh_test_data): Likewise.
21040         (fmod_test_data): Likewise.
21041         (log_test_data): Likewise.
21042         (log10_test_data): Likewise.
21043         (log2_test_data): Likewise.
21044         (pow_test_data): Likewise.
21045         (sqrt_test_data): Likewise.
21046         (y0_test_data): Likewise.
21047         (y1_test_data): Likewise.
21048         (yn_test_data): Likewise.
21049
21050         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21051         function contents.
21052
21053         * math/libm-test.inc (struct test_ff_i_data): New type.
21054         (RUN_TEST_LOOP_ff_i_tg): New macro.
21055         (isgreater_test_data): New variable.
21056         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21057         (isgreaterequal_test_data): New variable.
21058         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21059         (isless_test_data): New variable.
21060         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21061         (islessequal_test_data): New variable.
21062         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21063         (islessgreater_test_data): New variable.
21064         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21065         (isunordered_test_data): New variable.
21066         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21067
21068 2013-05-14  David S. Miller  <davem@davemloft.net>
21069
21070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21071
21072 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21073
21074         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21075
21076         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21077         extra_test to int.
21078         (struct test_f_i_data): Change type of max_ulp to int.
21079
21080         * math/libm-test.inc (test_ffI_f1_data): New type.
21081         (RUN_TEST_LOOP_ffI_f1): New macro.
21082         (remquo_test_data): New variable.
21083         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21084
21085         * setjmp/tst-setjmp-fp.c: New file.
21086         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21087         (link-libm): New variable.
21088         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21089
21090         * math/libm-test.inc (struct test_f_i_data): New type.
21091         (RUN_TEST_LOOP_f_i): New macro.
21092         (RUN_TEST_LOOP_f_i_tg): Likewise.
21093         (fpclassify_test_data): New variable.
21094         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21095         (ilogb_test_data): New variable.
21096         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21097
21098         * math/libm-test.inc (scalbln_test): Correct function name in END
21099         call.
21100
21101         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21102         (RUN_TEST_LOOP_fI_f1): New macro.
21103         (frexp_test_data): New variable.
21104         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21105
21106         * math/libm-test.inc (struct test_fF_f1_data): New type.
21107         (RUN_TEST_LOOP_fF_f1): New macro.
21108         (modf_test_data): New variable.
21109         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21110
21111         * math/libm-test.inc (struct test_f_f1_data): New type.
21112         (RUN_TEST_LOOP_f_f1): New macro.
21113         (gamma_test_data): New variable.
21114         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21115         (lgamma_test_data): New variable.
21116         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21117
21118 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21119
21120         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21121         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21122         (main): Comment "tls" pseudo-hwcap.
21123
21124 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21125
21126         * math/libm-test.inc (struct test_fl_f_data): New type.
21127         (RUN_TEST_LOOP_fl_f): New variable.
21128         (scalbln_test_data): New variable.
21129         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21130
21131         * math/libm-test.inc (struct test_fi_f_data): New type.
21132         (RUN_TEST_LOOP_fi_f): New macro.
21133         (ldexp_test_data): New variable.
21134         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21135         (scalbn_test_data): New variable.
21136         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21137
21138         * math/libm-test.inc (struct test_c_f_data): New type.
21139         (RUN_TEST_LOOP_c_f): New macro.
21140         (cabs_test_data): New variable.
21141         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21142         (carg_test_data): New variable.
21143         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21144         (cimag_test_data): New variable.
21145         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21146         (creal_test_data): New variable.
21147         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21148
21149         * math/libm-test.inc (struct test_if_f_data): New type.
21150         (RUN_TEST_LOOP_if_f): New macro.
21151         (jn_test_data): New variable.
21152         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21153         (yn_test_data): New variable.
21154         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21155
21156         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21157
21158 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21159
21160         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21161         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21162
21163 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164
21165         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21166         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21167         (bench-deps): Add bench-timing.h.
21168         * benchtests-bench-skeleton.c: Include bench-timing.h.
21169         (main): Use TIMING_* macros instead of clock_gettime.
21170         * benchtests/bench-timing.h: New file.
21171
21172         [BZ #14582]
21173         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21174         Renamed from _LIB_VERSION.
21175         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21176
21177 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21178
21179         * math/libm-test.inc (struct test_fff_f_data): New type.
21180         (RUN_TEST_LOOP_fff_f): New macro.
21181         (fma_test_data): New variable.
21182         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21183         (fma_towardzero_test_data): New variable.
21184         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21185         (fma_downward_test_data): New variable.
21186         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21187         (fma_upward_test_data): New variable.
21188         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21189
21190         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21191         (struct test_c_c_data): New type.
21192         (RUN_TEST_LOOP_c_c): New macro.
21193         (cacos_test_data): New variable.
21194         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21195         (cacosh_test_data): New variable.
21196         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21197         (casin_test_data): New variable.
21198         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21199         (casinh_test_data): New variable.
21200         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21201         (catan_test_data): New variable.
21202         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21203         (catanh_test_data): New variable.
21204         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21205         (ccos_test_data): New variable.
21206         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21207         (ccosh_test_data): New variable.
21208         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21209         (cexp_test_data): New variable.
21210         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21211         (clog_test_data): New variable.
21212         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21213         (clog10_test_data): New variable.
21214         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21215         (conj_test_data): New variable.
21216         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21217         (cproj_test_data): New variable.
21218         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21219         (csin_test_data): New variable.
21220         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21221         (csinh_test_data): New variable.
21222         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21223         (csqrt_test_data): New variable.
21224         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21225         (ctan_test_data): New variable.
21226         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21227         (ctan_tonearest_test_data): New variable.
21228         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21229         (ctan_towardzero_test_data): New variable.
21230         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21231         (ctan_downward_test_data): New variable.
21232         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21233         (ctan_upward_test_data): New variable.
21234         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21235         (ctanh_test_data): New variable.
21236         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21237         (ctanh_tonearest_test_data): New variable.
21238         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21239         (ctanh_towardzero_test_data): New variable.
21240         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21241         (ctanh_downward_test_data): New variable.
21242         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21243         (ctanh_upward_test_data): New variable.
21244         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21245         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21246         of BUILD_COMPLEX.
21247
21248         * math/libm-test.inc (struct test_ff_f_data): New type.
21249         (struct test_ff_f_data_nexttoward): Likewise.
21250         (RUN_TEST_LOOP_2_f): New macro.
21251         (RUN_TEST_LOOP_ff_f): Likewise.
21252         (atan2_test_data): New variable.
21253         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21254         (copysign_test_data): New variable.
21255         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21256         (fdim_test_data): New variable.
21257         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21258         (fmax_test_data): New variable.
21259         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21260         (fmin_test_data): New variable.
21261         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21262         (fmod_test_data): New variable.
21263         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21264         (hypot_test_data): New variable.
21265         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21266         (nextafter_test_data): New variable.
21267         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21268         (nexttoward_test_data): New variable.
21269         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21270         (pow_test_data): New variable.
21271         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21272         (pow_tonearest_test_data): New variable.
21273         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21274         (pow_towardzero_test_data): New variable.
21275         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21276         (pow_downward_test_data): New variable.
21277         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21278         (pow_upward_test_data): New variable.
21279         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21280         (remainder_test_data): New variable.
21281         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21282         (scalb_test_data): New variable.
21283         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21284         * sysdeps/i386/fpu/libm-test-ulps: Update.
21285
21286 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21287
21288         * math/libm-test.inc (fma_test): Use max_value instead of local
21289         variable fltmax.
21290         (nextafter_test): Likewise.
21291
21292         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21293         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21294         (acos_downward_test_data): New variable.
21295         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21296         (acos_upward_test_data): New variable.
21297         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21298         (acosh_test_data): New variable.
21299         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21300         (asin_test_data): New variable.
21301         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21302         (asin_tonearest_test_data): New variable.
21303         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21304         (asin_towardzero_test_data): New variable.
21305         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21306         (asin_downward_test_data): New variable.
21307         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21308         (asin_upward_test_data): New variable.
21309         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21310         (asinh_test_data): New variable.
21311         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21312         (atan_test_data): New variable.
21313         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21314         (atanh_test_data): New variable.
21315         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21316         (cbrt_test_data): New variable.
21317         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21318         (ceil_test_data): New variable.
21319         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21320         (cos_test_data): New variable.
21321         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21322         (cos_tonearest_test_data): New variable.
21323         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21324         (cos_towardzero_test_data): New variable.
21325         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21326         (cos_downward_test_data): New variable.
21327         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21328         (cos_upward_test_data): New variable.
21329         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21330         (cosh_test_data): New variable.
21331         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21332         (cosh_tonearest_test_data): New variable.
21333         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21334         (cosh_towardzero_test_data): New variable.
21335         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21336         (cosh_downward_test_data): New variable.
21337         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21338         (cosh_upward_test_data): New variable.
21339         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21340         (erf_test_data): New variable.
21341         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21342         (erfc_test_data): New variable.
21343         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21344         (exp_test_data): New variable.
21345         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21346         (exp_tonearest_test_data): New variable.
21347         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21348         (exp_towardzero_test_data): New variable.
21349         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21350         (exp_downward_test_data): New variable.
21351         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21352         (exp_upward_test_data): New variable.
21353         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21354         (exp10_test_data): New variable.
21355         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21356         (exp2_test_data): New variable.
21357         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21358         (expm1_test_data): New variable.
21359         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21360         (fabs_test_data): New variable.
21361         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21362         (floor_test_data): New variable.
21363         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21364         (j0_test_data): New variable.
21365         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21366         (j1_test_data): New variable.
21367         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21368         (log_test_data): New variable.
21369         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21370         (log10_test_data): New variable.
21371         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21372         (log1p_test_data): New variable.
21373         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21374         (log2_test_data): New variable.
21375         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21376         (logb_test_data): New variable.
21377         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21378         (logb_downward_test_data): New variable.
21379         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21380         (nearbyint_test_data): New variable.
21381         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21382         (rint_test_data): New variable.
21383         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21384         (rint_tonearest_test_data): New variable.
21385         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21386         (rint_towardzero_test_data): New variable.
21387         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21388         (rint_downward_test_data): New variable.
21389         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21390         (rint_upward_test_data): New variable.
21391         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21392         (round_test_data): New variable.
21393         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21394         (sin_test_data): New variable.
21395         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21396         (sin_tonearest_test_data): New variable.
21397         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21398         (sin_towardzero_test_data): New variable.
21399         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21400         (sin_downward_test_data): New variable.
21401         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21402         (sin_upward_test_data): New variable.
21403         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21404         (sinh_test_data): New variable.
21405         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21406         (sinh_tonearest_test_data): New variable.
21407         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21408         (sinh_towardzero_test_data): New variable.
21409         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21410         (sinh_downward_test_data): New variable.
21411         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21412         (sinh_upward_test_data): New variable.
21413         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21414         (sqrt_test_data): New variable.
21415         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21416         (tan_test_data): New variable.
21417         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21418         (tan_tonearest_test_data): New variable.
21419         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21420         (tan_towardzero_test_data): New variable.
21421         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21422         (tan_downward_test_data): New variable.
21423         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21424         (tan_upward_test_data): New variable.
21425         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21426         (tanh_test_data): New variable.
21427         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21428         (tgamma_test_data): New variable.
21429         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21430         (trunc_test_data): New variable.
21431         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21432         (y0_test_data): New variable.
21433         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21434         (y1_test_data): New variable.
21435         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21436         (significand_test_data): New variable.
21437         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21438
21439 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21440
21441         [BZ #12387]
21442         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21443
21444 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21445
21446         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21447
21448 2013-05-10  Andreas Jaeger  <aj@suse.de>
21449
21450         [BZ #15448]
21451         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21452         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21453
21454 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21455
21456         * math/gen-libm-test.pl (adjust_arg): New function.
21457         (special_functions): Handle generating output in both functions
21458         and arrays.
21459         (parse_args): Likewise.
21460         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21461         $in_func argument to parse_args.
21462         * math/libm-test.inc (struct test_f_f_data): New type.
21463         (IF_ROUND_INIT_): New macro.
21464         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21465         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21466         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21467         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21468         (ROUND_RESTORE_): Likewise.
21469         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21470         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21471         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21472         (ROUND_RESTORE_FE_UPWARD): Likewise.
21473         (RUN_TEST_LOOP_f_f): New macro.
21474         (acos_test_data): New variable.
21475         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21476         (acos_tonearest_test_data): New variable.
21477         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21478
21479 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21480
21481         * benchtests/bench-skeleton.c (startup): Fix coding style.
21482
21483 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21484
21485         [BZ #6809]
21486         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21487         negative infinity argument.
21488         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21489         negative infinity argument.
21490         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21491         negative infinity argument.
21492         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21493         domain errors.
21494
21495 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21496
21497         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21498         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21499         * iconv/iconv_prog.c (main): Likewise.
21500         * locale/programs/charmap-dir.c (charmap_readdir)
21501         (fopen_uncompressed): Likewise.
21502         * locale/programs/locfile.c (siblings_uncached)
21503         (write_locale_data): Use lstat64 instead of lstat.
21504         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21505         stat.
21506
21507 2013-05-10  Andreas Jaeger  <aj@suse.de>
21508
21509         [BZ #15395]
21510         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21511         localization.
21512         Include <locale.h>.
21513
21514 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21515
21516         * elf/dl-close.c (_dl_close_worker): Add comments.
21517
21518 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21519
21520         [BZ #15359]
21521         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21522         high part of pi/2.
21523         (__ieee754_rem_pio2l): Update comments.
21524
21525         [BZ #15429]
21526         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21527         high part of pi/2.
21528         (__ieee754_rem_pio2l): Update comments.
21529
21530         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21531         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21532
21533         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21534         M_PI_4l.
21535
21536         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21537         (M_PI_34_LOG10El): Likewise.
21538         (M_PI2_LOG10El): Likewise.
21539         (M_PI4_LOG10El): Likewise.
21540         (M_PI_LOG10El): Likewise.
21541
21542 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21543
21544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21545
21546 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21547
21548         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21549         (MINUS_ZERO_INIT): Likewise.
21550         (PLUS_INFTY_INIT): Likewise.
21551         (MINUS_INFTY_INIT): Likewise.
21552         (QNAN_VALUE_INIT): Likewise.
21553         (MAX_VALUE_INIT): Likewise.
21554         (MIN_VALUE_INIT): Likewise.
21555         (MIN_SUBNORM_VALUE_INIT): Likewise.
21556         (plus_zero): Initialize with PLUS_ZERO_INIT.
21557         (minus_zero): Initialize with MINUS_ZERO_INIT.
21558         (plus_infty): Initialize with PLUS_INFTY_INIT.
21559         (minus_infty): Initialize with MINUS_INFTY_INIT.
21560         (qnan_value): Initialize with QNAN_VALUE_INIT.
21561         (max_value): Initialize with MAX_VALUE_INIT.
21562         (min_value): Initialize with MIN_VALUE_INIT.
21563         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21564
21565         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21566         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21567         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21568         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21569
21570         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21571         (RUN_TEST_2_f): Likewise.
21572         (RUN_TEST_ff_f): Likewise.
21573         (RUN_TEST_fi_f): Likewise.
21574         (RUN_TEST_fl_f): Likewise.
21575         (RUN_TEST_fff_f): Likewise.
21576         (RUN_TEST_c_f): Likewise.
21577         (RUN_TEST_f_f1): Likewise.
21578         (RUN_TEST_fF_f1): Likewise.
21579         (RUN_TEST_fI_f1): Likewise.
21580         (RUN_TEST_ffI_f1): Likewise.
21581         (RUN_TEST_c_c): Likewise.
21582         (RUN_TEST_cc_c): Likewise.
21583         (RUN_TEST_f_i): Likewise.
21584         (RUN_TEST_f_i_tg): Likewise.
21585         (RUN_TEST_ff_i_tg): Likewise.
21586         (RUN_TEST_f_b): Likewise.
21587         (RUN_TEST_f_b_tg): Likewise.
21588         (RUN_TEST_f_l): Likewise.
21589         (RUN_TEST_f_L): Likewise.
21590         (RUN_TEST_sincos): Likewise.
21591         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21592         whether to show exceptions.  Do not include ");\n" in return
21593         value.
21594         (special_functions): Output call to RUN_TEST_sincos instead of
21595         check_float calls.  Update calls to new_test.
21596         (parse_args): Output call to single RUN_TEST_* macro instead of
21597         check_* calls and other assignments.  Update calls to new_test.
21598
21599         [BZ #2546]
21600         [BZ #2560]
21601         [BZ #5159]
21602         [BZ #15426]
21603         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21604         input to result for tgamma overflow.
21605         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21606         (gamma_coeff): New variable.
21607         (NCOEFF): New macro.
21608         (gamma_positive): New function.
21609         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21610         underflow here.  Use gamma_positive instead of exp (lgamma) for
21611         other arguments.
21612         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21613         (gamma_coeff): New variable.
21614         (NCOEFF): New macro.
21615         (gammaf_positive): New function.
21616         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21617         underflow here.  Use gamma_positive instead of exp (lgamma) for
21618         other arguments.
21619         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21620         (gamma_coeff): New variable.
21621         (NCOEFF): New macro.
21622         (gammal_positive): New function.
21623         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21624         underflow here.  Use gamma_positive instead of exp (lgamma) for
21625         other arguments.
21626         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21627         (gamma_coeff): New variable.
21628         (NCOEFF): New macro.
21629         (gammal_positive): New function.
21630         (__ieee754_gammal_r): Handle positive infinity, overflow and
21631         underflow here.  Handle NaN the same as positive infinity.  Remove
21632         check x < 0xffffffff for negative integers.  Use gamma_positive
21633         instead of exp (lgamma) for other arguments.
21634         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21635         (gamma_coeff): New variable.
21636         (NCOEFF): New macro.
21637         (gammal_positive): New function.
21638         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21639         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21640         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21641         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21642         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21643         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21644         * sysdeps/generic/math_private.h (__gamma_productf): New
21645         prototype.
21646         (__gamma_product): Likewise.
21647         (__gamma_productl): Likewise.
21648         * math/Makefile (libm-calls): Add gamma_product.
21649         * math/libm-test.inc (tgamma_test): Add more tests.
21650         * sysdeps/i386/fpu/libm-test-ulps: Update.
21651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21652
21653 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21654
21655         * benchtests/bench-skeleton.c (main): Preheat CPU.
21656
21657 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21658
21659         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21660
21661 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21662
21663         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21664         and _dl_skip_args_internal.
21665
21666 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21667
21668         * manual/message.texi (Message Translation): Talk about users.
21669         Message to key mapping impacts design.
21670
21671 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21672
21673         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21674
21675         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21676
21677         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21678         * sysdeps/wordsize-64/glob64.c: ... here.
21679
21680         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21681         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21682         New macros.
21683
21684         * debug/getlogin_r_chk.c: Moved to ...
21685         * login/getlogin_r_chk.c: ... here.
21686         * debug/Makefile (routines): Move getlogin_r_chk to ...
21687         * login/Makefile (routines): ... here.
21688         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21689         * login/Versions (libc: GLIBC_2.4): ... here.
21690
21691         * io/poll.c (__poll): Renamed from poll.
21692         Add libc_hidden_def.
21693         (poll): Define as weak alias.
21694
21695         * debug/ptsname_r_chk.c: Moved to ...
21696         * login/ptsname_r_chk.c: ... here.
21697         * debug/Makefile (routines): Move ptsname_r_chk to ...
21698         * login/Makefile (routines): ... here.
21699         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21700         * login/Versions (libc: GLIBC_2.4): ... here.
21701
21702         * posix/getlogin.c: Moved to ...
21703         * login/getlogin.c: ... here.
21704         * posix/getlogin_r.c: Moved to ...
21705         * login/getlogin_r.c: ... here.
21706         * posix/getlogin_r.c: Moved to ...
21707         * login/getlogin_r.c: ... here.
21708         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21709         * login/Makefile (routines): ... here.
21710         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21711         * login/Versions (libc: GLIBC_2.0): ... here.
21712
21713         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21714         (setrlimit): Define as weak alias.
21715
21716         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21717         Call __ names for open, ftruncate, and close.
21718         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21719         (truncate): Define as weak alias.
21720
21721 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21722
21723         * math/gen-libm-test.pl (parse_args): Initialize x before each
21724         test of frexp, modf and remquo.
21725
21726         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21727         test signgam value.
21728
21729 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21730
21731         [BZ #15418]
21732         [BZ #15419]
21733         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21734         internal tests.
21735         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21736
21737 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21738
21739         * elf/dl-writev.h: New file.
21740         * elf/dl-misc.c: Include it.
21741         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21742         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21743
21744 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21745
21746         * math/libm-test.inc (noXFails): Remove variable.
21747         (noXPasses): Likewise.
21748         (BUILD_COMPLEX_INT): Remove macro.
21749         (print_screen): Remove xfail argument.
21750         (print_screen_max_error): Likewise.
21751         (update_stats): Likewise.
21752         (print_max_error): Likewise.  Update calls to other affected
21753         functions.
21754         (print_complex_max_error): Likewise.
21755         (test_single_exception): Update calls to print_screen.
21756         (test_single_errno): Likewise.
21757         (check_float_internal): Remove xfail argument.  Update calls to
21758         other affected functions.
21759         (check_float): Likewise.
21760         (check_complex): Likewise.
21761         (check_int): Likewise.
21762         (check_long): Likewise.
21763         (check_bool): Likewise.
21764         (check_longlong): Likewise.
21765         (main): Don't print noXFails and noXPasses.
21766         * math/gen-libm-test.pl (top level): Don't mention expected
21767         failure handling in comment.
21768         (new_test): Don't handle expected failures.
21769         (parse_args): Don't mention expected failure handling in comment.
21770         (generate_testfile): Don't handle expected failures.
21771         (parse_ulps): Likewise.
21772         (print_ulps_file): Likewise.
21773         (get_failure): Remove function.
21774         (output_test): Don't handle expected failures.
21775         * make/README.libm-test: Don't mention expected failure handling.
21776
21777         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21778         (minus_zero): Likewise.
21779         (plus_infty): Likewise.
21780         (minus_infty): Likewise.
21781         (qnan_value): Likewise.
21782         (max_value): Likewise.
21783         (min_value): Likewise.
21784         (min_subnorm_value): Likewise.
21785         (initialize): Do not initialize those variables dynamically.
21786
21787 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21788
21789         * io/open.c (__open_2): Moved to ...
21790         * io/open_2.c: ... this new file.
21791         * io/open64.c (__open64_2): Moved to ...
21792         * io/open64_2.c: ... this new file.
21793         * io/openat.c (__openat_2): Moved to ...
21794         * io/openat_2.c: ... this new file.
21795         * io/openat64.c (__openat64_2): Moved to ...
21796         * io/openat64_2.c: ... this new file.
21797         * io/Makefile (routines): Add them.
21798         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21799         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21800         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21801         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21802         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21803         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21804         (__openat64): Add hidden_ver.
21805         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21806         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21807
21808         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21809         Separately conditionalize setting of GLRO(dl_sysinfo) so
21810         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21811         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21812
21813 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21814
21815         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21816         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21817         definition.
21818         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21819         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21820         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21821         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21822         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21823
21824 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21825
21826         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21827         test signgam value.
21828
21829         * math/libm-test.inc (hypot_test): Do not use
21830         IGNORE_ZERO_INF_SIGN.
21831
21832 2013-05-03  Andreas Jaeger  <aj@suse.de>
21833
21834         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21835         Linux 3.9.
21836         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21837         (PF_MAX): Adjust for VSOCK change.
21838
21839 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21840
21841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21842
21843 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21844
21845         [BZ #15264]
21846         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21847         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21848         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21849
21850 2013-05-02  David S. Miller  <davem@davemloft.net>
21851
21852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21853
21854 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21855
21856         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21857
21858 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21859
21860         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21861
21862 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21863
21864         [BZ #14952]
21865         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21866         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21867         Use __attribute__ ((__gnu_inline__)).
21868         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21869         Don't use __attribute__ ((__gnu_inline__)).
21870
21871 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21872
21873         [BZ #15423]
21874         * math/s_catan.c (__catan): Handle small real or imaginary part of
21875         input specially to avoid spurious underflow.
21876         * math/s_catanf.c (__catanf): Likewise.
21877         * math/s_catanh.c (__catanh): Likewise.
21878         * math/s_catanhf.c (__catanhf): Likewise.
21879         * math/s_catanhl.c (__catanhl): Likewise.
21880         * math/s_catanl.c (__catanl): Likewise.
21881         * math/libm-test.inc (catan_test): Add more tests.
21882         (catanh_test): Likewise.
21883         * sysdeps/i386/fpu/libm-test-ulps: Update.
21884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21885
21886 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21887
21888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21889
21890 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21891
21892         [BZ #15416]
21893         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21894         accurately for denominator in atan2.
21895         * math/s_catanf.c (__catanf): Likewise.
21896         * math/s_catanh.c (__catanh): Likewise.
21897         * math/s_catanhf.c (__catanhf): Likewise.
21898         * math/s_catanhl.c (__catanhl): Likewise.
21899         * math/s_catanl.c (__catanl): Likewise.
21900         * math/libm-test.inc (catan_test): Add more tests.
21901         (catanh_test): Likewise.
21902         * sysdeps/i386/fpu/libm-test-ulps: Update.
21903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21904
21905 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21906
21907         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21908
21909         * benchtests/Makefile (bench): Remove slow benchmarks.
21910         * benchtests/atan-inputs: Add slow benchmark inputs.
21911         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21912         (BENCH_FUNC): Accept variant offset.
21913         (VARIANT): Define.
21914         * benchtests/bench-skeleton.c (main): Run benchmark for each
21915         variant.
21916         * benchtests/cos-inputs: Add slow benchmark inputs.
21917         * benchtests/exp-inputs: Likewise.
21918         * benchtests/pow-inputs: Likewise.
21919         * benchtests/sin-inputs: Likewise.
21920         * benchtests/slowatan-inputs: Remove.
21921         * benchtests/slowatan.c: Remove.
21922         * benchtests/slowcos-inputs: Remove.
21923         * benchtests/slowcos.c: Remove.
21924         * benchtests/slowexp-inputs: Remove.
21925         * benchtests/slowexp.c: Remove.
21926         * benchtests/slowpow-inputs: Remove.
21927         * benchtests/slowpow.c: Remove.
21928         * benchtests/slowsin-inputs: Remove.
21929         * benchtests/slowsin.c: Remove.
21930         * benchtests/slowtan-inputs: Remove.
21931         * benchtests/slowtan.c: Remove.
21932         * benchtests/tan-inputs: Add slow benchmark inputs.
21933         * scripts/bench.pl: Parse comments and directives.
21934
21935         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21936         in CPPFLAGS.
21937         ($(objpfx)bench-%.c): Remove *-ITER.
21938         * benchtests/bench-modf.c: Remove definition of ITER.
21939         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21940         (main): Loop for DURATION seconds instead of fixed number of
21941         iterations.
21942         * scripts/bench.pl: Don't expect iterations in parameters.
21943
21944 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21945
21946         * io/fchdir.c (__fchdir): Renamed from fchdir.
21947         (fchdir): Define as weak alias.
21948
21949 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21950
21951         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21952         (ERRNO_EDOM): Likewise.
21953         (ERRNO_ERANGE): Likewise.
21954         (noErrnoTests): New variable.
21955         (init_max_error): Set errno to 0.
21956         (test_single_errno): New function.
21957         (test_errno): Likewise.
21958         (check_float_internal): Call test_errno.  Set errno to 0.
21959         (check_complex): Refer to errno tests in comment.
21960         (check_int): Call test_errno.  Set errno to 0.
21961         (check_long): Likewise.
21962         (check_bool): Likewise.
21963         (check_longlong): Likewise.
21964         (cos_test): Use ERRNO_* flags for errno tests instead of
21965         check_int.
21966         (expm1_test): Likewise.
21967         (fmod_test): Likewise.
21968         (ilogb_test): Likewise.
21969         (lgamma_test): Likewise.
21970         (pow_test): Likewise.
21971         (remainder_test): Likewise.
21972         (sin_test): Likewise.
21973         (tan_test): Likewise.
21974         (yn_test): Likewise.
21975         (initialize): Set errno to 0.
21976         (main): Print number of errno tests.
21977         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21978
21979 2013-04-29  Andreas Jaeger  <aj@suse.de>
21980
21981         [BZ #15084]
21982         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21983         and RES_USEVC.
21984
21985         [BZ #15085]
21986         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21987         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21988         unimplemented.
21989
21990         [BZ #15380]
21991         * stdlib/random.c (__initstate): Return NULL if
21992         __initstate fails.
21993
21994         [BZ #15086]
21995         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21996         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21997         RES_SNGLKUPREOP.
21998
21999 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22000
22001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22002
22003 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22004
22005         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22006         of individual tests.
22007         (casin_test): Likewise.
22008         (casinh_test): Likewise.
22009
22010 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22011
22012         [BZ #15409]
22013         * math/s_catan.c (__catan): Handle arguments with large real or
22014         imaginary part separately without squaring.
22015         * math/s_catanf.c (__catanf): Likewise.
22016         * math/s_catanh.c (__catanh): Likewise.
22017         * math/s_catanhf.c (__catanhf): Likewise.
22018         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22019         and redefine.
22020         (__catanhl): Handle arguments with large real or imaginary part
22021         separately without squaring.
22022         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22023         and redefine.
22024         (__catanl): Handle arguments with large real or imaginary part
22025         separately without squaring.
22026         * math/libm-test.inc (catan_test): Add more tests.
22027         (catanh_test): Likewise.
22028         * sysdeps/i386/fpu/libm-test-ulps: Update.
22029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22030
22031 2013-04-27  Andreas Jaeger  <aj@suse.de>
22032
22033         [BZ #15007]
22034         * stdlib/stdlib.h: Update guards for qecvt.
22035         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22036         <stdlib.h>.
22037
22038 2013-04-27  Allan McRae  <allan@archlinux.org>
22039
22040         * sysdeps/i386/fpu/libm-test-ulps: Update.
22041
22042 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22043
22044         [BZ #15406]
22045         * math/s_catan.c: Include <float.h>.
22046         (__catan): Ensure underflow exception occurs for underflowed
22047         result.
22048         * math/s_catanf.c: Include <float.h>.
22049         (__catanf): Ensure underflow exception occurs for underflowed
22050         result.
22051         * math/s_catanh.c: Include <float.h>.
22052         (__catanh): Ensure underflow exception occurs for underflowed
22053         result.
22054         * math/s_catanhf.c: Include <float.h>.
22055         (__catanhf): Ensure underflow exception occurs for underflowed
22056         result.
22057         * math/s_catanhl.c: Include <float.h>.
22058         (__catanhl): Ensure underflow exception occurs for underflowed
22059         result.
22060         * math/s_catanl.c: Include <float.h>.
22061         (__catanl): Ensure underflow exception occurs for underflowed
22062         result.
22063         * math/libm-test.inc (catan_test): Add more tests.
22064         (catanh_test): Likewise.
22065
22066         [BZ #15405]
22067         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22068         underflowed result.
22069         * math/s_ccoshf.c (__ccoshf): Likewise.
22070         * math/s_ccoshl.c (__ccoshl): Likewise.
22071         * math/s_csin.c (__csin): Likewise.
22072         * math/s_csinf.c (__csinf): Likewise.
22073         * math/s_csinh.c (__csinh): Likewise.
22074         * math/s_csinhf.c (__csinhf): Likewise.
22075         * math/s_csinhl.c (__csinhl): Likewise.
22076         * math/s_csinl.c (__csinl): Likewise.
22077         * math/libm-test.inc (ccos_test): Add more tests.
22078         (ccosh_test): Likewise.
22079         (csin_test): Likewise.
22080         (csinh_test): Likewise.
22081
22082 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22083
22084         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22085         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22086         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22087         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22088         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22089         powerpc/power5+/fpu folders.
22090         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22091
22092
22093 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22094
22095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22096
22097 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22098
22099         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22100         additions to variable.
22101         [$(config-machine) = x86_64] (modules-names): Likewise.
22102         ($(objpfx)tst-audit3): Remove dependency.
22103         ($(objpfx)tst-audit3.out): Likewise.
22104         ($(objpfx)tst-audit4): Likewise.
22105         ($(objpfx)tst-audit4.out): Likewise.
22106         ($(objpfx)tst-audit5): Likewise.
22107         ($(objpfx)tst-audit5.out): Likewise.
22108         ($(objpfx)tst-audit6): Likewise.
22109         ($(objpfx)tst-audit6.out): Likewise.
22110         ($(objpfx)tst-audit7): Likewise.
22111         ($(objpfx)tst-audit7.out): Likewise.
22112         (tst-audit3-ENV): Remove variable.
22113         (tst-audit4-ENV): Likewise.
22114         (tst-audit5-ENV): Likewise.
22115         (tst-audit6-ENV): Likewise.
22116         (tst-audit7-ENV): Likewise.
22117         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22118         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22119         addition to variable.
22120         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22121         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22122         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22123         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22124         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22125         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22126         tst-audit3, tst-audit4 and tst-audit5.
22127         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22128         tst-audit6 and tst-audit7.
22129         [$(subdir) = elf] (modules-names): Add audit modules for those
22130         tests.
22131         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22132         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22133         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22134         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22135         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22136         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22137         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22138         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22139         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22140         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22141         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22142         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22143         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22144         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22145         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22146         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22147         Likewise.
22148         [$(subdir) = elf && $(config-cflags-avx) = yes]
22149         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22150         [$(subdir) = elf && $(config-cflags-avx) = yes]
22151         (CFLAGS-tst-auditmod4a.c): Likewise.
22152         [$(subdir) = elf && $(config-cflags-avx) = yes]
22153         (CFLAGS-tst-auditmod4b.c): Likewise.
22154         [$(subdir) = elf && $(config-cflags-avx) = yes]
22155         (CFLAGS-tst-auditmod6b.c): Likewise.
22156         [$(subdir) = elf && $(config-cflags-avx) = yes]
22157         (CFLAGS-tst-auditmod6c.c): Likewise.
22158         [$(subdir) = elf && $(config-cflags-avx) = yes]
22159         (CFLAGS-tst-auditmod7b.c): Likewise.
22160         * elf/tst-audit3.c: Move to ...
22161         * sysdeps/x86_64/tst-audit3.c: ... here.
22162         * elf/tst-audit4.c: Move to ...
22163         * sysdeps/x86_64/tst-audit4.c: ... here.
22164         * elf/tst-audit5.c: Move to ...
22165         * sysdeps/x86_64/tst-audit5.c: ... here.
22166         * elf/tst-audit6.c: Move to ...
22167         * sysdeps/x86_64/tst-audit6.c: ... here.
22168         * elf/tst-audit7.c: Move to ...
22169         * sysdeps/x86_64/tst-audit7.c: ... here.
22170         * elf/tst-auditmod3a.c: Move to ...
22171         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22172         * elf/tst-auditmod3b.c: Move to ...
22173         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22174         * elf/tst-auditmod4a.c: Move to ...
22175         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22176         * elf/tst-auditmod4b.c: Move to ...
22177         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22178         * elf/tst-auditmod5a.c: Move to ...
22179         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22180         * elf/tst-auditmod5b.c: Move to ...
22181         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22182         * elf/tst-auditmod6a.c: Move to ...
22183         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22184         * elf/tst-auditmod6b.c: Move to ...
22185         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22186         * elf/tst-auditmod6c.c: Move to ...
22187         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22188         * elf/tst-auditmod7a.c: Move to ...
22189         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22190         * elf/tst-auditmod7b.c: Move to ...
22191         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22192
22193 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22194
22195         [BZ #15366]
22196         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22197         define unconditionally.
22198         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22199         define unconditionally.
22200         (INT8_C, INT16_C, etc.): Likewise.
22201
22202 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22203
22204         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22205         __ehdr_start with hidden visibility.
22206
22207         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22208
22209 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22210
22211         * math/libm-test.inc (cos_test): Use accurate hex constants.
22212         (sincost_test): Likewise.
22213
22214 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22215
22216         * math/libm-test.inc (catan_test): Add more tests.
22217         (catanh_test): Likewise.
22218
22219         * math/s_catanf.c (__catanf): Use suffixed floating-point
22220         constants.
22221         * math/s_catanhf.c (__catanhf): Likewise.
22222         * math/s_catanhl.c (__catanhl): Likewise.
22223         * math/s_catanl.c (__catanl): Likewise.
22224
22225         [BZ #15394]
22226         * math/s_catan.c (__catan): Calculate imaginary part of result
22227         with log1p not log unless computing log of number close to 0.
22228         * math/s_catanf.c (__catanf): Likewise.
22229         * math/s_catanl.c (__catanl): Likewise.
22230         * math/s_catanh.c (__catanh): Calculate real part of result with
22231         log1p not log unless computing log of number close to 0.
22232         * math/s_catanhf.c (__catanhf): Likewise.
22233         * math/s_catanhl.c (__catanhl): Likewise.
22234         * math/libm-test.inc (catan_test): Add more tests.
22235         (catanh_test): Likewise.
22236         * sysdeps/i386/fpu/libm-test-ulps: Update.
22237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22238
22239 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22240
22241         * benchtests/Makefile: Mention files in which fast and slow
22242         paths of math functions are implemented.
22243
22244 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22245
22246         * sysdeps/posix/timespec_get.c: New file.
22247
22248 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22249
22250         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22251         POWER.
22252         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22253         for POWER.
22254         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22255         powerpc/power5/fpu folders.
22256         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22257         * benchtests/Makefile: Add modf testcase.
22258         * benchtests/bench-modf.c: New file: Benchmark test for mo
22259
22260 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22261
22262         [BZ #14888]
22263         * time/Makefile (tests): Add tst-strptime-whitespace.
22264         * time/strptime_l.c (get_number): Use ISSPACE.
22265         (__strptime_internal): Likewise.
22266         * time/tst-strptime-whitespace.c: New test case.
22267
22268 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22269
22270         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22271         member.
22272         (_nss_files_init): Set it here.
22273
22274 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22275
22276         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22277         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22278         unsigned.
22279
22280 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22281
22282         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22283
22284 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22285
22286         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22287         size just once.
22288
22289 2013-04-21  David S. Miller  <davem@davemloft.net>
22290
22291         * po/ru.po: Update Russion translation from translation project.
22292
22293 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22294
22295         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22296         and setfsgid.
22297
22298 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22299
22300         * configure.in: Remove i386 configure warning. Remove i386 case.
22301         * configure: Regenerate.
22302         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22303         Add example to error message.
22304         * sysdeps/i386/configure: Regenerate.
22305
22306 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22307
22308         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22309         slowtan.
22310         * benchtests/cos-inputs: New file.
22311         * benchtests/slowcos-inputs: New file.
22312         * benchtests/slowcos.c: New file.
22313         * benchtests/slowtan-inputs: New file.
22314         * benchtests/slowtan.c: New file.
22315         * benchtests/tan-inputs: New file.
22316
22317 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22318
22319         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22320         considered kosher.
22321
22322 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22323
22324         * benchtests/Makefile: Include cppflags-iterator.mk to add
22325         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22326
22327         * Makefile.in (bench-clean): New target.
22328         * benchtests/Makefile (bench-clean): Likewise.
22329
22330 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22331
22332         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22333
22334 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22335
22336         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22337
22338 2013-04-15  Andreas Schwab  <schwab@suse.de>
22339
22340         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22341         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22342         * nscd/pwdcache.c (cache_addpw): Likewise.
22343         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22344         more than recsize.
22345
22346 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22347
22348         * benchtests/Makefile (bench): Write all output to
22349         bench-out.tmp together.
22350
22351 2013-04-15  Andreas Schwab  <schwab@suse.de>
22352
22353         * nscd/nscd.c (main): Don't fork again after closing files.
22354
22355 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22356
22357         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22358
22359         * benchtests/Rules (bench-deps): Collect dependencies into a
22360         single variable.  Add Makefile to dependencies.
22361         ($(objpfx)bench-%.c): Depend on bench-deps.
22362
22363 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22364             Xavier Roche  <roche+kml2@exalead.com>
22365
22366         [BZ #15361]
22367         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22368         just that it's a file descriptor.
22369         * manual/llio.texi (Synchronizing AIO Operations): Update description
22370         for EBADF error from aio_fsync.
22371
22372 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22373
22374         * Rules (bench): Move target definition...
22375         * benchtests/Makefile: ... here.
22376
22377 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22378
22379         * math/libm-test.inc (cos_test): Fix PI/2 test.
22380         (sincos_test): Likewise.
22381         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22382         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22383
22384 2013-04-11  Andreas Schwab  <schwab@suse.de>
22385
22386         [BZ #13988]
22387         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22388         accept exponent character only when digits were seen.
22389         * stdio-common/Makefile (tests): Add bug26.
22390         * stdio-common/bug26.c: New file.
22391
22392         [BZ #14293]
22393         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22394         non-freeable.
22395
22396 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22397
22398         * Makeconfig (rtld-prefix): Define built linker prefix.
22399         * Rules (run-bench): Use it.
22400         * math/Makefile (run-regen-ulps): Likewise.
22401
22402         * Rules (bench): Remove eval.
22403
22404 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22405             Roland McGrath  <roland@hack.frob.com>
22406             Ondrej Bilka  <neleai@seznam.cz>
22407
22408         [BZ #15346]
22409         * time/getdate.c: Include ctype.h and alloca.h.
22410         (__getdate_r): Trim leading and trailing spaces of input.
22411         * time/tst-getdate.c (tests): Add tests with leading and
22412         trailing spaces.
22413
22414 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22415
22416         [BZ #14280]
22417         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22418         when computing value.
22419
22420 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22421
22422         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22423         Use testrun.sh to run libm tests.
22424
22425         [BZ #15309]
22426         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22427
22428 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22429
22430         [BZ #15264]
22431         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22432
22433 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22434
22435         * Makefile.in (regen-ulps): New target.
22436         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22437         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22438         [ifneq (no,$(PERL)] (regen-ulps): New target.
22439         [ifeq (no,$(PERL)] (regen-ulps): New target.
22440         * math/libm-test.inc (ulps_file_name): Define.
22441         (output_dir): New variable.
22442         (options): Add "output-dir" option.
22443         (parse_opt): Handle 'o' case.
22444         (main): If output_dir is non-NULL use it as a prefix
22445         otherwise use "".
22446         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22447
22448 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22449
22450         [BZ #10060, #10062]
22451         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22452         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22453         fail configure if __sync_val_compare_and_swap is not inlined.
22454         * sysdeps/i386/configure: Regenerate.
22455         * configure.in: Build for i686 when configured for i386.
22456         * configure: Regenerate.
22457         * README: Remove i386 reference.
22458
22459 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22460
22461         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22462         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22463
22464 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22465
22466         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22467         (lmsnanval): New variables.
22468         (F): Add conversion tests.
22469         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22470         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22471
22472         * stdio-common/tstdiomisc.c (F): Properly collect individual
22473         tests' results.
22474
22475         [BZ #14686, #15336]
22476         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22477         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22478         Instead, use input NaN values or generate a qNaN by arithmetic
22479         operation.  Also fix bugs to comply with the standard.
22480         * math/libm-test.inc (remainder_test): Add more tests.
22481
22482         [BZ #15335, #15342]
22483         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22485         input NaN values or generate a qNaN by arithmetic operation.
22486
22487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22488         unreachable code.
22489
22490         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22491         definitions.
22492
22493 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22494
22495         [BZ #14478]
22496         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22497         underflowed result.
22498         * math/s_cexpf.c (__cexpf): Likewise.
22499         * math/s_cexpl.c (__cexpl): Likewise.
22500         * math/libm-test.inc (cexp_test): Add more tests.
22501
22502 2013-04-03  Andreas Schwab  <schwab@suse.de>
22503
22504         [BZ #15330]
22505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22506         order arrays from heap if bigger than alloca cutoff.
22507
22508 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22509
22510         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22511         (SNAN_TESTS_double): Refer to GCC PR56831.
22512         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22513         GCC PR56828.
22514
22515 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22516
22517         * Rules (bench): Move bench.out after the run is complete.
22518
22519         * Rules (bench): Echo currently running benchmark.
22520
22521         * benchtests/Makefile (bench): Add atan and slowatan.
22522         * benchtests/atan-inputs: New file.
22523         * benchtests/slowatan-inputs: New file.
22524         * benchtests/slowatan.c: New file.
22525
22526         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22527         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22528         its value.
22529
22530         [BZ #15305]
22531         * sysdeps/unix/sysv/linux/kernel-features.h
22532         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22533         __ASSUME_XFS_RESTRICTED_CHOWN.
22534         * sysdeps/unix/sysv/linux/pathconf.c
22535         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22536         Save and restore errno.
22537
22538 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22539
22540         [BZ #15327]
22541         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22542         arguments using __kernel_casinh.
22543         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22544         arguments using __kernel_casinhf.
22545         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22546         arguments using __kernel_casinhl.
22547         * math/libm-test.inc (cacosh_test): Add more tests.
22548         * sysdeps/i386/fpu/libm-test-ulps: Update.
22549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22550
22551 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22552
22553         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22555
22556         * bench/Makefile (bench): Add sin and slowsin.
22557         * benchtests/sin-inputs: New file.
22558         * benchtests/slowsin-inputs: New file.
22559         * benchtests/slowsin.c: New file.
22560
22561         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22562         (bench): Add slowexp and slowpow.
22563         (exp-ITER): Increase iterations.
22564         (pow-ITER): Likewise.
22565         * benchtests/exp-inputs: Change input.
22566         * benchtests/pow-inputs: Likewise.
22567         * benchtests/slowexp-inputs: New file.
22568         * benchtests/slowexp.c: New file.
22569         * benchtests/slowpow-inputs: New file.
22570         * benchtests/slowpow.c: New file.
22571
22572 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22573
22574         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22575         instructions.
22576         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22577         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22578         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22579         * benchtests/Makefile: Add rint benchtest.
22580         * benchtests/rint-inputs: Input for rint benchtest.
22581
22582 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22583
22584         * Versions.def (libm): Add GLIBC_2.18.
22585         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22586         hidden libm prototypes.
22587         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22588         * math/Makefile (libm-calls): Add s_issignaling.
22589         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22590         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22591         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22592         declaration.
22593         * math/math.h [__USE_GNU] (issignaling): New macro.
22594         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22595         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22596         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22597         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22598         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22599         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22600         * manual/arith.texi (issignaling): New section.
22601         * manual/libm-err-tab.pl (@all_functions): Update comment.
22602         * math/gen-libm-test.pl (parse_args): Apply special handling for
22603         issignaling.
22604         * math/libm-test.inc (print_float, issignaling_test): New
22605         functions.
22606         (check_float_internal): Add issignaling checks.
22607         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22608         default definition.
22609         * sysdeps/powerpc/math-tests.h: New file.
22610         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22611         tests.
22612         * math/test-snan.c (TEST_FUNC): Likewise.
22613
22614 2013-03-30  David S. Miller  <davem@davemloft.net>
22615
22616         * po/de.po: Update from translation team.
22617
22618 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22619
22620         [BZ #10357]
22621         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22622         imaginary part less than 1.0 and real part less than 0.5
22623         specially.
22624         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22625         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22626         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22627         (cacos_test): Add more tests.
22628         (casin_test): Likewise.
22629         (casinh_test): Likewise.
22630         * sysdeps/i386/fpu/libm-test-ulps: Update.
22631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22632
22633 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22634
22635         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22636         ONE with its value.
22637
22638         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22639         (__pow_mp): Replace ONE and MONE with their values.
22640         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22641         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22642         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22643         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22644         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22645         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22646
22647         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22648
22649         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22650         (__pow_mp): Replace ZERO and MZERO with their values.
22651         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22652         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22653         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22655         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22656         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22657         (__sqr): Likewise.
22658
22659         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22660
22661         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22662
22663 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22664
22665         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22666         Declare with __attribute__ ((weak)).
22667         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22668         Call __call_tls_dtors only if it's not NULL.
22669
22670 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22671
22672         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22673         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22674         magic __ehdr_start linker symbol if it's defined.
22675         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22676         them up here if it was already done.
22677
22678         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22679         (_dl_aux_init): Use const in cast when setting it.
22680         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22681         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22682         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22683
22684         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22685         Declare them here.
22686         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22687         * csu/libc-tls.c: Nor here.
22688         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22689
22690         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22691         (__libc_message): Never call vsyslog.
22692
22693 2013-03-28  Alan Modra  <amodra@gmail.com>
22694
22695         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22696         Define as empty.
22697         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22698         Likewise.
22699
22700 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22701
22702         [BZ #15214]
22703         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22704         underflow.
22705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22706
22707 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22708
22709         [BZ #15304]
22710         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22711         Don't add gid passed as argument.
22712
22713         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22714
22715 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22716
22717         [BZ #15307]
22718         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22719         imaginary part between 1.0 and 1.5 and real part less than 0.5
22720         specially.
22721         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22722         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22723         * math/libm-test.inc (cacos_test): Add more tests.
22724         (casin_test): Likewise.
22725         (casinh_test): Likewise.
22726         * sysdeps/i386/fpu/libm-test-ulps: Update.
22727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22728
22729 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22730
22731         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22732         constants.
22733         (norm): Likewise.
22734         (denorm): Likewise.
22735         (__dbl_mp): Likewise.
22736         (add_magnitudes): Likewise.
22737         (sub_magnitudes): Likewise.
22738         (__add): Likewise.
22739         (__sub): Likewise.
22740         (__mul): Likewise.
22741         (__sqr): Likewise.
22742         (__inv): Likewise.
22743         (__dvd): Likewise.
22744
22745         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22746         commented code.
22747         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22748         (__dubcos): Likewise.
22749         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22750         (__ieee754_acos): Likewise.
22751         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22752         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22753         (__exp1): Likewise.
22754         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22755         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22756         (log1): Likewise.
22757         (my_log2): Likewise.
22758         (checkint): Likewise.
22759         * sysdeps/ieee754/dbl-64/e_remainder.c
22760         (__ieee754_remainder): Likewise.
22761         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22762         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22763         (bsloww): Likewise.
22764         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22765
22766         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22767         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22768         MANTISSA_STORE_T to store computations on mantissa.  Use
22769         macros for rounding and division.
22770         (denorm): Likewise.
22771         (__dbl_mp): Likewise.
22772         (add_magnitudes): Likewise.
22773         (sub_magnitudes): Likewise.
22774         (__mul): Likewise.
22775         (__sqr): Likewise.
22776         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22777         powers of two in terms of TWOPOW macro.
22778         (mp_no): Make type of mantissa as MANTISSA_T.
22779         [!RADIXI]: Define RADIXI.
22780         [!TWO52]: Define TWO52.
22781         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22782
22783 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22784
22785         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22786         llroundl symbol when building for PPC32.
22787
22788 2013-03-24  Mark H Weaver  <mhw@netris.org>
22789
22790         * manual/arith.texi (Normalization Functions): Fix prototypes for
22791         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22792
22793 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22794
22795         [BZ #13889]
22796         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22797         high value to check if expl overflow.
22798         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22799         to check for underflow and overflow.
22800         * math/libm-test.inc: Add exp test.
22801
22802 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22803
22804         [BZ #11120]
22805         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22806         with NOT_IN_libc.
22807
22808 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22809
22810         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22811         symbol.
22812
22813 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22814
22815         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22816         wrap blocks consisting of several statements.
22817
22818         * sysdeps/generic/math-tests.h: New file.
22819         * sysdeps/i386/fpu/math-tests.h: Likewise.
22820         * math/test-snan.c: Include it.
22821         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22822
22823 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22824
22825         [BZ #15285]
22826         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22827         (__ieee754_j0l): Do not improve calculations using cos of twice
22828         input for inputs above LDBL_MAX / 2.0L.
22829         (__ieee754_y0l): Likewise.
22830         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22831         (__ieee754_j1l): Do not improve calculations using cos of twice
22832         input for inputs above LDBL_MAX / 2.0L.
22833         (__ieee754_y1l): Likewise.
22834         * math/libm-test.inc (j0_test): Add another test.
22835         (j1_test): Likewise.
22836         (y0_test): Likewise.
22837         (y1_test): Likewise.
22838         * sysdeps/i386/fpu/libm-test-ulps: Update.
22839
22840 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22841
22842         * Rules ($(objpfx)bench-%.c): Include code from a C source
22843         file.
22844
22845 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22846
22847         [BZ #15287]
22848         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22849         imaginary part 1.0 and real part less than 0.5 specially.
22850         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22851         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22852         * math/libm-test.inc (cacos_test): Add more tests.
22853         (casin_test): Likewise.
22854         (casinh_test): Likewise.
22855         * sysdeps/i386/fpu/libm-test-ulps: Update.
22856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22857
22858 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22859
22860         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22861         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22862
22863 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22864
22865         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22866         * config.make.in (config-cflags-sse4): Remove variable.
22867         (config-cflags-avx): Likewise.
22868         (config-cflags-sse2avx): Likewise.
22869         (config-cflags-novzeroupper): Likewise.
22870         (config-asflags-i686): Likewise.
22871         (have-mfma4): Likewise.
22872         (have-as-vis3): Likewise.
22873         (MIG): Likewise.
22874         * configure.in (MIG): Do not AC_SUBST.
22875         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22876         (libc_cv_cc_sse4): Do not AC_SUBST.
22877         (libc_cv_cc_avx): Likewise.
22878         (libc_cv_cc_sse2avx): Likewise.
22879         (libc_cv_cc_novzeroupper): Likewise.
22880         (libc_cv_cc_fma4): Likewise.
22881         (libc_cv_as_i686): Likewise.
22882         (libc_cv_sparc_as_vis3): Likewise.
22883         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22884         LIBC_CONFIG_VAR.
22885         (config-asflags-i686): Likewise.
22886         (config-cflags-avx): Likewise.
22887         (config-cflags-sse2avx): Likewise.
22888         (have-mfma4): Likewise.
22889         (config-cflags-novzeroupper): Likewise.
22890         * sysdeps/mach/configure.in (MIG): Likewise.
22891         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22892         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22893         LIBC_CONFIG_VAR.
22894         (config-cflags-avx): Likewise.
22895         (config-cflags-sse2avx): Likewise.
22896         (have-mfma4): Likewise.
22897         (config-cflags-novzeroupper): Likewise.
22898         * configure: Regenerated.
22899         * sysdeps/i386/configure: Likewise.
22900         * sysdeps/mach/configure: Likewise.
22901         * sysdeps/sparc/configure: Likewise.
22902         * sysdeps/x86_64/configure: Likewise.
22903
22904 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22905
22906         [BZ #14812]
22907         * locale/programs/localedef.c (options): Put N_ translation marker
22908         on argument names, not just descriptions.
22909
22910 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22911
22912         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22913
22914 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22915
22916         [BZ #14176]
22917         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22918
22919 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22920
22921         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22922         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22923         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22924         [!BEFORE_ABORT] (before_abort): New function.
22925         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22926         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22927         (writev_for_fatal): New function.
22928         (WRITEV_FOR_FATAL): New macro; call that.
22929         (backtrace_and_maps): New function.
22930         (BEFORE_ABORT): New macro; call that.
22931         (struct str_list): Type removed.
22932         (__libc_message, __libc_fatal): Functions removed.
22933         Include <sysdeps/posix/libc_fatal.c> instead.
22934
22935 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22936
22937         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22938         constants.
22939         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22940         double constants.
22941
22942 2013-03-19  Andreas Schwab  <schwab@suse.de>
22943
22944         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22945         * sysdeps/gnu/configure: Regenerate.
22946
22947         * configure.in: Substitute libc_cv_rtlddir.
22948         * configure: Regenerate.
22949         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22950         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22951         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22952         * elf/Makefile (install-others, CFLAGS-interp.c)
22953         (ldso_install, common-ldd-rewrite): Likewise.
22954         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22955         $(inst_slibdir)/$(rtld-installed-name).
22956         * scripts/rellns-sh: Add -p option.
22957         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22958         for source.
22959
22960 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22961
22962         * manual/nptl.texi: Renamed to ...
22963         * manual/threads.texi: ... this.
22964         * manual/Makefile (chapters): Update.
22965
22966 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22967
22968         [BZ #14812]
22969         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22970         on argument names, not just descriptions.
22971         * malloc/memusagestat.c (options): Likewise.
22972         * nss/getent.c (options): Likewise.
22973
22974 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22975
22976         [BZ #14812]
22977         * iconv/iconv_prog.c (options): Put N_ translation marker
22978         on argument names, not just descriptions.
22979         * iconv/iconvconfig.c (options): Likewise.
22980
22981 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22982
22983         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22984         implementation which is faster on all x86_64 architectures.
22985         Tested on AMD, Intel Nehalem, SNB, IVB.
22986         * sysdeps/x86_64/strnlen.S: Likewise.
22987
22988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22989         Remove all multiarch strlen and strnlen versions.
22990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22991         Remove strlen and strnlen related parts.
22992
22993         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22994         Inline strlen part.
22995         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22996
22997         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22998         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22999         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23000         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23001         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23002         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23003
23004 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23005
23006         * manual/memory.texi (Malloc Tunable Parameters):
23007         Sort parameters alphabetically. Add comments for missing entries.
23008
23009 2013-03-17  David S. Miller  <davem@davemloft.net>
23010
23011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23012
23013 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23014
23015         [BZ #15283]
23016         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23017         for arguments at most half maximum finite value.
23018         * math/libm-test.inc (j0_test): Add more tests.
23019         (j1_test): Likewise.
23020         (y0_test): Likewise.
23021         (y1_test): Likewise.
23022         * sysdeps/i386/fpu/libm-test-ulps: Update.
23023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23024
23025         [BZ #14155]
23026         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23027         1 / x and functions P and Q for arguments above 0x1p256L.
23028         (__ieee754_y0l): Likewise.
23029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23030         (__ieee754_y1l): Likewise.
23031         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23032         (j1_test): Likewise.
23033         (y0_test): Likewise.
23034         (y1_test): Likewise.
23035
23036 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23037
23038         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23039         variable.
23040
23041 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23042
23043         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23044         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23045         zero since it's initialized to EXEC_PAGESIZE.
23046
23047         * sysdeps/unix/sysv/linux/ldsodefs.h
23048         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23049         * sysdeps/generic/ldsodefs.h: ... here.
23050
23051 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23052
23053         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23054
23055         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23056         math/test-snan.c.
23057         * math/test-snan.c: Renamed from
23058         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23059         * math/Makefile (tests): Add test-snan.
23060         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23061         test-powerpc-snan.
23062
23063         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23064         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23065         functions.
23066         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23067         __builtin_nan family of functions.
23068         * math/libm-test.inc (initialize): Initialize qnan_value with
23069         __builtin_nan family of functions.
23070         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23071         Remove variables.
23072         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23073         Remove functions.
23074         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23075         storage class.  Initialize qNaN_var and sNaN_var with
23076         __builtin_nan and __builtin_nans families of functions,
23077         respectively.
23078
23079         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23080         (sqrt_test): Remove duplicate test with qNaN input.
23081         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23082         (round_test, signbit_test, significand_test): Note missing +/-Inf
23083         as well as qNaN tests.
23084
23085         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23086         qNaN_var.  Fix a few strings, too.
23087         * math/libm-test.inc (nan_value): Rename to qnan_value.
23088         * math/gen-libm-test.pl (%beautify): Adjust to that.
23089         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23090         * math/test-misc.c (main): Likewise.
23091         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23092         to __qnan_bytes, and __qnan_union, respectively.
23093         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23094         Likewise.
23095         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23096         and lqnanval, respectively.
23097         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23098         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23099         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23100         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23101
23102         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23103         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23104         doubles.
23105
23106         * math/test-misc.c (main): Fix copy'n'pastos.
23107         * misc/tst-efgcvt.c (special): Likewise.
23108
23109         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23110         Remove declarations.
23111
23112 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23113
23114         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23115         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23116         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23117         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23118
23119 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23120
23121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23122         macro to return vdso values correctly in IFUNC implementations.
23123         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23124         Optimization by using IFUNC.
23125
23126 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23127             Richard Henderson  <rth@redhat.com>
23128             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23129
23130         * Makefile.in (bench): New target.
23131         * NEWS: Mention the benchmark framework.
23132         * Rules (bench): Likewise.
23133         (binaries-bench): Generate binaries for functions to
23134         benchmark.
23135         * benchtests/Makefile: New makefile for benchmark tests.
23136         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23137         programs.
23138         * benchtests/exp-inputs: New input file for EXP function.
23139         * benchtests/pow-inputs: New input file for POW function.
23140         * scripts/bench.pl: New script to generate source files for
23141         benchmark programs.
23142
23143 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23144
23145         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23146         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23147         computations on mantissa.  Use macros for rounding and
23148         division.
23149         (denorm): Likewise.
23150         (__dbl_mp): Likewise.
23151         (add_magnitudes): Likewise.
23152         (sub_magnitudes): Likewise.
23153         (__mul): Likewise.
23154         (__sqr): Likewise.
23155         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23156         powers of two in terms of TWOPOW macro.
23157         (mp_no): Make type of mantissa as MANTISSA_T.
23158         [!RADIXI]: Define RADIXI.
23159         [!TWO52]: Define TWO52.
23160         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23161
23162         * manual/nptl.texi (cindex): Modify threads to pthreads.
23163
23164 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23165
23166         * sysdeps/x86_64/preconfigure: Regenerated.
23167
23168 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23169
23170         [BZ #14155]
23171         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23172         0x1p28 and above.
23173         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23174         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23175         0x1p28 and above.
23176         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23177         * math/libm-test.inc (j0_test): Do not allow one spurious
23178         underflow exception.
23179         (y1_test): Likewise.
23180
23181 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23182
23183         * manual/Makefile (chapters): Add nptl.
23184         * manual/debug.texi (Debugging Support): Add link to Threads
23185         chapter.
23186         * manual/nptl.texi: New file.
23187
23188         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23189
23190 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23191
23192         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23193         for non-NULL pointer before the memory validity test. Pointed
23194         out by Holger Brunck <holger.brunck@keymile.com>.
23195
23196 2013-03-13  Andreas Schwab  <schwab@suse.de>
23197
23198         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23199         instead of .os.
23200
23201 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23202
23203         * timezone/zic.c: Update from tzcode 2013b.
23204
23205 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23206
23207         * manual/install.texi (Configuring and compiling):
23208         Mention i686 and i586.
23209         * INSTALL: Regenerate.
23210
23211 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23212
23213         * sysdeps/init_array/elf-init.c: New file.
23214         * csu/elf-init.c
23215         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23216         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23217
23218         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23219         __gmon_start__ as global, but as static with a .preinit_array pointer.
23220         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23221         * sysdeps/init_array/crti.S: New file, empty except for comments.
23222         * sysdeps/init_array/crtn.S: Likewise.
23223
23224 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23225
23226         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23227         definining bcopy.
23228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23229         Remove Prefer_SSE_for_memop.
23230         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23231         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23232         HAS_PREFER_SSE_FOR_MEMOP.
23233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23234         memset-x86-64.
23235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23236         Remove bzero, memset ifunc support.
23237         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23238         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23239         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23240         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23241
23242 2013-03-11  Andreas Schwab  <schwab@suse.de>
23243
23244         [BZ #15234]
23245         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23246         by SHLIB_COMPAT.
23247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23248         (GLIBC_2.16): Remove pthread_atfork.
23249
23250 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23251
23252         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23253         (ptestcases.h): Likewise.
23254
23255 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23256
23257         * Makeconfig ($(common-objpfx)config.status): Depend on
23258         sysdeps/*/preconfigure{,.in} too.
23259
23260 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23261
23262         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23263         (__free_hook): Use void * instead of __malloc_ptr_t.
23264         (__malloc_hook): Likewise.
23265         (__realloc_hook): Likewise.
23266         (__memalign_hook): Likewise.
23267         (__after_morecore_hook): Likewise.
23268         * malloc/arena.c (save_malloc_hook): Likewise.
23269         (save_free_hook): Likewise.
23270         * malloc/hooks.c (malloc_hook_ini): Likewise.
23271         (realloc_hook_ini): Likewise.
23272         (memalign_hook_ini): Likewise.
23273         * malloc/malloc.c (malloc_hook_ini): Likewise.
23274         (realloc_hook_ini): Likewise.
23275         (memalign_hook_ini): Likewise.
23276         (__free_hook): Likewise.
23277         (__malloc_hook): Likewise.
23278         (__realloc_hook): Likewise.
23279         (__memalign_hook): Likewise.
23280         (__libc_malloc): Likewise.
23281         (__libc_free): Likewise.
23282         (__libc_realloc): Likewise.
23283         (__libc_memalign): Likewise.
23284         (__libc_valloc): Likewise.
23285         (__libc_pvalloc): Likewise.
23286         (__libc_calloc): Likewise.
23287         (__posix_memalign): Likewise.
23288         * malloc/morecore.c (__sbrk): Likewise.
23289         (__default_morecore): Likewise.
23290
23291         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23292
23293         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23294         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23295         __malloc_ptrdiff_t.
23296
23297         * malloc/malloc.h (__malloc_size_t): Remove macro.
23298         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23299         __malloc_size_t.
23300         (old_memalign_hook): Likewise.
23301         (old_realloc_hook): Likewise.
23302         (struct hdr): Likewise.
23303         (flood): Likewise.
23304         (mallochook): Likewise.
23305         (memalignhook): Likewise.
23306         (reallochook): Likewise.
23307         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23308         (tr_old_realloc_hook): Likewise.
23309         (tr_old_memalign_hook): Likewise.
23310         (tr_mallochook): Likewise.
23311         (tr_reallochook): Likewise.
23312         (tr_memalignhook): Likewise.
23313
23314 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23315
23316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23317         default_ldbl_pack and using as default implementation.
23318         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23319         implementation.
23320         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23321         redundant definition.
23322         (ldbl_insert_mantissa): Likewise.
23323         (ldbl_canonicalize): Likewise.
23324         (ldbl_nearbyint): Likewise.
23325         (ldbl_pack): Rename to ldbl_pack_ppc.
23326         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23327         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23328         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23329
23330 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23331
23332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23333         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23334         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23335         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23337         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23338         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23339         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23340
23341 2013-03-07  Andreas Jaeger  <aj@suse.de>
23342
23343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23344         bits/mman-linux.h.
23345
23346 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23347
23348         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23349         Include mpa.h and declare __MPEXP.
23350         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23351         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23352         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23353         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23354         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23355         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23356         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23357
23358         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23359         (__slowpow): Use long double EXPL and LOGL functions to
23360         compute POW.
23361         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23362         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23363         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23364         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23365         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23366         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23367
23368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23369         intermediate variable to calculate exponent.
23370         (__sqr): Likewise.
23371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23372         Likewise.
23373         (__sqr): Likewise.
23374
23375         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23376         [!NO__SQR]: Define __sqr.
23377         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23378         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23379         sysdeps/ieee754/dbl-64/mpa.c.
23380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23381
23382         [BZ #12723]
23383         * posix/Makefile (tests): Add tst-pathconf.
23384         * posix/tst-pathconf.c: New test case.
23385         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23386         _PC_PIPE_BUF.
23387         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23388
23389 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23390
23391         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23392
23393 2013-03-06  Andreas Jaeger  <aj@suse.de>
23394
23395         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23396         definition via __MAP_ANONYMOUS.
23397
23398         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23399         it's not part of Linux headers.
23400
23401         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23402         (MAP_HUGE_MASK): Define.
23403
23404         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23405         Define.
23406         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23407         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23408         Define.
23409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23410         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23411         Define.
23412         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23413         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23414         Define.
23415         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23416
23417         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23418         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23419         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23420         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23421         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23422         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23423
23424         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23425         Handle f2fs.
23426
23427         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23428         Handle f2fs and efivarfs.
23429
23430         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23431         f2fs.
23432
23433         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23434         (EFIVARFS_MAGIC): Add.
23435         (F2FS_LINK_MAX): Add.
23436
23437 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23438
23439         * stdio-common/vfprintf.c: Replace __builtin_expect with
23440         __glibc_unlikely.
23441
23442 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23443
23444         [BZ #13550]
23445         * sysdeps/generic/bp-sym.h: Remove file.
23446         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23447         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23448         <bp-sym.h> and <bp-asm.h>.
23449         (__longjmp): Don't use BP_SYM.
23450         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23451         and <bp-asm.h>.
23452         (memcpy): Don't use BP_SYM.
23453         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23454         <bp-sym.h> and <bp-asm.h>.
23455         (memcpy): Don't use BP_SYM.
23456         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23457         <bp-asm.h>.
23458         (memcpy): Don't use BP_SYM.
23459         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23460         <bp-asm.h>.
23461         (memset): Don't use BP_SYM.
23462         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23463         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23464         (__bzero): Don't use BP_SYM.
23465         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23466         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23467         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23468         <bp-sym.h> and <bp-asm.h>.
23469         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23470         pointers.
23471         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23472         <bp-sym.h> and <bp-asm.h>.
23473         (memcpy): Don't use BP_SYM.
23474         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23475         <bp-sym.h> and <bp-asm.h>.
23476         (memset): Don't use BP_SYM.
23477         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23478         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23479         (__bzero): Don't use BP_SYM.
23480         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23481         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23482         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23483         <bp-sym.h> and <bp-asm.h>.
23484         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23485         pointers.
23486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23487         <bp-sym.h> and <bp-asm.h>.
23488         (memcpy): Don't use BP_SYM.
23489         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23490         <bp-sym.h> and <bp-asm.h>.
23491         (memset): Don't use BP_SYM.
23492         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23493         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23494         (__bzero): Don't use BP_SYM.
23495         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23496         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23497         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23498         <bp-sym.h> and <bp-asm.h>.
23499         (__memchr): Don't use BP_SYM.
23500         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23501         <bp-sym.h> and <bp-asm.h>.
23502         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23503         pointers.
23504         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23505         <bp-sym.h> and <bp-asm.h>.
23506         (memcpy): Don't use BP_SYM.
23507         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23508         <bp-sym.h> and <bp-asm.h>.
23509         (__mempcpy): Don't use BP_SYM.
23510         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23511         <bp-sym.h> and <bp-asm.h>.
23512         (__memrchr): Don't use BP_SYM.
23513         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23514         <bp-sym.h> and <bp-asm.h>.
23515         (memset): Don't use BP_SYM.
23516         (__bzero): Likewise.
23517         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23518         <bp-sym.h> and <bp-asm.h>.
23519         (__rawmemchr): Don't use BP_SYM.
23520         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23521         <bp-sym.h> and <bp-asm.h>.
23522         (__STRCMP): Don't use BP_SYM.
23523         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23524         <bp-sym.h> and <bp-asm.h>.
23525         (strchr): Don't use BP_SYM.
23526         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23527         <bp-sym.h> and <bp-asm.h>.
23528         (__strchrnul): Don't use BP_SYM.
23529         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23530         <bp-sym.h> and <bp-asm.h>.
23531         (strlen): Don't use BP_SYM.
23532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23533         <bp-sym.h> and <bp-asm.h>.
23534         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23535         pointers.
23536         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23537         <bp-sym.h> and <bp-asm.h>.
23538         (__strnlen): Don't use BP_SYM.
23539         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23540         <bp-sym.h> and <bp-asm.h>.
23541         (__GI__setjmp): Don't use BP_SYM.
23542         (_setjmp): Likewise.
23543         (__sigsetjmp): Likewise.
23544         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23545         (L(start_addresses)): Don't use BP_SYM.
23546         (_start): Likewise.
23547         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23548         <bp-asm.h>.
23549         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23550         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23551         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23552         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23553         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23554         <bp-asm.h>.
23555         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23556         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23557         about bounded pointers.
23558         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23559         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23560         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23561         <bp-asm.h>.
23562         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23563         about bounded pointers.  Remove GKM FIXME comments.
23564         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23565         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23566         <bp-asm.h>.
23567         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23568         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23569         Remove GKM FIXME comments.
23570         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23571         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23572         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23573         <bp-asm.h>.
23574         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23575         about bounded pointers.  Remove GKM FIXME comment.
23576         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23577         and <bp-asm.h>.
23578         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23579         pointers.
23580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23581         <bp-sym.h> and <bp-asm.h>.
23582         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23584         <bp-sym.h> and <bp-asm.h>.
23585         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23586         comment.
23587
23588 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23589
23590         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23591         call free(NULL).
23592
23593 2013-03-05  David S. Miller  <davem@davemloft.net>
23594
23595         * po/es.po: Update from translation team.
23596
23597 2013-03-05  Andreas Jaeger  <aj@suse.de>
23598
23599         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23600         <bits/mman-linux.h>.
23601         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23602         is fine.
23603         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23604         <bits/mman-linux.h> to end of file.
23605         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23606         is fine.
23607         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23608         <bits/mman-linux.h> to end of file.
23609         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23610         is fine.
23611         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23612         <bits/mman-linux.h> to end of file.
23613
23614         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23615         (MCL_CURRENT, MCL_FUTURE): Define here.
23616
23617 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23618
23619         [BZ #15232]
23620         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23621         attribute_hidden.
23622         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23623
23624 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23625
23626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23627         fourth parameter needed for rt_sigprocmask syscall.
23628         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23629         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23630         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23631         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23632         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23633         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23634
23635 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23636
23637         [BZ #13550]
23638         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23639         comment about bounded pointers.
23640         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23641         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23642
23643 2013-03-04  Andreas Jaeger  <aj@suse.de>
23644
23645         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23646         common definitions.
23647
23648         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23649         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23650         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23651         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23652         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23653         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23654
23655 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23656
23657         [BZ #15055]
23658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23659         __ieee754_sqrl instead of __sqrl.
23660
23661 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23662
23663         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23664         * sysdeps/powerpc/fpu_control.h: ... here.
23665         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23666         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23667         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23668         * sysdeps/powerpc/bits/mathinline.h: ... here.
23669
23670 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23671
23672         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23673         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23674         to just [NEED_DL_SYSINFO_DSO].
23675         * elf/dl-support.c: Likewise.
23676         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23677         * elf/rtld.c (dl_main): Likewise.
23678         * elf/setup-vdso.h (setup_vdso): Likewise.
23679         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23680         * sysdeps/unix/sysv/linux/dl-sysdep.c
23681         (_dl_discover_osversion): Likewise.
23682
23683 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23684
23685         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23686         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23687
23688 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23689
23690         * NEWS: Mention libm performance improvements and non-x86 PI
23691         futex support.
23692
23693         * csu/libc-start.c (__pthread_initialize_minimal): Change
23694         function arguments.
23695         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23696
23697 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23698
23699         [BZ #13550]
23700         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23701         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23702         <bp-sym.h> and <bp-asm.h>.
23703         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23704         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23705         and <bp-asm.h>.
23706         (memcpy): Don't use BP_SYM.
23707         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23708         <bp-asm.h>.
23709         (__mpn_add_n): Don't use BP_SYM.
23710         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23711         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23712         and <bp-asm.h>.
23713         (__mpn_addmul_1): Don't use BP_SYM.
23714         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23715         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23716         <bp-sym.h>.
23717         (_setjmp): Don't use BP_SYM.
23718         (__novmx_setjmp): Likewise.
23719         (__GI__setjmp): Likewise.
23720         (__vmx_setjmp): Likewise.
23721         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23722         <bp-sym.h>.
23723         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23724         (__bzero): Don't use BP_SYM.
23725         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23726         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23727         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23728         <bp-sym.h> and <bp-asm.h>.
23729         (memcpy): Don't use BP_SYM.
23730         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23731         <bp-sym.h> and <bp-asm.h>.
23732         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23733         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23734         <bp-sym.h> and <bp-asm.h>.
23735         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23736         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23737         <bp-asm.h>.
23738         (__mpn_lshift): Don't use BP_SYM.
23739         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23740         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23741         <bp-asm.h>.
23742         (memset): Don't use BP_SYM.
23743         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23744         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23745         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23746         <bp-asm.h>.
23747         (__mpn_mul_1): Don't use BP_SYM.
23748         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23750         <bp-sym.h> and <bp-asm.h>.
23751         (memcmp): Don't use BP_SYM.
23752         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23753         <bp-sym.h> and <bp-asm.h>.
23754         (memcpy): Don't use BP_SYM.
23755         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23756         <bp-sym.h> and <bp-asm.h>.
23757         (memset): Don't use BP_SYM.
23758         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23759         <bp-sym.h> and <bp-asm.h>.
23760         (strncmp): Don't use BP_SYM.
23761         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23762         <bp-sym.h> and <bp-asm.h>.
23763         (memcpy): Don't use BP_SYM.
23764         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23765         <bp-sym.h> and <bp-asm.h>.
23766         (memset): Don't use BP_SYM.
23767         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23768         <bp-sym.h> and <bp-asm.h>.
23769         (__memchr): Don't use BP_SYM.
23770         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23771         <bp-sym.h> and <bp-asm.h>.
23772         (memcmp): Don't use BP_SYM.
23773         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23774         <bp-sym.h> and <bp-asm.h>.
23775         (memcpy): Don't use BP_SYM.
23776         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23777         <bp-sym.h> and <bp-asm.h>.
23778         (__mempcpy): Don't use BP_SYM.
23779         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23780         <bp-sym.h> and <bp-asm.h>.
23781         (__memrchr): Don't use BP_SYM.
23782         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23783         <bp-sym.h> and <bp-asm.h>.
23784         (memset): Don't use BP_SYM.
23785         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23786         <bp-sym.h> and <bp-asm.h>.
23787         (__rawmemchr): Don't use BP_SYM.
23788         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23789         <bp-sym.h> and <bp-asm.h>.
23790         (__STRCMP): Don't use BP_SYM.
23791         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23792         <bp-sym.h> and <bp-asm.h>.
23793         (strchr): Don't use BP_SYM.
23794         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23795         <bp-sym.h> and <bp-asm.h>.
23796         (__strchrnul): Don't use BP_SYM.
23797         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23798         <bp-sym.h> and <bp-asm.h>.
23799         (strlen): Don't use BP_SYM.
23800         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23801         <bp-sym.h> and <bp-asm.h>.
23802         (strncmp): Don't use BP_SYM.
23803         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23804         <bp-sym.h> and <bp-asm.h>.
23805         (__strnlen): Don't use BP_SYM.
23806         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23807         <bp-asm.h>.
23808         (__mpn_rshift): Don't use BP_SYM.
23809         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23810         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23811         <bp-sym.h> and <bp-asm.h>.
23812         (__sigsetjmp): Don't use BP_SYM.
23813         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23814         (L(start_addresses)): Don't use BP_SYM.
23815         (_start): Likewise.
23816         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23817         <bp-asm.h>.
23818         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23819         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23820         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23821         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23822         <bp-asm.h>.
23823         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23824         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23825         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23826         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23827         <bp-asm.h>.
23828         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23829         comments.
23830         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23831         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23832         <bp-asm.h>.
23833         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23834         FIXME comments.
23835         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23836         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23837         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23838         <bp-asm.h>.
23839         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23840         comment.
23841         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23842         and <bp-asm.h>.
23843         (strncmp): Don't use BP_SYM,
23844         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23845         <bp-asm.h>.
23846         (__mpn_sub_n): Don't use BP_SYM.
23847         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23848         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23849         and <bp-asm.h>.
23850         (__mpn_submul_1): Don't use BP_SYM.
23851         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23853         <bp-sym.h> and <bp-asm.h>.
23854         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23856         <bp-sym.h> and <bp-asm.h>.
23857         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23858         comment.
23859
23860 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23861
23862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23863         Use ZK to minimize writes to Z.
23864         (sub_magnitudes): Simplify code a bit.
23865         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23866         Use ZK to minimize writes to Z.
23867         (sub_magnitudes): Simplify code a bit.
23868
23869 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23870
23871         * csu/gmon-start.c: Add special exception to license text.
23872
23873 2013-02-27  Richard Henderson  <rth@redhat.com>
23874
23875         * scripts/config.guess: Update from config.git.
23876         * scripts/config.sub: Likewise.
23877
23878 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23879
23880         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23881
23882         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23883
23884         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23885
23886         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23887
23888         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23889
23890 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23891
23892         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23893         [$(build-shared = yes].
23894
23895 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23896
23897         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23898         (__mul): Reduce iterations for calculating mantissa.
23899
23900         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23901         MPTWO.
23902         (__mpranred): Likewise.
23903
23904         [BZ #15160]
23905         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23906         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23907
23908 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23909
23910         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23911         Define __attribute__.
23912
23913 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23914
23915         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23916         unused.
23917         * posix/regex_internal.h (__attribute): Remove.
23918         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23919         (re_string_context_at): Likewise.
23920         (bitset_not): Use __attribute__ and mark function as possibly
23921         unused.
23922         (bitset_merge): Likewise.
23923         (bitset_mask): Likewise.
23924         (re_string_char_size_at): Likewise.
23925         (re_string_wchar_at): Likewise.
23926         (re_string_elem_size_at): Likewise.
23927
23928 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23929
23930         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23931         code.
23932         (cc32): Likewise.
23933
23934         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23935         (__acr): Likewise.
23936         (__cpy): Likewise.
23937         (norm): Likewise.
23938         (denorm): Likewise.
23939         (__dbl_mp): Likewise.
23940         (add_magnitudes): Likewise.
23941         (sub_magnitudes): Likewise.
23942         (__mul): Likewise.
23943         (__inv): Likewise.
23944
23945         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23946         style.
23947
23948         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23949         style.
23950
23951         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23952         code.
23953
23954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23955         up changes with default code.
23956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23957         Likewise.
23958
23959 2013-02-24  Allan McRae  <allan@archlinux.org>
23960
23961         * manual/socket.texi (The Internet Namespace): Order menu items
23962         to match that in the file.
23963
23964         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23965         node listing of the info page menu.
23966
23967 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23968
23969         [BZ #13550]
23970         * sysdeps/i386/bp-asm.h: Remove file.
23971         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23972         (PARMS): Do not use macros from bp-asm.h.
23973         (S1): Likewise.
23974         (S2): Likewise.
23975         (SIZE): Likewise.
23976         (__mpn_add_n): Do not use BP_SYM
23977         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23978         "bp-asm.h".
23979         (PARMS): Do not use macros from bp-asm.h.
23980         (S1): Likewise.
23981         (SIZE): Likewise.
23982         (__mpn_addmul_1): Do not use BP_SYM
23983         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23984         "bp-asm.h".
23985         (PARMS): Do not use macros from bp-asm.h.
23986         (SIGMSK): Likewise.
23987         (_setjmp): Likewise.  Do not use BP_SYM.
23988         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23989         "bp-asm.h".
23990         (PARMS): Do not use macros from bp-asm.h.
23991         (SIGMSK): Likewise.
23992         (setjmp): Likewise.  Do not use BP_SYM.
23993         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23994         "bp-asm.h".
23995         (PARMS): Do not use macros from bp-asm.h.
23996         (__frexp): Do not use BP_SYM.
23997         (frexp): Likewise.
23998         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23999         "bp-asm.h".
24000         (PARMS): Do not use macros from bp-asm.h.
24001         (__frexpf): Do not use BP_SYM.
24002         (frexpf): Likewise.
24003         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24004         "bp-asm.h".
24005         (PARMS): Do not use macros from bp-asm.h.
24006         (__frexpl): Do not use BP_SYM.
24007         (frexpl): Likewise.
24008         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24009         "bp-asm.h".
24010         (PARMS): Do not use macros from bp-asm.h.
24011         (__remquo): Do not use BP_SYM.
24012         (remquo): Likewise.
24013         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24014         "bp-asm.h".
24015         (PARMS): Do not use macros from bp-asm.h.
24016         (__remquof): Do not use BP_SYM.
24017         (remquof): Likewise.
24018         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24019         "bp-asm.h".
24020         (PARMS): Do not use macros from bp-asm.h.
24021         (__remquol): Do not use BP_SYM.
24022         (remquol): Likewise.
24023         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24024         "bp-asm.h".
24025         (PARMS): Do not use macros from bp-asm.h.
24026         (DEST): Likewise.
24027         (SRC): Likewise.
24028         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24029         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24030         "bp-asm.h".
24031         (PARMS): Do not use macros from bp-asm.h.
24032         (strlen): Do not use BP_SYM.
24033         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24034         "bp-asm.h".
24035         (PARMS): Do not use macros from bp-asm.h.
24036         (S1): Likewise.
24037         (S2): Likewise.
24038         (SIZE): Likewise.
24039         (__mpn_add_n): Do not use BP_SYM.
24040         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24041         "bp-asm.h".
24042         (PARMS): Do not use macros from bp-asm.h.
24043         (S1): Likewise.
24044         (SIZE): Likewise.
24045         (__mpn_addmul_1): Do not use BP_SYM.
24046         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24047         weak_alias.
24048         (bzero): Likewise.
24049         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24050         "bp-asm.h".
24051         (PARMS): Do not use macros from bp-asm.h.
24052         (S): Likewise.
24053         (SIZE): Likewise.
24054         (__mpn_lshift): Do not use BP_SYM.
24055         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24056         "bp-asm.h".
24057         (PARMS): Do not use macros from bp-asm.h.
24058         (DEST): Likewise.
24059         (SRC): Likewise.
24060         (LEN): Likewise.
24061         (memcpy): Likewise.  Do not use BP_SYM.
24062         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24063         libc_hidden_def and weak_alias.
24064         (mempcpy): Do not use BP_SYM in weak_alias.
24065         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24066         "bp-asm.h".
24067         (PARMS): Do not use macros from bp-asm.h.
24068         (DEST): Likewise.
24069         (LEN): Likewise.
24070         [!BZERO_P] (CHR): Likewise.
24071         (memset): Likewise.  Do not use BP_SYM.
24072         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24073         "bp-asm.h".
24074         (PARMS): Do not use macros from bp-asm.h.
24075         (S1): Likewise.
24076         (SIZE): Likewise.
24077         (__mpn_mul_1): Do not use BP_SYM.
24078         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24079         "bp-asm.h".
24080         (PARMS): Do not use macros from bp-asm.h.
24081         (S): Likewise.
24082         (SIZE): Likewise.
24083         (__mpn_rshift): Do not use BP_SYM.
24084         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24085         "bp-asm.h".
24086         (PARMS): Do not use macros from bp-asm.h.
24087         (STR): Likewise.
24088         (CHR): Likewise.
24089         (strchr): Likewise.  Do not use BP_SYM.
24090         (index): Do not use BP_SYM in weak_alias.
24091         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24092         "bp-asm.h".
24093         (PARMS): Do not use macros from bp-asm.h.
24094         (DEST): Likewise.
24095         (SRC): Likewise.
24096         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24097         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24098         "bp-asm.h".
24099         (PARMS): Do not use macros from bp-asm.h.
24100         (strlen): Do not use BP_SYM.
24101         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24102         "bp-asm.h".
24103         (PARMS): Do not use macros from bp-asm.h.
24104         (S1): Likewise.
24105         (S2): Likewise.
24106         (SIZE): Likewise.
24107         (__mpn_sub_n): Do not use BP_SYM.
24108         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24109         "bp-asm.h".
24110         (PARMS): Do not use macros from bp-asm.h.
24111         (S1): Likewise.
24112         (SIZE): Likewise.
24113         (__mpn_submul_1): Do not use BP_SYM.
24114         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24115         "bp-asm.h".
24116         (PARMS): Do not use macros from bp-asm.h.
24117         (S1): Likewise.
24118         (S2): Likewise.
24119         (SIZE): Likewise.
24120         (__mpn_add_n): Do not use BP_SYM.
24121         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24122         weak_alias.
24123         (bzero): Likewise.
24124         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24125         "bp-asm.h".
24126         (PARMS): Do not use macros from bp-asm.h.
24127         (BLK2): Likewise.
24128         (LEN): Likewise.
24129         (memcmp): Do not use BP_SYM.
24130         (bcmp): Do not use BP_SYM in weak_alias.
24131         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24132         "bp-asm.h".
24133         (PARMS): Do not use macros from bp-asm.h.
24134         (DEST): Likewise.
24135         (SRC): Likewise.
24136         (LEN): Likewise.
24137         (memcpy): Likewise.  Do not use BP_SYM.
24138         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24139         "bp-asm.h".
24140         (PARMS): Do not use macros from bp-asm.h.
24141         (DEST): Likewise.
24142         (SRC): Likewise.
24143         (LEN): Likewise.
24144         (memmove): Likewise.  Do not use BP_SYM.
24145         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24146         "bp-asm.h".
24147         (PARMS): Do not use macros from bp-asm.h.
24148         (DEST): Likewise.
24149         (SRC): Likewise.
24150         (LEN): Likewise.
24151         (__mempcpy): Likewise.  Do not use BP_SYM.
24152         (mempcpy): Do not use BP_SYM in weak_alias.
24153         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24154         "bp-asm.h".
24155         (PARMS): Do not use macros from bp-asm.h.
24156         (DEST): Likewise.
24157         (LEN): Likewise.
24158         [!BZERO_P] (CHR): Likewise.
24159         (memset): Likewise.  Do not use BP_SYM.
24160         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24161         "bp-asm.h".
24162         (PARMS): Do not use macros from bp-asm.h.
24163         (STR2): Likewise.
24164         (strcmp): Do not use BP_SYM.
24165         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24166         "bp-asm.h".
24167         (PARMS): Do not use macros from bp-asm.h.
24168         (STR): Likewise.
24169         (DELIM): Likewise.
24170         [USE_AS_STRTOK_R] (SAVE): Likewise.
24171         (FUNCTION): Likewise.  Do not use BP_SYM.
24172         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24173         aliases.
24174         (strtok_r): Likewise.
24175         (__GI___strtok_r): Likewise.
24176         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24177         (PARMS): Do not use macros from bp-asm.h.
24178         (S): Likewise.
24179         (SIZE): Likewise.
24180         (__mpn_lshift): Do not use BP_SYM.
24181         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24182         (PARMS): Do not use macros from bp-asm.h.
24183         (STR): Likewise.
24184         (CHR): Likewise.
24185         (__memchr): Do not use BP_SYM.
24186         (memchr): Do not use BP_SYM in weak_alias.
24187         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24188         (PARMS): Do not use macros from bp-asm.h.
24189         (BLK2): Likewise.
24190         (LEN): Likewise.
24191         (memcmp): Do not use BP_SYM.
24192         (bcmp): Do not use BP_SYM in weak_alias.
24193         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24194         (PARMS): Do not use macros from bp-asm.h.
24195         (S1): Likewise.
24196         (SIZE): Likewise.
24197         (__mpn_mul_1): Do not use BP_SYM.
24198         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24199         "bp-asm.h".
24200         (PARMS): Do not use macros from bp-asm.h.
24201         (STR): Likewise.
24202         (CHR): Likewise.
24203         (__rawmemchr): Do not use BP_SYM.
24204         (rawmemchr): Do not use BP_SYM in weak_alias.
24205         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24206         (PARMS): Do not use macros from bp-asm.h.
24207         (S): Likewise.
24208         (SIZE): Likewise.
24209         (__mpn_rshift): Do not use BP_SYM.
24210         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24211         (PARMS): Do not use macros from bp-asm.h.
24212         (SIGMSK): Likewise.
24213         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24214         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24215         (_start): Do not use BP_SYM.
24216         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24217         (PARMS): Do not use macros from bp-asm.h.
24218         (DEST): Likewise.
24219         (SRC): Likewise.
24220         (__stpcpy): Likewise.  Do not use BP_SYM.
24221         (stpcpy): Do not use BP_SYM in weak_alias.
24222         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24223         "bp-asm.h".
24224         (PARMS): Do not use macros from bp-asm.h.
24225         (DEST): Likewise.
24226         (SRC): Likewise.
24227         (LEN): Likewise.
24228         (__stpncpy): Likewise.  Do not use BP_SYM.
24229         (stpncpy): Do not use BP_SYM in weak_alias.
24230         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24231         (PARMS): Do not use macros from bp-asm.h.
24232         (STR): Likewise.
24233         (CHR): Likewise.
24234         (strchr): Likewise.  Do not use BP_SYM.
24235         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24236         "bp-asm.h".
24237         (PARMS): Do not use macros from bp-asm.h.
24238         (STR): Likewise.
24239         (CHR): Likewise.
24240         (__strchrnul): Likewise.  Do not use BP_SYM.
24241         (strchrnul): Do not use BP_SYM in weak_alias.
24242         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24243         "bp-asm.h".
24244         (PARMS): Do not use macros from bp-asm.h.
24245         (STOP): Likewise.
24246         (strcspn): Do not use BP_SYM.
24247         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24248         "bp-asm.h".
24249         (PARMS): Do not use macros from bp-asm.h.
24250         (STR): Likewise.
24251         (STOP): Likewise.
24252         (strpbrk): Likewise.  Do not use BP_SYM.
24253         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24254         "bp-asm.h".
24255         (PARMS): Do not use macros from bp-asm.h.
24256         (STR): Likewise.
24257         (CHR): Likewise.
24258         (strrchr): Likewise.  Do not use BP_SYM.
24259         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24260         (PARMS): Do not use macros from bp-asm.h.
24261         (SKIP): Likewise.
24262         (strspn): Do not use BP_SYM.
24263         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24264         (PARMS): Do not use macros from bp-asm.h.
24265         (STR): Likewise.
24266         (DELIM): Likewise.
24267         (SAVE): Likewise.
24268         (FUNCTION): Likewise.  Do not use BP_SYM.
24269         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24270         aliases.
24271         (strtok_r): Likewise.
24272         (__GI___strtok_r): Likewise.
24273         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24274         (PARMS): Do not use macros from bp-asm.h.
24275         (S1): Likewise.
24276         (S2): Likewise.
24277         (SIZE): Likewise.
24278         (__mpn_sub_n): Do not use BP_SYM.
24279         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24280         "bp-asm.h".
24281         (PARMS): Do not use macros from bp-asm.h.
24282         (S1): Likewise.
24283         (SIZE): Likewise.
24284         (__mpn_submul_1): Do not use BP_SYM.
24285         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24286         <bp-sym.h>.
24287         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24288         and <bp-asm.h>.
24289         (PARMS): Do not use macros from bp-asm.h.
24290         (FLAGS): Likewise.
24291         (PTID): Likewise.
24292         (TLS): Likewise.
24293         (CTID): Likewise.
24294         (__clone): Do not use BP_SYM.
24295         (clone): Do not use BP_SYM in weak_alias.
24296         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24297         and <bp-asm.h>.
24298         (PARMS): Do not use macros from bp-asm.h.
24299         (LEN): Likewise.
24300         (__mmap64): Do not use BP_SYM.
24301         (mmap64): Do not use BP_SYM in weak_alias.
24302         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24303         <bp-sym.h> and <bp-asm.h>.
24304         (PARMS): Do not use macros from bp-asm.h.
24305         (__posix_fadvise64_l64): Do not use BP_SYM.
24306         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24307         (PARMS): Do not use macros from bp-asm.h.
24308         (NSOPS): Likewise.
24309         (semtimedop): Do not use BP_SYM.
24310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24311         and <bp-asm.h>.
24312
24313 2013-02-21  Allan McRae  <allan@archlinux.org>
24314
24315         * manual/message.texi (Charset conversion in gettext):
24316         Move @end statement to beginning of line.
24317
24318 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24319
24320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24321         static.
24322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24323         Likewise.
24324
24325         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24326         (denorm): Likewise.
24327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24329
24330 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24331
24332         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24333         tail-call to the resolved function if pltexit isn't needed.
24334
24335 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24336
24337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24338         or Y being zero as being unlikely.
24339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24340         Likewise.
24341
24342 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24343
24344         * manual/nss.texi (System Databases and Name Service Switch):
24345         Remove frobnicate @pxref.
24346
24347 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24348
24349         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24350         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24351
24352 2013-02-20  Petr Machata  <pmachata@redhat.com>
24353
24354         * elf/elf.h (R_ARM_TARGET1): New macro.
24355         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24356         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24357         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24358         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24359         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24360         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24361         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24362         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24363         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24364         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24365         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24366         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24367         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24368         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24369         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24370         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24371         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24372         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24373         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24374         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24375         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24376         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24377         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24378         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24379         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24380         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24381         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24382         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24383         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24384         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24385         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24386         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24387         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24388         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24389         (R_ARM_THM_GOT_BREL12): Likewise.
24390         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24391         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24392         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24393         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24394         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24395         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24396         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24397         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24398         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24399
24400 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24401
24402         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24403         __attribute_used__ to __attribute__ ((unused)).
24404
24405 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24406
24407         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24408         powerpc mpa.c.
24409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24410         comment formatting.
24411         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24412
24413 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24414
24415         [BZ #13550]
24416         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24417         Remove macro.
24418         (ENTER): Remove both macro definitions.
24419         (LEAVE): Likewise.
24420         (CHECK_BOUNDS_LOW): Likewise.
24421         (CHECK_BOUNDS_HIGH): Likewise.
24422         (CHECK_BOUNDS_BOTH): Likewise.
24423         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24424         (RETURN_BOUNDED_POINTER): Likewise.
24425         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24426         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24427         (POP_ERRNO_LOCATION_RETURN): Likewise.
24428         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24429         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24430         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24431         macros.
24432         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24433         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24434         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24435         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24436         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24437         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24438         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24439         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24440         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24441         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24442         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24443         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24444         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24445         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24446         removed macros.
24447         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24448         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24449         macros.
24450         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24451         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24452         * sysdeps/i386/i586/memset.S (memset): Likewise.
24453         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24454         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24455         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24456         macros.
24457         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24458         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24459         Change uses of L(2) to L(out).
24460         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24461         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24462         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24463         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24464         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24465         removed macros.
24466         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24467         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24468         macros.
24469         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24470         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24471         (RETURN): Do not use macro LEAVE.
24472         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24473         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24474         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24475         * sysdeps/i386/i686/memset.S (memset): Likewise.
24476         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24477         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24478         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24479         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24480         Likewise.
24481         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24482         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24483         L(1_2) and L(1_3) into L(1).
24484         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24485         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24486         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24487         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24488         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24489         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24490         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24491         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24492         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24493         macros.
24494         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24495         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24496         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24497         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24498         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24499         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24500         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24501         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24502         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24503         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24504         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24505         * sysdeps/i386/strspn.S (strspn): Likewise.
24506         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24507         conditional code.
24508         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24509         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24510         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24511         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24512         L(1_3) into L(1_1).
24513         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24514         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24515         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24516         macros.
24517         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24518
24519 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24520
24521         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24522         macro.
24523
24524 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24525
24526         * math/atest-exp.c (exp_mpn): Remove ROUND.
24527         * math/atest-exp2.c (exp_mpn): Likewise.
24528         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24529
24530         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24531         * stdlib/tst-tls-atexit-lib.c: Likewise.
24532         * stdlib/tst-tls-atexit.c: Likewise.
24533
24534 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24535
24536         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24537         and __attribute_alloc_size__.
24538
24539 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24540
24541         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24542         __attribute_alloc_size__.
24543         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24544         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24545
24546 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24547
24548         * include/programs/xmalloc.h: New file.
24549         * catgets/gencat.c: Include it.
24550         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24551         * elf/pldd.c: Likewise.
24552         * iconv/iconv_charmap.c: Likewise.
24553         * iconv/iconvconfig.c: Likewise.
24554         * iconv/strtab.c: Likewise.
24555         * locale/programs/locale.c: Likewise.
24556         * locale/programs/localedef.h: Likewise.
24557         * locale/programs/simple-hash.c: Likewise.
24558         * nscd/nscd.h: Likewise.
24559         * nss/makedb.c: Likewise.
24560         * sysdeps/generic/ldconfig.h: Likewise.
24561
24562 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24563
24564         * Versions.def: Add GLIBC_2.18.
24565         * include/link.h (struct link_map): New member l_tls_dtor_count.
24566         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24567         (__call_tls_dtors): Likewise.
24568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24569         __cxa_thread_atexit_impl.
24570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24571         Likewise.
24572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24573         Likewise.
24574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24575         Likewise.
24576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24577         Likewise.
24578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24580         Likewise.
24581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24582         Likewise.
24583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24585         Likewise.
24586         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24587         (tests): Add test case tst-tls-atexit.
24588         (modules-names): Add shared library for tst-tls-atexit.
24589         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24590         (GLIBC_PRIVATE): Add __call_tls_dtors.
24591         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24592         for libstdc++.
24593         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24594         * stdlib/tst-tls-atexit.c: New test case.
24595         * stdlib/tst-tls-atexit-lib.c: New test case.
24596
24597         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24598
24599         * elf/Versions (ld): Add _dl_find_dso_for_object.
24600         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24601         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24602         (dl_open_worker): Use _dl_find_dso_for_object.
24603         * elf/dl-sym.c (do_sym): Likewise.
24604         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24605
24606 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24607
24608         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24609         Syntactic changes only.
24610         (_dl_runtime_profile): Do a tail-call to the resolved function.
24611
24612 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24613
24614         [BZ #13550]
24615         * sysdeps/x86_64/bp-asm.h: Remove file.
24616         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24617         <bp-sym.h> and <bp-asm.h>.
24618         (__clone): Do not use BP_SYM.
24619         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24620         <bp-sym.h> and <bp-asm.h>.
24621         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24622         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24623         "bp-asm.h".
24624         (_setjmp): Do not use BP_SYM.
24625         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24626         "bp-asm.h".
24627         (setjmp): Do not use BP_SYM.
24628         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24629         libc_hidden_def.
24630         (mempcpy): Do not use BP_SYM in weak_alias.
24631         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24632         "bp-asm.h".
24633         (strchr): Do not use BP_SYM.
24634         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24635         "bp-asm.h".
24636         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24637         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24638         (_start): Do not use BP_SYM.
24639         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24640         "bp-asm.h".
24641         (strcat): Do not use BP_SYM.
24642         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24643         "bp-asm.h".
24644         (STRCMP): Do not use BP_SYM.
24645         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24646         "bp-asm.h".
24647         (STRCPY): Do not use BP_SYM.
24648         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24649         "bp-asm.h".
24650         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24651         "bp-asm.h".
24652         (FUNCTION): Do not use BP_SYM.
24653         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24654         weak_alias.
24655         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24656
24657 2013-02-17  Andreas Jaeger  <aj@suse.de>
24658
24659         * time/Versions: Sort entries.
24660         * string/Versions: Likewise.
24661         * resolv/Versions: Likewise.
24662         * posix/Versions: Likewise.
24663         * iconv/Versions: Likewise.
24664         * elf/Versions: Likewise.
24665         * wcsmbs/Versions: Likewise.
24666
24667 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24668
24669         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24670         loop termination condition.
24671
24672         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24673         variable to calculate EZ.
24674         (__sqr): Likewise.
24675
24676         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24677         the lower precision input.
24678
24679 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24680
24681         [BZ #13550]
24682         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24683         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24684         (run-via-rtld-prefix): Do not handle %-bp tests.
24685         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24686         (all-object-suffixes): Remove .ob.
24687         (bppfx): Remove variable.
24688         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24689         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24690         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24691         [$(build-bounded) = yes] (libtype.ob): Likewise.
24692         * Makerules (elide-routines.ob): Remove variable.
24693         (do-tests-clean): Do not handle *-bp.out.
24694         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24695         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24696         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24697         (tests): Do not include $(tests-bp.out).
24698         (xtests): Do not include $(xtests-bp.out).
24699         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24700         [$(build-bounded) = yes] ($(addprefix
24701         $(objpfx),$(binaries-bounded))): Remove rule.
24702         ($(objpfx)%-bp.out): Remove rule.
24703         * config.make.in (build-bounded): Remove variable.
24704         * crypt/Makefile [$(build-bounded) = yes]
24705         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24706         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24707         append to variable.
24708         [$(build-bounded) = yes] (install-lib): Likewise.
24709         [$(build-bounded) = yes] (generated): Likewise.
24710         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24711         Remove rule.
24712         * intl/Makefile [$(build-bounded) = yes]
24713         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24714         * math/Makefile [$(build-bounded) = yes]
24715         ($(tests:%=$(objpfx)%-bp): Likewise.
24716         * misc/Makefile [$(build-bounded) = yes]
24717         ($(objpfx)tst-tsearch-bp): Likewise.
24718         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24719         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24720         Remove dependency.
24721         * string/Makefile (o-objects.ob): Remove variable.
24722         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24723         (CFLAGS-.ob): Remove variable.
24724         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24725         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24726         both definitions of variable.
24727         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24728         (ASFLAGS-.ob): Remove variable.
24729
24730 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24731
24732         [BZ #13550]
24733         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24734         Remove __BOUNDED_POINTERS__ from condition.
24735         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24736         * string/bits/string2.h [!__NO_STRING_INLINES &&
24737         !__BOUNDED_POINTERS__]: Likewise.
24738         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24739         Likewise.
24740         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24741         Remove conditional code.
24742         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24743         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24744         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24745         condition.
24746
24747         [BZ #13550]
24748         * csu/libc-start.c: Do not include <bp-sym.h>.
24749         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24750         * elf/dl-open.c: Do not include <bp-sym.h>.
24751         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24752         * math/fegetenv.c: Do not include <bp-sym.h>.
24753         (fegetenv): Do not use BP_SYM in versioned symbols.
24754         * nptl/sysdeps/pthread/bits/libc-lockP.h
24755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24756         <bp-sym.h>.
24757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24758         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24760         (__pthread_mutex_destroy): Likewise.
24761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24762         (__pthread_mutex_lock): Likewise.
24763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24764         (__pthread_mutex_trylock): Likewise.
24765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24766         (__pthread_mutex_unlock): Likewise.
24767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24768         (__pthread_mutexattr_init): Likewise.
24769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24770         (__pthread_mutexattr_destroy): Likewise.
24771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24772         (__pthread_mutexattr_settype): Likewise.
24773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24774         (__pthread_rwlock_init): Likewise.
24775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24776         (__pthread_rwlock_destroy): Likewise.
24777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24778         (__pthread_rwlock_rdlock): Likewise.
24779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24780         (__pthread_rwlock_tryrdlock): Likewise.
24781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24782         (__pthread_rwlock_wrlock): Likewise.
24783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24784         (__pthread_rwlock_trywrlock): Likewise.
24785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24786         (__pthread_rwlock_unlock): Likewise.
24787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24788         (__pthread_key_create): Likewise.
24789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24790         (__pthread_setspecific): Likewise.
24791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24792         (__pthread_getspecific): Likewise.
24793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24794         Likewise.
24795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24796         (_pthread_cleanup_push_defer): Likewise.
24797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24798         (_pthread_cleanup_pop_restore): Likewise.
24799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24800         (pthread_setcancelstate): Likewise.
24801         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24802         <bp-sym.h>.
24803         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24804         (memchr): Do not use BP_SYM in weak_alias.
24805         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24806         (fegetenv): Do not use BP_SYM in versioned symbols.
24807         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24808         (fesetenv): Do not use BP_SYM in versioned symbols.
24809         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24810         (feupdateenv): Do not use BP_SYM in versioned symbols.
24811         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24812         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24813         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24814         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24815         (open64): Do not use BP_SYM in weak_alias.
24816         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24817         (fegetenv): Do not use BP_SYM in versioned symbols.
24818         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24819         (fesetenv): Do not use BP_SYM in versioned symbols.
24820         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24821         (feupdateenv): Do not use BP_SYM in versioned symbols.
24822         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24823         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24824         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24825         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24826         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24827         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24828         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24829         <bp-sym.h>.
24830         (__libc_start_main): Do not use BP_SYM.
24831
24832 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24833
24834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24835         redundant return line.
24836         (norm): Likewise.
24837         (denorm): Likewise.
24838         (dbl_mp): Likewise.
24839         (sub_magnitudes): Likewise.
24840         (__add): Likewise.
24841         (__sub): Likewise.
24842         (__mul): Likewise.
24843         (__inv): Likewise.
24844         (__dvd): Likewise.
24845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24846         (norm): Likewise.
24847         (denorm): Likewise.
24848         (dbl_mp): Likewise.
24849         (sub_magnitudes): Likewise.
24850         (__add): Likewise.
24851         (__sub): Likewise.
24852         (__mul): Likewise.
24853         (__inv): Likewise.
24854         (__dvd): Likewise.
24855
24856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24857         instead of __mul.
24858         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24859         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24860         (cc32): Likewise.
24861
24862         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24863         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24864         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24865         of __mul for squares.
24866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24867         function
24868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24869         Likewise.
24870         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24871         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24872
24873 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24874
24875         [BZ #13550]
24876         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24877         code.
24878         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24879         prototype or function definition.  Rename ubp_* variables and
24880         parameters.  Remove argv definitions conditional on
24881         [__BOUNDED_POINTERS__].
24882         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24883         * elf/dl-runtime.c (_dl_fixup): Likewise.
24884         * include/set-hooks.h (RUN_HOOK): Likewise.
24885         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24886         definition.
24887         * string/strcpy.c (strcpy): Do not use __unbounded.
24888         * sysdeps/generic/frame.h (struct layout): Likewise.
24889         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24890         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24891         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24892         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24893         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24894         (__backtrace): Likewise.
24895         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24896         use __ptrvalue.
24897         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24898         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24899         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24900         Likewise.
24901         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24902         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24903         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24904         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24905         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24906         Do not use __unbounded.
24907         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24908         Rename __unboundedrlimits parameter to rlimits in prototype.
24909         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24910         Do not use __unbounded.
24911         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24912         not use __ptrvalue.
24913         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24914         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24915         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24916         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24917         __ptrvalue or __unbounded.
24918         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24919         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24920         use __unbounded.
24921         (__new_msgctl): Do not use __ptrvalue.
24922         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24923         __unbounded.
24924         (__libc_msgrcv): Do not use __ptrvalue.
24925         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24926         startup_info): Do not use __unbounded.
24927         (__libc_start_main): Likewise.  Rename ubp_* variables and
24928         parameters.  Remove argv definitions conditional on
24929         [__BOUNDED_POINTERS__].
24930         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24931         __ptrvalue.
24932         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24933         use __unbounded.
24934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24935         or __ptrvalue.
24936         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24937         use __unbounded.
24938         (__new_shmctl): Do not use __ptrvalue.
24939         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24940         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24941         Likewise.
24942         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24943         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24944         (__libc_sigaction): Likewise.
24945         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24946         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24947         Likewise.
24948         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24949
24950 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24951
24952         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24953
24954         * string/mempcpy.c: Implement by calling memcpy.
24955
24956 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24957
24958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24959
24960         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24961         evaluation.
24962
24963         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24964         values in the mantissa.
24965
24966         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24967         minimize writes to Z.
24968         (sub_magnitudes): Simplify code a bit.
24969
24970 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24971
24972         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24973         from the message.  The linker prefixes all warnings with that already.
24974
24975 2013-02-12  Andreas Schwab  <schwab@suse.de>
24976
24977         [BZ #15078]
24978         * posix/regexec.c (extend_buffers): Add parameter min_len.
24979         (check_matching): Pass minimum needed length.
24980         (clean_state_log_if_needed): Likewise.
24981         (get_subexp): Likewise.
24982         * posix/Makefile (tests): Add bug-regex34.
24983         (bug-regex34-ENV): Define.
24984         * posix/bug-regex34.c: New file.
24985
24986         [BZ #11561]
24987         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24988         elements compare against the byte sequence of it, not its name.
24989         * posix/Makefile (tests): Add bug-regex35.
24990         (bug-regex35-ENV): Define.
24991         * posix/bug-regex35.c: New file.
24992
24993 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24994
24995         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24996         comment.
24997         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24998         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24999         (CHECK_EOL): Add undef.
25000
25001 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25002
25003         * bits/stdlib-bsearch.h: New file.
25004         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25005         * stdlib/stdlib.h: Likewise.
25006
25007 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25008
25009         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25010         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25011         declaration.
25012         * manual/search.texi (Array Search Function): Add missing const in
25013         lfind prototype.
25014         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25015         declaration to use rlim_t.
25016         (Basic Scheduling Functions): Remove erroneous const from
25017         sched_getparam prototype.  Remove erroneous * from
25018         sched_get_priority_max and sched_get_priority_min prototypes.
25019         (Resource Usage): Fix summary @comment on vtimes to refer to
25020         sys/vtimes.h rather than vtimes.h.
25021         Add missing *s in vtimes prototype.
25022         (Limits on Resources): Fix ulimit prototype to return long int.
25023         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25024         prototypes to use long int rather than double.
25025         (BSD Random): Fix initstate and setstate to use char *, not void *.
25026         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25027         prototype to make second argument 'struct aiocb64 *const[]'.
25028         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25029         (Status of AIO Operations): Remove erroneous const in aio_return and
25030         aio_return64 prototypes.
25031         (Synchronizing I/O): Fix sync prototype to return void.
25032         * manual/startup.texi (Suboptions): Remove an erroneous const in
25033         getsubopt prototype.
25034         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25035         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25036         use size_t rather than int.
25037         (Scanning All Users): Likewise for getpwent_r.
25038         (Setting Groups): Add missing const to setgroups prototype.
25039         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25040         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25041         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25042         'const void *' rather than 'const char *'.
25043         (Host Address Functions): Likewise for inet_ntop.
25044         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25045         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25046         ssize_t for return value.
25047         (Sending Data): Likewise for send, sendto, sendmsg.
25048         (Socket Option Functions): Add a missing const in setsockopt prototype.
25049         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25050         use wchar_t for the argument.
25051         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25052         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25053         take no arguments.
25054         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25055         double/float/long double for second argument.
25056         Fix return types of significand, significandf, significandl.
25057         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25058         argument in fchmod prototype.
25059         (File Owner): Use uid_t and gid_t in fchown prototype.
25060         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25061         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25062         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25063         use 'const struct dirent **' as argument types to CMP function pointer
25064         argument.
25065         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25066         (File Times): Fix summary magic @comment for struct utimbuf and utime
25067         to refer to utime.h, not time.h.
25068         * manual/string.texi (Argz Functions): Add missing const in
25069         argz_extract and argz_next prototypes.
25070         (Finding Tokens in a String): Likewise for basename.
25071         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25072         (Copying and Concatenation): Fix typo in wmemmove prototype.
25073         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25074         (Signal Stack): Remove erroneous const in sigstack prototype.
25075         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25076         prototype.
25077         (Simple Calendar Time): Likewise for stime.
25078         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25079         prototype.
25080         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25081         say sys/sysctl.h instead.
25082         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25083         and vsyslog prototypes.
25084
25085 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25086
25087         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25088         Remove.
25089
25090 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25091
25092         * misc/sys/mman.h: Fix typo in mremap comment.
25093
25094 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25095
25096         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25097         the '\0' terminator.
25098
25099 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25100
25101         [BZ #13550]
25102         * debug/segfault.c: Don't include <bp-checks.h>.
25103         * sysdeps/generic/bp-checks.h: Remove file.
25104         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25105         (__GETDENTS): Don't use CHECK_N.
25106         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25107         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25108         (__getgroups): Don't use CHECK_N.
25109         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25110         (setgroups): Don't use CHECK_N.
25111         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25112         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25113         (__libc_msgrcv): Don't use CHECK_N.
25114         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25115         (__libc_msgsnd): Don't use CHECK_N.
25116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25117         <bp-checks.h>.
25118         (__libc_pread): Don't use CHECK_N.
25119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25120         include <bp-checks.h>.
25121         (__libc_pread64): Don't use CHECK_N.
25122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25123         include <bp-checks.h>.
25124         (__libc_pwrite): Don't use CHECK_N.
25125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25126         include <bp-checks.h>.
25127         (__libc_pwrite64): Don't use CHECK_N.
25128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25129         <bp-checks.h>.
25130         (__libc_pread): Don't use CHECK_N.
25131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25132         include <bp-checks.h>.
25133         (__libc_pread64): Don't use CHECK_N.
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25135         include <bp-checks.h>.
25136         (__libc_pwrite): Don't use CHECK_N.
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25138         include <bp-checks.h>.
25139         (__libc_pwrite64): Don't use CHECK_N.
25140         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25141         (do_pread): Don't use CHECK_N.
25142         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25143         (do_pread64): Don't use CHECK_N.
25144         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25145         (do_pwrite): Don't use CHECK_N.
25146         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25147         (do_pwrite64): Don't use CHECK_N.
25148         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25149         (__libc_readv): Don't use CHECK_N.
25150         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25151         (semop): Don't use CHECK_N.
25152         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25153         <bp-checks.h>.
25154         (semtimedop): Don't use CHECK_N.
25155         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25156         (__libc_pread): Don't use CHECK_N.
25157         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25158         <bp-checks.h>.
25159         (__libc_pread64): Don't use CHECK_N.
25160         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25161         <bp-checks.h>.
25162         (__libc_pwrite): Don't use CHECK_N.
25163         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25164         <bp-checks.h>.
25165         (__libc_pwrite64): Don't use CHECK_N.
25166         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25167         <bp-checks.h>.
25168         (__libc_msgrcv): Don't use CHECK_N.
25169         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25170         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25171         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25172         (__libc_writev): Don't use CHECK_N.
25173
25174 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25175
25176         * string/strcpy.c: Removed unused variable.
25177
25178         * Makeconfig (+sysdep-includes): Define with := rather than =.
25179         Use an existing include/ subdir of each sysdeps dir before it.
25180
25181 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25182
25183         * nscd/connection.c (register_traced_file): Comment function.
25184         [HAVE_INOTIFY] (union __inev): Define.
25185         [HAVE_INOTIFY] (inotify_check_files): New function.
25186         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25187         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25188         clear_db_cache.
25189         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25190
25191 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25192
25193         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25194         loaded if not already and that a failure is permanent.
25195
25196 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25197
25198         [BZ #15006]
25199         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25200         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25201
25202 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25203
25204         [BZ #13550]
25205         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25206         (CHECK_1_NULL_OK): Likewise.
25207         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25208         (__fxstat): Do not use CHECK_1.
25209         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25210         <bp-checks.h>.
25211         (___fxstat64): Do not use CHECK_1.
25212         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25213         <bp-checks.h>.
25214         (__fxstatat): Do not use CHECK_1.
25215         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25216         <bp-checks.h>.
25217         (__fxstatat64): Do not use CHECK_1.
25218         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25219         <bp-checks.h>.
25220         (__fxstat): Do not use CHECK_1.
25221         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25222         <bp-checks.h>.
25223         (__fxstatat): Do not use CHECK_1.
25224         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25225         <bp-checks.h>.
25226         (__getresgid): Do not use CHECK_1.
25227         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25228         <bp-checks.h>.
25229         (__getresuid): Do not use CHECK_1.
25230         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25231         <bp-checks.h>.
25232         (__lxstat): Do not use CHECK_1.
25233         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25234         <bp-checks.h>.
25235         (__old_msgctl): Do not use CHECK_1.
25236         (__new_msgctl): Likewise.
25237         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25238         <bp-checks.h>.
25239         (__new_setrlimit): Do not use CHECK_1.
25240         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25241         <bp-checks.h>.
25242         (__old_shmctl): Do not use CHECK_1.
25243         (__new_shmctl): Likewise.
25244         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25245         <bp-checks.h>.
25246         (__xstat): Do not use CHECK_1.
25247         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25248         (__lxstat): Do not use CHECK_1.
25249         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25250         <bp-checks.h>.
25251         (___lxstat64): Do not use CHECK_1.
25252         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25253         (__old_msgctl): Do not use CHECK_1.
25254         (__new_msgctl): Likewise.
25255         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25256         <bp-checks.h>.
25257         (__gettimeofday): Do not use CHECK_1.
25258         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25259         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25260         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25261         <bp-checks.h>.
25262         (__gettimeofday): Do not use CHECK_1.
25263         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25264         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25265         (__new_shmctl): Do not use CHECK_1.
25266         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25267         <bp-checks.h>.
25268         (do_sigtimedwait): Do not use CHECK_1.
25269         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25270         <bp-checks.h>.
25271         (do_sigwaitinfo): Do not use CHECK_1.
25272         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25273         <bp-checks.h>.
25274         (msgctl): Do not use CHECK_1.
25275         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25276         <bp-checks.h>.
25277         (shmctl): Do not use CHECK_1.
25278         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25279         (ustat): Do not use CHECK_1.
25280         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25281         <bp-checks.h>.
25282         (__fxstat): Do not use CHECK_1.
25283         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25284         <bp-checks.h>.
25285         (__fxstatat): Do not use CHECK_1.
25286         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25287         <bp-checks.h>.
25288         (__lxstat): Do not use CHECK_1.
25289         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25290         <bp-checks.h>.
25291         (__xstat): Do not use CHECK_1.
25292         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25293         (__xstat): Do not use CHECK_1.
25294         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25295         (___xstat64): Do not use CHECK_1.
25296
25297         [BZ #13550]
25298         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25299         definitions.
25300         (CHECK_BOUNDS_HIGH): Likewise.
25301         * string/strcpy.c: Do not include <bp-checks.h>.
25302         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25303
25304 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25305
25306         * nscd/nscd-client.h (__nscd_drop_map_ref):
25307         Add __attribute__ ((unused)).
25308         * nis/nss-nisplus.h (niserr2nss): Likewise.
25309
25310         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25311         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25312
25313         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25314         Remove inline keyword.
25315         * include/rounding-mode.h (round_away): Likewise.
25316         * libio/wfileops.c (adjust_wide_data): Likewise.
25317         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25318         (__m128i_strloadu_tolower): Likewise.
25319         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25320         (__m128i_strloadu_tolower): Likewise.
25321         * time/mktime.c (ydhms_diff): Likewise.
25322         * locale/elem-hash.h (elem_hash): Likewise.
25323         * locale/setlocale.c (setdata): Likewise.
25324         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25325         (re_string_wchar_at): Likewise.
25326         (bitset_not, bitset_merge, bitset_mask): Likewise.
25327         [!(__GNUC__ > 3)] (inline): Remove macro.
25328         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25329         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25330         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25331         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25332         * string/memcmp.c (memcmp_bytes): Likewise.
25333         * locale/programs/locarchive.c (compute_hashval): Likewise.
25334         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25335         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25336         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25337         * nss/getent.c (print_rpc, print_protocols): Likewise.
25338         (print_passwd, print_group, print_aliases): Likewise.
25339         * nis/nss-nisplus.h (niserr2nss): Likewise.
25340         * nscd/connections.c (restart_p): Likewise.
25341         Change return type to bool.
25342
25343 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25344
25345         * Makeconfig (all-Depend-files): Add existing
25346         $(sorted-subdirs:=/Depend) files.
25347         (all-subdirs): Remove nss.
25348         * sysdeps/unix/inet/Subdirs: Add it here instead.
25349         * hesiod/Depend: New file.
25350
25351         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25352         instead of calling alloca.
25353
25354         * io/lseek.c (__lseek): Rename to __libc_lseek.
25355         Define __lseek as an alias.
25356
25357         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25358
25359 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25360
25361         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25362         else clause and remove check for non-standard endianness.
25363
25364 2013-02-04  David S. Miller  <davem@davemloft.net>
25365
25366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25367
25368 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25369
25370         [BZ #13550]
25371         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25372         (__ubp_memchr): Remove prototype.
25373         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25374         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25375         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25376         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25377         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25378         Remove alias.
25379         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25380         (__ubp_memchr): Likewise.
25381         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25382         (__ubp_memchr): Likewise.
25383         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25384         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25385         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25386         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25387         CHECK_STRING.
25388         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25389         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25390         (__getcwd): Do not use CHECK_STRING.
25391         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25392         <bp-checks.h>.
25393         (__real_chown): Do not use CHECK_STRING.
25394         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25395         <bp-checks.h>.
25396         (fchownat): Do not use CHECK_STRING.
25397         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25398         CHECK_STRING.
25399         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25400         <bp-checks.h>.
25401         (__lchown): Do not use CHECK_STRING.
25402         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25403         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25404         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25405         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25407         include <bp-checks.h>.
25408         (truncate64): Do not use CHECK_STRING.
25409         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25410         <bp-checks.h>.
25411         (__real_chown): Do not use CHECK_STRING.
25412         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25413         <bp-checks.h>.
25414         (__lchown): Do not use CHECK_STRING.
25415         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25416         <bp-checks.h>.
25417         (__chown): Do not use CHECK_STRING.
25418         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25419         <bp-checks.h>.
25420         (truncate64): Do not use CHECK_STRING.
25421         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25422         Likewise.
25423         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25424         (__xmknod): Do not use CHECK_STRING.
25425         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25426         <bp-checks.h>.
25427         (__xmknodat): Do not use CHECK_STRING.
25428         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25429         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25430
25431 2013-02-04  Andreas Schwab  <schwab@suse.de>
25432
25433         [BZ #14142]
25434         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25435         * include/netdb.h: Likewise for h_errno.
25436         * elf/tst-stackguard1.c: Include <tls.h>.
25437
25438 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25439
25440         * elf/link.h (struct link_map): Extend the l_addr comment.
25441         * include/link.h (struct link_map): Likewise.
25442
25443 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25444
25445         [BZ #13550]
25446         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25447         (BOUNDED_1): Remove macro.
25448         * debug/backtrace.c: Don't include <bp-checks.h>.
25449         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25450         (__backtrace): Likewise.
25451         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25452         <bp-checks.h>.
25453         (__backtrace): Don't use BOUNDED_1.
25454         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25455         <bp-checks.h>.
25456         (__backtrace): Don't use BOUNDED_1.
25457         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25458         (__backtrace): Don't use BOUNDED_1.
25459         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25460         (shmat): Don't use BOUNDED_N.
25461
25462 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25463
25464         [BZ #13550]
25465         * sysdeps/generic/bp-start.h: Remove file.
25466         * csu/libc-start.c: Don't include <bp-start.h>.
25467         (LIBC_START_MAIN): Set up __environ directly instead of using
25468         INIT_ARGV_and_ENVIRON.
25469         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25470         <bp-start.h>.
25471
25472         [BZ #13550]
25473         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25474         definitions.
25475         (CHECK_FCNTL): Likewise.
25476         (CHECK_N_PAGES): Likewise.
25477
25478         [BZ #13550]
25479         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25480         definitions.
25481         (CHECK_SIGSET_NULL_OK): Likewise.
25482         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25483         <bp-checks.h>.
25484         (sigpending): Don't use CHECK_SIGSET.
25485         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25486         <bp-checks.h>.
25487         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25488         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25489         <bp-checks.h>.
25490         (do_sigsuspend): Don't use CHECK_SIGSET.
25491         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25492         use CHECK_SIGSET.
25493         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25494         (do_sigwait): Don't use CHECK_SIGSET.
25495         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25496         use CHECK_SIGSET.
25497         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25498         include <bp-checks.h>.
25499         (sigpending): Don't use CHECK_SIGSET.
25500         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25501         include <bp-checks.h>.
25502         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25503         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25504         <bp-checks.h>.
25505         (sigpending): Don't use CHECK_SIGSET.
25506         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25507         <bp-checks.h>.
25508         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25509
25510         [BZ #13550]
25511         * sysdeps/generic/bp-semctl.h: Remove file.
25512         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25513         <bp-checks.h> and <bp-semctl.h>.
25514         (__old_semctl): Don't use CHECK_SEMCTL.
25515         (__new_semctl): Likewise.
25516         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25517         and <bp-semctl.h>.
25518         (__old_semctl): Don't use CHECK_SEMCTL.
25519         (__new_semctl): Likewise.
25520         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25521         <bp-checks.h> and <bp-semctl.h>.
25522         (__old_semctl): Don't use CHECK_SEMCTL.
25523         (__new_semctl): Likewise.
25524         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25525         <bp-checks.h> and <bp-semctl.h>.
25526         (semctl): Don't use CHECK_SEMCTL.
25527
25528         [BZ #13550]
25529         * Makerules (elide-bp-thunks): Remove variable.
25530         (elide-routines.oS): Don't use $(elide-bp-thunks).
25531         (elide-routines.os): Likewise.
25532         (elide-routines.o): Likewise.
25533         (elide-routines.op): Likewise.
25534         (elide-routines.og): Likewise.
25535         (objects): Don't use $(bp-thunks).
25536         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25537         include.
25538         (common-generated): Do not add s-proto-bp.d.
25539         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25540         (int): Likewise.
25541         (typ): Likewise.
25542         Do not generate makefile rules for bounded-pointer thunks.
25543         * sysdeps/generic/bp-thunks.h: Remove file.
25544         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25545         * sysdeps/unix/s-proto-bp.S: Likewise.
25546
25547         [BZ #15062]
25548         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25549         parts of result separately when argument is not close to line from
25550         -i to i and one part of argument is small.
25551         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25552         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25553         * math/libm-test.inc (cacos_test): Add more tests.
25554         (casin_test): Likewise.
25555         (casinh_test): Likewise.
25556         * sysdeps/i386/fpu/libm-test-ulps: Update.
25557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25558
25559 2013-01-31  David S. Miller  <davem@davemloft.net>
25560
25561         * po/de.po: Update from translation team.
25562
25563 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25564
25565         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25566
25567 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25568
25569         * configure.in (_AC_PROG_CC_C89): New definition.
25570         * configure: Regenerate.
25571
25572         * configure.in (AC_PROG_CPP): New definition.
25573         * configure: Regenerate.
25574
25575 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25576
25577         * debug/tst-backtrace.h: New file.
25578         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25579         (ret): Remove variable.
25580         (x): Likewise.
25581         (FAIL): Remove macro.
25582         (NO_INLINE): Likewise.
25583         (fn1): Use match function instead of strstr.
25584         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25585         (ret): Remove variable.
25586         (x): Likewise.
25587         (FAIL): Remove macro.
25588         (NO_INLINE): Likewise.
25589         (fn): Use match function instead of strstr.
25590         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25591         (ret): Remove variable.
25592         (x): Likewise.
25593         (FAIL): Remove macro.
25594         (NO_INLINE): Likewise.
25595         (handle_signal): Use match function instead of strstr.
25596         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25597         (ret): Remove variable.
25598         (x): Likewise.
25599         (FAIL): Remove macro.
25600         (NO_INLINE): Likewise.
25601         (handle_signal): Use match function instead of strstr.
25602
25603 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25604
25605         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25606
25607 2013-01-23  David S. Miller  <davem@davemloft.net>
25608
25609         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25610         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25611         argument of CAS if possible.
25612         * sysdeps/sparc/sparc64/bits/atomic.h
25613         (__arch_compare_and_exchange_val_32_acq): Likewise.
25614         (__arch_compare_and_exchange_val_64_acq): Likewise.
25615
25616 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25617
25618         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25619         * sysdeps/posix/ulimit.c: ... this.
25620         Include <limits.h>.
25621         * sysdeps/unix/bsd/ulimit.c: Remove file.
25622
25623 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25624
25625         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25626         (LDFLAGS-tst-array5): Likewise.
25627
25628 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25629
25630         [BZ #15036]
25631         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25632         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25633         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25634         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25635
25636 2013-01-21  David S. Miller  <davem@davemloft.net>
25637
25638         * sysdeps/sparc/backtrace.c: New file.
25639         * sysdeps/sparc/sparc32/backtrace.h: New file.
25640         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25641         * sysdeps/sparc/sparc64/backtrace.h: New file.
25642         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25643         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25644         -funwind-tables.
25645
25646 2013-01-21  Andreas Schwab  <schwab@suse.de>
25647
25648         [BZ #15020]
25649         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25650         closed its stdout.
25651
25652 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25653
25654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25655         "mpa2.h".
25656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25657
25658 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25659             Mark Mitchell  <mark@codesourcery.com>
25660             Tom de Vries  <tom@codesourcery.com>
25661             Paul Pluzhnikov  <ppluzhnikov@google.com>
25662
25663         * debug/tst-backtrace2.c: New file.
25664         * debug/tst-backtrace3.c: Likewise.
25665         * debug/tst-backtrace4.c: Likewise.
25666         * debug/tst-backtrace5.c: Likewise.
25667         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25668         (CFLAGS-tst-backtrace3.c): Likewise.
25669         (CFLAGS-tst-backtrace4.c): Likewise.
25670         (CFLAGS-tst-backtrace5.c): Likewise.
25671         (LDFLAGS-tst-backtrace2): Likewise.
25672         (LDFLAGS-tst-backtrace3): Likewise.
25673         (LDFLAGS-tst-backtrace4): Likewise.
25674         (LDFLAGS-tst-backtrace5): Likewise.
25675         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25676         tst-backtrace4 and tst-backtrace5.
25677
25678 2013-01-18  Anton Blanchard  <anton@samba.org>
25679             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25680
25681         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25682         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25683         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25684         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25686         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25687         "+r" and remove output regs list as redundant.  Add explicit inline
25688         asm to specify register of return val to work around compiler codegen
25689         bug.  Remove (int) cast on return value.  Add return type parameter to
25690         use in macro so that this macro does not truncate return value for
25691         64-bit values.
25692         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25693         pass to INTERNAL_VSYSCALL_NCS.
25694         (INLINE_VSYSCALL): Add 'long int' as return type to
25695         INTERNAL_VSYSCALL_NCS macro invocation.
25696         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25697         INTERNAL_VSYSCALL_NCS macro invocation.
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25699
25700 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25701
25702         [BZ #14496]
25703         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25704         Fix application of SIMD FP exception mask.
25705
25706         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25707         mp_no from a power of two.
25708         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25709         __mpexp_twomm1.  Use __pow_mp.
25710
25711         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25712         multiplication.
25713
25714 2013-01-17  David S. Miller  <davem@davemloft.net>
25715
25716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25717
25718 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25719
25720         [BZ #15023]
25721         * include/complex.h: Condition contents on [!_COMPLEX_H].
25722         (__kernel_casinhf): New prototype.
25723         (__kernel_casinh): Likewise.
25724         (__kernel_casinhl): Likewise.
25725         * math/Makefile (libm_calls): Add k_casinh.
25726         * math/k_casinh.c: New file.
25727         * math/k_casinhf.c: Likewise.
25728         * math/k_casinhl.c: Likewise.
25729         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25730         finite nonzero arguments.
25731         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25732         finite nonzero arguments.
25733         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25734         finite nonzero arguments.
25735         * math/s_casinh.c: Do not include <float.h>.
25736         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25737         * math/s_casinhf.c: Do not include <float.h>.
25738         (__casinhf): Move code for finite nonzero arguments to
25739         k_casinhf.c.
25740         * math/s_casinhl.c: Do not include <float.h>.
25741         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25742         redefine.
25743         (__casinhl): Move code for finite nonzero arguments to
25744         k_casinhl.c.
25745         * math/libm-test.inc (cacos_test): Add more tests.
25746         * sysdeps/i386/fpu/libm-test-ulps: Update.
25747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25748
25749 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25750
25751         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25752         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25753         [!HAVE_MREMAP]: Remove [defined linux] case.
25754         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25755
25756 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25757
25758         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25759
25760 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25761
25762         * elf/elf.h (R_386_SIZE32): New relocation.
25763         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25764         R_386_SIZE32.
25765         (elf_machine_rela): Likewise.
25766         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25767         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25768
25769 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25770
25771         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25772         (FP_FAST_FMA): Do not define.
25773         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25774         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25775         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25776         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25777         !_SOFT_FLOAT]: Likewise.
25778         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25779         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25780         value.
25781         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25782         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25783         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25784         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25785         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25786         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25787         file.
25788
25789 2013-01-16  Andreas Schwab  <schwab@suse.de>
25790
25791         [BZ #14327]
25792         * include/stdlib.h (__mktemp): Add declaration.
25793         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25794         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25795
25796 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25797
25798         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25799         definitions.
25800         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25801         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25802         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25803         definitions here.
25804         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25805         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25806         definitions.
25807         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25808         and ONE.
25809         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25810         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25811         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25812         definitions.
25813         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25814         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25815         definitions.
25816         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25817
25818         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25819
25820 2013-01-15  David S. Miller  <davem@davemloft.net>
25821
25822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25823         trunc{,f} to libm-sysdep_routes.
25824         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25826         file.
25827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25829         file.
25830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25831         file.
25832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25834         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25835         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25836         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25837         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25838         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25839         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25840
25841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25842         nearbyint{,f} to libm-sysdep_routes.
25843         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25845         New file.
25846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25847         file.
25848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25849         New file.
25850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25851         file.
25852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25854         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25855         file.
25856         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25857         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25858         file.
25859         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25860         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25861         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25862
25863         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25864         libc_feholdexcept and libc_fesetenv.
25865
25866 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25867
25868         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25869
25870 2013-01-14  David S. Miller  <davem@davemloft.net>
25871
25872         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25873         (SPARC_ASM_VIS2_IFUNC): Likewise.
25874         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25876         use of 'siam' instruction.
25877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25878         Likewise.
25879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25880         Likewise.
25881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25882         Likewise.
25883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25888         file.
25889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25890         file.
25891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25892         file.
25893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25894         file.
25895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25900         new VIS2 routines.
25901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25904         Likewise.
25905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25908         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25910         routines to libm-sysdep_routines.
25911         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25912
25913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25914         fdim/fdimf to libm-sysdep_routines.
25915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25916         file.
25917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25919         file.
25920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25923         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25924         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25925         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25926         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25927
25928 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25929
25930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25931         to optimize copies.
25932
25933         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25936
25937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25938         local variable MPTWO.
25939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25940         Likewise.
25941
25942 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25943
25944         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25945         GLOB_NOESCAPE.
25946
25947 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25948
25949         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25950
25951 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25952
25953         * manual/pattern.texi (glob_t): Document gl_flags.
25954         (glob64_t): Likewise.
25955
25956 2013-01-11  David S. Miller  <davem@davemloft.net>
25957
25958         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25959         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25960         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25961         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25962         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25963         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25964         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25965         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25966         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25967         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25968         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25969         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25970         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25971
25972         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25973         sparc V9 rather than using V8 code.
25974         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25975         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25976
25977         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25978         Move to...
25979         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25980         Here.
25981
25982 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25983
25984         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25985         not in the main loop.
25986         * configure: Regenerated.
25987
25988 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25989
25990         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25991         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25992         to just #else.
25993         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25994         [!__GLIBC_HAVE_LONG_LONG] case.
25995         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25996         condition to just #else.
25997         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25998         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25999         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26000         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26001         unconditional.
26002         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26003         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26004         #elif condition to just #else.
26005         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26006         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26007         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26008         #elif condition to just #else.
26009
26010 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26011
26012         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26013         (EF_MIPS_ARCH_64): Fix value.
26014         (EF_MIPS_ARCH_32R2): New.
26015         (EF_MIPS_ARCH_64R2): New.
26016
26017 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26018
26019         * Makeconfig (+link-pie-before-libc): New.
26020         (+link-pie-after-libc): Likewise.
26021         (+link-pie-tests): Likewise.
26022         (+link-pie): Rewritten.
26023         (link-before-libc): Remove $(config-LDFLAGS).
26024         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26025         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26026         (config-LDFLAGS): Renamed to ...
26027         (rtld-LDFLAGS): This.
26028         (rtld-tests-LDFLAGS): New macro.
26029         (link-libc-rpath-link): Likewise.
26030         (link-libc-tests-rpath-link): Likewise.
26031         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26032         (link-libc): Prepand $(link-libc-rpath-link).
26033         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26034         (test-program-prefix): New macro.
26035         (test-via-rtld-prefix): Likewise.
26036         (test-program-cmd): Likewise.
26037         (host-test-program-cmd): Likewise.
26038         * Makefile ($(common-objpfx)testrun.sh): Replace
26039         $(run-program-prefix) with $(test-program-prefix).
26040         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26041         $(rtld-LDFLAGS).
26042         ($(common-objpfx)shlib.lds): Likewise.
26043         (build-module-helper): Likewise.
26044         ($(common-objpfx)format.lds): Likewise.
26045         * Rules (binaries-pie-tests): New.
26046         (binaries-pie-notests): Likewise.
26047         (binaries-pie): Rewritten.
26048         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26049         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26050         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26051         (make-test-out): Replace $(host-built-program-cmd) with
26052         $(host-test-program-cmd).
26053         * config.make.in (build-hardcoded-path-in-tests): New variable.
26054         * configure.in (--enable-hardcoded-path-in-tests): New configure
26055         option.
26056         (hardcoded_path_in_tests): New AC_SUBST.
26057         * configure: Regenerated.
26058         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26059         $(built-program-cmd) with $(test-program-cmd).
26060         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26061         (test_program_cmd): This.
26062         * elf/Makefile ($(objpfx)order.out): Run test with
26063         $(test-program-prefix).
26064         ($(objpfx)order2.out): Likewise.
26065         ($(objpfx)tst-initorder.out): Likewise.
26066         ($(objpfx)tst-initorder2.out): Likewise.
26067         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26068         $(test-program-cmd).
26069         ($(objpfx)tst-array1-static.out): Likewise.
26070         ($(objpfx)tst-array2.out): Likewise.
26071         ($(objpfx)tst-array3.out): Likewise.
26072         ($(objpfx)tst-array4.out): Likewise.
26073         ($(objpfx)tst-array5.out): Likewise.
26074         ($(objpfx)tst-array5-static.out): Likewise.
26075         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26076         $(test-program-cmd).
26077         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26078         $(run-program-prefix) with $(test-program-prefix).
26079         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26080         (test_program_prefix): This.
26081         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26082         $(run-program-prefix) with $(test-program-prefix).
26083         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26084         (test_program_prefix): This.
26085         * iconvdata/tst-tables.sh: Likewise.
26086         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26087         $(run-program-prefix) with $(test-program-prefix).
26088         ($(objpfx)tst-translit.out): Likewise.
26089         ($(objpfx)tst-gettext2.out): Likewise.
26090         ($(objpfx)tst-gettext4.out): Likewise.
26091         ($(objpfx)tst-gettext6.out): Likewise.
26092         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26093         (test_program_prefix): This.
26094         * intl/tst-gettext2.sh: Likewise.
26095         * intl/tst-gettext4.sh  Likewise.
26096         * intl/tst-gettext6.sh: Likewise.
26097         * intl/tst-translit.sh: Likewise.
26098         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26099         with $(test-program-cmd).
26100         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26101         $(run-program-prefix) with $(test-program-prefix).
26102         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26103         (test_program_prefix): This.
26104         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26105         $(run-program-prefix) with $(test-program-prefix).
26106         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26107         (test_program_prefix): This.
26108         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26109         * posix/Makefile ($(objpfx)globtest.out): Replace
26110         $(run-via-rtld-prefix) and $(test-wrapper) with
26111         $(test-program-prefix) and $(test-via-rtld-prefix).
26112         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26113         $(test-program-prefix).
26114         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26115         $(host-test-program-cmd).
26116         (tst-spawn-ARGS): Likewise.
26117         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26118         $(test-program-prefix).
26119         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26120         (test_via_rtld_prefix): This.
26121         (test_wrapper): Renamed to ...
26122         (test_program_prefix): This.
26123         (run_program_prefix): Replaced by test_program_prefix.
26124         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26125         (test_program_prefix): This.
26126         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26127         with $(host-test-program-cmd).
26128         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26129         $(run-program-prefix) with $(test-program-prefix).
26130         ($(objpfx)tst-printf.out): Likewise.
26131         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26132         $(test-program-cmd).
26133         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26134         (test_program_prefix): This.
26135         * stdio-common/tst-unbputc.sh: Likewise.
26136         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26137         $(run-program-prefix) with $(test-program-prefix).
26138         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26139         (test_program_prefix): This.
26140         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26141         $(built-program-cmd) with $(test-program-cmd).
26142
26143 2013-01-11  Andreas Jaeger  <aj@suse.de>
26144
26145         [BZ #15003]
26146         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26147         value. Sync with Linux 3.7.
26148
26149 2013-01-10  David S. Miller  <davem@davemloft.net>
26150
26151         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26152         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26153         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26154
26155 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26156
26157         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26158         never set.
26159         * configure: Regenerated.
26160
26161 2013-01-10  David S. Miller  <davem@davemloft.net>
26162
26163         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26164         sparc V9 rather than using V8 code.
26165         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26166         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26167
26168 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26169
26170         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26171         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26172         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26173         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26174         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26175         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26176         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26177         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26178         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26179         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26180         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26181         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26182         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26183         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26184         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26185         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26186         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26187         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26188         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26189         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26190         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26191         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26192         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26193         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26194         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26195         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26196         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26197
26198 2013-01-10  David S. Miller  <davem@davemloft.net>
26199
26200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26201
26202 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26203
26204         * posix/Makefile (tests-static): New variable.
26205         (tests): Add $(tests-static).
26206         (tst-exec-static-ARGS): New variable.
26207         (tst-spawn-static-ARGS): Likewise.
26208         * posix/tst-exec-static.c: New file.
26209         * posix/tst-spawn-static.c: Likewise.
26210         * posix/tst-exec.c: Support run directly.
26211         * posix/tst-spawn.c: Likewise.
26212
26213 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26214
26215         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26216         long.
26217         * math/bits/mathcalls.h (llrint): Likewise.
26218         (llround): Likewise.
26219         * stdlib/stdlib.h (struct drand48_data): Likewise.
26220         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26221         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26222         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26223         Likewise.
26224         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26225         Likewise.
26226         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26227         (elf_greg_t): Likewise.
26228         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26229         (__jmp_buf): Likewise.
26230         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26231         definitions.
26232         (llrint): Likewise, for all definitions.
26233         (llrintl): Likewise.
26234
26235         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26236         Remove [__GNUC__] condition.
26237         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26238         condition to just [__USE_ISOC99].
26239         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26240
26241 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26242
26243         [BZ #14200]
26244         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26245         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26246         defined.
26247         (_POSIX_V6_ILP32_OFF32): Likewise.
26248         (_XBS5_ILP32_OFF32): Likewise.
26249         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26250         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26251
26252 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26253
26254         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26255
26256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26257         doubles __mpexp_twomm1.  Adjust usage.
26258         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26259         Remove.
26260
26261 2013-01-10  Andreas Schwab  <schwab@suse.de>
26262
26263         [BZ #14964]
26264         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26265         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26266
26267 2013-01-09  David S. Miller  <davem@davemloft.net>
26268
26269         [BZ #15003]
26270         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26271         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26272         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26273         (TCP_FASTOPEN): Define.
26274         (tcp_repair_opt): New structure.
26275         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26276         enum values.
26277         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26278         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26279         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26280         (tcp_cookie_transactions): New structure.
26281
26282 2013-01-09  Anton Blanchard  <anton@samba.org>
26283
26284         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26285         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26286         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26287         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26288
26289 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26290
26291         * include/features.h (__USE_ANSI): Remove.
26292
26293 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26294
26295         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26296
26297         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26298
26299 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26300
26301         * sysdeps/s390/fpu/libm-test-ulps: Update.
26302
26303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26304
26305         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26306         (__acr): Likewise.
26307         (__cpy): Likewise.
26308         (norm): Likewise.
26309         (denorm): Likewise.
26310         (__mp_dbl): Likewise.
26311         (__dbl_mp): Likewise.
26312         (add_magnitudes): Likewise.
26313         (sub_magnitudes): Likewise.
26314         (__add): Likewise.
26315         (__sub): Likewise.
26316         (__mul): Likewise.
26317         (__inv): Likewise.
26318         (__dvd): Likewise.
26319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26320         (__acr): Likewise.
26321         (__cpy): Likewise.
26322         (norm): Likewise.
26323         (denorm): Likewise.
26324         (__mp_dbl): Likewise.
26325         (__dbl_mp): Likewise.
26326         (add_magnitudes): Likewise.
26327         (sub_magnitudes): Likewise.
26328         (__add): Likewise.
26329         (__sub): Likewise.
26330         (__mul): Likewise.
26331         (__inv): Likewise.
26332         (__dvd): Likewise.
26333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26334         (__acr): Likewise.
26335         (__cpy): Likewise.
26336         (norm): Likewise.
26337         (denorm): Likewise.
26338         (__mp_dbl): Likewise.
26339         (__dbl_mp): Likewise.
26340         (add_magnitudes): Likewise.
26341         (sub_magnitudes): Likewise.
26342         (__add): Likewise.
26343         (__sub): Likewise.
26344         (__mul): Likewise.
26345         (__inv): Likewise.
26346         (__dvd): Likewise.
26347
26348 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26349
26350         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26351         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26352         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26353         2 && __USE_EXTERN_INLINES]: Likewise.
26354
26355 2013-01-08  Andreas Jaeger  <aj@suse.de>
26356
26357         [BZ# 14985]
26358         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26359         Remove.
26360         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26361         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26362
26363 2013-01-07  Anton Blanchard  <anton@samba.org>
26364
26365         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26366         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26367         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26368         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26369         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26370         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26371         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26372         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26374         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26375         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26376         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26378         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26379         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26380         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26381         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26382         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26383         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26385         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26386         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26388         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26389         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26390         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26391         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26392         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26394         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26395         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26397         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26398         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26399         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26400         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26401         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26402         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26403         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26404         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26405         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26406         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26407         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26408
26409 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26410
26411         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26412         (__MALLOC_PMT): Likewise.
26413         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26414         [__GNUC__], only on [_LIBC].
26415         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26416         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26417         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26418         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26419         forward declaration.
26420         (realloc_hook_ini): Likewise.
26421         (memalign_hook_ini): Likewise.
26422         (__libc_memalign): Do not use __MALLOC_PMT in variable
26423         declaration.
26424         (__libc_valloc): Likewise.
26425         (__libc_pvalloc): Likewise.
26426         (__libc_calloc): Likewise.
26427         (__posix_memalign): Likewise.
26428
26429         [BZ #14996]
26430         * math/s_casinh.c: Include <float.h>.
26431         (__casinh): Do not do computation with squaring and square root
26432         for large arguments.
26433         * math/s_casinhf.c: Include <float.h>.
26434         (__casinhf): Do not do computation with squaring and square root
26435         for large arguments.
26436         * math/s_casinhl.c: Include <float.h>.
26437         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26438         (__casinhl): Do not do computation with squaring and square root
26439         for large arguments.
26440         * math/libm-test.inc (casin_test): Add more tests.
26441         (casinh_test): Likewise.
26442         * sysdeps/i386/fpu/libm-test-ulps: Update.
26443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26444
26445 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26446
26447         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26448         (__x86_64_raw_data_cache_size): Likewise.
26449         (__x86_64_data_cache_size_half): Likewise.
26450         (__x86_64_raw_data_cache_size_half): Likewise.
26451         (__x86_64_shared_cache_size): Likewise.
26452         (__x86_64_raw_shared_cache_size): Likewise.
26453         (__x86_64_shared_cache_size_half): Likewise.
26454         (__x86_64_raw_shared_cache_size_half): Likewise.
26455         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26456         to ...
26457         (__x86_data_cache_size): This.
26458         (__x86_64_raw_data_cache_size): Renamed to ...
26459         (__x86_raw_data_cache_size): This.
26460         (__x86_64_data_cache_size_half): Renamed to ...
26461         (__x86_data_cache_size_half): This.
26462         (__x86_64_raw_data_cache_size_half): Renamed to ...
26463         (__x86_raw_data_cache_size_half): This.
26464         (__x86_64_shared_cache_size): Renamed to ...
26465         (__x86_shared_cache_size): This.
26466         (__x86_64_raw_shared_cache_size): Renamed to ...
26467         (__x86_raw_shared_cache_size): This.
26468         (__x86_64_shared_cache_size_half): Renamed to ...
26469         (__x86_shared_cache_size_half): This.
26470         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26471         (__x86_raw_shared_cache_size_half): This.
26472         * sysdeps/x86_64/memcpy.S: Updated.
26473         * sysdeps/x86_64/memset.S: Likewise.
26474         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26475         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26476         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26477
26478 2013-01-04  David S. Miller  <davem@davemloft.net>
26479
26480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26481
26482 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26483
26484         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26485         1 to avoid redefinition warning.
26486         (__USE_GNU): Don't define.
26487         (init_signaling_nan): Protoize.
26488
26489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26490
26491 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26492
26493         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26495         (__cpymn): Likewise.
26496         (norm): Remove commented code.
26497         (denorm): Likewise.
26498         (__mp_dbl): Likewise.
26499         (__inv): Likewise.
26500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26501         (__cpymn): Likewise.
26502         (norm): Remove commented code.
26503         (denorm): Likewise.
26504         (__mp_dbl): Likewise.
26505         (__inv): Likewise.
26506
26507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26508         mp_no value for 1.0 and 2.0.
26509         (norm): Use RADIXI instead of radixi.d.
26510         (denorm): Likewise.
26511         (__mul): Use 0.0 instead of zero.d.
26512         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26513         mp_no value for 1.0 and 2.0.
26514         (norm): Use RADIXI instead of radixi.d.
26515         (denorm): Likewise.
26516         (__mul): Use 0.0 instead of zero.d.
26517
26518 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26519
26520         [BZ #14994]
26521         * math/s_casinh.c (__casinh): Reduce finite argument to first
26522         quadrant then set signs of results at the end.
26523         * math/s_casinhf.c (__casinhf): Likewise.
26524         * math/s_casinhl.c (__casinhl): Likewise.
26525         * math/libm-test.inc (casin_test): Add more tests.
26526         (casinh_test): Likewise.
26527         * sysdeps/i386/fpu/libm-test-ulps: Update.
26528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26529
26530 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26531
26532         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26533
26534         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26535
26536         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26537         declarations.
26538         (denorm): Likewise.
26539         (__mp_dbl): Likewise.
26540         (__inv): Likewise.
26541
26542         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26543         and adjust the header comment.
26544
26545         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26546         variable name from declaration.
26547
26548 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26549
26550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26551         Initialize COMMON_CPUID_INDEX_7 element.
26552         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26553         (CPUID_RTM): Likewise.
26554         (HAS_RTM): Likewise.
26555         (COMMON_CPUID_INDEX_7): New enum.
26556
26557 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26558
26559         [BZ #14981]
26560         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26561         size is zero, record memory as freed.
26562
26563 2013-01-03  Andreas Jaeger  <aj@suse.de>
26564
26565         * po/ia.po: Add new Interlingua translation.
26566
26567 2012-01-03  Allan McRae  <allan@archlinux.org>
26568
26569         * locale/programs/localedef.c: Fix description of '--posix' flag.
26570
26571 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26572
26573         * NEWS: Update dates in second copyright notice.
26574         * README: Update copyright dates in example.
26575         * manual/libc.texinfo: Update copyright dates.
26576         * scripts/test-installation.pl: Update copyright date in --version
26577         output.
26578
26579         * hurd/ctty-input.c: Fix copyright notice formatting.
26580         * hurd/ctty-output.c: Likewise.
26581         * hurd/dtable.c: Likewise.
26582         * hurd/hurd-raise.c: Likewise.
26583         * hurd/hurdprio.c: Likewise.
26584         * hurd/msgportdemux.c: Likewise.
26585         * misc/sys/file.h: Likewise.
26586         * misc/sys/ioctl.h: Likewise.
26587         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26588         * sysdeps/mach/hurd/chdir.c: Likewise.
26589         * sysdeps/mach/hurd/fchdir.c: Likewise.
26590         * sysdeps/mach/hurd/rename.c: Likewise.
26591         * sysdeps/mach/hurd/rmdir.c: Likewise.
26592         * sysdeps/mach/hurd/seekdir.c: Likewise.
26593         * sysdeps/mach/hurd/setsid.c: Likewise.
26594         * sysdeps/posix/wait3.c: Likewise.
26595
26596         * All files with FSF copyright notices: Update copyright dates
26597         using scripts/update-copyrights.
26598         * intl/plural.c: Regenerated.
26599         * locale/programs/charmap-kw.h: Likewise.
26600         * locale/programs/locfile-kw.h: Likewise.
26601
26602 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26603
26604         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26605         four values.
26606
26607         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26608         calculation loop and add branch prediction.
26609
26610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26611         check access beyond bounds of m1np.
26612
26613         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26614         MPTWO.
26615         (__inv): Remove local variable MPTWO to use the global
26616         constant.
26617         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26619         variable MPTWO.
26620         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26621         MP3HALFS static const.
26622
26623 2013-01-01  David S. Miller  <davem@davemloft.net>
26624
26625         * po/ca.po: Update from translation team.
26626
26627 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26628
26629         * scripts/update-copyrights: New file.
26630         * Makeconfig: Reformat copyright notice.
26631         * ctype/ctype.h: Likewise.
26632         * debug/swprintf_chk.c: Likewise.
26633         * elf/dl-cache.c: Likewise.
26634         * elf/dl-debug.c: Likewise.
26635         * elf/dl-object.c: Likewise.
26636         * grp/initgroups.c: Likewise.
26637         * hurd/Makefile: Likewise.
26638         * hurd/hurd/signal.h: Likewise.
26639         * hurd/hurdfault.c: Likewise.
26640         * hurd/hurdioctl.c: Likewise.
26641         * hurd/hurdlookup.c: Likewise.
26642         * hurd/intr-msg.c: Likewise.
26643         * iconv/gconv_open.c: Likewise.
26644         * libio/swprintf.c: Likewise.
26645         * locale/lc-ctype.c: Likewise.
26646         * locale/nl_langinfo.c: Likewise.
26647         * mach/Machrules: Likewise.
26648         * mach/Makefile: Likewise.
26649         * malloc/obstack.h: Likewise.
26650         * manual/Makefile: Likewise.
26651         * manual/tsort.awk: Likewise.
26652         * misc/bits/stab.def: Likewise.
26653         * nis/nis_print_group_entry.c: Likewise.
26654         * nis/nis_table.c: Likewise.
26655         * nis/nss_compat/compat-pwd.c: Likewise.
26656         * nis/nss_compat/compat-spwd.c: Likewise.
26657         * po/Makefile: Likewise.
26658         * posix/fnmatch.c: Likewise.
26659         * posix/regex.h: Likewise.
26660         * resolv/Makefile: Likewise.
26661         * resolv/nss_dns/dns-network.c: Likewise.
26662         * resolv/res_hconf.c: Likewise.
26663         * scripts/gen-sorted.awk: Likewise.
26664         * soft-fp/soft-fp.h: Likewise.
26665         * stdio-common/printf.h: Likewise.
26666         * stdlib/monetary.h: Likewise.
26667         * stdlib/random.c: Likewise.
26668         * stdlib/random_r.c: Likewise.
26669         * sysdeps/generic/Makefile: Likewise.
26670         * sysdeps/gnu/Makefile: Likewise.
26671         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26672         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26673         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26674         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26675         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26676         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26677         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26678         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26679         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26680         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26681         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26682         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26683         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26684         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26685         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26686         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26687         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26688         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26689         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26690         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26691         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26692         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26693         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26694         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26695         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26696         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26697         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26698         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26699         * sysdeps/mach/hurd/errnos.awk: Likewise.
26700         * sysdeps/mach/hurd/fork.c: Likewise.
26701         * sysdeps/mach/hurd/getcwd.c: Likewise.
26702         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26703         * sysdeps/mach/hurd/mmap.c: Likewise.
26704         * sysdeps/mach/hurd/utimes.c: Likewise.
26705         * sysdeps/mach/hurd/xmknod.c: Likewise.
26706         * sysdeps/posix/profil.c: Likewise.
26707         * sysdeps/posix/readdir_r.c: Likewise.
26708         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26709         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26710         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26711         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26713         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26714         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26715         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26717         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26718         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26719         * sysdeps/pthread/lio_listio.c: Likewise.
26720         * sysdeps/sparc/dl-procinfo.h: Likewise.
26721         * sysdeps/unix/i386/sysdep.S: Likewise.
26722         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26723         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26724         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26725         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26727         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26728         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26729         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26730         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26731         * sysdeps/wordsize-32/divdi3.c: Likewise.
26732         * time/sys/time.h: Likewise.
26733         * wcsmbs/Makefile: Likewise.
26734
26735 2013-01-01  David S. Miller  <davem@davemloft.net>
26736
26737         * po/fr.po: Update from translation team.
26738
26739         * catgets/gencat.c: Update copyright year.
26740         * csu/version.c: Likewise.
26741         * debug/catchsegv.sh: Likewise.
26742         * debug/pcprofiledump.c: Likewise.
26743         * debug/xtrace.sh: Likewise.
26744         * elf/ldconfig.c: Likewise.
26745         * elf/ldd.bash.in: Likewise.
26746         * elf/pldd.c: Likewise.
26747         * elf/sotruss.ksh: Likewise.
26748         * elf/sprof.c: Likewise.
26749         * iconv/iconv_prog.c: Likewise.
26750         * iconv/iconvconfig.c: Likewise.
26751         * locale/programs/locale.c: Likewise.
26752         * locale/programs/localedef.c: Likewise.
26753         * login/programs/pt_chown.c: Likewise.
26754         * malloc/memusage.sh: Likewise.
26755         * malloc/memusagestat.c: Likewise.
26756         * malloc/mtrace.pl: Likewise.
26757         * nscd/nscd.c: Likewise.
26758         * nss/getent.c: Likewise.
26759         * nss/makedb.c: Likewise.
26760         * posix/getconf.c: Likewise.
26761
26762 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26763
26764         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26765         numbers.
26766
26767 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26768
26769         * math/bits/mathcalls.h (modf): Use __nonnull.
26770
26771 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26772
26773         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26774         (split): Use macro CN instead of the bare value.
26775         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26776         could be used.
26777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26778         instead of the bare value.
26779         (power1): Likewise.
26780
26781 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26782
26783         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26784         __ATAN_TWOM.
26785         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26786
26787         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26788         their values.
26789         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26790         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26791         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26792         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26793
26794 2012-12-28  Andreas Jaeger  <aj@suse.de>
26795
26796         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26797         values are from Linux 3.7.
26798
26799         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26800         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26801
26802 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26803
26804         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26805         TRUE case.
26806
26807         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26808         (norm): Likewise.
26809         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26810         variables with preprocessor constants.
26811         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26812         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26813         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26814
26815 2012-12-27  Bruno Haible  <bruno@clisp.org>
26816
26817         [BZ #14317]
26818         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26819         only if needed.
26820
26821 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26822
26823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26824         and use variable directly.
26825         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26826
26827         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26828         MPONE.
26829         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26831         variable MPONE.
26832         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26834         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26835         include directive.  Remove local variable MPONE.
26836         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26837         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26838         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26839
26840 2012-12-25  David S. Miller  <davem@davemloft.net>
26841
26842         * version.h (RELEASE): Set to "development".
26843         (VERSION): Set to "2.17.90".
26844         * NEWS: Add 2.18 section.
26845
26846 2012-12-21  David S. Miller  <davem@davemloft.net>
26847
26848         * po/hr.po: Update from translation team.
26849
26850 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26851
26852         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26853
26854 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26855
26856         * NEWS:  Mention new memcpy for MIPS.
26857
26858 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26859
26860         * manual/contrib.texi (Contributors): Spelling correction.
26861
26862 2012-12-15  David S. Miller  <davem@davemloft.net>
26863
26864         * po/ru.po: Update from translation team.
26865
26866 2012-12-13  David S. Miller  <davem@davemloft.net>
26867
26868         * NEWS: Mention IFUNC testsuite enhancements.
26869
26870         * po/pl.po: Update from translation team.
26871         * po/bg.po: Likewise.
26872
26873         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26874         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26875
26876 2012-12-11  David S. Miller  <davem@davemloft.net>
26877
26878         * po/sv.po: Update from translation team.
26879
26880         * po/vi.po: Update from translation team.
26881
26882         * po/cs.po: Update from translation team.
26883
26884         * po/de.po: Update from translation team.
26885         * po/eo.po: Likewise.
26886         * po/nl.po: Likewise.
26887
26888 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26889
26890         [BZ #14246]
26891         * manual/argp.texi (Argp Helper Functions): Move node to follow
26892         Argp Parsing State.
26893
26894         [BZ #14872]
26895         * manual/conf.texi (Limits on File System Capacity): Mention if
26896         terminating null is included in the max size.
26897
26898 2012-12-10  Andreas Jaeger  <aj@suse.de>
26899
26900         * po/cs.po: Update from translation team.
26901
26902 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26903
26904         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26905         void pointer and cast to uintptr_t.
26906         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26907         path.
26908         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26909         * sysdeps/s390/s390-64/memset.S: Likewise.
26910
26911 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26912
26913         [BZ #14833]
26914         * menual/message.texi (Message Translation): Fix typos.
26915         (Helper programs for gettext): Likewise.
26916
26917 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26918
26919         [BZ #14898]
26920         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26921         Change to -1.
26922
26923 2012-12-07  David S. Miller  <davem@davemloft.net>
26924
26925         * po/libc.pot: Update.
26926
26927 2012-12-07  Richard Henderson  <rth@redhat.com>
26928
26929         [BZ #10114]
26930         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26931         normal/normal case to before the switch.
26932         (_FP_DIV): Likewise.
26933
26934 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26935             Mike Frysinger  <vapier@gentoo.org>
26936
26937         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26938         check for __NR_fadvise64_64.
26939
26940 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26941
26942         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26943         0, not just to plain "0" as a statement.
26944         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26945         with cw.
26946
26947 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26948
26949         * NEWS: Use sourceware.org in Bugzilla URL.
26950
26951 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26952
26953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26954         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26955
26956         * stdio-common/tst-put-error.c (do_test): Add newline to the
26957         padded test to ensure flush.
26958
26959 2012-12-05  Jeff Law  <law@redhat.com>
26960
26961         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26962
26963 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26964
26965         * README: Don't refer to ports add-on as distributed separately.
26966         Mention AArch64 in list of systems supported in the ports add-on.
26967
26968         * LICENSES: Add more non-FSF copyright and license notices.
26969
26970         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26971         ((unused)).
26972
26973         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26974
26975         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26976         10000 as width of padded output.
26977
26978 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26979
26980         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26981
26982         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26983         variable LX with __attribute__ ((unused)).
26984         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26985         Likewise.
26986         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26987         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26989         with __attribute__ ((unused)).
26990
26991 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26992
26993         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26994
26995 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26996
26997         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26998         (CFLAGS-nldbl-acos.c): New variable.
26999         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27000         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27001         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27002         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27003         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27004         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27005         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27006         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27007         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27008         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27009         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27010         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27011         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27012         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27013         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27014         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27015         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27016         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27017         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27018         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27019         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27020         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27021         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27022         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27023         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27024         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27025         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27026         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27027         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27028         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27029         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27030         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27031         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27032         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27033         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27034         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27035         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27036         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27037         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27038         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27039         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27040         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27041         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27042         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27043         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27044         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27045         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27046         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27047         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27048         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27049         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27050         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27051         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27052         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27053         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27054         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27055         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27056         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27057         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27058         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27059         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27060         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27061         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27062         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27063         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27064         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27065         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27066         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27067         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27068         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27069         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27070         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27071         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27072         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27073         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27074         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27075         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27076         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27077         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27078         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27079         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27080         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27081         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27082         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27083         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27084         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27085         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27086         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27087         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27088         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27089         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27090         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27091         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27092         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27093         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27094         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27095         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27096
27097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27098         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27099
27100         [BZ #14914]
27101         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27102         whole low double instead of just low 47 bits when splitting values
27103         into two parts.
27104
27105 2012-12-03  Allan McRae  <allan@archlinux.org>
27106
27107         * manual/stdio.texi (Predefined Printf Handlers): Remove
27108         @hsep and @vsep usage.
27109
27110 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27111
27112         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27113         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27114
27115 2012-12-03  Jeff Law  <law@redhat.com>
27116
27117         * time/sys/time.h (settimeofday): Do not mark TV argument
27118         as __nonnull.
27119
27120 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27121
27122         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27123         when currently writing and seek to current position when not.
27124         * libio/Makefile (tests): Remove bug-fclose1.
27125         * libio/bug-fclose1.c: Delete.
27126
27127 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27128
27129         * manual/arith.texi (feenableexcept): Fix typo.
27130         (fedisableexcept): Likewise.
27131
27132 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27133
27134         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27135         second, differently-typed declaration, rather than a cast.
27136
27137 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27138
27139         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27140         * include/rpc/svc.h: ... here.
27141
27142 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27143
27144         [BZ #13013]
27145         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27146         depending n and resplen2 to catch cases where answer
27147         equals answerp2.
27148
27149 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27150
27151         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27152         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27153
27154 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27155
27156         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27157
27158 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27159
27160         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27161
27162 2012-11-28  Jeff Law  <law@redhat.com>
27163
27164         [BZ #13761]
27165         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27166         dataset_temporary.  Track alloca usage into alloca_used.
27167         If dataset is large allocate and release it via malloc/free.
27168
27169 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27170
27171         [BZ #14197]
27172         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27173
27174 2012-11-28  David S. Miller  <davem@davemloft.net>
27175
27176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27177
27178 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27179
27180         [BZ #14803]
27181         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27182         of pi/2 rounded to nearest to 64 bits.
27183         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27184         nearest to 64 bits.
27185         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27186         bits.
27187
27188 2012-11-28  Jeff Law <law@redhat.com>
27189             Martin Osvald <mosvald@redhat.com>
27190
27191         [BZ #14889]
27192         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27193         * sunrpc/svc.c: Include time.h.
27194         (__svc_accept_failed): New function.
27195         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27196         any reason other than EINTR, call __svc_accept_failed.
27197         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27198         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27199
27200 2012-11-28  Andreas Schwab  <schwab@suse.de>
27201
27202         * scripts/abilist.awk: Also handle indirect functions in .opd
27203         section.
27204
27205 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27206
27207         [BZ #13881]
27208         * sysdeps/x86/fpu/powl_helper.c: New file.
27209         * sysdeps/x86/fpu/Makefile: Likewise.
27210         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27211         (p3): New object.
27212         (__ieee754_powl): Use __powl_helper for finite arguments except
27213         integer exponents below 8.
27214         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27215         (p3): New object.
27216         (__ieee754_powl): Use __powl_helper for finite arguments except
27217         integer exponents below 8.
27218         * math/libm-test.inc (pow_test): Add more tests and enable some
27219         previously disabled tests.
27220         * sysdeps/i386/fpu/libm-test-ulps: Update.
27221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27222
27223 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27224             Carlos O'Donell  <carlos_odonell@mentor.com>
27225
27226         * nss/makedb.c (is_prime): Assert that input is odd and greater
27227         than 4.  Note that fact in a comment too.
27228         (next_prime): Add 4 to input.
27229
27230 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27231
27232         [BZ #11741]
27233         * libio/Makefile (tests): Add test case tst-fwrite-error.
27234         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27235         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27236         * libio/tst-fwrite-error.c: New test case.
27237
27238 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27239
27240         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27241         before casting to void *.
27242         * include/libc-internal.h (__pointer_type): New macro.
27243         (__integer_if_pointer_type_sub): Likewise.
27244         (__integer_if_pointer_type): Likewise.
27245         (cast_to_integer): Likewise.
27246         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27247         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27248         before casting to atomic64_t.
27249         (atomic_exchange_acq): Likewise.
27250         (__arch_exchange_and_add_body): Likewise.
27251         (__arch_add_body): Likewise.
27252         (atomic_add_negative): Likewise.
27253         (atomic_add_zero): Likewise.
27254
27255 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27256
27257         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27258         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27259         (add_fdes): Likewise.
27260         (linear_search_fdes): Likewise.
27261         (binary_search_unencoded_fdes): Likewise.
27262
27263 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27264
27265         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27266
27267 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27268
27269         * configure.in: Autodetect C++ header directories.
27270         * configure: Regenerated.
27271
27272 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27273
27274         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27275
27276 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27277
27278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27279
27280 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27281
27282         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27283         LDBL_MANT_DIG == 106]: Disable some tests.
27284         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27285         Likewise.
27286         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27287         Likewise.
27288
27289         [BZ #14871]
27290         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27291         input for small inputs.  Return +/- pi/2 for large inputs.
27292         * math/libm-test.inc (atan_test): Add more tests.
27293
27294         * sysdeps/generic/unwind-dw2-fde-glibc.c
27295         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27296         __attribute__ ((unused)).
27297
27298         [BZ #14645]
27299         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27300         x * y if x and y are nonzero and z is zero.
27301
27302         [BZ #14811]
27303         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27304         nonzero exponents with absolute value below 0x1p-117 to +/-
27305         0x1p-117.
27306
27307         [BZ #14869]
27308         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27309         up arguments below 2**-450, not just those below 2**-500.
27310         * math/libm-test.inc (hypot_test): Add another test.
27311
27312         [BZ #14868]
27313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27314         Return a+b for ratio over 2**120, not 2**60.
27315         * math/libm-test.inc (hypot_test): Add another test.
27316
27317         * math/libm-test.inc (clog_test): Use
27318         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27319         (clog10_test): Likewise.
27320
27321         [BZ #6778]
27322         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27323
27324 2012-11-22  Andreas Schwab  <schwab@suse.de>
27325
27326         * sysdeps/i386/fpu/libm-test-ulps: Update.
27327
27328 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27329
27330         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27331         printf output with newline.
27332
27333 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27334
27335         [BZ #14865]
27336         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27337         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27338         -z nodlopen, -z initfirst and -z execstack support.
27339         * configure: Regenerated.
27340
27341         * elf/elf.h (DF_1_NODIRECT): New macro.
27342         (DF_1_IGNMULDEF): Likewise.
27343         (DF_1_NOKSYMS): Likewise.
27344         (DF_1_NOHDR): Likewise.
27345         (DF_1_EDITED): Likewise.
27346         (DF_1_NORELOC): Likewise.
27347         (DF_1_SYMINTPOSE): Likewise.
27348         (DF_1_GLOBAUDIT): Likewise.
27349         (DF_1_SINGLETON): Likewise.
27350         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27351         DT_1_SUPPORTED_MASK bits.
27352         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27353
27354 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27355
27356         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27357
27358 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27359
27360         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27361         macro.
27362
27363         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27364         (sendmmsg): Move declarations...
27365         * socket/sys/socket.h: ... here.
27366         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27367         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27368         include it from...
27369         * socket/recvmmsg.c: ... this new file.
27370         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27371         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27372         definition of __sendmmsg hidden.
27373         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27374         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27375         Move ENOSYS stub into and include it from...
27376         * socket/sendmmsg.c: ... this new file.
27377         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27378         (sysdep_routines): Move recvmmsg and sendmmsg...
27379         * socket/Makefile (routines): ... here.
27380         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27381         (GLIBC_PRIVATE): Add __sendmmsg.
27382         * include/sys/socket.h (__sendmmsg): Add declarations.
27383         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27384         sendmmsg.
27385
27386 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27387
27388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27389         variable I1 with __attribute__ ((unused)).
27390         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27391
27392 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27393
27394         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27395         DUMMY variables with __attribute__ ((unused)).
27396
27397         * bits/byteswap.h: Include <bits/types.h>.
27398         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27399
27400 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27401
27402         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27403         string_t.  Do not manually set errno.
27404         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27405         length with __strnlen.  Make sure to both set errno and return it on
27406         failure.
27407
27408 2012-11-19  David S. Miller  <davem@davemloft.net>
27409
27410         With help from Joseph Myers.
27411         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27412         very large arguments properly.
27413         * math/libm-test.inc (atan_test): New tests.
27414         (atan2_test): New tests.
27415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27417
27418 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27419
27420         [BZ #14856]
27421         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27422         Define to 3.
27423
27424         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27425         [POSIX] (EADDRNOTAVAIL): Likewise.
27426         [POSIX] (EAFNOSUPPORT): Likewise.
27427         [POSIX] (EALREADY): Likewise.
27428         [POSIX] (ECONNABORTED): Likewise.
27429         [POSIX] (ECONNREFUSED): Likewise.
27430         [POSIX] (ECONNRESET): Likewise.
27431         [POSIX] (EDESTADDRREQ): Likewise.
27432         [POSIX] (EDQUOT): Likewise.
27433         [POSIX] (EHOSTUNREACH): Likewise.
27434         [POSIX] (EIDRM): Likewise.
27435         [POSIX] (EISCONN): Likewise.
27436         [POSIX] (ELOOP): Likewise.
27437         [POSIX] (EMULTIHOP): Likewise.
27438         [POSIX] (ENETDOWN): Likewise.
27439         [POSIX] (ENETUNREACH): Likewise.
27440         [POSIX] (ENOBUFS): Likewise.
27441         [POSIX] (ENODATA): Likewise.
27442         [POSIX] (ENOLINK): Likewise.
27443         [POSIX] (ENOMSG): Likewise.
27444         [POSIX] (ENOPROTOOPT): Likewise.
27445         [POSIX] (ENOSR): Likewise.
27446         [POSIX] (ENOSTR): Likewise.
27447         [POSIX] (ENOTCONN): Likewise.
27448         [POSIX] (ENOTSOCK): Likewise.
27449         [POSIX] (EOPNOTSUPP): Likewise.
27450         [POSIX] (EOVERFLOW): Likewise.
27451         [POSIX] (EPROTO): Likewise.
27452         [POSIX] (EPROTONOSUPPORT): Likewise.
27453         [POSIX] (EPROTOTYPE): Likewise.
27454         [POSIX] (ESTALE): Likewise.
27455         [POSIX] (ETIME): Likewise.
27456         [POSIX] (ETXTBSY): Likewise.
27457         [POSIX] (EWOULDBLOCK): Likewise.
27458         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27459         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27460         [POSIX] (SEEK_CUR): Likewise.
27461         [POSIX] (SEEK_END): Likewise.
27462         [POSIX || UNIX98] (mode_t): Do not require.
27463         [POSIX] (off_t): Likewise.
27464         [POSIX] (pid_t): Likewise.
27465         [POSIX] (sys/stat.h): Do not allow header.
27466         [POSIX] (unistd.h): Likewise.
27467         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27468         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27469         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27470         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27471         require.
27472         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27473         sigevent): Specify elements.
27474         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27475         entry.
27476         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27477         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27478
27479         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27480         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27481         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27482         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27483         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27484         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27485         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27486         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27487         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27488         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27489         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27490         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27491         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27492         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27493         Likewise.
27494         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27495         Likewise.
27496         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27497         Likewise.
27498         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27499         Likewise.
27500         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27501         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27502         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27503         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27504         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27505         Specify lower bound on value.
27506         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27507         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27508         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27509         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27510         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27511         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27512         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27513         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27514         value.
27515         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27516         as optional.
27517         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27518         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27519         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27520         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27521         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27522         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27523         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27524         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27525         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27526         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27527         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27528         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27529         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27530         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27531         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27532         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27533         entry.
27534         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27535         optional.
27536         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27537         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27538         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27539         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27540         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27541         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27542         Likewise.
27543         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27544         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27545         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27546         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27547         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27548         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27550         as optional.
27551         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27552         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27553         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27554         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27555         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27556         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27557         specify as optional.
27558         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27559         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27560         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27561         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27562         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27563         [XPG3] (NL_LANGMAX): Likewise.
27564         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27565         [POSIX || XPG3] (NL_NMAX): Likewise.
27566         [POSIX || XPG3] (NL_SETMAX): Likewise.
27567         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27568         [XPG3] (NZERO): Likewise.
27569         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27570         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27571         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27572         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27573         (REG_ERANGE): Expect.
27574         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27575         optional-constant.
27576         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27577         Use (void) in prototype.
27578         [POSIX] (*_t): Allow.
27579         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27580         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27581         (WRDE_BADVAL): Expect.
27582
27583         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27584         expect.
27585         [XPG3 || XPG4] (O_RSYNC): Likewise.
27586         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27587         Likewise.
27588         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27589         [XPG3 || XPG4] (sigqueue): Likewise.
27590         [XPG3 || XPG4] (sigtimedwait): Likewise.
27591         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27592         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27593         [XPG3 || XPG4] (vsnprintf): Likewise.
27594         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27595         Likewise.
27596         [XPG3 || XPG4] (blksize_t): Likewise.
27597         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27598         Likewise.
27599         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27600         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27601         [XPG3 || XPG4] (struct itimerspec): Likewise.
27602         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27603         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27604         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27605         [XPG3 || XPG4] (clockid_t): Likewise.
27606         [XPG3 || XPG4] (timer_t): Likewise.
27607         [XPG3 || XPG4] (clock_getres): Likewise.
27608         [XPG3 || XPG4] (clock_gettime): Likewise.
27609         [XPG3 || XPG4] (clock_settime): Likewise.
27610         [XPG3 || XPG4] (nanosleep): Likewise.
27611         [XPG3 || XPG4] (timer_create): Likewise.
27612         [XPG3 || XPG4] (timer_delete): Likewise.
27613         [XPG3 || XPG4] (timer_gettime): Likewise.
27614         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27615         [XPG3 || XPG4] (timer_settime): Likewise.
27616         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27617         [XPG3 || XPG4] (getlogin_r): Likewise.
27618         [XPG3 || XPG4] (pread): Likewise.
27619         [XPG3 || XPG4] (pthread_atfork): Likewise.
27620         [XPG3 || XPG4] (pwrite): Likewise.
27621
27622         [BZ #14835]
27623         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27624         <bits/siginfo.h>.
27625
27626 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27627
27628         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27629         finalizing MALLSTREAM.
27630
27631         * sysdeps/mach/hurd/syncfs.c: New file.
27632
27633 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27634
27635         [BZ #14719]
27636         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27637         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27638         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27639         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27640         (_nss_dns_gethostbyname4_r): Likewise.
27641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27642         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27643
27644 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27645
27646         [BZ #13763]
27647         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27648
27649 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27650
27651         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27652         * elf/cache.c (print_entry): Print ",AArch64" for
27653         FLAG_AARCH64_LIB64
27654
27655         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27656         * elf/cache.c (print_entry): Print ",hard-float" for
27657         FLAG_ARM_LIBHF.
27658
27659 2012-11-18  David S. Miller  <davem@davemloft.net>
27660
27661         With help from Joseph Myers.
27662         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27663         cutoff to 2**-13.
27664         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27665         cutoff to 2**-25.
27666         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27667         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27668         small.
27669         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27670         * math/libm-test.inc (y0_test): New tests.
27671         (y1_test): New tests.
27672         * sysdeps/i386/fpu/libm-test-ulps: Update.
27673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27675
27676 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27677
27678         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27679         64-bit targets.
27680         * configure: Regenerated.
27681
27682 2012-11-17  David S. Miller  <davem@davemloft.net>
27683
27684         [BZ #14811]
27685         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27686         nonzero exponents with absolute value below 0x1p-128 to +/-
27687         0x1p-128.
27688
27689 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27690
27691         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27692
27693         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27694
27695         * posix/getconf-speclist.c: New file.
27696         * posix/posix-envs.def: Likewise.
27697         * posix/confstr.c (START_ENV_GROUP): New macro.
27698         (END_ENV_GROUP): Likewise.
27699         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27700         (KNOWN_PRESENT_ENV_STRING): Likewise.
27701         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27702         (UNKNOWN_ENVIRONMENT): Likewise.
27703         (confstr): Include posix-envs.def instead of handling
27704         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27705         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27706         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27707         (END_ENV_GROUP): Likewise.
27708         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27709         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27710         (UNKNOWN_ENVIRONMENT): Likewise.
27711         (__sysconf): Include posix-envs.def instead of handling associated
27712         cases directly here.
27713         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27714         preprocessing getconf-speclist.c rather than running getconf or
27715         generating empty file.
27716
27717 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27718
27719         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27720
27721 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27722
27723         [BZ #14672]
27724         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27725
27726 2012-11-16  David S. Miller  <davem@davemloft.net>
27727
27728         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27729         smaller than LDBL_EPSILON/2.0L, just return xm1.
27730
27731 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27732
27733         * elf/tst-array1.c (init): Set constructor priority to 1000.
27734         (fini): Set destructor priority to 1000.
27735         * elf/tst-array2dep.c: Likewise.
27736
27737 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27738
27739         [BZ #11741]
27740         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27741         (_IO_new_file_xsputn): Also return EOF if none of the input
27742         data was written when overflow failed.
27743         * libio/iopadn.c (_IO_padn): Likewise.
27744         * libio/iowpadn.c (_IO_wpadn): Likewise.
27745         * stdio-common/tst-put-error.c: Add copyright notice.
27746         (do_test): Add case for printing padded string.
27747         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27748         _IO_padn returned error.
27749         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27750         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27751         return EOF.
27752
27753 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27754
27755         * libio/libioP.h: Add comment note that the references to C++
27756         bits are now obsolete.
27757
27758 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27759
27760         * math/libm-test.inc (check_complex): Use asprintf.
27761
27762 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27763
27764         * debug/pcprofiledump.c (print_version): Update copyright year.
27765         * malloc/memusagestat.c (print_version): Likewise.
27766
27767 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27768
27769         [BZ #14831]
27770         * elf/Makefile (tests): Add tst-audit8.
27771         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27772         ($(objpfx)tst-audit8.out): New target.
27773         (tst-audit8-ENV): New variable.
27774         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27775         audit if l_reloc_result is NULL.
27776         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27777         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27778         * elf/tst-audit8.c: New file.
27779
27780 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27781
27782         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27783         * misc/Makefile (CFLAGS-select.c): Define.
27784         * posix/Makefile (CFLAGS-pause.c): Define.
27785
27786 2012-11-13  David S. Miller  <davem@davemloft.net>
27787
27788         * crypt/Makefile: Move test targets after toplevel Rules
27789         inclusion.  Grab any necessary sysdep routines when linking.
27790         * crypt/md5.c (md5_process_block): Remove define, we will always
27791         name it __md5_process_block.
27792         (md5_finish_ctx): Update md5_process_block call.
27793         (md5_stream): Likewise.
27794         (md5_process_bytes): Likewise.
27795         (md5_process_block): Rename to __md5_process_block and move to ...
27796         * crypt/md5-block.c: ... here.
27797         * crypt/sha256.c (sha256_process_block): Move to ...
27798         * crypt/sha256-block.c: ... here.
27799         * crypt/sha512.c (sha512_process_block): Move to ...
27800         * crypt/sha512-block.c: ... here.
27801         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27802         path.
27803         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27804         * sysdeps/sparc/sparc64/multiarch/Makefile
27805         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27806         crypt subdir.
27807         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27808         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27809         multiarch changes.
27810         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27811         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27812         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27813         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27814         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27815         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27816         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27817         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27819         file.
27820         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27821         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27822         file.
27823         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27824
27825 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27826
27827         * timezone/tzselect.ksh: Update from tzcode git revision
27828         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27829         * timezone/zdump.c: Likewise.
27830         * timezone/zic.c: Likewise.
27831         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27832         in TZVERSION setting, not $(PKGVERSION).
27833         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27834         REPORT_BUGS_TO settings.
27835
27836         [BZ #14838]
27837         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27838         macro.
27839
27840 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27841
27842         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27843         detection to immediately after _FP_ROUND().
27844         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27845         bits are 0.
27846
27847 2012-11-11  David S. Miller  <davem@davemloft.net>
27848
27849         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27850         inttypes.h
27851         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27852         __close rather than their public counterparts.
27853
27854 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27855
27856         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27857         file.
27858         [UNIX98] (sem_timedwait): Do not expect.
27859         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27860         [XPG4 || UNIX98] (sockatmark): Do not expect.
27861         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27862         (clock_getcpuclockid): Do not expect.
27863         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27864         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27865         Do not expect.
27866         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27867         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27868         [UNIX98] (vwscanf): Likewise.
27869         [UNIX98] (vswscanf): Likewise.
27870
27871 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27872
27873         * timezone/version.h: Remove file.
27874         * timezone/README: Do not refer to version.h.
27875         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27876         $(objpfx)version.h.
27877         ($(objpfx)zdump.o): Likewise.
27878         ($(objpfx)version.h): New target.
27879
27880         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27881         2012i.
27882         * timezone/README: Don't mention modification to tzselect.ksh.
27883         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27884         work on unmodified tzselect.ksh.  Substitute version numbers in
27885         tzselect.ksh.
27886
27887         * Makefile (format-me): Remove.
27888         (INSTALL): Adjust indentation.  Use commands directly instead of
27889         using $(format-me).
27890
27891         * aclocal.m4 (ACX_PKGVERSION): New macro.
27892         (ACX_BUGURL): Likewise.
27893         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27894         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27895         (REPORT_BUGS_TO): Likewise.
27896         * configure: Regenerated.
27897         * config.h.in (PKGVERSION): New macro.
27898         (REPORT_BUGS_TO): Likewise.
27899         * config.make.in (PKGVERSION): New variable.
27900         (PKGVERSION_TEXI): Likewise.
27901         (REPORT_BUGS_TO): Likewise.
27902         (REPORT_BUGS_TEXI): Likewise.
27903         * Makefile (format-me): Use -I$(common-objpfx)manual.
27904         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27905         ($(common-objpfx)manual/%): New target.
27906         (manual/%): Remove target.
27907         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27908         (print_version): Use PKGVERSION.
27909         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27910         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27911         and REPORT_BUGS_TO.
27912         ($(objpfx)xtrace): Likewise.
27913         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27914         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27915         (print_version): Use PKGVERSION.
27916         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27917         (do_version): Use PKGVERSION.
27918         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27919         REPORT_BUGS_TO.
27920         (common-ldd-rewrite): Likewise.
27921         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27922         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27923         (print_version): Use PKGVERSION.
27924         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27925         * elf/pldd.c (argp_program_bug_address): Remove variable.
27926         (more_help): New function.
27927         (argp): Use more_help.
27928         (print_version): Use PKGVERSION.
27929         * elf/sln.c (main): Use PKGVERSION.
27930         (usage): Use REPORT_BUGS_TO.
27931         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27932         (top level): Use PKGVERSION.
27933         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27934         (print_version): Use PKGVERSION.
27935         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27936         (print_version): Use PKGVERSION.
27937         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27938         (print_version): Use PKGVERSION.
27939         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27940         (print_version): Use PKGVERSION.
27941         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27942         (print_version): Use PKGVERSION.
27943         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27944         (print_version): Use PKGVERSION.
27945         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27946         and BUGURL.
27947         ($(objpfx)memusage): Likewise.
27948         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27949         (do_version): Use PKGVERSION.
27950         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27951         (print_version): Use PKGVERSION.
27952         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27953         ($PKGVERSION): New variable.
27954         ($REPORT_BUGS_TO): Likewise.
27955         (usage): Use $REPORT_BUGS_TO.
27956         (top level): Use $PKGVERSION.
27957         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27958         ($(objpfx)pkgvers.texi): New rule.
27959         ($(objpfx)stamp-pkgvers): Likewise.
27960         * manual/install.texi: Include pkgvers.texi.
27961         (--with-pkgversion): Document new configure option.
27962         (--with-bugurl): Likewise.
27963         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27964         than necessarily for this particular distribution.  Use
27965         REPORT_BUGS_TO for where to report bugs.
27966         * INSTALL: Regenerated.
27967         * manual/libc.texinfo: Include pkgvers.texi.
27968         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27969         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27970         (print_version): Use PKGVERSION.
27971         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27972         (print_version): Use PKGVERSION.
27973         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27974         (print_version): Use PKGVERSION.
27975         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27976         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27977         macro.
27978         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27979         (print_version): Use PKGVERSION.
27980         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27981         (print_version): Use PKGVERSION.
27982         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27983         and PKGVERSION.
27984
27985         * timezone/checktab.awk: Update from tzcode 2012i.
27986         * timezone/ialloc.c: Likewise.
27987         * timezone/private.h: Likewise.
27988         * timezone/scheck.c: Likewise.
27989         * timezone/tzfile.h: Likewise.
27990         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27991         (TZVERSION): Hardcode tzcode version number.
27992         * timezone/zdump.c: Update from tzcode 2012i.
27993         * timezone/zic.c: Likewise.
27994         * timezone/version.h: New file.
27995         * timezone/README: Describe version.h.  Update upstream location.
27996
27997         [BZ #14824]
27998         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27999         (mktemp): Enable declaration.
28000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28001         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28004         Likewise.
28005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28006         Likewise.
28007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28008         Likewise.
28009         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28010         Likewise.
28011         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28012         Likewise.
28013         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28014         Likewise.
28015
28016         [BZ #14821]
28017         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28018         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28019         for copies of such integer values.
28020         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28021         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28022
28023 2012-11-09  Andreas Jaeger  <aj@suse.de>
28024
28025         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28026         definitions and declarations that are provided by
28027         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28028
28029 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28030
28031         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28032         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28033         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28034         definition.
28035
28036 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28037
28038         * elf/elf.h: Update comment before AArch64 relocations.
28039
28040 2012-11-07  David S. Miller  <davem@davemloft.net>
28041
28042         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28043         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28044         (__start_context): Declare.
28045         (__makecontext_ret): Delete.
28046         (__makecontext): Hook up __start_context instead of
28047         __makecontext_ret.
28048         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28049         (sysdep_routines): Add __start_context when in stdlib.
28050
28051 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28052
28053         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28054         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28055         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28056         hardcoded "nm".
28057         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28058         (READELF): New variable.  Use it instead of hardcoded "readelf".
28059
28060 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28061
28062         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28063         * sysdeps/x86/Makefile: Here.
28064         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28065         * sysdeps/x86/tst-xmmymm.sh: This.
28066
28067 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28068
28069         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28070         expectations.
28071         [UNIX98] (pthread_barrier_t): Do not expect.
28072         [UNIX98] (pthread_barrierattr_t): Likewise.
28073         [UNIX98] (pthread_spinlock_t): Likewise.
28074         [UNIX98] (pthread_barrier_destroy): Likewise.
28075         [UNIX98] (pthread_barrier_init): Likewise.
28076         [UNIX98] (pthread_barrier_wait): Likewise.
28077         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28078         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28079         [UNIX98] (pthread_barrierattr_init): Likewise.
28080         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28081         [UNIX98] (pthread_getcpuclockid): Likewise.
28082         [UNIX98] (pthread_mutex_timedlock): Likewise.
28083         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28084         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28085         [UNIX98] (pthread_sigmask): Likewise.
28086         [UNIX98] (pthread_spin_destroy): Likewise.
28087         [UNIX98] (pthread_spin_init): Likewise.
28088         [UNIX98] (pthread_spin_lock): Likewise.
28089         [UNIX98] (pthread_spin_trylock): Likewise.
28090         [UNIX98] (pthread_spin_unlock): Likewise.
28091         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28092         Do not expect.
28093         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28094         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28095         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28096         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28097         [XPG3 || XPG4] (pthread_key_t): Likewise.
28098         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28099         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28100         [XPG3 || XPG4] (pthread_once_t): Likewise.
28101         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28102         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28103         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28104         [XPG3 || XPG4] (pthread_t): Likewise.
28105
28106         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28107         not expect.
28108         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28109
28110         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28111         Change function return type to int.
28112
28113         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28114         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28115         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28116         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28117         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28118         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28119         [!POSIX] (posix_madvise): Likewise.
28120         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28121         && !UNIX98].
28122         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28123         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28124         (mode_t): Likewise.
28125         (posix_mem_offset): Likewise.
28126         (posix_typed_mem_get_info): Likewise.
28127         (posix_typed_mem_open): Likewise.
28128
28129         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28130         Change condition to [XOPEN2K8].
28131
28132         * conform/conformtest.pl: Preprocess allow-header data with -x c
28133         instead of from stdin.
28134         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28135         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28136         [C99-based standards] (cerfc): Likewise.
28137         [C99-based standards] (cexp2): Likewise.
28138         [C99-based standards] (cexpm1): Likewise.
28139         [C99-based standards] (clog10): Likewise.
28140         [C99-based standards] (clog1p): Likewise.
28141         [C99-based standards] (clog2): Likewise.
28142         [C99-based standards] (clgamma): Likewise.
28143         [C99-based standards] (ctgamma): Likewise.
28144         [C99-based standards] (cerff): Likewise.
28145         [C99-based standards] (cerfcf): Likewise.
28146         [C99-based standards] (cexp2f): Likewise.
28147         [C99-based standards] (cexpm1f): Likewise.
28148         [C99-based standards] (clog10f): Likewise.
28149         [C99-based standards] (clog1pf): Likewise.
28150         [C99-based standards] (clog2f): Likewise.
28151         [C99-based standards] (clgammaf): Likewise.
28152         [C99-based standards] (ctgammaf): Likewise.
28153         [C99-based standards] (cerfl): Likewise.
28154         [C99-based standards] (cerfcl): Likewise.
28155         [C99-based standards] (cexp2l): Likewise.
28156         [C99-based standards] (cexpm1l): Likewise.
28157         [C99-based standards] (clog10l): Likewise.
28158         [C99-based standards] (clog1pl): Likewise.
28159         [C99-based standards] (clog2l): Likewise.
28160         [C99-based standards] (clgammal): Likewise.
28161         [C99-based standards] (ctgammal): Likewise.
28162         * conform/data/inttypes.h-data [C99-based standards]: Include
28163         stdint.h-data.  Remove all expectations for stdint.h contents.
28164         [C99-based standards] (PRI*): Do not allow.
28165         [C99-based standards] (SCN*): Likewise.
28166         [C99-based standards] (*_t): Likewise.
28167         [C99-based-standards] (PRId8): Expect macro.
28168         [C99-based-standards] (PRIi8): Likewise.
28169         [C99-based-standards] (PRIo8): Likewise.
28170         [C99-based-standards] (PRIu8): Likewise.
28171         [C99-based-standards] (PRIx8): Likewise.
28172         [C99-based-standards] (PRIX8): Likewise.
28173         [C99-based-standards] (SCNd8): Likewise.
28174         [C99-based-standards] (SCNi8): Likewise.
28175         [C99-based-standards] (SCNo8): Likewise.
28176         [C99-based-standards] (SCNu8): Likewise.
28177         [C99-based-standards] (SCNx8): Likewise.
28178         [C99-based-standards] (PRIdLEAST8): Likewise.
28179         [C99-based-standards] (PRIiLEAST8): Likewise.
28180         [C99-based-standards] (PRIoLEAST8): Likewise.
28181         [C99-based-standards] (PRIuLEAST8): Likewise.
28182         [C99-based-standards] (PRIxLEAST8): Likewise.
28183         [C99-based-standards] (PRIXLEAST8): Likewise.
28184         [C99-based-standards] (SCNdLEAST8): Likewise.
28185         [C99-based-standards] (SCNiLEAST8): Likewise.
28186         [C99-based-standards] (SCNoLEAST8): Likewise.
28187         [C99-based-standards] (SCNuLEAST8): Likewise.
28188         [C99-based-standards] (SCNxLEAST8): Likewise.
28189         [C99-based-standards] (PRIdFAST8): Likewise.
28190         [C99-based-standards] (PRIiFAST8): Likewise.
28191         [C99-based-standards] (PRIoFAST8): Likewise.
28192         [C99-based-standards] (PRIuFAST8): Likewise.
28193         [C99-based-standards] (PRIxFAST8): Likewise.
28194         [C99-based-standards] (PRIXFAST8): Likewise.
28195         [C99-based-standards] (SCNdFAST8): Likewise.
28196         [C99-based-standards] (SCNiFAST8): Likewise.
28197         [C99-based-standards] (SCNoFAST8): Likewise.
28198         [C99-based-standards] (SCNuFAST8): Likewise.
28199         [C99-based-standards] (SCNxFAST8): Likewise.
28200         [C99-based-standards] (PRId16): Likewise.
28201         [C99-based-standards] (PRIi16): Likewise.
28202         [C99-based-standards] (PRIo16): Likewise.
28203         [C99-based-standards] (PRIu16): Likewise.
28204         [C99-based-standards] (PRIx16): Likewise.
28205         [C99-based-standards] (PRIX16): Likewise.
28206         [C99-based-standards] (SCNd16): Likewise.
28207         [C99-based-standards] (SCNi16): Likewise.
28208         [C99-based-standards] (SCNo16): Likewise.
28209         [C99-based-standards] (SCNu16): Likewise.
28210         [C99-based-standards] (SCNx16): Likewise.
28211         [C99-based-standards] (PRIdLEAST16): Likewise.
28212         [C99-based-standards] (PRIiLEAST16): Likewise.
28213         [C99-based-standards] (PRIoLEAST16): Likewise.
28214         [C99-based-standards] (PRIuLEAST16): Likewise.
28215         [C99-based-standards] (PRIxLEAST16): Likewise.
28216         [C99-based-standards] (PRIXLEAST16): Likewise.
28217         [C99-based-standards] (SCNdLEAST16): Likewise.
28218         [C99-based-standards] (SCNiLEAST16): Likewise.
28219         [C99-based-standards] (SCNoLEAST16): Likewise.
28220         [C99-based-standards] (SCNuLEAST16): Likewise.
28221         [C99-based-standards] (SCNxLEAST16): Likewise.
28222         [C99-based-standards] (PRIdFAST16): Likewise.
28223         [C99-based-standards] (PRIiFAST16): Likewise.
28224         [C99-based-standards] (PRIoFAST16): Likewise.
28225         [C99-based-standards] (PRIuFAST16): Likewise.
28226         [C99-based-standards] (PRIxFAST16): Likewise.
28227         [C99-based-standards] (PRIXFAST16): Likewise.
28228         [C99-based-standards] (SCNdFAST16): Likewise.
28229         [C99-based-standards] (SCNiFAST16): Likewise.
28230         [C99-based-standards] (SCNoFAST16): Likewise.
28231         [C99-based-standards] (SCNuFAST16): Likewise.
28232         [C99-based-standards] (SCNxFAST16): Likewise.
28233         [C99-based-standards] (PRId32): Likewise.
28234         [C99-based-standards] (PRIi32): Likewise.
28235         [C99-based-standards] (PRIo32): Likewise.
28236         [C99-based-standards] (PRIu32): Likewise.
28237         [C99-based-standards] (PRIx32): Likewise.
28238         [C99-based-standards] (PRIX32): Likewise.
28239         [C99-based-standards] (SCNd32): Likewise.
28240         [C99-based-standards] (SCNi32): Likewise.
28241         [C99-based-standards] (SCNo32): Likewise.
28242         [C99-based-standards] (SCNu32): Likewise.
28243         [C99-based-standards] (SCNx32): Likewise.
28244         [C99-based-standards] (PRIdLEAST32): Likewise.
28245         [C99-based-standards] (PRIiLEAST32): Likewise.
28246         [C99-based-standards] (PRIoLEAST32): Likewise.
28247         [C99-based-standards] (PRIuLEAST32): Likewise.
28248         [C99-based-standards] (PRIxLEAST32): Likewise.
28249         [C99-based-standards] (PRIXLEAST32): Likewise.
28250         [C99-based-standards] (SCNdLEAST32): Likewise.
28251         [C99-based-standards] (SCNiLEAST32): Likewise.
28252         [C99-based-standards] (SCNoLEAST32): Likewise.
28253         [C99-based-standards] (SCNuLEAST32): Likewise.
28254         [C99-based-standards] (SCNxLEAST32): Likewise.
28255         [C99-based-standards] (PRIdFAST32): Likewise.
28256         [C99-based-standards] (PRIiFAST32): Likewise.
28257         [C99-based-standards] (PRIoFAST32): Likewise.
28258         [C99-based-standards] (PRIuFAST32): Likewise.
28259         [C99-based-standards] (PRIxFAST32): Likewise.
28260         [C99-based-standards] (PRIXFAST32): Likewise.
28261         [C99-based-standards] (SCNdFAST32): Likewise.
28262         [C99-based-standards] (SCNiFAST32): Likewise.
28263         [C99-based-standards] (SCNoFAST32): Likewise.
28264         [C99-based-standards] (SCNuFAST32): Likewise.
28265         [C99-based-standards] (SCNxFAST32): Likewise.
28266         [C99-based-standards] (PRId64): Likewise.
28267         [C99-based-standards] (PRIi64): Likewise.
28268         [C99-based-standards] (PRIo64): Likewise.
28269         [C99-based-standards] (PRIu64): Likewise.
28270         [C99-based-standards] (PRIx64): Likewise.
28271         [C99-based-standards] (PRIX64): Likewise.
28272         [C99-based-standards] (SCNd64): Likewise.
28273         [C99-based-standards] (SCNi64): Likewise.
28274         [C99-based-standards] (SCNo64): Likewise.
28275         [C99-based-standards] (SCNu64): Likewise.
28276         [C99-based-standards] (SCNx64): Likewise.
28277         [C99-based-standards] (PRIdLEAST64): Likewise.
28278         [C99-based-standards] (PRIiLEAST64): Likewise.
28279         [C99-based-standards] (PRIoLEAST64): Likewise.
28280         [C99-based-standards] (PRIuLEAST64): Likewise.
28281         [C99-based-standards] (PRIxLEAST64): Likewise.
28282         [C99-based-standards] (PRIXLEAST64): Likewise.
28283         [C99-based-standards] (SCNdLEAST64): Likewise.
28284         [C99-based-standards] (SCNiLEAST64): Likewise.
28285         [C99-based-standards] (SCNoLEAST64): Likewise.
28286         [C99-based-standards] (SCNuLEAST64): Likewise.
28287         [C99-based-standards] (SCNxLEAST64): Likewise.
28288         [C99-based-standards] (PRIdFAST64): Likewise.
28289         [C99-based-standards] (PRIiFAST64): Likewise.
28290         [C99-based-standards] (PRIoFAST64): Likewise.
28291         [C99-based-standards] (PRIuFAST64): Likewise.
28292         [C99-based-standards] (PRIxFAST64): Likewise.
28293         [C99-based-standards] (PRIXFAST64): Likewise.
28294         [C99-based-standards] (SCNdFAST64): Likewise.
28295         [C99-based-standards] (SCNiFAST64): Likewise.
28296         [C99-based-standards] (SCNoFAST64): Likewise.
28297         [C99-based-standards] (SCNuFAST64): Likewise.
28298         [C99-based-standards] (SCNxFAST64): Likewise.
28299         [C99-based-standards] (PRIdMAX): Likewise.
28300         [C99-based-standards] (PRIiMAX): Likewise.
28301         [C99-based-standards] (PRIoMAX): Likewise.
28302         [C99-based-standards] (PRIuMAX): Likewise.
28303         [C99-based-standards] (PRIxMAX): Likewise.
28304         [C99-based-standards] (PRIXMAX): Likewise.
28305         [C99-based-standards] (SCNdMAX): Likewise.
28306         [C99-based-standards] (SCNiMAX): Likewise.
28307         [C99-based-standards] (SCNoMAX): Likewise.
28308         [C99-based-standards] (SCNuMAX): Likewise.
28309         [C99-based-standards] (SCNxMAX): Likewise.
28310         [C99-based-standards] (PRIdPTR): Likewise.
28311         [C99-based-standards] (PRIiPTR): Likewise.
28312         [C99-based-standards] (PRIoPTR): Likewise.
28313         [C99-based-standards] (PRIuPTR): Likewise.
28314         [C99-based-standards] (PRIxPTR): Likewise.
28315         [C99-based-standards] (PRIXPTR): Likewise.
28316         [C99-based-standards] (SCNdPTR): Likewise.
28317         [C99-based-standards] (SCNiPTR): Likewise.
28318         [C99-based-standards] (SCNoPTR): Likewise.
28319         [C99-based-standards] (SCNuPTR): Likewise.
28320         [C99-based-standards] (SCNxPTR): Likewise.
28321         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28322         allow.
28323         * conform/data/stdint.h-data: Update comments to clarify
28324         requirements.
28325         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28326         type.
28327         [C99-based standards] (INT8_MAX): Likewise.
28328         [C99-based standards] (INT16_MIN): Likewise.
28329         [C99-based standards] (INT16_MAX): Likewise.
28330         [C99-based standards] (INT32_MIN): Likewise.
28331         [C99-based standards] (INT32_MAX): Likewise.
28332         [C99-based standards] (INT64_MIN): Likewise.
28333         [C99-based standards] (INT64_MAX): Likewise.
28334         [C99-based standards] (UINT8_MAX): Likewise.
28335         [C99-based standards] (UINT16_MAX): Likewise.
28336         [C99-based standards] (UINT32_MAX): Likewise.
28337         [C99-based standards] (UINT64_MAX): Likewise.
28338         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28339         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28340         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28341         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28342         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28343         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28344         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28345         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28346         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28347         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28348         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28349         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28350         [C99-based standards] (INT_FAST8_MIN): Likewise.
28351         [C99-based standards] (INT_FAST8_MAX): Likewise.
28352         [C99-based standards] (INT_FAST16_MIN): Likewise.
28353         [C99-based standards] (INT_FAST16_MAX): Likewise.
28354         [C99-based standards] (INT_FAST32_MIN): Likewise.
28355         [C99-based standards] (INT_FAST32_MAX): Likewise.
28356         [C99-based standards] (INT_FAST64_MIN): Likewise.
28357         [C99-based standards] (INT_FAST64_MAX): Likewise.
28358         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28359         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28360         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28361         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28362         [C99-based standards] (INTPTR_MIN): Likewise.
28363         [C99-based standards] (INTPTR_MAX): Likewise.
28364         [C99-based standards] (UINTPTR_MAX): Likewise.
28365         [C99-based standards] (INTMAX_MIN): Likewise.
28366         [C99-based standards] (INTMAX_MAX): Likewise.
28367         [C99-based standards] (UINTMAX_MAX): Likewise.
28368         [C99-based standards] (PTRDIFF_MIN): Likewise.
28369         [C99-based standards] (PTRDIFF_MAX): Likewise.
28370         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28371         [C99-based standards] (SIZE_MAX): Likewise.
28372         [C99-based standards] (WCHAR_MAX): Likewise.
28373         [C99-based standards] (WINT_MAX): Likewise.
28374         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28375         constraint on value.
28376         [C99-based standards] (WCHAR_MIN): Likewise.
28377         [C99-based standards] (WINT_MIN): Likewise.
28378         [C99-based standards] (*_t): Allow.
28379         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28380         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28381         Include math.h-data and complex.h-data.  Remove all expectations
28382         of math.h and complex.h contents.
28383         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28384         at end of line.
28385         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28386         (struct tm): Expect tag.
28387         [C99-based-standards] (wcstof): Expect function.
28388         [C99-based-standards] (wcstold): Likewise.
28389         [C99-based-standards] (wcstoll): Likewise.
28390         [C99-based-standards] (wcstoull): Likewise.
28391         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28392         macro-int-constant.  Specify type.
28393         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28394         constraint on value.
28395         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28396         Specify type.
28397         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28398         Specify value.
28399         [ISO C standards]: Do not allow headers.
28400         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28401         wcs[abcdefghijklmnopqrstuvwxyz]*.
28402         [ISO C standards] (*_t): Do not allow.
28403         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28404         Expect function.
28405         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28406         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28407         Specify type.
28408         [ISO C standards]: Do not allow headers.
28409         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28410         is[abcdefghijklmnopqrstuvwxyz]*.
28411         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28412         to[abcdefghijklmnopqrstuvwxyz]*.
28413         [ISO C standards] (*_t): Do not allow.
28414         * conform/data/stdalign.h-data: New file.
28415         * conform/data/stdbool.h-data: Likewise.
28416         * conform/data/stdnoreturn.h-data: Likewise.
28417
28418 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28419
28420         [BZ #14815]
28421         * manual/filesys.texi (Directory Entries): Typo fix.
28422         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28423
28424 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28425
28426         * elf/elf.h (EM_AARCH64): New macro.
28427         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28428         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28429         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28430         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28431         (R_AARCH64_TLSDESC): Likewise.
28432         (NT_ARM_TLS): Likewise.
28433         (NT_ARM_HW_BREAK): Likewise.
28434         (NT_ARM_HW_WATCH): Likewise.
28435
28436 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28437
28438         [BZ #14811]
28439         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28440         (__ieee754_powl): Saturate nonzero exponents with absolute value
28441         below 0x1p-79 to +/- 0x1p-79.
28442         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28443         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28444         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28445         nonzero exponents with absolute value below 0x1p-32 to +/-
28446         0x1p-32.
28447         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28448         (__ieee754_powl): Saturate nonzero exponents with absolute value
28449         below 0x1p-79 to +/- 0x1p-79.
28450         * math/libm-test.inc (pow_test): Add more tests.
28451
28452 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28453
28454         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28455         _dl_s390_cap_flags with kernel. Increase string length.
28456         (_dl_s390_platforms): Add z196 and zEC12.
28457
28458 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28459
28460         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28461         Change XOPEN21K to XOPEN2K.
28462
28463 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28464
28465         * string/memmove.c: Use memcpy when possible.
28466
28467 2012-11-06  Andreas Jaeger  <aj@suse.de>
28468
28469         * po/eo.po: Update from translation team.
28470
28471 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28472
28473         [BZ #14793]
28474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28475         exponent and small x and y exponents, scale x or y up.  Increase
28476         by 2 the exponent used in scaling up.
28477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28479         * math/libm-test.inc (fma_test): Add more tests.
28480         (fma_test_towardzero): Likewise.
28481         (fma_test_downward): Likewise.
28482         (fma_test_upward): Likewise.
28483
28484 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28485
28486         [BZ #14805]
28487         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28488         fenv_t *.
28489
28490         [BZ #14801]
28491         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28492         namespace for names of struct fields.
28493         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28494         fenv_t fields.
28495         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28496         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28497
28498 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28499
28500         [BZ #3665]
28501         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28502
28503 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28504
28505         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28506         PTR_DEMANGLE.
28507
28508         [BZ #5246]
28509         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28510         PTR_DEMANGLE.
28511
28512 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28513
28514         [BZ #14797]
28515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28516         definitely overflow as x * y not x * y + z.
28517         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28518         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28519         * math/libm-test.inc (fma_test): Add more tests.
28520         (fma_test_towardzero): Likewise.
28521         (fma_test_downward): Likewise.
28522         (fma_test_upward): Likewise.
28523
28524 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28525
28526         [BZ #157]
28527
28528         * include/stub-tag.h: Remove file.
28529         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28530         '#include' of it.
28531         * manual/maint.texi (Porting): Don't reference it.
28532         * Makerules ($(objpfx)stubs): Likewise.
28533         * dirent/closedir.c: Don't include <stub-tag.h>.
28534         * dirent/dirfd.c: Likewise.
28535         * dirent/fdopendir.c: Likewise.
28536         * dirent/getdents.c: Likewise.
28537         * dirent/getdents64.c: Likewise.
28538         * dirent/opendir.c: Likewise.
28539         * dirent/readdir.c: Likewise.
28540         * dirent/readdir64.c: Likewise.
28541         * dirent/readdir64_r.c: Likewise.
28542         * dirent/readdir_r.c: Likewise.
28543         * dirent/rewinddir.c: Likewise.
28544         * dirent/seekdir.c: Likewise.
28545         * dirent/telldir.c: Likewise.
28546         * gmon/profil.c: Likewise.
28547         * grp/setgroups.c: Likewise.
28548         * inet/if_index.c: Likewise.
28549         * io/access.c: Likewise.
28550         * io/chdir.c: Likewise.
28551         * io/chmod.c: Likewise.
28552         * io/chown.c: Likewise.
28553         * io/close.c: Likewise.
28554         * io/dup.c: Likewise.
28555         * io/dup2.c: Likewise.
28556         * io/dup3.c: Likewise.
28557         * io/euidaccess.c: Likewise.
28558         * io/faccessat.c: Likewise.
28559         * io/fchdir.c: Likewise.
28560         * io/fchmod.c: Likewise.
28561         * io/fchmodat.c: Likewise.
28562         * io/fchown.c: Likewise.
28563         * io/fchownat.c: Likewise.
28564         * io/fcntl.c: Likewise.
28565         * io/flock.c: Likewise.
28566         * io/fstatfs.c: Likewise.
28567         * io/fstatfs64.c: Likewise.
28568         * io/fstatvfs.c: Likewise.
28569         * io/fstatvfs64.c: Likewise.
28570         * io/futimens.c: Likewise.
28571         * io/fxstat.c: Likewise.
28572         * io/fxstat64.c: Likewise.
28573         * io/fxstatat.c: Likewise.
28574         * io/fxstatat64.c: Likewise.
28575         * io/getcwd.c: Likewise.
28576         * io/isatty.c: Likewise.
28577         * io/lchmod.c: Likewise.
28578         * io/lchown.c: Likewise.
28579         * io/link.c: Likewise.
28580         * io/linkat.c: Likewise.
28581         * io/lseek.c: Likewise.
28582         * io/lseek64.c: Likewise.
28583         * io/lxstat64.c: Likewise.
28584         * io/mkdir.c: Likewise.
28585         * io/mkdirat.c: Likewise.
28586         * io/mkfifo.c: Likewise.
28587         * io/mkfifoat.c: Likewise.
28588         * io/open.c: Likewise.
28589         * io/open64.c: Likewise.
28590         * io/openat.c: Likewise.
28591         * io/openat64.c: Likewise.
28592         * io/pipe.c: Likewise.
28593         * io/pipe2.c: Likewise.
28594         * io/poll.c: Likewise.
28595         * io/posix_fadvise.c: Likewise.
28596         * io/posix_fadvise64.c: Likewise.
28597         * io/posix_fallocate.c: Likewise.
28598         * io/posix_fallocate64.c: Likewise.
28599         * io/read.c: Likewise.
28600         * io/readlink.c: Likewise.
28601         * io/readlinkat.c: Likewise.
28602         * io/rmdir.c: Likewise.
28603         * io/sendfile.c: Likewise.
28604         * io/sendfile64.c: Likewise.
28605         * io/statfs.c: Likewise.
28606         * io/statfs64.c: Likewise.
28607         * io/statvfs.c: Likewise.
28608         * io/statvfs64.c: Likewise.
28609         * io/symlink.c: Likewise.
28610         * io/symlinkat.c: Likewise.
28611         * io/ttyname.c: Likewise.
28612         * io/ttyname_r.c: Likewise.
28613         * io/umask.c: Likewise.
28614         * io/unlink.c: Likewise.
28615         * io/unlinkat.c: Likewise.
28616         * io/utime.c: Likewise.
28617         * io/utimensat.c: Likewise.
28618         * io/write.c: Likewise.
28619         * io/xmknod.c: Likewise.
28620         * io/xmknodat.c: Likewise.
28621         * io/xstat.c: Likewise.
28622         * io/xstat64.c: Likewise.
28623         * login/getpt.c: Likewise.
28624         * login/grantpt.c: Likewise.
28625         * login/unlockpt.c: Likewise.
28626         * math/e_acoshl.c: Likewise.
28627         * math/e_acosl.c: Likewise.
28628         * math/e_asinl.c: Likewise.
28629         * math/e_atan2l.c: Likewise.
28630         * math/e_atanhl.c: Likewise.
28631         * math/e_coshl.c: Likewise.
28632         * math/e_expl.c: Likewise.
28633         * math/e_fmodl.c: Likewise.
28634         * math/e_gammal_r.c: Likewise.
28635         * math/e_hypotl.c: Likewise.
28636         * math/e_j0l.c: Likewise.
28637         * math/e_j1l.c: Likewise.
28638         * math/e_jnl.c: Likewise.
28639         * math/e_lgammal_r.c: Likewise.
28640         * math/e_log10l.c: Likewise.
28641         * math/e_log2l.c: Likewise.
28642         * math/e_logl.c: Likewise.
28643         * math/e_powl.c: Likewise.
28644         * math/e_rem_pio2l.c: Likewise.
28645         * math/e_sinhl.c: Likewise.
28646         * math/e_sqrtl.c: Likewise.
28647         * math/fclrexcpt.c: Likewise.
28648         * math/fedisblxcpt.c: Likewise.
28649         * math/feenablxcpt.c: Likewise.
28650         * math/fegetenv.c: Likewise.
28651         * math/fegetexcept.c: Likewise.
28652         * math/fegetround.c: Likewise.
28653         * math/feholdexcpt.c: Likewise.
28654         * math/fesetenv.c: Likewise.
28655         * math/fesetround.c: Likewise.
28656         * math/feupdateenv.c: Likewise.
28657         * math/fgetexcptflg.c: Likewise.
28658         * math/fraiseexcpt.c: Likewise.
28659         * math/fsetexcptflg.c: Likewise.
28660         * math/ftestexcept.c: Likewise.
28661         * math/k_cosl.c: Likewise.
28662         * math/k_rem_pio2l.c: Likewise.
28663         * math/k_sinl.c: Likewise.
28664         * math/k_tanl.c: Likewise.
28665         * math/s_asinhl.c: Likewise.
28666         * math/s_atanl.c: Likewise.
28667         * math/s_cbrtl.c: Likewise.
28668         * math/s_erfl.c: Likewise.
28669         * math/s_expm1l.c: Likewise.
28670         * math/s_log1pl.c: Likewise.
28671         * math/s_tanhl.c: Likewise.
28672         * misc/acct.c: Likewise.
28673         * misc/brk.c: Likewise.
28674         * misc/chflags.c: Likewise.
28675         * misc/chroot.c: Likewise.
28676         * misc/fchflags.c: Likewise.
28677         * misc/fgetxattr.c: Likewise.
28678         * misc/flistxattr.c: Likewise.
28679         * misc/fremovexattr.c: Likewise.
28680         * misc/fsetxattr.c: Likewise.
28681         * misc/fsync.c: Likewise.
28682         * misc/ftruncate.c: Likewise.
28683         * misc/futimes.c: Likewise.
28684         * misc/futimesat.c: Likewise.
28685         * misc/getdomain.c: Likewise.
28686         * misc/getdtsz.c: Likewise.
28687         * misc/gethostid.c: Likewise.
28688         * misc/gethostname.c: Likewise.
28689         * misc/getloadavg.c: Likewise.
28690         * misc/getpagesize.c: Likewise.
28691         * misc/getsysstats.c: Likewise.
28692         * misc/getxattr.c: Likewise.
28693         * misc/gtty.c: Likewise.
28694         * misc/ioctl.c: Likewise.
28695         * misc/lgetxattr.c: Likewise.
28696         * misc/listxattr.c: Likewise.
28697         * misc/llistxattr.c: Likewise.
28698         * misc/lremovexattr.c: Likewise.
28699         * misc/lsetxattr.c: Likewise.
28700         * misc/lutimes.c: Likewise.
28701         * misc/madvise.c: Likewise.
28702         * misc/mincore.c: Likewise.
28703         * misc/mlock.c: Likewise.
28704         * misc/mlockall.c: Likewise.
28705         * misc/mmap.c: Likewise.
28706         * misc/mprotect.c: Likewise.
28707         * misc/msync.c: Likewise.
28708         * misc/munlock.c: Likewise.
28709         * misc/munlockall.c: Likewise.
28710         * misc/munmap.c: Likewise.
28711         * misc/preadv.c: Likewise.
28712         * misc/preadv64.c: Likewise.
28713         * misc/ptrace.c: Likewise.
28714         * misc/pwritev.c: Likewise.
28715         * misc/pwritev64.c: Likewise.
28716         * misc/readv.c: Likewise.
28717         * misc/reboot.c: Likewise.
28718         * misc/remap_file_pages.c: Likewise.
28719         * misc/removexattr.c: Likewise.
28720         * misc/revoke.c: Likewise.
28721         * misc/select.c: Likewise.
28722         * misc/setdomain.c: Likewise.
28723         * misc/setegid.c: Likewise.
28724         * misc/seteuid.c: Likewise.
28725         * misc/sethostid.c: Likewise.
28726         * misc/sethostname.c: Likewise.
28727         * misc/setregid.c: Likewise.
28728         * misc/setreuid.c: Likewise.
28729         * misc/setxattr.c: Likewise.
28730         * misc/sstk.c: Likewise.
28731         * misc/stty.c: Likewise.
28732         * misc/swapoff.c: Likewise.
28733         * misc/swapon.c: Likewise.
28734         * misc/sync.c: Likewise.
28735         * misc/syncfs.c: Likewise.
28736         * misc/syscall.c: Likewise.
28737         * misc/truncate.c: Likewise.
28738         * misc/ualarm.c: Likewise.
28739         * misc/usleep.c: Likewise.
28740         * misc/ustat.c: Likewise.
28741         * misc/utimes.c: Likewise.
28742         * misc/vhangup.c: Likewise.
28743         * misc/writev.c: Likewise.
28744         * posix/_exit.c: Likewise.
28745         * posix/alarm.c: Likewise.
28746         * posix/execve.c: Likewise.
28747         * posix/fexecve.c: Likewise.
28748         * posix/fork.c: Likewise.
28749         * posix/fpathconf.c: Likewise.
28750         * posix/getaddrinfo.c: Likewise.
28751         * posix/getegid.c: Likewise.
28752         * posix/geteuid.c: Likewise.
28753         * posix/getgid.c: Likewise.
28754         * posix/getgroups.c: Likewise.
28755         * posix/getlogin.c: Likewise.
28756         * posix/getlogin_r.c: Likewise.
28757         * posix/getpgid.c: Likewise.
28758         * posix/getpid.c: Likewise.
28759         * posix/getppid.c: Likewise.
28760         * posix/getresgid.c: Likewise.
28761         * posix/getresuid.c: Likewise.
28762         * posix/getsid.c: Likewise.
28763         * posix/getuid.c: Likewise.
28764         * posix/glob64.c: Likewise.
28765         * posix/nanosleep.c: Likewise.
28766         * posix/pathconf.c: Likewise.
28767         * posix/pause.c: Likewise.
28768         * posix/posix_madvise.c: Likewise.
28769         * posix/pread.c: Likewise.
28770         * posix/pread64.c: Likewise.
28771         * posix/pwrite.c: Likewise.
28772         * posix/pwrite64.c: Likewise.
28773         * posix/sched_getaffinity.c: Likewise.
28774         * posix/sched_getp.c: Likewise.
28775         * posix/sched_gets.c: Likewise.
28776         * posix/sched_primax.c: Likewise.
28777         * posix/sched_primin.c: Likewise.
28778         * posix/sched_rr_gi.c: Likewise.
28779         * posix/sched_setaffinity.c: Likewise.
28780         * posix/sched_setp.c: Likewise.
28781         * posix/sched_sets.c: Likewise.
28782         * posix/sched_yield.c: Likewise.
28783         * posix/setgid.c: Likewise.
28784         * posix/setlogin.c: Likewise.
28785         * posix/setpgid.c: Likewise.
28786         * posix/setresgid.c: Likewise.
28787         * posix/setresuid.c: Likewise.
28788         * posix/setsid.c: Likewise.
28789         * posix/setuid.c: Likewise.
28790         * posix/sleep.c: Likewise.
28791         * posix/spawni.c: Likewise.
28792         * posix/sysconf.c: Likewise.
28793         * posix/times.c: Likewise.
28794         * posix/wait.c: Likewise.
28795         * posix/wait3.c: Likewise.
28796         * posix/wait4.c: Likewise.
28797         * posix/waitpid.c: Likewise.
28798         * resolv/gai_sigqueue.c: Likewise.
28799         * resource/getpriority.c: Likewise.
28800         * resource/getrlimit.c: Likewise.
28801         * resource/getrusage.c: Likewise.
28802         * resource/nice.c: Likewise.
28803         * resource/setpriority.c: Likewise.
28804         * resource/setrlimit.c: Likewise.
28805         * resource/ulimit.c: Likewise.
28806         * rt/aio_cancel.c: Likewise.
28807         * rt/aio_fsync.c: Likewise.
28808         * rt/aio_read.c: Likewise.
28809         * rt/aio_sigqueue.c: Likewise.
28810         * rt/aio_suspend.c: Likewise.
28811         * rt/aio_write.c: Likewise.
28812         * rt/clock_getres.c: Likewise.
28813         * rt/clock_gettime.c: Likewise.
28814         * rt/clock_nanosleep.c: Likewise.
28815         * rt/clock_settime.c: Likewise.
28816         * rt/lio_listio.c: Likewise.
28817         * rt/mq_close.c: Likewise.
28818         * rt/mq_getattr.c: Likewise.
28819         * rt/mq_notify.c: Likewise.
28820         * rt/mq_open.c: Likewise.
28821         * rt/mq_receive.c: Likewise.
28822         * rt/mq_send.c: Likewise.
28823         * rt/mq_setattr.c: Likewise.
28824         * rt/mq_timedreceive.c: Likewise.
28825         * rt/mq_timedsend.c: Likewise.
28826         * rt/mq_unlink.c: Likewise.
28827         * rt/shm_open.c: Likewise.
28828         * rt/shm_unlink.c: Likewise.
28829         * rt/timer_create.c: Likewise.
28830         * rt/timer_delete.c: Likewise.
28831         * rt/timer_getoverr.c: Likewise.
28832         * rt/timer_gettime.c: Likewise.
28833         * rt/timer_settime.c: Likewise.
28834         * setjmp/__longjmp.c: Likewise.
28835         * setjmp/setjmp.c: Likewise.
28836         * signal/kill.c: Likewise.
28837         * signal/killpg.c: Likewise.
28838         * signal/raise.c: Likewise.
28839         * signal/sigaction.c: Likewise.
28840         * signal/sigaltstack.c: Likewise.
28841         * signal/sigblock.c: Likewise.
28842         * signal/sigignore.c: Likewise.
28843         * signal/sigintr.c: Likewise.
28844         * signal/signal.c: Likewise.
28845         * signal/sigpause.c: Likewise.
28846         * signal/sigpending.c: Likewise.
28847         * signal/sigqueue.c: Likewise.
28848         * signal/sigreturn.c: Likewise.
28849         * signal/sigset.c: Likewise.
28850         * signal/sigsetmask.c: Likewise.
28851         * signal/sigstack.c: Likewise.
28852         * signal/sigsuspend.c: Likewise.
28853         * signal/sigtimedwait.c: Likewise.
28854         * signal/sigvec.c: Likewise.
28855         * signal/sigwait.c: Likewise.
28856         * signal/sigwaitinfo.c: Likewise.
28857         * signal/sysv_signal.c: Likewise.
28858         * socket/accept.c: Likewise.
28859         * socket/accept4.c: Likewise.
28860         * socket/bind.c: Likewise.
28861         * socket/connect.c: Likewise.
28862         * socket/getpeername.c: Likewise.
28863         * socket/getsockname.c: Likewise.
28864         * socket/getsockopt.c: Likewise.
28865         * socket/isfdtype.c: Likewise.
28866         * socket/listen.c: Likewise.
28867         * socket/recv.c: Likewise.
28868         * socket/recvfrom.c: Likewise.
28869         * socket/recvmsg.c: Likewise.
28870         * socket/send.c: Likewise.
28871         * socket/sendmsg.c: Likewise.
28872         * socket/sendto.c: Likewise.
28873         * socket/setsockopt.c: Likewise.
28874         * socket/shutdown.c: Likewise.
28875         * socket/sockatmark.c: Likewise.
28876         * socket/socket.c: Likewise.
28877         * socket/socketpair.c: Likewise.
28878         * stdio-common/ctermid.c: Likewise.
28879         * stdio-common/cuserid.c: Likewise.
28880         * stdio-common/remove.c: Likewise.
28881         * stdio-common/rename.c: Likewise.
28882         * stdio-common/renameat.c: Likewise.
28883         * stdio-common/tempname.c: Likewise.
28884         * stdlib/getcontext.c: Likewise.
28885         * stdlib/makecontext.c: Likewise.
28886         * stdlib/setcontext.c: Likewise.
28887         * stdlib/swapcontext.c: Likewise.
28888         * stdlib/system.c: Likewise.
28889         * streams/fattach.c: Likewise.
28890         * streams/fdetach.c: Likewise.
28891         * streams/getmsg.c: Likewise.
28892         * streams/getpmsg.c: Likewise.
28893         * streams/putmsg.c: Likewise.
28894         * streams/putpmsg.c: Likewise.
28895         * sysdeps/unix/bsd/getpt.c: Likewise.
28896         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28897         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28898         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28900         Likewise.
28901         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28902         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28903         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28904         * sysvipc/msgctl.c: Likewise.
28905         * sysvipc/msgget.c: Likewise.
28906         * sysvipc/msgrcv.c: Likewise.
28907         * sysvipc/msgsnd.c: Likewise.
28908         * sysvipc/semctl.c: Likewise.
28909         * sysvipc/semget.c: Likewise.
28910         * sysvipc/semop.c: Likewise.
28911         * sysvipc/semtimedop.c: Likewise.
28912         * sysvipc/shmat.c: Likewise.
28913         * sysvipc/shmctl.c: Likewise.
28914         * sysvipc/shmdt.c: Likewise.
28915         * sysvipc/shmget.c: Likewise.
28916         * termios/tcdrain.c: Likewise.
28917         * termios/tcflow.c: Likewise.
28918         * termios/tcflush.c: Likewise.
28919         * termios/tcgetattr.c: Likewise.
28920         * termios/tcgetpgrp.c: Likewise.
28921         * termios/tcsendbrk.c: Likewise.
28922         * termios/tcsetattr.c: Likewise.
28923         * termios/tcsetpgrp.c: Likewise.
28924         * time/adjtime.c: Likewise.
28925         * time/clock.c: Likewise.
28926         * time/getitimer.c: Likewise.
28927         * time/gettimeofday.c: Likewise.
28928         * time/setitimer.c: Likewise.
28929         * time/settimeofday.c: Likewise.
28930         * time/stime.c: Likewise.
28931         * time/time.c: Likewise.
28932
28933 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28934
28935         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28936         /usr/old/bin.
28937
28938         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28939         instead of spaces.
28940         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28941
28942 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28943
28944         [BZ #14796]
28945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28946         FE_TONEAREST before applying Dekker multiplication and Knuth
28947         addition.  Clear inexact exceptions and check for exact zero
28948         results afterwards.
28949         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28950         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28952         * math/libm-test.inc (fma_test): Add more tests.
28953         (fma_test_towardzero): Likewise.
28954         (fma_test_downward): Likewise.
28955         (fma_test_upward): Likewise.
28956         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28957         function.
28958         (libc_fesetround): New macro.
28959         (libc_fesetroundf): Likewise.
28960         (libc_fesetroundl): Likewise.
28961         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28962         function.
28963         (libc_fesetround_387): Likewise.
28964         (libc_fesetroundf): New macro.
28965         (libc_fesetround): Likewise.
28966         (libc_fesetroundl): Likewise.
28967         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28968         function.
28969         (libc_fesetroundf): New macro.
28970         (libc_fesetround): Likewise.
28971         (libc_fesetroundl): Likewise.
28972         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28973         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28974         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28975         libm_hidden_ver.
28976         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28977         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28978         libm_hidden_def.
28979         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28980         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28981         libm_hidden_ver.
28982         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28983         libm_hidden_def.
28984
28985         [BZ #3439]
28986         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28987         integer constant usable in #if and use that to give value to enum
28988         constant.
28989         (FE_DIVBYZERO): Likewise.
28990         (FE_UNDERFLOW): Likewise.
28991         (FE_OVERFLOW): Likewise.
28992         (FE_INVALID): Likewise.
28993         (FE_INVALID_SNAN): Likewise.
28994         (FE_INVALID_ISI): Likewise.
28995         (FE_INVALID_IDI): Likewise.
28996         (FE_INVALID_ZDZ): Likewise.
28997         (FE_INVALID_IMZ): Likewise.
28998         (FE_INVALID_COMPARE): Likewise.
28999         (FE_INVALID_SOFTWARE): Likewise.
29000         (FE_INVALID_SQRT): Likewise.
29001         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29002         (FE_TONEAREST): Likewise.
29003         (FE_TOWARDZERO): Likewise.
29004         (FE_UPWARD): Likewise.
29005         (FE_DOWNWARD): Likewise.
29006         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29007         (FE_DIVBYZERO): Likewise.
29008         (FE_OVERFLOW): Likewise.
29009         (FE_UNDERFLOW): Likewise.
29010         (FE_INEXACT): Likewise.
29011         (FE_TONEAREST): Likewise.
29012         (FE_DOWNWARD): Likewise.
29013         (FE_UPWARD): Likewise.
29014         (FE_TOWARDZERO): Likewise.
29015         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29016         (FE_UNDERFLOW): Likewise.
29017         (FE_OVERFLOW): Likewise.
29018         (FE_DIVBYZERO): Likewise.
29019         (FE_INVALID): Likewise.
29020         (FE_TONEAREST): Likewise.
29021         (FE_TOWARDZERO): Likewise.
29022         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29023         (FE_OVERFLOW): Likewise.
29024         (FE_UNDERFLOW): Likewise.
29025         (FE_DIVBYZERO): Likewise.
29026         (FE_INEXACT): Likewise.
29027         (FE_TONEAREST): Likewise.
29028         (FE_TOWARDZERO): Likewise.
29029         (FE_UPWARD): Likewise.
29030         (FE_DOWNWARD): Likewise.
29031         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29032         (FE_DIVBYZERO): Likewise.
29033         (FE_OVERFLOW): Likewise.
29034         (FE_UNDERFLOW): Likewise.
29035         (FE_INEXACT): Likewise.
29036         (FE_TONEAREST): Likewise.
29037         (FE_DOWNWARD): Likewise.
29038         (FE_UPWARD): Likewise.
29039         (FE_TOWARDZERO): Likewise.
29040
29041 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29042
29043         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29044
29045 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29046
29047         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29048         commands.  Quote $PWD.
29049         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29050         -x" by "export".
29051         (remove_newlines): Remove.
29052
29053 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29054
29055         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29056         * stdlib/stdlib.h (atof): Moved to ...
29057         * include/bits/stdlib-float.h: Here.  New file.
29058         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29059         * stdlib/bits/stdlib-float.h: New file.
29060         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29061         -mno-sse -mno-mmx.
29062         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29063         <xmmintrin.h>.
29064
29065 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29066
29067         * conform/conformtest.pl (@headers): Add fenv.h.
29068         * conform/data/fenv.h-data: New file.
29069         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29070         include of <math/fenv.h>.
29071
29072         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29073         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29074         && !UNIX98].  Enables tests for XOPEN2K8.
29075         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29076         POSIX2008]: Likewise.
29077
29078         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29079         (struct rusage): Do not expect type or its members.
29080
29081         [BZ #3439]
29082         * math/math.h (FP_NAN): Define macro to integer constant usable in
29083         #if and use that to give value to enum constant.
29084         (FP_INFINITE): Likewise.
29085         (FP_ZERO): Likewise.
29086         (FP_SUBNORMAL): Likewise.
29087         (FP_NORMAL): Likewise.
29088
29089 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29090
29091         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29092         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29093         arguments.
29094
29095 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29096
29097         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29098         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29099         autoconf-time if not.
29100         * configure.in: Remove AC_PREREQ.
29101
29102 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29103
29104         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29105         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29106         of the internal implementation.
29107
29108 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29109
29110         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29111         except include of <misc/sys/syslog.h>.
29112
29113 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29114
29115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29116         function returns with a NULL context exit with zero.
29117
29118 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29119
29120         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29121
29122 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29123
29124         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29125         (run_program_cmd): This.
29126         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29127         (tst_langinfo): New variable.  Use it.
29128
29129 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29130
29131         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29132         floating point opcodes.
29133
29134 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29135
29136         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29137         variable.
29138
29139         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29140
29141         * sysdeps/mach/hurd/powerpc: Remove directory.
29142         * sysdeps/mach/powerpc: Likewise.
29143
29144 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29145
29146         * scripts/check-local-headers.sh: Ignore c++ headers.
29147
29148 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29149
29150         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29151         __libc_cleanup_region_start argument.
29152
29153 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29154
29155         [BZ #14784]
29156         [BZ #14785]
29157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29158         x * y using scaling, not as x * y + z.
29159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29161         * math/libm-test.inc (fma_test): Add more tests.
29162         (fma_test_towardzero): Likewise.
29163         (fma_test_downward): Likewise.
29164         (fma_test_upward): Likewise.
29165
29166 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29167
29168         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29169
29170 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29171
29172         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29173         New variable.
29174
29175 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29176
29177         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29178
29179 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29180
29181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29182         Fix sort order.
29183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29184         Likewise.
29185
29186 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29187
29188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29189         Fix the order of the list for glibc 2.17.
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29191         Likewise.
29192
29193 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29194
29195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29196
29197 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29198
29199         [BZ #14610]
29200         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29201         for low part of x being zero before using __atanl (y).
29202         * math/libm-test.inc (atan2_test): Add another test.
29203
29204         * manual/install.texi (Configuring and compiling): Document
29205         general use of test-wrapper and test-wrapper-env.
29206         * INSTALL: Regenerated.
29207
29208         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29209         (__fma): Do not extract and scale down low bits on after-rounding
29210         systems when result rounded to normal precision would have normal
29211         exponent.
29212         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29213         (__fmal): Do not extract and scale down low bits on after-rounding
29214         systems when result rounded to normal precision would have normal
29215         exponent.
29216         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29217         (__fmal): Do not extract and scale down low bits on after-rounding
29218         systems when result rounded to normal precision would have normal
29219         exponent.
29220         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29221         macro.
29222         (fma_test): Add more tests.
29223         (fma_test_towardzero): Likewise.
29224         (fma_test_downward): Likewise.
29225         (fma_test_upward): Likewise.
29226
29227 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29228
29229         * sysdeps/i386/tininess.h: Renamed to ...
29230         * sysdeps/x86/tininess.h: This.
29231         * sysdeps/x86_64/tininess.h: Removed.
29232
29233 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29234
29235         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29236         input.  Use $(build-program-cmd).
29237         ($(objpfx)tst-array1-static.out): Likewise.
29238         ($(objpfx)tst-array2.out): Likewise.
29239         ($(objpfx)tst-array3.out): Likewise.
29240         ($(objpfx)tst-array4.out): Likewise.
29241         ($(objpfx)tst-array5.out): Likewise.
29242         ($(objpfx)tst-array5-static.out): Likewise.
29243
29244 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29245
29246         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29247         if defined.
29248
29249         * nss/nsswitch.h (nss_interface_function): Provide new
29250         macro for use with NSS functions.
29251         * grp/initgroups.c: Use new macro.
29252         * nss/getXXbyYY.c: Likewise.
29253         * nss/getXXbyYY_r.c: Likewise.
29254         * nss/getXXent.c: Likewise.
29255         * nss/getXXent_r.c: Likewise.
29256         * sysdeps/posix/getaddrinfo.c: Likewise.
29257
29258 2012-10-30  Andreas Jaeger  <aj@suse.de>
29259
29260         * po/ru.po: Update Russion translation from translation project.
29261
29262 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29263
29264         [BZ #14152]
29265         [BZ #14783]
29266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29267         result and shift together with sticky bit instead of replicating
29268         round-to-nearest rounding.
29269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29271         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29272         missing underflow exceptions.
29273         (fma_test_towardzero): Add more tests.
29274         (fma_test_downward): Likewise.
29275         (fma_test_upward): Likewise.
29276
29277         [BZ #14047]
29278         * sysdeps/generic/tininess.h: New file.
29279         * sysdeps/i386/tininess.h: Likewise.
29280         * sysdeps/sh/tininess.h: Likewise.
29281         * sysdeps/x86_64/tininess.h: Likewise.
29282         * stdlib/tst-strtod-underflow.c: Likewise.
29283         * stdlib/tst-tininess.c: Likewise.
29284         * stdlib/strtod_l.c: Include <tininess.h>.
29285         (round_and_return): Do not set errno for exact underflow cases.
29286         Force an underflow exception when setting errno for underflow.
29287         Determine underflow based on rounding to normal precision if
29288         TININESS_AFTER_ROUNDING.
29289         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29290         ERANGE for exact underflow cases.
29291         * stdlib/Makefile (tests): Add tst-tininess and
29292         tst-strtod-underflow.
29293         ($(objpfx)tst-tininess): Use $(link-libm).
29294         ($(objpfx)tst-strtod-underflow): Likewise.
29295
29296 2012-10-30  Andreas Jaeger  <aj@suse.de>
29297
29298         [BZ#14767]
29299         * elf/Makefile (tests): Remove conditional for have-initfini-array
29300         since this is now always required and the variable does not exist
29301         anymore.
29302         (tests-static): Likewise.
29303         (modules-names): Likewise.
29304
29305         * po/eo.po: Add Esperanto translation from translation project.
29306
29307         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29308         merged with constructor/destructor.
29309         (init_array): Likewise.
29310         * elf/tst-array2dep.c (fini_array): Likewise.
29311         (init_array): Likewise.
29312
29313 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29314
29315         * manual/message.texi: Delete @cartouche tags.
29316
29317 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29318
29319         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29320         EOPNOTSUPP.
29321         * sysdeps/mach/hurd/fsync.c: Likewise.
29322
29323         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29324         [_POSIX_REALTIME_SIGNALS]: Change condition to
29325         [_POSIX_REALTIME_SIGNALS > 0].
29326
29327 2012-10-27  Andreas Jaeger  <aj@suse.de>
29328
29329         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29330         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29331         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29332         [__WORDSIZE != 64]: Likewise.
29333
29334 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29335
29336         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29337         *  iconvdata/tst-tables.sh: Likewise.
29338
29339 2012-10-25  David S. Miller  <davem@davemloft.net>
29340
29341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29342         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29343         of strtoull.
29344
29345         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29346         ifunc-impl-list.c
29347         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29348         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29349         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29350         file.
29351
29352 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29353
29354         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29355         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29356         __getdirentries.
29357
29358 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29359             Jim Blandy  <jimb@codesourcery.com>
29360
29361         * scripts/cross-test-ssh.sh: New file.
29362         * manual/install.texi (Configuring and compiling): Document use of
29363         cross-test-ssh.sh.
29364         * INSTALL: Regenerated.
29365
29366 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29367
29368         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29369         EOPNOTSUPP.
29370
29371 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29372
29373         * Makeconfig (run-program-prefix): Fix comment.
29374
29375 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29376             Jim Blandy  <jimb@codesourcery.com>
29377
29378         * Makeconfig (test-wrapper): New variable,
29379         (test-wrapper-env): Likewise.
29380         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29381         (run-built-tests): Define to yes.
29382         (run-program-prefix): Use $(test-wrapper).
29383         (built-program-cmd): Likewise.
29384         * Rules (make-test-out): Use $(test-wrapper-env) and
29385         $(host-built-program-cmd).
29386         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29387         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29388         tst-pathopt.sh.
29389         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29390         $(test-wrapper-env) to tst-rtld-load-self.sh.
29391         ($(objpfx)order2.out): Use $(test-wrapper).
29392         ($(objpfx)tst-initorder.out): Likewise.
29393         ($(objpfx)tst-initorder2.out): Likewise.
29394         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29395         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29396         (test_wrapper_env): New variable.  Use it to run ld.so.
29397         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29398         Use it to run ld.so.
29399         (test_wrapper_env): Likewise.
29400         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29401         $(test-wrapper) to run-iconv-test.sh.
29402         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29403         (ICONV): Use $test_wrapper.
29404         * posix/Makefile ($(objpfx)globtest.out): Pass
29405         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29406         globtest.sh, not $(run-program-prefix).
29407         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29408         (test_wrapper): Likewise.
29409         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29410         set together with run_via_rtld_prefix.
29411         (run_program_prefix): Define in terms of test_wrapper and
29412         run_via_rtld_prefix.
29413
29414 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29415
29416         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29417         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29418         Targets removed.
29419
29420         [BZ #14743]
29421         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29422         Declare __clock_getres, __clock_gettime, __clock_settime,
29423         __clock_nanosleep, and __clock_getcpuclockid.
29424         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29425         Remove librt_hidden_def (clock_gettime).
29426         * sysdeps/unix/clock_gettime.c: Likewise.
29427         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29428         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29429         * rt/clock_getres.c: Define __clock_getres as an alias.
29430         * sysdeps/posix/clock_getres.c: Likewise.
29431         * rt/clock_settime.c: Define __clock_settime as an alias.
29432         * sysdeps/unix/clock_settime.c: Likewise.
29433         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29434         * sysdeps/unix/clock_nanosleep.c: Likewise.
29435         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29436         * rt/clock-compat.c: New file.
29437         * rt/Makefile (librt-routines): Add clock-compat and move
29438         $(clock-routines) to ...
29439         (routines): ... here, new variable.
29440         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29441         Don't add get_clockfreq here.
29442         * rt/Versions (libc: GLIBC_2.17): New version set.
29443         Add clock_* symbols here.
29444         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29445         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29446         (GLIBC_2.17): Add clock_* symbols.
29447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29449         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29451         Likewise.
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29453         Likewise.
29454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29458         * NEWS: Mention the move.
29459
29460         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29461         Use __open, __read, __close rather than their public counterparts.
29462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29463         (__get_clockfreq_via_cpuinfo): Likewise.
29464         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29465         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29466
29467         * config.h.in (HAVE_IFUNC): New #undef.
29468         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29469         was successful.
29470         * configure: Regenerated.
29471
29472 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29473
29474         * configure.in: Move READELF check to start of file.
29475         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29476         libc_cv_asm_gnu_indirect_function in the process.
29477         * configure: Regenerated.
29478
29479 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29480
29481         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29482         send the output to /dev/null.
29483         (libc_cv_cc_with_libunwind): Likewise.
29484         (libc_cv_as_noexecstack): Likewise.
29485         * configure: Regenerate.
29486
29487 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29488
29489         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29490
29491         * posix/globtest.sh (TMPDIR): Do not set.
29492         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29493         (testout): Likewise.
29494
29495 2012-10-24  Andreas Jaeger  <aj@suse.de>
29496
29497         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29498         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29499         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29500         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29501         posix_fadvise64, posix_fallocate64.
29502
29503         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29504         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29505         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29506         Likewise.
29507         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29508         Likewise.
29509         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29510
29511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29512         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29513         <bits/fcntl-linux.h>.
29514         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29515
29516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29517         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29518         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29519         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29520         [__WORDSIZE != 64]: Likewise.
29521
29522 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29523
29524         * Makeconfig (run-built-tests): New variable.
29525         * Rules [$(cross-compiling) = yes]: Change condition to
29526         [$(run-built-tests) = no].
29527         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29528         to [$(run-built-tests) = yes].
29529         * elf/Makefile [$(cross-compiling) = no]: Likewise
29530         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29531         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29532         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29533         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29534         * io/Makefile [$(cross-compiling) = no]: Likewise.
29535         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29536         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29537         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29538         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29539         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29540         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29541         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29542         * string/Makefile [$(cross-compiling) = no]: Likewise.
29543
29544         * posix/Makefile ($(objpfx)globtest.out): Pass
29545         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29546         $(rtld-installed-name).
29547         * posix/globtest.sh (elf_objpfx): Remove variable.
29548         (rtld_installed_name): Likewise.
29549         (library_path): Likewise.
29550         (run_program_prefix): New variable.  Use for running globtest
29551         binary.
29552
29553 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29554             Joseph Myers  <joseph@codesourcery.com>
29555
29556         * Makeconfig (host-built-program-cmd): New variable.
29557         * elf/Makefile (tst-stackguard1-ARGS): Use
29558         $(host-built-program-cmd).
29559         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29560         (tst-spawn-ARGS): Likewise.
29561         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29562
29563 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29564             Jim Blandy  <jimb@codesourcery.com>
29565
29566         * Makeconfig (run-via-rtld-prefix): New variable.
29567         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29568         (built-program-cmd): Likewise.
29569
29570 2012-10-22  Andreas Jaeger  <aj@suse.de>
29571
29572         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29573         __O_RSYNC if it exists, otherwise to O_SYNC.
29574
29575 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29576             Joseph Myers  <joseph@codesourcery.com>
29577
29578         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29579         /dev/null.
29580         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29581         from /dev/null
29582         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29583         /dev/null.
29584
29585 2012-10-22  Andreas Jaeger  <aj@suse.de>
29586
29587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29588         Define always.
29589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29590
29591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29592         bits/fcntl-linux.h.
29593
29594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29595         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29596
29597         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29598         to __O_LARGEFILE.
29599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29600         to __O_LARGEFILE.
29601
29602 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29603             Joseph Myers  <joseph@codesourcery.com>
29604
29605         * config.make.in (NM): New variable.
29606
29607 2012-10-21  Andreas Jaeger  <aj@suse.de>
29608
29609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29610         definitions and declarations that are provided by
29611         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29612
29613 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29614
29615         [BZ #14683]
29616         * elf/Makefile (tests-static): Add tst-leaks1-static.
29617         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29618         ($(objpfx)tst-leaks1-static): New rule.
29619         ($(objpfx)tst-leaks1-static-mem): Likewise.
29620         (tst-leaks1-static-ENV): New macro.
29621         * elf/dl-open.c (dl_open_worker): Check the main application
29622         only if SHARED is defined.
29623         * elf/tst-leaks1-static.c: New file.
29624
29625 2012-10-20  Andreas Jaeger  <aj@suse.de>
29626
29627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29628         generic values for Linux.
29629         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29630         and declarations that are provided by <bits/fcntl-linux.h> and
29631         include <bits/fcntl-linux.h>.
29632         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29633         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29634
29635 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29636
29637         * io/fcntl.h: Move include of <bits/types.h> to the top and
29638         include it unconditionally.
29639
29640 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29641
29642         * wcsmbs/Makefile (tests-ifunc): New variable.
29643         (tests): Add $(tests-ifunc).
29644         * wcsmbs/test-wcschr-ifunc.c: New file.
29645         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29646         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29647         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29648         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29649         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29650
29651         * string/Makefile (tests-ifunc): New variable.
29652         (tests): Add $(tests-ifunc).
29653         * string/test-memccpy.c (TEST_NAME): New macro.
29654         * string/test-memchr.c (TEST_NAME): Likewise.
29655         * string/test-memcmp.c (TEST_NAME): Likewise.
29656         * string/test-memcpy.c (TEST_NAME): Likewise.
29657         * string/test-memmem.c (TEST_NAME): Likewise.
29658         * string/test-memmove.c (TEST_NAME): Likewise.
29659         * string/test-memset.c (TEST_NAME): Likewise.
29660         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29661         * string/test-stpcpy.c (TEST_NAME): Likewise.
29662         * string/test-stpncpy.c (TEST_NAME): Likewise.
29663         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29664         * string/test-strcasestr.c (TEST_NAME): Likewise.
29665         * string/test-strcat.c (TEST_NAME): Likewise.
29666         * string/test-strchr.c (TEST_NAME): Likewise.
29667         * string/test-strcmp.c(TEST_NAME): Likewise.
29668         * string/test-strcpy.c (TEST_NAME): Likewise.
29669         * string/test-strcspn.c (TEST_NAME): Likewise.
29670         * string/test-strlen.c (TEST_NAME): Likewise.
29671         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29672         * string/test-strncmp.c (TEST_NAME): Likewise.
29673         * string/test-strncpy.c (TEST_NAME): Likewise.
29674         * string/test-strnlen.c (TEST_NAME): Likewise.
29675         * string/test-strpbrk.c (TEST_NAME): Likewise.
29676         * string/test-strrchr.c (TEST_NAME): Likewise.
29677         * string/test-strspn.c (TEST_NAME): Likewise.
29678         * string/test-strstr.c (TEST_NAME): Likewise.
29679         * string/test-bcopy-ifunc.c: New file.
29680         * string/test-bzero-ifunc.c: Likewise.
29681         * string/test-memccpy-ifunc.c: Likewise.
29682         * string/test-memchr-ifunc.c: Likewise.
29683         * string/test-memcmp-ifunc.c: Likewise.
29684         * string/test-memcpy-ifunc.c: Likewise.
29685         * string/test-memmem-ifunc.c: Likewise.
29686         * string/test-memmove-ifunc.c: Likewise.
29687         * string/test-mempcpy-ifunc.c: Likewise.
29688         * string/test-memset-ifunc.c: Likewise.
29689         * string/test-rawmemchr-ifunc.c: Likewise.
29690         * string/test-stpcpy-ifunc.c: Likewise.
29691         * string/test-stpncpy-ifunc.c: Likewise.
29692         * string/test-strcasecmp-ifunc.c: Likewise.
29693         * string/test-strcasestr-ifunc.c: Likewise.
29694         * string/test-strcat-ifunc.c: Likewise.
29695         * string/test-strchr-ifunc.c: Likewise.
29696         * string/test-strchrnul-ifunc.c: Likewise.
29697         * string/test-strcmp-ifunc.c: Likewise.
29698         * string/test-strcpy-ifunc.c: Likewise.
29699         * string/test-strcspn-ifunc.c: Likewise.
29700         * string/test-strlen-ifunc.c: Likewise.
29701         * string/test-strncasecmp-ifunc.c: Likewise.
29702         * string/test-strncat-ifunc.c: Likewise.
29703         * string/test-strncmp-ifunc.c: Likewise.
29704         * string/test-strncpy-ifunc.c: Likewise.
29705         * string/test-strnlen-ifunc.c: Likewise.
29706         * string/test-strpbrk-ifunc.c: Likewise.
29707         * string/test-strrchr-ifunc.c: Likewise.
29708         * string/test-strspn-ifunc.c: Likewise.
29709         * string/test-strstr-ifunc.c: Likewise.
29710
29711         * debug/Makefile (tests-ifunc): New variable.
29712         (tests): Add $(tests-ifunc).
29713         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29714         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29715         * debug/test-stpcpy_chk-ifunc.c: New file.
29716         * debug/test-strcpy_chk-ifunc.c: Likewise.
29717
29718 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29719
29720         [BZ #13601]
29721         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29722         header is not read in.
29723
29724 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29725
29726         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29727         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29728         directly.  Pass built executable to script as
29729         $(built-program-cmd).
29730         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29731         $testprogram without using LD_LIBRARY_PATH and $ldso.
29732
29733         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29734         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29735         $(rtld-installed-name).
29736         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29737         (rtld_installed_name): Likewise.
29738         (library_path): Likewise.
29739         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29740         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29741         $(run-program-prefix) to tst-tables.sh.
29742         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29743         it to run tst-table-from and tst-table-to.
29744         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29745         Pass it to tst-table.sh.
29746         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29747         $(run-program-prefix) to tst-gettext.sh.
29748         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29749         tst-translit.sh.
29750         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29751         tst-gettext2.sh.
29752         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29753         to run tst-gettext.
29754         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29755         to run tst-gettext2.
29756         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29757         to run tst-translit.
29758         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29759         $(run-program-prefix) to tst-mtrace.sh.
29760         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29761         to run tst-mtrace.
29762         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29763         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29764         $(rtld-installed-name).
29765         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29766         (rtld_installed_name): Likewise.
29767         (run_program_prefix): New variable.  Use it to run wordexp-test.
29768
29769         * Makeconfig (ARCH): Remove all definitions.
29770         (machine): Likewise.
29771         [ARCH]: Remove conditional code.
29772         [!objdir]: Give error.
29773         [!objdir] (objpfx): Remove.
29774         [!objdir] (common-objpfx): Likewise.
29775         [!objdir] (common-objdir): Likewise.
29776         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29777         AC_CONFIG_FILES call.
29778         * configure: Regenerated.
29779
29780         [BZ #13888]
29781         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29782         or TMPDIR.
29783         (testout): Likewise.
29784
29785         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29786         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29787         $(rtld-installed-name).
29788         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29789         (rtld_installed_name): Likwise.
29790         (runit): Remove function.
29791         (run_getconf): New variable,  Use it for running getconf binary.
29792
29793 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29794
29795         [BZ #14716]
29796         * string/test-memmem.c (check_result): New function.
29797         (do_one_test): Use it.
29798         (check1): New function.
29799         (test_main): Use it.
29800
29801 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29802
29803         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29804
29805 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29806
29807         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29808         (_G_LSEEK64): Likewise.
29809         (_G_MMAP64): Likewise.
29810         (_G_FSTAT64): Likewise.
29811         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29812         (_G_LSEEK64): Likewise.
29813         (_G_MMAP64): Likewise.
29814         (_G_FSTAT64): Likewise.
29815         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29816         unconditional.  Call __mmap64 directly.
29817         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29818         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29819         __lseek64 directly.
29820         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29821         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29822         __mmap64 directly.
29823         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29824         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29825         __lseek64 directly.
29826         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29827         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29828         __lseek64 directly.
29829         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29830         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29831         __lseek64 directly.
29832         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29833         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29834         __fxstat64 directly.
29835         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29836         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29837         unconditional.
29838         (freopen64) [!_G_OPEN64]: Remove conditional code.
29839         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29840         unconditional.
29841         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29842         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29843         unconditional.
29844         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29845         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29846         unconditional.
29847         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29848         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29849         unconditional.
29850         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29851         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29852         unconditional.
29853         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29854         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29855         unconditional.
29856         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29857         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29858         unconditional.
29859         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29860
29861 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29862
29863         [BZ #12140]
29864         * manual/memory.texi (Malloc Tunable Parameters): Add note
29865         about free list pointers overwriting some perturb bytes.
29866         Wording suggested by Roland McGrath.
29867
29868 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29869
29870         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29871         (lgamma_test): Likewise.
29872         (tgamma_test): Likewise.
29873
29874 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29875
29876         [BZ #14700]
29877         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29878         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29879
29880 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29881
29882         * NEWS: Mention BZ #14716.
29883         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29884         when removing AVAILABLE1_USES_J macro.
29885
29886 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29887
29888         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29889         (__bswap_64): __uint64_t for unsigned 64-bit int.
29890
29891 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29892
29893         * include/string.h (memmem): Declare libc hidden alias.
29894         * string/memmem.c (memmem): Define libc hidden alias.
29895         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29896         __read, __close instead of open, read, close.
29897
29898 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29899
29900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29901         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29902         global and hidden.
29903         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29904         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29905         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29906         Likewise.
29907         (__rawmemchr_sse2): Likewise.
29908         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29909         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29910         (__strchr_sse2): Likewise.
29911         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29912         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29913         (__strcasecmp_sse2): Likewise.
29914         (__strncasecmp_sse2): Likewise.
29915         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29916         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29917         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29918         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29919         (__strrchr_sse2): Likewise.
29920         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29921         ifunc-impl-list.c.
29922         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29923         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29924         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29925         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29926         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29927         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29928         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29929         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29930         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29931         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29932         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29933         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29934         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29935         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29936         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29937         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29938         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29939         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29940         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29941         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29942         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29943         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29944         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29945         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29946         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29947         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29948         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29949         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29950         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29951         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29952
29953         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29954         global and hidden.
29955         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29956         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29957         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29958         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29959         Likewise.
29960         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29961         Likewise.
29962         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29963         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29964         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29965         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29966         ifunc-impl-list.c.
29967         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29968         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29969         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29970         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29971         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29972         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29973         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29974         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29975         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29976         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29977         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29978         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29979         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29980         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29981         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29982         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29983         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29984         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29985         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29986         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29987         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29988         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29989         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29990         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29991         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29992         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29993         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29994         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29995         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29996         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29997         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29998         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29999         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30000         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30001         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30002         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30003         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30004         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30005         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30006         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30007         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30008
30009         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30010         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30011         * include/ifunc-impl-list.h: New file.
30012         * misc/ifunc-impl-list.c: Likewise.
30013         * misc/Makefile (routines): Add ifunc-impl-list.
30014         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30015         * string/test-string.h: Include <ifunc-impl-list.h>.
30016         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30017         TEST_NAME]: New variables.
30018         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30019         are defined.
30020         (test_init): Call __libc_ifunc_impl_list to initialize
30021         func_list if TEST_IFUNC and TEST_NAME are defined.
30022
30023         * string/Makefile (strop-tests): Add bcopy and bzero.
30024         * string/test-bcopy.c: New file.
30025         * string/test-bzero.c: Likewise.
30026         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30027         defined.
30028         * string/test-memset.c: Support bzero test if TEST_BZERO is
30029         defined.
30030         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30031         __libc_memmove.
30032         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30033         __libc_memset.
30034         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30035         of memset.
30036
30037 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30038
30039         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30040         * configure: Regenerated.
30041
30042         * Makeconfig (+link-static-before-libc): Don't include
30043         $(link-static-libc).
30044
30045         * libio/libio.h (_IO_pos_t): Remove.
30046
30047 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30048
30049         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30050         McGrath.
30051
30052 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30053
30054         * crypt/crypt-entry.c: Include fips-private.h.
30055         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30056         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30057         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30058         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30059
30060 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30061
30062         * crypt/crypt-private.h: Include stdbool.h.
30063         (_ufc_setup_salt_r): Return bool.
30064         * crypt/crypt-entry.c: Include errno.h.
30065         (__crypt_r): Return NULL with EINVAL for bad salt.
30066         * crypt/crypt_util.c (bad_for_salt): New.
30067         (_ufc_setup_salt_r): Check that salt is long enough and within
30068         the specified alphabet.
30069         * crypt/badsalttest.c: New file.
30070         * crypt/Makefile (tests): Add it.
30071         ($(objpfx)badsalttest): New.
30072
30073 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30074
30075         * NEWS: Add entry for BZ #14602.
30076
30077 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30078
30079         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30080         type-generic.
30081         * math/libm-test.inc: Update comment listing what functions and
30082         macros are tested.
30083         (isgreater_test): New function.
30084         (isgreaterequal_test): Likewise.
30085         (isless_test): Likewise.
30086         (islessequal_test): Likewise.
30087         (islessgreater_test): Likewise.
30088         (isunordered_test): Likewise.
30089         (main): Call the new functions.
30090
30091 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30092
30093         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30094         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30095         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30096         * sysdeps/i386/configure: Regenerated.
30097         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30098         * sysdeps/mach/configure: Regenerated.
30099         * sysdeps/mach/hurd/configure: Regenerated.
30100         * sysdeps/powerpc/configure: Regenerated.
30101         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30102         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30103         * sysdeps/s390/s390-32/configure: Regenerated.
30104         * sysdeps/s390/s390-64/configure: Regenerated.
30105         * sysdeps/sh/configure: Regenerated.
30106         * sysdeps/sparc/configure: Regenerated.
30107         * sysdeps/unix/sysv/linux/configure: Regenerated.
30108         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30109         * sysdeps/x86_64/configure: Regenerated.
30110
30111         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30112         defined.  Don't check if MAP is NULL.
30113
30114 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30115
30116         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30117         (_G_stat64): Likewise.
30118         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30119         (_G_stat64): Likewise.
30120         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30121         instead of struct _G_stat64.
30122         * libio/fileops.c (mmap_remap_check): Likewise.
30123         (decide_maybe_mmap): Likewise.
30124         (_IO_new_file_seekoff): Likewise.
30125         (_IO_file_stat): Likewise.
30126         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30127         _G_off64_t.
30128         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30129         instead of struct _G_stat64.
30130         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30131
30132 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30133
30134         [BZ #14602]
30135         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30136         Replace with ...
30137         (CHECK_EOL): New macro.
30138         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30139         CHECK_EOL.
30140         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30141         Replace with CHECK_EOL.
30142         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30143         Replace with CHECK_EOL.
30144
30145 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30146
30147         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30148         type-generic.
30149         * math/libm-test.inc: Update comment listing what functions and
30150         macros are tested.
30151         (finite_test): New function.
30152         (isinf_test): Likewise.
30153         (isnan_test): Likewise.
30154         (fpclassify_test): Test subnormal input.
30155         (isfinite_test): Likewise.
30156         (isnormal_test): Likewise.
30157         (main): Call the new functions.
30158
30159 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30160
30161         [BZ #14660]
30162         * Makerules (%.dynsym): Force C locale when running
30163         $(OBJDUMP) --dynamic-syms.
30164
30165 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30166
30167         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30168         <stdint.h>.
30169
30170 2012-10-06  David S. Miller  <davem@davemloft.net>
30171
30172         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30173         upper 32-bits of the length value in %o2 since we use branch-on-register
30174         tests which consider the entire 64-bit register.
30175
30176 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30177
30178         * string/test-strstr.c (check2): Add a test for page boundary.
30179
30180 2012-10-05  David S. Miller  <davem@davemloft.net>
30181
30182         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30183         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30184         file.
30185         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30186         sysdep_routines.
30187         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30188         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30189         and bzero when HWCAP_SPARC_CRYPTO is present.
30190
30191 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30192
30193         [BZ #14602]
30194         * string/test-strstr.c (check2): New function.
30195         (test_main): Call check2.
30196
30197         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30198         and bug-strchr1.
30199         * string/bug-strcasestr1.c (do_test): Moved to ...
30200         * string/test-strcasestr.c (check1): Here.  New function.
30201         (do_one_test): Break out result checking code into ...
30202         (check_result): This.  New function.
30203         (do_one_test): Call check_result.
30204         (test_main): Call check1.
30205         * string/bug-strchr1.c (do_test): Moved to ...
30206         * string/test-strchr.c (check1): Here.  New function.
30207         (do_one_test): Break out result checking code into ...
30208         (check_result): This.  New function.
30209         (do_one_test): Call check_result.
30210         (test_main): Call check1.
30211         * string/bug-strstr1.c (main): Moved to ...
30212         * string/test-strstr.c (check1): Here.  New function.
30213         (do_one_test): Break out result checking code into ...
30214         (check_result): This.  New function.
30215         (do_one_test): Call check_result.
30216         (test_main): Call check1.
30217         * string/bug-strcasestr1.c: Removed.
30218         * string/bug-strchr1.c: Likewise.
30219         * string/bug-strstr1.c: Likewise.
30220
30221         * elf/Makefile (dl-routines): Add hwcaps.
30222         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30223         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30224         (_dl_important_hwcaps): Moved to ...
30225         * elf/dl-hwcaps.c: Here.  New file.
30226         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30227
30228         [BZ #14557]
30229         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30230         if IS_IN_rtld isn't defined.
30231
30232         * elf/dl-support.c (_dl_sysinfo_map): New.
30233         Include "get-dynamic-info.h" and "setup-vdso.h".
30234         (_dl_non_dynamic_init): Call setup_vdso.
30235         * elf/dynamic-link.h: Don't include <assert.h>.
30236         (elf_get_dynamic_info): Moved to ...
30237         * elf/get-dynamic-info.h: Here.  New file.
30238         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30239         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30240         * elf/setup-vdso.h: Here.  New file.
30241         * elf/rtld.c: Include "setup-vdso.h".
30242         (dl_main): Call setup_vdso.
30243
30244 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30245
30246         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30247         creal in comment listing functions tested.  List finite, isinf,
30248         isnan, isless, islessequal, isgreater, isgreaterequal,
30249         islessgreater, isunordered, lgamma_r and pow10 as functions and
30250         macros not tested.  Mention which functions not tested are aliases
30251         for other functions.  Fix typo.  Note that signs of NaNs are not
30252         tested.
30253
30254         * scripts/config.guess: Update from config.git.
30255         * scripts/config.sub: Likewise.
30256
30257 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30258
30259         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30260         * misc/madvise.c (madvise): Renamed to __madvise.
30261         Make madvise a weak alias.
30262         * include/sys/mman.h: Declare __madvise.
30263         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30264         * sysdeps/unix/syscalls.list
30265         (madvise): Make __madvise the strong name, and madvise a weak alias.
30266         * sysdeps/unix/sysv/linux/syscalls.list
30267         (madvise, mmap): Remove redundant entries.
30268         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30269         * malloc/malloc.c (mtrim): Likewise.
30270         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30271
30272 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30273
30274         * sysdeps/mach/hurd/dl-cache.c: File removed.
30275         * config.h.in (USE_LDCONFIG): New #undef.
30276         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30277         * configure: Regenerated.
30278         * elf/Makefile (dl-routines): Add dl-cache only under
30279         [$(use-ldconfig) = yes].
30280         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30281         cache on [USE_LDCONFIG].
30282         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30283         [USE_LDCONFIG].
30284         * elf/rtld.c (dl_main): Likewise.
30285
30286 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30287
30288         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30289         _SC_LEVEL4_CACHE_LINESIZE.
30290
30291 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30292
30293         * sysdeps/unix/bsd/confstr.h: File removed.
30294
30295 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30296
30297         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30298         sys/sdt-config.h.
30299
30300 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30301
30302         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30303         Make 'mapoff' field ElfW(Off) rather than off_t.
30304
30305 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30306
30307         * nscd/Makefile: Remove nscd-cflags and all its users.
30308         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30309         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30310
30311         [BZ #10631]
30312         * malloc.c (malloc_printerr): Clarify error message.
30313
30314 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30315
30316         [BZ #14648]
30317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30318         Set bit_FMA_Usable if FMA is supported.
30319         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30320         macro.
30321         (bit_FMA4_Usable): Updated.
30322         (index_FMA_Usable): New macro.
30323         (CPUID_FMA): Likewise
30324         (HAS_FMA): Defined with bit_FMA_Usable.
30325
30326 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30327
30328         * bits/types.h (__swblk_t): Type removed.
30329         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30330         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30331         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30332         (__SWBLK_T_TYPE): Likewise.
30333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30334         (__SWBLK_T_TYPE): Likewise.
30335         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30336         (__SWBLK_T_TYPE): Likewise.
30337         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30338         (__SWBLK_T_TYPE): Likewise.
30339
30340 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30341             Honza Horak <hhorak@redhat.com>
30342
30343         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30344         (xdr_mapname): Use YPMAXMAP as maxsize.
30345         (xdr_peername): Use YPMAXPEER as maxsize.
30346         (xdr_keydat): Use YPAXRECORD as maxsize.
30347         (xdr_valdat): Use YPMAXRECORD as maxsize.
30348
30349 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30350
30351         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30352
30353         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30354         * csu/init-first.c: ... here.
30355         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30356         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30357         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30358         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30359         * sysdeps/i386/init-first.c: File removed.
30360         * sysdeps/sh/init-first.c: File removed.
30361
30362 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30363
30364         [BZ #14645]
30365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30366         if x * y might underflow to zero and z is zero.
30367         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30369         * math/libm-test.inc (min_subnorm_value): New variable.
30370         (fma_test): Add more tests.
30371         (fma_test_towardzero): Likewise.
30372         (fma_test_downward): Likewise
30373         (fma_test_upward): Likewise.
30374         (initialize): Set min_subnorm_value.
30375
30376 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30377
30378         [BZ #14638]
30379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30380         0 + 0.
30381         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30382         mode for addition resulting in exact zero.
30383         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30385         exact 0 + 0.
30386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30388         * math/libm-test.inc (fma_test): Add more tests.
30389         (fma_test_towardzero): New function.
30390         (fma_test_downward): Likewise.
30391         (fma_test_upward): Likewise.
30392         (main): Call the new functions.
30393
30394 2012-09-28  David S. Miller  <davem@davemloft.net>
30395
30396         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30397
30398 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30399
30400         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30401         instead of SIGALRM.
30402
30403         * sysdeps/gnu/_G_config.h: Moved to ...
30404         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30405         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30406         * sysdeps/generic/_G_config.h: ... here.
30407
30408         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30409
30410         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30411
30412         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30413         Conditionalize target on [libnss_test1.so-version].
30414
30415         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30416
30417         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30418         (elfobjdir): Move out of conditionals.
30419
30420         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30421         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30422         (__nss_lookup_function): Conditionalize label remove_from_tree on
30423         [!DO_STATIC_NSS || SHARED], matching its only use.
30424
30425 2012-09-28  David S. Miller  <davem@davemloft.net>
30426
30427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30428         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30429         file.
30430         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30431         sysdep_routines.
30432         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30434         when HWCAP_SPARC_CRYPTO is present.
30435
30436 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30437
30438         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30439
30440 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30441
30442         [BZ #6530]
30443         * stdio-common/vfprintf.c (process_string_arg): Revert
30444         2000-07-22 change.
30445
30446 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30447
30448         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30449         for testcase.
30450         * stdio-common/tst-sprintf.c: Include <locale.h>
30451         (main): Test sprintf's handling of incomplete multibyte
30452         characters.
30453
30454 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30455
30456         * elf/dl-runtime.c (VERSYMIDX): Removed.
30457         * elf/dl-version.c (VERSYMIDX): Likewise.
30458         * elf/do-rel.h (VERSYMIDX): Likewise.
30459         (VALIDX): Likewise.
30460         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30461         * elf/rtld.c (VALIDX): Likewise.
30462         (ADDRIDX): Likewise.
30463         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30464         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30465         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30466         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30467         (VALIDX): Likewise.
30468         (ADDRIDX): Likewise.
30469
30470 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30471
30472         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30473
30474 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30475
30476         [BZ #11438]
30477         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30478         to global scope.
30479         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30480         addresses are in the same scope as 192.0.2/24.
30481         * posix/gai.conf: Document new scope table defaults.
30482
30483 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30484
30485         [BZ #5298]
30486         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30487         for ftell.  Compute offsets from write pointers instead.
30488         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30489
30490 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30491
30492         [BZ #14543]
30493         * libio/Makefile (tests): New test case tst-fseek.
30494         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30495         combination works in wide mode.
30496         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30497         state when the external buffer state changes.
30498
30499 2012-09-27  David S. Miller  <davem@davemloft.net>
30500
30501         [BZ #14376]
30502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30503         pass reloc->r_addend in as the 'high' argument to
30504         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30505
30506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30507
30508 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30509
30510         * rt/tst-aio2.c: Include <pthread.h>.
30511         * rt/tst-aio3.c: Likewise.
30512
30513 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30514
30515         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30516
30517 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30518
30519         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30520         contents on [SHARED].
30521
30522 2012-09-26  Marek Polacek  <polacek@redhat.com>
30523
30524         [BZ #14530]
30525         [BZ #13741]
30526         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30527         for C++ and GCC <4.3 as well as for non GCC compilers.
30528
30529 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30530
30531         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30532
30533 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30534
30535         * Makefile.in (all, install): Declare with .PHONY.
30536         Reported by Michael Hope <michael.hope@linaro.org>.
30537
30538 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30539
30540         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30541         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30542         system header.
30543         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30544         Likewise.
30545         (sydep_routines): Add the new and the internal functions.
30546         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30547         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30549         (GLIBC_2.17): Add the new function.
30550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30551         (GLIBC_2.17): Likewise.
30552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30553         (GLIBC_2.17): Likewise.
30554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30555         (GLIBC_2.17): Likewise.
30556         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30557
30558 2012-09-25  Alan Modra  <amodra@gmail.com>
30559
30560         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30561         Add release barrier before setting once_control to say
30562         initialisation is done.  Add hints on lwarx.  Use macro in
30563         place of isync.
30564         (clear_once_control): Add release barrier.
30565
30566 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30567
30568         [BZ #13629]
30569         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30570         specially.
30571         * math/s_clog10.c (__clog10): Likewise.
30572         * math/s_clog10f.c (__clog10f): Likewise.
30573         * math/s_clog10l.c (__clog10l): Likewise.
30574         * math/s_clogf.c (__clogf): Likewise.
30575         * math/s_clogl.c (__clogl): Likewise.
30576         * math/Makefile (libm-calls): Add x2y2m1.
30577         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30578         (__x2y2m1): Likewise.
30579         (__x2y2m1l): Likewise.
30580         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30581         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30582         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30583         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30584         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30585         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30586         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30587         * sysdeps/i386/fpu/libm-test-ulps: Update.
30588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30589
30590         [BZ #14621]
30591         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30592         int as type of variable DEPTH.
30593         (glob): Use size_t instead of int as type of variables NEWCOUNT
30594         and OLD_PATHC.
30595
30596 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30597
30598         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30599         Add s_sincosf-sse2.
30600         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30601         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30602         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30603         macros for using routine as __sincosf_ia32.
30604         Use macro for function declaration and weak_alias.
30605         * sysdeps/i386/fpu/libm-test-ulps: Update.
30606
30607         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30609
30610         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30611         subnormal argument.
30612         * math/s_cexpf.c (__cexpf): Likewise.
30613         * math/s_csinf.c (__csinf): Likewise.
30614         * math/s_csinhf.c (__csinhf): Likewise.
30615         * math/s_ctanf.c (__ctanf): Likewise.
30616         * math/s_ctanhf.c (__ctanhf): Likewise.
30617         * math/s_ccosh.c (__ccoshf): Likewise.
30618         * math/s_cexp.c (__cexpl): Likewise.
30619         * math/s_csin.c (__csin): Likewise.
30620         * math/s_csinh.c (__csinh): Likewise.
30621         * math/s_ctan.c (__ctan): Likewise.
30622         * math/s_ctanh.c (ctanh): Likewise.
30623         * math/s_ccoshl.c (__ccoshl): Likewise.
30624         * math/s_cexpl.c (__cexpl): Likewise.
30625         * math/s_csinl.c (__csinl): Likewise.
30626         * math/s_csinhl.c (__csinhl): Likewise.
30627         * math/s_ctanl.c (__ctanl): Likewise.
30628         * math/s_ctanhl.c (__ctanhl): Likewise.
30629
30630 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30631
30632         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30633         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30634         (_IO_off_t): Define to __off_t, not _G_off_t.
30635         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30636         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30637         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30638         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30639         type of __dummy and __dummy2 fields.
30640         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30641         (_G_ssize_t): Likewise.
30642         (_G_off_t): Likewise.
30643         (_G_pid_t): Likewise.
30644         (_G_uid_t): Likewise.
30645         (_G_wchar_t): Likewise.
30646         (_G_wint_t): Likewise.
30647         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30648         (_G_ssize_t): Likewise.
30649         (_G_off_t): Likewise.
30650         (_G_pid_t): Likewise.
30651         (_G_uid_t): Likewise.
30652         (_G_wchar_t): Likewise.
30653         (_G_wint_t): Likewise.
30654         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30655         (_G_ssize_t): Likewise.
30656         (_G_off_t): Likewise.
30657         (_G_pid_t): Likewise.
30658         (_G_uid_t): Likewise.
30659         (_G_wchar_t): Likewise.
30660         (_G_wint_t): Likewise.
30661
30662 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30663
30664         * malloc/arena.c: Include malloc-sysdep.h.
30665         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30666         is sufficient to shrink the heap or an unmap is needed.
30667         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30668         new function check_may_shrink_heap.
30669         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30670         new function check_may_shrink_heap.
30671
30672 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30673
30674         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30675         comments.
30676
30677 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30678
30679         * catgets/test-gencat.sh: Add "set -e".
30680         * elf/tst-pathopt.sh: Likewise.
30681         * grp/tst_fgetgrent.sh: Likewise.
30682         * iconvdata/run-iconv-test.sh: Likewise.
30683         * intl/tst-gettext.sh: Likewise.
30684         * intl/tst-gettext2.sh: Likewise.
30685         * intl/tst-gettext4.sh: Likewise.
30686         * intl/tst-gettext6.sh: Likewise.
30687         * intl/tst-translit.sh: Likewise.
30688         * io/ftwtest-sh: Likewise.
30689         * libio/test-freopen.sh: Likewise.
30690         * malloc/tst-mtrace.sh: Likewise.
30691         * posix/globtest.sh: Likewise.
30692         * posix/tst-getconf.sh: Likewise.
30693         * posix/wordexp-tst.sh: Likewise.
30694         * stdio-common/tst-printf.sh: Likewise.
30695         * stdio-common/tst-unbputc.sh: Likewise.
30696         * stdlib/tst-fmtmsg.sh: Likewise.
30697         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30698         * catgets/Makefile: Do not specify -e option when running
30699         testsuite shell scripts.
30700         * elf/Makefile: Likewise.
30701         * grp/Makefile: Likewise.
30702         * iconvdata/Makefile: Likewise.
30703         * intl/Makefile: Likewise.
30704         * io/Makefile: Likewise.
30705         * libio/Makefile: Likewise.
30706         * malloc/Makefile: Likewise.
30707         * posix/Makefile: Likewise.
30708         * stdio-common/Makefile: Likewise.
30709         * stdlib/Makefile: Likewise.
30710         * sysdeps/x86_64/Makefile: Likewise.
30711
30712         * io/ftwtest-sh: Add copyright header.
30713         * posix/globtest.sh: Likewise.
30714         * posix/tst-getconf.sh: Likewise.
30715         * posix/wordexp-tst.sh: Likewise.
30716         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30717
30718 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30719
30720         [BZ #13679]
30721         * Makeconfig (+link): Defined as $(+link-static) if
30722         $(build-shared) isn't yes.
30723         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30724         isn't yes.
30725         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30726
30727         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30728
30729         [BZ #14562]
30730         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30731         new chunk size with MALLOC_ALIGN_MASK.
30732
30733 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30734
30735         [BZ #5044]
30736         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30737         <rounding-mode.h>.
30738         (__printf_fphex): Determine rounding using get_rounding_mode and
30739         round_away.
30740         * stdio-common/tst-printf-round.c (struct hex_test): New
30741         structure.
30742         (hex_tests): New variable.
30743         (test_hex_in_one_mode): New function.
30744         (do_test): Also run tests for hex float output.
30745
30746 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30747
30748         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30749         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30750         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30751         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30752         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30753         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30754         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30755         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30756
30757 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30758
30759         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30760         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30761         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30762         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30763
30764 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30765
30766         [BZ #14579]
30767         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30768         mode only.
30769         * elf/tst-rtld-load-self.sh: New test.
30770         * elf/Makefile: Run it.
30771
30772 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30773
30774         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30775         (tst-writev-ENV): Remove.
30776         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30777
30778 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30779
30780         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30781
30782 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30783
30784         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30785         unconditional.
30786         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30787         Likewise.
30788         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30789         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30790         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30791         Likewise.
30792
30793 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30794
30795         [BZ #14587]
30796         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30797         * config.make.in (have-cpp-asm-debuginfo): Removed.
30798         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30799         * configure: Regenerated.
30800
30801 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30802
30803         [BZ #5044]
30804         * stdio-common/printf_fp.c: Include <stdbool.h> and
30805         <rounding-mode.h>.
30806         (___printf_fp): Determine rounding using get_rounding_mode and
30807         round_away.
30808         * stdio-common/tst-printf-round.c: New file.
30809         * stdio-common/Makefile (tests): Add tst-printf-round.
30810         (link-libm): New variable.
30811         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30812
30813 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30814
30815         [BZ #14576]
30816         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30817         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30818         Likewise.
30819         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30820         Likewise.
30821
30822 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30823
30824         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30825         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30826         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30827         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30828
30829 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30830
30831         [BZ #14518]
30832         * include/rounding-mode.h: New file.
30833         * sysdeps/generic/get-rounding-mode.h: Likewise.
30834         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30835         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30836         (MAX_VALUE): New macro.
30837         (MIN_VALUE): Likewise.
30838         (overflow_value): New function.
30839         (underflow_value): Likewise.
30840         (round_and_return): Use overflow_value and underflow_value to
30841         determine return values in overflow and underflow cases.  Use
30842         round_away to determine rounding depending on rounding mode.
30843         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30844         determine return values in overflow and underflow cases.
30845         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30846         (struct test_results): New structure.
30847         (struct test): Use struct test_results to store expected results
30848         for all rounding modes.
30849         (TEST): Include expected results for all rounding modes.
30850         (test_in_one_mode): New function.
30851         (do_test): Use test_in_one_mode to compute and check results.
30852         Check results for all rounding modes.
30853         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30854         $(link-libm).
30855
30856 2012-12-09  Allan McRae  <allan@archlinux.org>
30857
30858         * sysdeps/i386/fpu/libm-test-ulps: Update
30859
30860 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30861
30862         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30863         (_G_int32_t): Likewise.
30864         (_G_uint16_t): Likewise.
30865         (_G_uint32_t): Likewise.
30866         (_G_HAVE_BOOL): Likewise.
30867         (_G_HAVE_ATEXIT): Likewise.
30868         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30869         (_G_HAVE_IO_FILE_OPEN): Likewise.
30870         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30871         (_G_int32_t): Likewise.
30872         (_G_uint16_t): Likewise.
30873         (_G_uint32_t): Likewise.
30874         (_G_HAVE_BOOL): Likewise.
30875         (_G_HAVE_ATEXIT): Likewise.
30876         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30877         (_G_HAVE_IO_FILE_OPEN): Likewise.
30878         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30879         (_G_int32_t): Likewise.
30880         (_G_uint16_t): Likewise.
30881         (_G_uint32_t): Likewise.
30882         (_G_HAVE_BOOL): Likewise.
30883         (_G_HAVE_ATEXIT): Likewise.
30884         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30885         (_G_HAVE_IO_FILE_OPEN): Likewise.
30886
30887 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30888
30889         * csu/libc-tls.c: Update copyright years.
30890
30891 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30892
30893         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30894         [!_G_USING_THUNKS]: Remove conditional code.
30895         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30896         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30897
30898         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30899         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30900         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30901         (_G_VTABLE_LABEL_PREFIX): Likewise.
30902         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30903         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30904         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30905         (_G_VTABLE_LABEL_PREFIX): Likewise.
30906         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30907         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30908         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30909         (_G_VTABLE_LABEL_PREFIX): Likewise.
30910         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30911
30912 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30913
30914         * libio/Makefile: Include ../Makeconfig before tests.
30915         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30916         only if $(build-shared) is yes.
30917
30918         * iconv/gconv_db.c: Update copyright years.
30919
30920 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30921
30922         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30923         unwind info if defined PIC. Fix special cases description.
30924         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30925
30926         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30927         DP_HI_MASK entry.
30928         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30929
30930 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30931
30932         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30933
30934         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30935         is NULL.
30936
30937         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30938         (LDLIBS-tst-chk4): This.
30939         (LDFLAGS-tst-chk5): Renamed to ...
30940         (LDLIBS-tst-chk5): This.
30941         (LDFLAGS-tst-chk6): Renamed to ...
30942         (LDLIBS-tst-chk6): This.
30943         (LDFLAGS-tst-lfschk4): Renamed to ...
30944         (LDLIBS-tst-lfschk4): This.
30945         (LDFLAGS-tst-lfschk5): Renamed to ...
30946         (LDLIBS-tst-lfschk5): This.
30947         (LDFLAGS-tst-lfschk6): Renamed to ...
30948         (LDLIBS-tst-lfschk6): This.
30949
30950         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30951         on $(common-objpfx)soversions.mk.
30952
30953 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30954
30955         [BZ #10014]
30956         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30957         example host name.
30958
30959 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30960
30961         * malloc/arena.c (arena_get_retry): New function that gets
30962         another arena for the caller to try its request on.
30963         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30964         current arena cannot fulfill the request.
30965         (__libc_memalign): Likewise.
30966         (__libc_memalign): Likewise.
30967         (__libc_pvalloc): Likewise.
30968         (__libc_calloc): Likewise.
30969
30970 2012-09-05  John Tobey  <john.tobey@gmail.com>
30971
30972         [BZ #13542]
30973         * manual/arith.texi (Operations on Complex): Fix description
30974         of carg branch cut.
30975
30976 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30977
30978         [BZ #10014]
30979         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30980         host name.
30981
30982         [BZ #10038]
30983         * manual/memory.texi (Memory): Make order of menu items match
30984         order of sections.
30985
30986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30987
30988         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30989         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30990         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30991
30992 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30993
30994         * csu/libc-tls.c (static_dtv): Renamed to ...
30995         (_dl_static_dtv): This.  Make it global.
30996         (_dl_initial_dtv): Removed.
30997         (__libc_setup_tls): Updated.
30998         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30999         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31000         DL_INITIAL_DTV.
31001
31002 2012-09-06  Petr Machata  <pmachata@redhat.com>
31003
31004         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31005         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31006         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31007         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31008
31009 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31010
31011         [BZ #14545]
31012         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31013         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31014         freeing dtv[-1].
31015
31016 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31017
31018         [BZ #14544]
31019         * Makeconfig (link-static-before-libc): Replace $(+prector)
31020         with $(+prectorT).
31021         (link-static-after-libc): Replace $(+postctor) with
31022         $(+postctorT).
31023         (link-bounded): Replace $(+prector)/$(+postctor) with
31024         $(+prectorT)/$(+postctorT).
31025         (+prectorT): New macro.
31026         (+postctorT): Likewise.
31027
31028 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31029
31030         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31031         (round_str): Handle values above the maximum for IBM long double
31032         as inexact.
31033         * stdlib/tst-strtod-round.c (tests): Regenerated.
31034
31035 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31036
31037         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31038         assembler flag.
31039         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31040         zarch_nohighgprs around the zarch optimized routines.
31041         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31042         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31043         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31044         for zarch.
31045
31046 2012-09-05  David S. Miller  <davem@davemloft.net>
31047
31048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31049
31050         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31051         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31052         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31053         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31054         entries.
31055
31056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31057
31058         * malloc/arena.c: Fold copyright years.
31059         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31060
31061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31062
31063         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31064
31065 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31066
31067         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31068
31069 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31070
31071         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31072         change internal state upon failure.
31073
31074 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31075
31076         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31077         * malloc/memusage.c (mmap): Likewise.
31078         (mmap64, mremap): Likewise.  Adjust name in comment.
31079
31080 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31081
31082         * libio/fileops.c: Fix typos in comments.
31083         * libio/oldfileops.c: Likewise.
31084         * libio/wfileops.c: Likewise.
31085
31086 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31087
31088         [BZ #1349]
31089         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31090         (tst-malloc-usable-ENV): Set environment for test case.
31091         * malloc/hooks.c (malloc_check_get_size): New function to get
31092         requested size.
31093         * malloc/malloc.c (musable): Use malloc_check_get_size.
31094         * malloc/tst-malloc-usable.c: New test case.
31095
31096 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31097
31098         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31099
31100 2012-09-05  Allan McRae  <allan@archlinux.org>
31101
31102         [BZ #13966]
31103         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31104         determine header location.
31105         * configure: Regenerated.
31106
31107 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31108
31109         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31110         float format.
31111         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31112         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31113         format.
31114         (test): Regenerate.
31115
31116 2012-09-04  David S. Miller  <davem@davemloft.net>
31117
31118         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31119         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31120         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31121
31122 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31123
31124         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31125         failures.
31126
31127         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31128
31129 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31130
31131         [BZ #9914]
31132         * libio/iogetdelim.c: Include <limits.h>.
31133         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31134         + len + 1 would overflow.
31135
31136 2012-09-03  Andreas Jaeger  <aj@suse.de>
31137
31138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31139         * sysdeps/i386/fpu/libm-test-ulps: Update.
31140
31141 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31142
31143         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31144         Add s_sinf-sse2, s_conf-sse2.
31145
31146         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31147         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31148         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31149         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31150
31151         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31152         for using routine as __sinf_ia32.
31153         Use macro for function declaration and weak_alias.
31154         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31155         for using routine as __cosf_ia32.
31156         Use macro for function declaration and weak_alias.
31157
31158         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31159         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31160
31161         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31162         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31164
31165         * math/libm-test.inc (cos_test): Add more test cases.
31166         (sin_test): Likewise.
31167         (sincos_test): Likewise.
31168
31169 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31170
31171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31172         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31173         hidden.
31174         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31175
31176 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31177
31178         [BZ #14538]
31179         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31180         first element of the GOT.
31181         (elf_machine_load_address): Return the difference between
31182         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31183
31184 2012-09-01  Allan McRae  <allan@archlinux.org>
31185
31186         [BZ #13412]
31187         * configure.in (AWK): Require gawk version 3.0 or later.
31188         * configure: Regenerated.
31189
31190 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31191
31192         * sysdeps/unix/sysv/linux/kernel-features.h
31193         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31194         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31195         [__NR_clock_getres]: Make code unconditional.
31196         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31197         (clock_getcpuclockid): Remove code left unreachable by removal of
31198         conditionals.
31199         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31200         code unconditional.
31201         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31202         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31203         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31204         Make code unconditional.
31205         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31206         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31207         * sysdeps/unix/sysv/linux/clock_settime.c
31208         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31209         conditional code.
31210         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31211         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31212
31213 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31214
31215         [BZ #14476]
31216         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31217         scripts/test-installation.pl.
31218
31219         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31220         and $ld_so_version if it is set.
31221
31222 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31223
31224         [BZ #14516]
31225         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31226         failure if reading from procfs failed.
31227         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31228
31229 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31230
31231         * sysdeps/unix/sysv/linux/kernel-features.h
31232         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31233         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31234         Remove conditional code.
31235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31236         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31237         Remove conditional code.
31238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31239         * sysdeps/unix/sysv/linux/i386/fxstat.c
31240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31242         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31245         * sysdeps/unix/sysv/linux/i386/lxstat.c
31246         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31248         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31249         Remove conditional code.
31250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31251         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31252         Remove conditional code.
31253         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31254         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31255         <kernel-features.h>.
31256         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31257         Remove.
31258         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31259         Remove conditional code.
31260         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31261         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31262         Remove conditional.
31263
31264 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31265
31266         [BZ #5400]
31267         * NEWS: Add fixed bug number.
31268
31269 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31270
31271         [BZ #14519]
31272         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31273         underflowing exponent in case of negative sign.
31274         * stdlib/tst-strtod-round-data: Add more tests.
31275         * stdlib/tst-strtod-round.c (tests): Regenerated.
31276
31277         [BZ #3479]
31278         * stdlib/strtod_l.c (NDIG): Remove.
31279         (HEXNDIG): Likewise.
31280         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31281         smallest representable value.
31282         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31283         lie within an exact representation of 1/2 ulp of the result.
31284         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31285         unconditionally.
31286         (TENS_P9_IDX): Define unconditionally.
31287         (TENS_P9_SIZE): Likewise.
31288         (TENS_P10_IDX): Likewise.
31289         (TENS_P10_SIZE): Likewise.
31290         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31291         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31292         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31293         entries for 10^2^13 and 10^2^14.
31294         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31295         (TENS_P13_IDX): Define.
31296         (TENS_P13_SIZE): Likewise.
31297         (TENS_P14_IDX): Likewise.
31298         (TENS_P14_SIZE): Likewise.
31299         (_fpioconst_pow10): Change array size to
31300         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31301         unconditional.
31302         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31303         1024]: Add entries for 10^2^13 and 10^2^14.
31304         [LAST_POW10 > _LAST_POW10]: Remove #error.
31305         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31306         (_fpioconst_pow10): Change array size to
31307         FPIOCONST_POW10_ARRAY_SIZE.
31308         * stdlib/gen-fpioconst.c: New file.
31309         * stdlib/gen-tst-strtod-round.c: Likewise.
31310         * stdlib/tst-strtod-round-data: Likewise.
31311         * stdlib/tst-strtod-round.c: Likewise.
31312         * stdlib/Makefile (tests): Add tst-strtod-round.
31313
31314         [BZ #14459]
31315         * stdlib/strtod_l.c: Include <stdint.h>.
31316         (NDEBUG): Do not define.
31317         (round_and_return): Change EXPONENT parameter to type intmax_t.
31318         Rearrange calculations to avoid internal overflow possibilities.
31319         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31320         Rearrange calculations to avoid internal overflow possibilities.
31321         Assert that number fits inside MPNSIZE limbs.
31322         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31323         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31324         calculations and add assertions to avoid internal overflow
31325         possibilities.  Add casts to avoid signed/unsigned operations.
31326         * stdlib/tst-strtod-overflow.c: New file.
31327         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31328
31329 2012-08-25  Marek Polacek  <polacek@redhat.com>
31330
31331         * time/time.h: Fix some typos in comments.
31332
31333 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31334
31335         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31336         * posix/tst-rfc3484-2.c: Likewise.
31337         * posix/tst-rfc3484-3.c: Likewise.
31338
31339 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31340
31341         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31342         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31343
31344 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31345
31346         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31347         #include of fxstatat64.c.
31348
31349 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31350
31351         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31352         * shadow/getspent_r.c: Likewise.
31353         * shadow/getspnam.c: Likewise.
31354         * shadow/getspnam_r.c: Likewise.
31355         * gshadow/getsgent.c: Likewise.
31356         * gshadow/getsgent_r.c: Likewise.
31357         * gshadow/getsgnam.c: Likewise.
31358         * gshadow/getsgnam_r.c: Likewise.
31359         * inet/getnetbyad.c: Likewise.
31360         * inet/getnetbyad_r.c: Likewise.
31361         * inet/getnetbynm.c: Likewise.
31362         * inet/getnetbynm_r.c: Likewise.
31363         * inet/getnetent.c: Likewise.
31364         * inet/getnetent_r.c: Likewise.
31365         * inet/getproto.c: Likewise.
31366         * inet/getproto_r.c: Likewise.
31367         * inet/getprtent.c: Likewise.
31368         * inet/getprtent_r.c: Likewise.
31369         * inet/getprtname.c: Likewise.
31370         * inet/getprtname_r.c: Likewise.
31371         * inet/getrpcbyname.c: Likewise.
31372         * inet/getrpcbyname_r.c: Likewise.
31373         * inet/getrpcbynumber.c: Likewise.
31374         * inet/getrpcbynumber_r.c: Likewise.
31375         * inet/getrpcent.c: Likewise.
31376         * inet/getrpcent_r.c: Likewise.
31377         * inet/getaliasent.c: Likewise.
31378         * inet/getaliasent_r.c: Likewise.
31379         * inet/getaliasname.c: Likewise.
31380         * inet/getaliasname_r.c: Likewise.
31381         * nscd/getgrgid_r.c: Likewise.
31382         * nscd/getgrnam_r.c: Likewise.
31383         * nscd/gethstbyad_r.c: Likewise.
31384         * nscd/gethstbynm3_r.c: Likewise.
31385         * nscd/getpwnam_r.c: Likewise.
31386         * nscd/getpwuid_r.c: Likewise.
31387         * nscd/getsrvbynm_r.c: Likewise.
31388         * nscd/getsrvbypt_r.c: Likewise.
31389         * nscd/gai.c: Likewise.
31390
31391         * configure.in (build_nscd): New substituted variable, set
31392         by --disable-build-nscd and defaults to $use_nscd.
31393         * configure: Regenerated.
31394         * config.make.in (build-nscd): New substituted variable.
31395         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31396         Change conditional to require [$(build-nscd) = yes] as well.
31397         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31398
31399         [BZ# 13696]
31400         * configure.in (use_nscd): New substituted variable, set by
31401         --disable-nscd.  If enabled, define USE_NSCD.
31402         * configure: Regenerated.
31403         * config.h.in: Add USE_NSCD.
31404         * config.make.in (use-nscd): New substituted variable.
31405         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31406         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31407         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31408         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31409         (CFLAGS-getgrnam_r.c): Likewise.
31410         (CFLAGS-initgroups.c): Likewise.
31411         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31412         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31413         Variables removed.
31414         * inet/getnetgrent_r.c
31415         (nscd_setnetgrent): New function, broken out of ...
31416         (setnetgrent): ... here.  Call it.
31417         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31418         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31419         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31420         * nscd/Makefile (routines, aux): Move definitions after include of
31421         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31422         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31423         Conditionalize on [USE_NSCD].
31424         (is_nscd, nscd_init_cb): Likewise.
31425         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31426         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31427         * nss/nss_db/db-init.c: Likewise.
31428         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31429         [USE_NSCD].
31430         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31431         (make_request): Use it.
31432         (cache_valid_p): New function.
31433         (__check_pf): Use it.
31434         * NEWS: Add item for --disable-nscd.
31435
31436 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31437
31438         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31439         to support sed >= 4.2.1-20-ga9bf076.
31440         * configure: Regenerated.
31441
31442 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31443
31444         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31445         Conditionalize whole body on [IREL].
31446
31447 2012-08-22  Jeff Law <law@redhat.com>
31448
31449         [BZ #14505]
31450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31451         if the family is PF_UNSPEC.
31452
31453 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31454
31455         * Makerules (lib-version): Rename from V.
31456         (install-lib-nosubdir): Change V to lib-version.
31457
31458 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31459
31460         [BZ #14252]
31461         * powerpc32/power6/wcschr.c: New file.
31462         * powerpc32/power6/wcscpy.c: New file.
31463         * powerpc32/power6/wcsrchr.c: New file.
31464         * powerpc64/power6/wcschr.c: New file.
31465         * powerpc64/power6/wcscpy.c: New file.
31466         * powerpc64/power6/wcsrchr.c: New file.
31467
31468 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31469
31470         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31471         (two_way_short_needle): Use it.
31472         * string/strstr.c (AVAILABLE1_USES_J): Define.
31473         * string/strcasestr.c: Likewise.
31474
31475         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31476         array references.
31477         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31478
31479         [BZ #11607]
31480         * NEWS: Add an entry.
31481         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31482         define their defaults.
31483         (two_way_short_needle): Detect end-of-string on-the-fly.
31484         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31485         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31486         * string/bug-strcasestr1.c: New test.
31487         * string/Makefile: Run it.
31488
31489 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31490
31491         [BZ #11607]
31492         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31493         the first character.
31494
31495 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31496
31497         * csu/elf-init.c (__libc_csu_irel): Function removed.
31498         * csu/libc-start.c (apply_irel): New function.
31499         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31500
31501 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31502
31503         * sysdeps/unix/sysv/linux/kernel-features.h
31504         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31505         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31506         <kernel-features.h>.
31507         [__NR_fadvise64_64]: Make code unconditional.
31508         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31509         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31510         !__NR_fadvise64_64)]: Likewise.
31511         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31512         !__NR_fadvise64_64))]: Likewise.
31513         [__NR_fadvise64]: Make code unconditional.
31514         [!__NR_fadvise64]: Remove conditional code.
31515         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31516         <kernel-features.h>.
31517         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31518         unconditional.
31519         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31520         conditional code.
31521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31522         not include <kernel-features.h>.
31523         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31524         unconditional.
31525         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31526         conditional code.
31527         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31528         include <kernel-features.h>.
31529         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31530         unconditional.
31531         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31532         conditional code.
31533
31534 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31535
31536         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31537         slight instruction rearrangements per scrollpipe analysis.
31538         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31539
31540 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31541
31542         * manual/syslog.texi (syslog; vsyslog, closelog):
31543         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31544         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31545
31546         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31547         DSOCAPS to match condition on defining it.
31548
31549 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31550
31551         * sysdeps/unix/sysv/linux/kernel-features.h
31552         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31560         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31561         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31562
31563         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31564         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31565
31566         * sysdeps/unix/sysv/linux/kernel-features.h
31567         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31568         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31569         unconditional.
31570         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31571         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31572         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31573         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31574         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31575         Make code unconditional.
31576         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31577         (__mmap64) [!__NR_mmap2]: Likewise.
31578         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31579         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31580         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31581         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31582         [__NR_mmap2]: Make code unconditional.
31583         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31584         (__mmap64) [!__NR_mmap2]: Likewise.
31585
31586 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31587
31588         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31589
31590 2012-08-18  Andreas Jaeger  <aj@suse.de>
31591
31592         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31593
31594 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31595
31596         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31597         * include/unistd.h (__have_sock_cloexec): Likewise.
31598         (__have_pipe2): Likewise.
31599         (__have_dup3): Likewise.
31600
31601 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31602
31603         [BZ #9685]
31604         * include/unistd.h (__have_pipe2): Change define into an extern int.
31605         (__have_dup3): Likewise.
31606         * socket/have_sock_cloexec.c: Include fcntl.h.
31607         (__have_pipe2): New variable.
31608         (__have_dup3): Likewise.
31609
31610 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31611
31612         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31613
31614 2012-08-17  Marek Polacek  <polacek@redhat.com>
31615
31616         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31617         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31618
31619 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31620
31621         * configure.in: Add AC_SUBST for sysheaders.
31622         * configure: Regenerated.
31623         * config.make.in (sysheaders): New substituted variable.
31624
31625         * sysdeps/unix/mkfifo.c: Moved ...
31626         * sysdeps/posix/mkfifo.c: ... here.
31627         * sysdeps/unix/mkfifoat.c: Moved ...
31628         * sysdeps/posix/mkfifoat.c: ... here.
31629
31630         * sysdeps/unix/utime.c: Moved ...
31631         * sysdeps/posix/utime.c: ... here.
31632
31633         * sysdeps/unix/time.c: Moved ...
31634         * sysdeps/posix/time.c: ... here.
31635         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31636         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31637
31638         * sysdeps/unix/nice.c: Moved ...
31639         * sysdeps/posix/nice.c: ... here.
31640
31641         * sysdeps/unix/alarm.c: Moved ...
31642         * sysdeps/posix/alarm.c: ... here.
31643
31644         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31645
31646 2012-08-17  Jeff Law <law@redhat.com>
31647
31648         * intl/Makefile (codeset_mo): New variable.
31649         ($(codeset_mo)): New target.
31650         (tst-codeset.out): Depend on that.  Remove explicit rule.
31651         (tst-gettext3.out, tst-gettext5.out): Likewise.
31652         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31653         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31654         * intl/tst-codeset.sh: Remove.
31655         * intl/tst-gettext3.sh: Likewise.
31656         * intl/tst-gettext5.sh: Likewise.
31657
31658 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31659
31660         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31661         * sysdeps/unix/syscalls.list: ... here.
31662
31663         * sysdeps/posix/getaddrinfo.c
31664         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31665         (gaiconf_init, gaiconf_reload): Use them.
31666         [!_STATBUF_ST_NSEC]
31667         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31668         Define using time_t rather than struct timespec.
31669
31670         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31671         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31672         Macros removed.
31673         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31674         [!NO_THREADS].
31675         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31676         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31677         Likewise.
31678
31679         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31680         __libc_cleanup_push argument.
31681
31682         * bits/param.h: New file.
31683         * misc/sys/param.h: New file.
31684         * include/sys/param.h: New file.
31685         * misc/Makefile (headers): Add bits/param.h.
31686         * sysdeps/generic/sys/param.h: File removed.
31687         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31688         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31689         * sysdeps/mach/hurd/bits/param.h: New file.
31690         * sysdeps/mach/hurd/sys/param.h: File removed.
31691
31692         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31693         last change.
31694
31695         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31696         [_IO_MTSAFE_IO].
31697         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31698         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31699         New macros.
31700
31701         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31702         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31703         rather than -D_IO_MTSAFE_IO conditionally.
31704         * stdio-common/Makefile (CPPFLAGS): Likewise.
31705         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31706         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31707         Use $(libio-mtsafe).
31708         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31709         of -D_IO_MTSAFE_IO.
31710         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31711         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31712         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31713         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31714         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31715         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31716         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31717         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31718         (CFLAGS-fread_u_chk.c): Likewise.
31719         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31720         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31721         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31722         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31723         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31724         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31725         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31726         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31727         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31728
31729         * libio/Makefile: Test [$(libc-reentrant) = yes]
31730         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31731
31732         * Makeconfig
31733         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31734         * sysdeps/pthread/configure: File removed.
31735         * sysdeps/pthread/Makeconfig: New file.
31736         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31737         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31738
31739 2012-08-16  Gary Benson  <gbenson@redhat.com>
31740
31741         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31742         unmapping the first object in a namespace.
31743
31744 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31745
31746         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31747         (__internal_setnetgrent): ... this.  Add internal_function to
31748         definition.  Add libc_hidden_def.
31749         (setnetgrent): Update caller.
31750         (internal_endnetgrent): Renamed to ...
31751         (__internal_endnetgrent): ... this.  Add internal_function to
31752         definition.  Add libc_hidden_def.
31753         (endnetgrent): Update caller.
31754         (internal_getnetgrent_r): Renamed to ...
31755         (__internal_getnetgrent_r): ... this.  Add internal_function to
31756         definition.  Add libc_hidden_def.
31757         (__getnetgrent_r): Update caller.
31758         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31759
31760 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31761
31762         * stdlib/longlong.h: Update from GCC.
31763
31764 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31765
31766         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31767         on _QL, which is set by umul_ppmm but never used.
31768         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31769         variables, which are set by GMP macros but never used.
31770         * stdio-common/_itowa.c (_itowa): Likewise.
31771         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31772         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31773
31774 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31775
31776         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31777         struct La_sh_regs is not constant.
31778         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31779         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31780         and struct La_sparc64_regs are not constant.
31781
31782 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31783
31784         * sysdeps/unix/sysv/linux/kernel-features.h
31785         (__ASSUME_POSIX_TIMERS): Remove.
31786         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31788         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31789         Make code unconditional.
31790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31791         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31792         Make code unconditional.
31793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31794         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31795         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31797         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31798         Make code unconditional.
31799         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31800         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31801         (__libc_missing_posix_timers): Remove.
31802
31803 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31804
31805         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31806         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31807
31808         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31809
31810         * elf/dl-sym.c: Include <stdlib.h>.
31811
31812         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31813         constants, which avoids warnings in 32-bit builds.
31814
31815         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31816         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31817
31818         * misc/lseek.c: File moved to ...
31819         * io/lseek.c: ... here.
31820
31821         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31822
31823         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31824         shifting LEN more than 31 bits at once.
31825
31826 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31827
31828         [BZ #14195]
31829         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31830         segmentation fault for a case of two empty input strings.
31831         * string/test-strncasecmp.c (check1): Renamed to...
31832         (bz12205): ...this.
31833         (bz14195): Add new testcase for two empty input strings and N > 0.
31834         (test_main): Call new testcase, adapt for renamed function.
31835
31836 2012-08-15  Andreas Jaeger  <aj@suse.de>
31837
31838         [BZ #14090]
31839         * crypt/md5test2.c: New test, based on test supplied by Serge
31840         Belyshev <belyshev@depni.sinp.msu.ru>.
31841         * crypt/Makefile (xtests): Add md5test-giant..
31842         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31843
31844 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31845
31846         [BZ #14090]
31847         * crypt/md5.c (md5_process_block): Don't assume the buffer
31848         length is less than 2**32.
31849         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31850         length is less than 2**64.
31851
31852 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31853
31854         * string/str-two-way.h: Include <sys/param.h>.
31855         (MAX): Macro removed.
31856
31857         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31858         Move #define and #undef of memmove to just before and after
31859         including <string.h>.
31860
31861         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31862         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31863         and after including <string.h>.  Move declarations of
31864         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31865         to before #include "string/memmove.c".
31866
31867         * include/dirent.h: Declare __getdirentries.
31868
31869         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31870         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31871
31872 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31873
31874         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31875         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31876         * sysdeps/i386/configure: Regenerated.
31877         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31878         STABS_CURRENT_FILE, and STABS_FUN.
31879         (END): Remove call to STABS_FUN_END.
31880         (STABS_CURRENT_FILE1): Delete.
31881         (STABS_CURRENT_FILE): Likewise.
31882         (STABS_FUN): Likewise.
31883         (STABS_FUN_END): Likewise.
31884         (STABS_FUN2): Likewise.
31885         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31886         * sysdeps/x86_64/configure: Regenerated.
31887
31888 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31889
31890         * elf/dl-open.c: Include <atomic.h>.
31891         * elf/dl-lookup.c: Likewise.
31892
31893 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31894
31895         * sysdeps/unix/sysv/linux/kernel-features.h
31896         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31897         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31898         unconditionally.
31899         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31900         unconditionally.
31901         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31902         condition on __ASSUME_CLONE_THREAD_FLAGS.
31903
31904 2012-08-14  Andreas Jaeger  <aj@suse.de>
31905
31906         * sysdeps/i386/fpu/libm-test-ulps: Update.
31907
31908 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31909
31910         * include/atomic.h (atomic_exchange_and_add): Split into ...
31911         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31912         New atomic macros.
31913
31914 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31915
31916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31917
31918 2012-08-13  Jeff Law <law@redhat.com>
31919
31920         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31921         null byte in the output string.
31922
31923 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31924
31925         * sysdeps/unix/sysv/linux/kernel-features.h
31926         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31927         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31928         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31929         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31930         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31931         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31932         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31933
31934 2012-08-09  Jeff Law <law@redhat.com>
31935
31936         [BZ #13939]
31937         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31938         When avoid_arena is set, don't retry in the that arena.  Pick the
31939         next one, whatever it might be.
31940         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31941         (arena_lock): Pass in new parameter to arena_get2.
31942         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31943         arena_get2.
31944         (__libc_malloc): Unify retrying after main arena failure with
31945         __libc_memalign version.
31946         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31947
31948 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31949
31950         [BZ #14166]
31951         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31952         to __redirect_strstr.
31953         (__strstr_sse42): Use typeof __redirect_strstr.
31954         (__strstr_ia32): Likewise.
31955         (__libc_strstr): New prototype.
31956         (strstr): Renamed to ...
31957         (__libc_strstr): This.
31958         (strstr): New strong alias of __libc_strstr.
31959         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31960         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31961         __redirect_time.
31962         Include <time.h>.
31963         (__libc_time): New prototype.
31964         (time_ifunc): Replace time with __libc_time.
31965         (time): New strong alias and hidden definition of __libc_time.
31966         (__GI_time): Remove strong alias.
31967         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31968         Include <stddef.h>.
31969         (memmove): Redefined to __redirect_memmove.
31970         (__memmove_sse2): Use typeof __redirect_memmove.
31971         (__memmove_ssse3): Likewise.
31972         (__memmove_ssse3_back): Likewise.
31973         (__libc_memmove): New prototype.
31974         (memmove): Renamed to ...
31975         (__libc_memmove): This.
31976         (memmove): New strong alias of __libc_memmove.
31977
31978 2012-08-08  Mark Salter  <msalter@redhat.com>
31979
31980         * elf/elf.h
31981         (R_MN10300_TLS_GD): Define.
31982         (R_MN10300_TLS_LD): Likewise.
31983         (R_MN10300_TLS_LDO): Likewise.
31984         (R_MN10300_TLS_GOTIE): Likewise.
31985         (R_MN10300_TLS_IE): Likewise.
31986         (R_MN10300_TLS_LE): Likewise.
31987         (R_MN10300_TLS_DTPMOD): Likewise.
31988         (R_MN10300_TLS_DTPOFF): Likewise.
31989         (R_MN10300_TLS_TPOFF): Likewise.
31990         (R_MN10300_SYM_DIFF): Likewise.
31991         (R_MN10300_ALIGN): Likewise.
31992         (R_MN10300_NUM): Update.
31993
31994 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31995
31996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31997         Remove.
31998
31999 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32000
32001         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32002
32003         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32004         sysdeps/unix -> sysdeps/posix move.
32005         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32006
32007 2012-08-07      Allan McRae     <allan@archlinux.org>
32008
32009         [BZ #14303]
32010         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32011         (SUNOS_CPP): Likewise.
32012         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32013         not found.
32014         (open_input): Call CPP using execvp.
32015
32016 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32017
32018         * sysdeps/unix/sysv/linux/kernel-features.h
32019         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32020         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32021         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32022         (__ASSUME_WAITID_SYSCALL): Likewise.
32023         * sysdeps/unix/sysv/linux/dl-execstack.c
32024         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32025         code unconditional.
32026         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32027         conditional code.
32028         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32029         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32030         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32031         code.
32032         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32033         unconditional.
32034         [__ASSUME_WAITID_SYSCALL]: Likewise.
32035         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32036
32037 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32038
32039         * sysdeps/unix/closedir.c: Renamed to ...
32040         * sysdeps/posix/closedir.c: ... here.
32041         * sysdeps/unix/dirfd.c: Renamed to ...
32042         * sysdeps/posix/dirfd.c: ... here.
32043         * sysdeps/unix/dirstream.h: Renamed to ...
32044         * sysdeps/posix/dirstream.h: ... here.
32045         * sysdeps/unix/fdopendir.c: Renamed to ...
32046         * sysdeps/posix/fdopendir.c: ... here.
32047         * sysdeps/unix/opendir.c: Renamed to ...
32048         * sysdeps/posix/opendir.c: ... here.
32049         * sysdeps/unix/readdir.c: Renamed to ...
32050         * sysdeps/posix/readdir.c: ... here.
32051         * sysdeps/unix/readdir_r.c: Renamed to ...
32052         * sysdeps/posix/readdir_r.c: ... here.
32053         * sysdeps/unix/rewinddir.c: Renamed to ...
32054         * sysdeps/posix/rewinddir.c: ... here.
32055         * sysdeps/unix/seekdir.c: Renamed to ...
32056         * sysdeps/posix/seekdir.c: ... here.
32057         * sysdeps/unix/telldir.c: Renamed to ...
32058         * sysdeps/posix/telldir.c: ... here.
32059         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32060         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32061         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32062         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32063
32064         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32065         * bits/fcntl.h: ... here.
32066
32067         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32068         not 0.
32069         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32070         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32071         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32072         (struct flock): Move l_start, l_len to the beginning.
32073         Use __pid_t for l_pid.
32074         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32075         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32076         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32077         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32078         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32079         [__USE_LARGEFILE64] (struct flock64): New type.
32080         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32081
32082         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32083         * bits/dirent.h: ... here.
32084
32085         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32086         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32087
32088 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32089
32090         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32091         Change from 2.6.0 to 2.6.16.
32092         * sysdeps/unix/sysv/linux/configure: Regenerated.
32093         * sysdeps/unix/sysv/linux/kernel-features.h
32094         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32095         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32096         version.
32097         (__ASSUME_UTIMES): Likewise.
32098         (__ASSUME_CLONE_STOPPED): Remove.
32099         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32100         architectures, not kernel version.
32101         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32102         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32103         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32104         (__ASSUME_WAITID_SYSCALL): Likewise.
32105         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32106         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32107         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32108         refer to older versions.
32109
32110 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32111
32112         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32113         Define alphasort64 as an alias.
32114         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32115         Define versionsort64 as an alias.
32116         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32117         Define scandir64 as an alias.
32118         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32119         Define scandirat64 as an alias.
32120         * dirent/alphasort64.c (alphasort64):
32121         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32122         * dirent/versionsort64.c: Likewise.
32123         * dirent/scandir64.c: Likewise.
32124         * dirent/scandirat64.c: Likewise.
32125         * sysdeps/wordsize-64/alphasort.c: File removed.
32126         * sysdeps/wordsize-64/alphasort64.c: File removed.
32127         * sysdeps/wordsize-64/scandir.c: File removed.
32128         * sysdeps/wordsize-64/scandir64.c: File removed.
32129         * sysdeps/wordsize-64/scandirat.c: File removed.
32130         * sysdeps/wordsize-64/scandirat64.c: File removed.
32131         * sysdeps/wordsize-64/versionsort.c: File removed.
32132         * sysdeps/wordsize-64/versionsort64.c: File removed.
32133         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32134         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32135         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32136         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32137         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32138         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32139         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32140         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32141
32142         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32144         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32146         [defined __arch64__ || defined __sparcv9]
32147         (__INO_T_MATCHES_INO64_T): New macro.
32148         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32149         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32150         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32151         * sysdeps/unix/sysv/linux/bits/dirent.h
32152         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32153         (_DIRENT_MATCHES_DIRENT64): New macro.
32154
32155         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32156         Define lockf64 as an alias.
32157         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32158         Define fseeko64 as an alias.
32159         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32160         Define ftello64 as an alias.
32161         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32162         Define _IO_fgetpos64 and fgetpos64 as aliases.
32163         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32164         Define _IO_fsetpos64 and fsetpos64 as aliases.
32165         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32166         Conditionalize body on this.
32167         * libio/fseeko64.c: Likewise.
32168         * libio/ftello64.c: Likewise.
32169         * libio/iofgetpos64.c: Likewise.
32170         * libio/iofsetpos64.c: Likewise.
32171         * sysdeps/wordsize-64/lockf.c: File removed.
32172         * sysdeps/wordsize-64/lockf64.c: File removed.
32173         * sysdeps/wordsize-64/fseeko.c: File removed.
32174         * sysdeps/wordsize-64/fseeko64.c: File removed.
32175         * sysdeps/wordsize-64/ftello.c: File removed.
32176         * sysdeps/wordsize-64/ftello64.c: File removed.
32177         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32178         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32179         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32180         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32181         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32182         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32183         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32184         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32185         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32186         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32187         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32188         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32189         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32190         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32191
32192         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32193         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32194         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32195         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32196         [defined __arch64__ || defined __sparcv9]
32197         (__OFF_T_MATCHES_OFF64_T): New macro.
32198         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32199         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32201         (__OFF_T_MATCHES_OFF64_T): New macro.
32202
32203 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32204
32205         * stdlib/secure-getenv.c (__secure_getenv): Replace
32206         GLIBC_2_16 with GLIBC_2_17.
32207
32208 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32209
32210         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32211         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32212
32213 2012-08-03  David S. Miller  <davem@davemloft.net>
32214
32215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32216
32217 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32218
32219         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32220         Remove.
32221         (__ASSUME_CORRECT_SI_PID): Likewise.
32222         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32223         (__ASSUME_TMPFS_NAME): Likewise.
32224         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32225         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32226         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32227         (HAVE_AUX_SECURE): Make definition unconditional.
32228         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32229         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32230
32231 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32232
32233         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32234         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32235         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32236         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32237         __eloop_threshold instead of SYMLOOP_MAX.
32238
32239         * sysdeps/generic/eloop-threshold.h: New file.
32240         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32241         of MAXSYMLINKS.
32242         * elf/chroot_canon.c (chroot_canon): Likewise.
32243
32244 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32245
32246         [BZ #13717]
32247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32248         Change to 2.6.0 everywhere.
32249         * sysdeps/unix/sysv/linux/configure: Regenerated.
32250         * sysdeps/unix/sysv/linux/kernel-features.h
32251         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32252         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32253         kernel versions.
32254         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32255         (__ASSUME_FUTEX_REQUEUE): Remove.
32256         (__ASSUME_STATFS64): Define unconditionally.
32257         (__ASSUME_AT_SECURE): Likewise.
32258         (__ASSUME_CORRECT_SI_PID): Likewise.
32259         (__ASSUME_TGKILL): Define without depending on kernel version for
32260         i386.
32261         (__ASSUME_UTIMES): Likewise.
32262         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32263         kernel version.
32264         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32265         (__ASSUME_TMPFS_NAME): Likewise.
32266         * README: Update reference to Linux kernel versions.
32267
32268 2012-08-02  Marek Polacek  <polacek@redhat.com>
32269
32270         [BZ# 14150]
32271         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32272         libc_cv_asm_type_prefix with %.
32273         * configure: Regenerated.
32274         * include/libc-symbols.h: Remove comment about
32275         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32276         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32277         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32278         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32279         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32280         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32281         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32282         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32283         * elf/tst-unique2mod1.c: Likewise.
32284         * elf/tst-unique1mod2.c: Likewise.
32285         * elf/tst-unique1mod1.c: Likewise.
32286         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32287         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32288         Replace ASM_TYPE_DIRECTIVE with .type.
32289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32290         * sysdeps/i386/sysdep.h: Likewise.
32291         * sysdeps/x86_64/sysdep.h: Likewise.
32292         * sysdeps/sh/sysdep.h: Likewise.
32293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32294         Do not define ASM_TYPE_DIRECTIVE.
32295         * sysdeps/powerpc/sysdep.h: Likewise.
32296         * sysdeps/powerpc/powerpc32/sysdep.h:
32297         Replace ASM_TYPE_DIRECTIVE with .type.
32298         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32299         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32300         * sysdeps/i386/fpu/e_powf.S: Likewise.
32301         * sysdeps/i386/fpu/e_expl.S: Likewise.
32302         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32303         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32304         * sysdeps/i386/fpu/e_pow.S: Likewise.
32305         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32306         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32307         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32308         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32309         * sysdeps/i386/fpu/e_log2.S: Likewise.
32310         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32311         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32312         * sysdeps/i386/fpu/e_powl.S: Likewise.
32313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32314         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32315         * sysdeps/i386/fpu/e_logl.S: Likewise.
32316         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32317         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32318         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32319         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32320         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32321         * sysdeps/i386/fpu/e_log.S: Likewise.
32322         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32323         * sysdeps/i386/fpu/e_logf.S: Likewise.
32324         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32325         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32326         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32327         * sysdeps/i386/fpu/e_log10.S: Likewise.
32328         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32330         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32331         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32332         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32333         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32334         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32335         * sysdeps/i386/i686/strtok.S: Likewise.
32336         * sysdeps/i386/i386-mcount.S: Likewise.
32337         * sysdeps/i386/strtok.S: Likewise.
32338         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32339         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32340         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32341         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32342         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32343         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32344         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32345         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32346         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32347         * sysdeps/x86_64/_mcount.S: Likewise.
32348         * sysdeps/x86_64/strtok.S: Likewise.
32349         * sysdeps/sh/_mcount.S: Likewise.
32350
32351 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32352
32353         * libio/iofopen.c: Include <fcntl.h>.
32354         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32355         (_IO_fopen64, fopen64): Define as aliases.
32356         * libio/iofopen64.c: Include <fcntl.h>.
32357         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32358         Conditionalize body on this.
32359         * sysdeps/wordsize-64/iofopen.c: File removed.
32360         * sysdeps/wordsize-64/iofopen64.c: File removed.
32361
32362 2012-08-01  Marek Polacek  <polacek@redhat.com>
32363
32364         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32365         Use dlfcn directly instead of a variable.
32366         (binfmt-subdir): Do not define.
32367         (dlfcn): Likewise.
32368
32369 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32370
32371         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32372         Remove all definitions.
32373         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32374         <kernel-features.h>.
32375         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32376         (miss_F_GETOWN_EX): Remove all definitions.
32377         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32378         macro definition.
32379         [!__ASSUME_FCNTL64]: Remove conditional code.
32380         [__ASSUME_FCNTL64]: Make code unconditional.
32381         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32382         <kernel-features.h>.
32383         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32384         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32385         (lockf64) [__NR_fcntl64]: Make code unconditional.
32386         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32387
32388         * sysdeps/unix/sysv/linux/kernel-features.h
32389         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32390         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32391         Make code unconditional.
32392         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32393         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32395         [__NR_vfork]: Make code unconditional.
32396         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32397         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32399         [__NR_vfork]: Make code unconditional.
32400         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32401         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32402
32403 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32404
32405         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32406         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32407
32408         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32409         Define mkstemp64 as an alias.
32410         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32411         Define mkstemps64 as an alias.
32412         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32413         Define mkostemp64 as an alias.
32414         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32415         Define mkostemps64 as an alias.
32416         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32417         Conditionalize body on this.
32418         * misc/mkostemp64.c: Likewise.
32419         * misc/mkostemps64.c: Likewise.
32420         * misc/mkstemps64.c: Likewise.
32421         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32422         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32423         * sysdeps/wordsize-64/mkostemp.c: File removed.
32424         * sysdeps/wordsize-64/mkstemp.c: File removed.
32425         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32426         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32427         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32428         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32429
32430         [BZ #14138]
32431         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32432         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32433         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32434         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32435
32436         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32437         compat_symbol macros from <shlib-compat.h> rather than the underlying
32438         default_symbol_version and symbol_version macros, so that DEFAULT
32439         lines in shlib-versions are respected.
32440         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32441
32442 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32443
32444         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32445         Declare with warn_unused_result.
32446         (setgid, setregid, setegid, setresgid): Likewise.
32447         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32448         Likewise.
32449         * WUR-REPORT: Remove set*id functions.
32450
32451 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32452
32453         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32454
32455 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32456
32457         [BZ #10191]
32458         * include/sys/socket.h (__libc_accept, __libc_accept4):
32459         Add attribute_hidden.
32460         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32461
32462         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32463         use of PTR_MANGLE.
32464         * inet/getnetgrent_r.c (setup): Likewise.
32465
32466         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32467
32468 2012-07-31  David S. Miller  <davem@davemloft.net>
32469
32470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32471
32472 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32473
32474         [BZ #13629]
32475         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32476         value between 1.0 and 2.0 and smaller part has absolute value less
32477         than 1.0.
32478         * math/s_clog10.c (__clog10): Likewise.
32479         * math/s_clog10f.c (__clog10f): Likewise.
32480         * math/s_clog10l.c (__clog10l): Likewise.
32481         * math/s_clogf.c (__clogf): Likewise.
32482         * math/s_clogl.c (__clogl): Likewise.
32483         * math/libm-test.inc (clog_test): Add more tests.
32484         (clog10_test): Likewise.
32485         * sysdeps/i386/fpu/libm-test-ulps: Update.
32486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32487
32488 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32489
32490         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32491         Exit with zero in case no suitable GID is found, and write a
32492         message to standard error.
32493
32494 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32495
32496         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32497         rather than to 1.
32498         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32499         (MAXPATHLEN): Removed.
32500         (NOGROUP, NODEV): New macros.
32501         (setbit, clrbit, isset, isclr): New macros.
32502         (howmany, roundup, powerof2): New macros.
32503         (DEV_BSIZE): New macro.
32504
32505         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32506         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32507
32508         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32509         definition on [!__NO_LONG_DOUBLE_MATH].
32510
32511         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32512         PTR_MANGLE and PTR_DEMANGLE.
32513
32514         * socket/accept4.c (accept4): Rename to __libc_accept4.
32515         Define accept4 as a weak alias.
32516
32517         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32518         on [_DIRENT_HAVE_D_TYPE].
32519         * io/ftw.c (ftw_dir): Likewise.
32520
32521         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32522
32523         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32524
32525         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32526         Use the BSD numbers rather than the arbitrary ones we had.
32527         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32528         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32529         (SIGXCPU, SIGXFSZ): New macros.
32530         (_NSIG): Now 32.
32531
32532         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32533         initializer on [_LIBC_REENTRANT].
32534
32535         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32536         definitions inside [_POSIX_MAPPED_FILES].
32537
32538         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32539
32540         * dirent/opendir.c: Include <fcntl.h>.
32541
32542         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32543         (__libc_getspecific): Likewise.
32544         (__libc_key_create): Likewise.
32545
32546         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32547         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32548         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32549         (tmpfile64): Define as alias.
32550         * sysdeps/wordsize-64/tmpfile.c: File removed.
32551         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32552         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32553         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32554
32555         * stdio-common/vfscanf.c: Include <stdbool.h>.
32556         * nss/makedb.c: Likewise.
32557         * stdio-common/_i18n_number.h: Likewise.
32558         * argp/argp-help.c: Likewise.
32559         * posix/wordexp.c: Likewise.
32560         * sysdeps/posix/spawni.c: Likewise.
32561         * nss/nss_files/files-initgroups.c: Likewise.
32562         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32563         * nss/nss_files/files-initgroups.c: Likewise.
32564         * nss/nss_db/db-netgrp.c: Likewise.
32565         * nss/nss_db/db-initgroups.c: Likewise.
32566         * io/fchmodat.c: Include <sys/stat.h>.
32567
32568         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32569         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32570
32571         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32572         [HAVE_MMAP].
32573
32574         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32575         Add multiple inclusion protection.
32576
32577 2012-07-27  David S. Miller  <davem@davemloft.net>
32578
32579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32580
32581 2012-07-27  Gary Benson  <gbenson@redhat.com>
32582
32583         [BZ #14298]
32584         * elf/rtld.c: Include <stap-probe.h>.
32585         (dl_main): Added static probes "init_start" and "init_complete".
32586         * elf/dl-load.c: Include <stap-probe.h>.
32587         (lose): Take new parameter "nsid".
32588         Added static probe "map_failed".
32589         (_dl_map_object_from_fd): Pass namespace id to lose.
32590         Added static probe "map_start".
32591         (open_verify): Pass namespace id to lose.
32592         * elf/dl-open.c: Include <stap-probe.h>.
32593         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32594         and "reloc_complete".
32595         * elf/dl-close.c: Include <stap-probe.h>.
32596         (_dl_close_worker): Added static probes "unmap_start" and
32597         "unmap_complete".
32598         * elf/rtld-debugger-interface.txt: New file documenting the above.
32599
32600 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32601
32602         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32603         rather than a string variable.
32604         * sunrpc/rpc_main.c (h_output): Likewise.
32605         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32606
32607 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32608
32609         * inet/check_native.c: New file.
32610
32611 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32612
32613         [BZ #13629]
32614         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32615         if larger part has absolute value 1.0.
32616         * math/s_clog10.c (__clog10): Likewise.
32617         * math/s_clog10f.c (__clog10f): Likewise.
32618         * math/s_clog10l.c (__clog10l): Likewise.
32619         * math/s_clogf.c (__clogf): Likewise.
32620         * math/s_clogl.c (__clogl): Likewise.
32621         * math/libm-test.inc (clog_test): Add more tests.
32622         (clog10_test): Likewise.
32623         * sysdeps/i386/fpu/libm-test-ulps: Update.
32624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32625
32626         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32627         (pltexit): Likewise.
32628         (La_regs): Likewise.
32629         (La_retval): Likewise.
32630         (int_retval): Likewise.
32631         Update #error for removed macros to refer only to definitions in
32632         tst-audit.h.
32633         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32634         macro.
32635         (pltexit): Likewise.
32636         (La_regs): Likewise.
32637         (La_retval): Likewise.
32638         (int_retval): Likewise.
32639         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32640         macro.
32641         (pltexit): Likewise.
32642         (La_regs): Likewise.
32643         (La_retval): Likewise.
32644         (int_retval): Likewise.
32645         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32646         macro.
32647         (pltexit): Likewise.
32648         (La_regs): Likewise.
32649         (La_retval): Likewise.
32650         (int_retval): Likewise.
32651         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32652         macro.
32653         (pltexit): Likewise.
32654         (La_regs): Likewise.
32655         (La_retval): Likewise.
32656         (int_retval): Likewise.
32657         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32658         macro.
32659         (pltexit): Likewise.
32660         (La_regs): Likewise.
32661         (La_retval): Likewise.
32662         (int_retval): Likewise.
32663         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32664         macro.
32665         (pltexit): Likewise.
32666         (La_regs): Likewise.
32667         (La_retval): Likewise.
32668         (int_retval): Likewise.
32669         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32670         macro definitions in tst-audit.h.
32671         * sysdeps/i386/tst-audit.h: New file.
32672         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32673         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32674         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32675         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32676         * sysdeps/sh/tst-audit.h: Likewise.
32677         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32678         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32679         * sysdeps/x86_64/tst-audit.h: Likewise.
32680
32681 2012-07-26  Andreas Jaeger  <aj@suse.de>
32682
32683         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32684         ptrace.
32685
32686         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32687         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32688         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32689         PTRACE_O_MASK.
32690         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32691         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32692         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32693
32694         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32695         value.
32696
32697         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32698         _sigsys.
32699         (si_call_addr, si_syscall, si_arch): Define new macro.
32700         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32701         _sigsys.
32702         (si_call_addr, si_syscall, si_arch): Define new marcro.
32703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32704         _sigsys.
32705         (si_call_addr, si_syscall, si_arch): Define new macro.
32706         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32707         _sigsys.
32708         (si_call_addr, si_syscall, si_arch): Define new macro.
32709
32710 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32711
32712         [BZ #13717]
32713         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32714         Change to 2.4.21 where previously 2.4.1.
32715         * sysdeps/unix/sysv/linux/configure: Regenerated.
32716         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32717         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32718         Linux kernel version.
32719         (__ASSUME_STD_AUXV): Remove.
32720         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32721         kernel version.
32722         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32723         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32724         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32725         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32726         (__ASSUME_NETLINK_SUPPORT): Likewise.
32727         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32728         (__no_netlink_support): Remove conditional definition.
32729         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32730         Remove.
32731         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32732         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32733         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32734         (if_nameindex_ioctl): Remove.
32735         (if_nameindex_netlink): Do not handle __no_netlink_support.
32736         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32737         code.
32738         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32739         Remove conditional code.
32740         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32741         code.
32742         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32743         unconditional.
32744         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32745         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32746         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32747         Remove.
32748         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32749         [!__ASSUME_STD_AUXV]: Remove conditional code.
32750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32751         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32752         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32754         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32755         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32756         code.
32757         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32759         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32760         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32761         conditional code.
32762         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32764         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32765         code.
32766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32767         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32768         conditional code.
32769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32770         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32771         code unconditional.
32772         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32773         conditional code.
32774         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32775         unconditional.
32776         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32777         conditional code.
32778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32779         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32780         unconditional.
32781         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32782         conditional code.
32783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32784         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32785         code unconditional.
32786         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32787         conditional code.
32788         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32789         unconditional.
32790         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32791         conditional code.
32792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32793         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32794         code unconditional.
32795         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32796         conditional code.
32797         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32798         unconditional.
32799         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32800         conditional code.
32801
32802 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32803
32804         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32805         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32806         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32807         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32808         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32809         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32810         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32811         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32812         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32813         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32814         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32815         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32816         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32817         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32818         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32819         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32820         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32821         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32822         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32824         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32825         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32826         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32827
32828 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32829
32830         * Versions.def: Add GLIBC_2.17.
32831         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32832         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32833         Introduce __libc_secure_getenv.
32834         * stdlib/Versions (2.17): Add secure_getenv
32835         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32836         * stdlib/secure-getenv.c: Rename __secure_getenv to
32837         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32838         symbol __secure_getenv for GLIBC_2.0.
32839         * stdlib/tst-secure-getenv.c: New.
32840         * stdlib/Makefile (tests): Add testcase.
32841         * manual/startup.texi (Environment Access): Document
32842         secure_getenv.
32843         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32844         __libc_secure_getenv.
32845         * inet/ruserpass.c (ruserpass): Likewise.
32846         * malloc/mtrace.c (mtrace): Likewise.
32847         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32848         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32849         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32850         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32851         HAVE_SECURE_GETENV.
32852         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32853         __secure_getenv to __libc_secure_getenv.
32854         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32856         Likewise.
32857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32858         Likewise.
32859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32861         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32866
32867 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32868
32869         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32870         (struct La_i86_retval): Likewise.
32871         (struct La_x86_64_regs): Likewise.
32872         (struct La_x86_64_retval): Likewise.
32873         (struct La_x32_regs): Likewise.
32874         (struct La_x32_retval): Likewise.
32875         (struct La_ppc32_regs): Likewise.
32876         (struct La_ppc32_retval): Likewise.
32877         (struct La_ppc64_regs): Likewise.
32878         (struct La_ppc64_retval): Likewise.
32879         (struct La_sh_regs): Likewise.
32880         (struct La_sh_retval): Likewise.
32881         (struct La_s390_32_regs): Likewise.
32882         (struct La_s390_32_retval): Likewise.
32883         (struct La_s390_64_regs): Likewise.
32884         (struct La_s390_64_retval): Likewise.
32885         (struct La_sparc32_regs): Likewise.
32886         (struct La_sparc32_retval): Likewise.
32887         (struct La_sparc64_regs): Likewise.
32888         (struct La_sparc64_retval): Likewise.
32889         (struct audit_ifaces): Remove architecture-specific pltenter and
32890         pltexit members.
32891         * sysdeps/i386/ldsodefs.h: New file.
32892         * sysdeps/powerpc/ldsodefs.h: Likewise.
32893         * sysdeps/s390/ldsodefs.h: Likewise.
32894         * sysdeps/sh/ldsodefs.h: Likewise.
32895         * sysdeps/sparc/ldsodefs.h: Likewise.
32896         * sysdeps/x86_64/ldsodefs.h: Likewise.
32897
32898 2012-07-25  Marek Polacek  <polacek@redhat.com>
32899
32900         [BZ #6808]
32901         * math/libm-test.inc (yn_test): Add another test.
32902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32903         to ERANGE when the result is +-Inf.
32904         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32905         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32906         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32907         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32908
32909 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32910
32911         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32912         equal to 0.
32913         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32914         clock_t.
32915         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32916
32917 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32918
32919         * configure.in <sysdeps resolving>: Correct printing
32920         Implies_before.
32921         * configure: Regenerate.
32922
32923 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32924
32925         * math/w_ilogb.c: Include <limits.h>.
32926         * math/w_ilogbl.c: Likewise.
32927
32928 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32929
32930         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32931         va_copy.  Document allowing for unavailable va_copy only as
32932         pre-C99 compatibility.
32933         * manual/string.texi (Copying and Concatenation): Use va_copy
32934         instead of __va_copy in concat example.
32935
32936 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32937
32938         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32939         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32940         it if not null.
32941
32942         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32943         with O_NOLINK passed to __file_name_lookup.
32944
32945         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32946         with O_NOLINK passed to __file_name_lookup.
32947
32948         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32949         negative N or less than NGIDS.
32950
32951         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32952         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32953         enough.  Use memcpy instead of strncpy.
32954
32955 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32956
32957         * elf/Makefile (check-data): Remove.
32958         (localplt.data): New vpath directive.
32959         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32960         instead of $(check-data).
32961         * scripts/data/localplt-generic.data: Move to ...
32962         * sysdeps/generic/localplt.data: ... here.
32963         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32964         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32965         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32967         ... here.
32968         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32970         ... here.
32971         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32973         ... here.
32974         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32976         ... here.
32977         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32979         ... here.
32980         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32982         ... here.
32983
32984 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32985
32986         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32987         PPC32 and PPC64 files.
32988         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32989         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32990
32991 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32992
32993         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32994         __makecontext_ret to ...
32995         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32996         ... here and call exit if uc_link is NULL.  New file.
32997         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32998         __makecontext_ret.S.
32999         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33000         __makecontext_ret to ...
33001         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33002         ... here and call exit if uc_link is NULL.  New file.
33003         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33004         __makecontext_ret.S.
33005
33006 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33007
33008         * elf/elf.h (R_390_IRELATIVE): New definition.
33009         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33010         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33011         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33012         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33013         (elf_machine_lazy_rel): Likewise.
33014         * sysdeps/s390/dl-irel.h: New file.
33015         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33016         * sysdeps/s390/s390-64/memset.S: New asm code.
33017         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33018         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33019         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33020         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33021         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33022         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33023         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33024         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33025         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33026         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33027         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33028         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33029         * sysdeps/s390/s390-32/memset.S: New asm code.
33030         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33031
33032 2012-07-17  Marek Polacek  <polacek@redhat.com>
33033
33034         [BZ #14349]
33035         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33036         * sysdeps/s390/s390-64/configure.in: Likewise.
33037         * sysdeps/sparc/configure.in: Likewise.
33038         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33039         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33040         * sysdeps/i386/configure.in: Likewise.
33041         * sysdeps/x86_64/configure.in: Likewise.
33042         * sysdeps/sh/configure.in: Likewise.
33043         * sysdeps/s390/s390-32/configure: Regenerated.
33044         * sysdeps/s390/s390-64/configure: Likewise.
33045         * sysdeps/x86_64/configure: Likewise.
33046         * sysdeps/sh/configure: Likewise.
33047         * sysdeps/powerpc/powerpc64/configure: Likewise.
33048         * sysdeps/powerpc/powerpc32/configure: Likewise.
33049         * sysdeps/sparc/configure: Likwise.
33050         * sysdeps/i386/configure: Likewise.
33051
33052         * elf/dl-open.c: Comment fixes.
33053
33054 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33055
33056         * Makefile [CXX] (check-data): Remove.
33057         [CXX] (c++-types.data): New vpath directive.
33058         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33059         vpath.  Do not allow for C++ type data being missing.
33060         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33061         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33062         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33063         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33064         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33065         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33066         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33068         ... here.
33069         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33071         ... here.
33072         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33074         ... here.
33075         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33077         ... here.
33078         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33080         ... here.
33081         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33083         ... here.
33084         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33086         ... here.
33087         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33089
33090         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33091         definitions to architecture-specific files.
33092         (TLS_IE): Likewise.
33093         (TLS_LD): Likewise.
33094         (TLS_GD): Likewise.
33095         * sysdeps/i386/tls-macros.h: New file.
33096         * sysdeps/powerpc/tls-macros.h: Likewise.
33097         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33098         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33099         * sysdeps/sh/tls-macros.h: Likewise.
33100         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33101         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33102         * sysdeps/x86_64/tls-macros.h: Likewise.
33103
33104 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33105
33106         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33107         zero value for regular exit case.
33108
33109         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33110         (__start_context): Preserve zero value for regular exit case.
33111
33112 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33113             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33114
33115         * manual/setjmp.texi (setcontext): Clarify normal process
33116         termination when uc_link is the null pointer.
33117         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33118         exit call.
33119
33120 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33121
33122         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33123         preprocessor.  Test for each exception mask separately.
33124
33125 2012-07-16  Andreas Jaeger  <aj@suse.de>
33126
33127         * po/ru.po: Update from translation team.
33128
33129 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33130
33131         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33132         equal to 0.
33133         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33134         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33135         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33136         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33137         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33138
33139 2012-07-13  Andreas Jaeger  <aj@suse.de>
33140
33141         * po/fr.po: Update from translation team.
33142
33143 2012-07-12  Marek Polacek  <polacek@redhat.com>
33144
33145         [BZ #14173]
33146         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33147         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33148         loop condition.
33149
33150 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33151
33152         [BZ #13717]
33153         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33154         Change to 2.4.1 where previously 2.4.0.
33155         * sysdeps/unix/sysv/linux/configure: Regenerated.
33156         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33157         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33158         version.
33159         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33160         (__ASSUME_AT_CLKTCK): Remove.
33161         (__ASSUME_AT_PAGESIZE): Likewise.
33162         (__ASSUME_AT_XID): Likewise.
33163         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33164         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33165         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33166         unconditionally.
33167         (HAVE_AUX_PAGESIZE): Likewise.
33168         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33169         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33170         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33171
33172 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33173
33174         [BZ #14307]
33175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33176         the temporary buffer used to invoke __gethostbyname2_r,
33177         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33178         host_data / struct gaih_addrtuple.
33179         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33180         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33181         header file nss/nsswitch.h.
33182         * nss/nsswitch.h (global scope): Add definition of implementation
33183         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33184         resolv/nss_dns/dns-host.c).
33185
33186 2012-07-11  Andreas Jaeger  <aj@suse.de>
33187
33188         * po/fr.po: Update from translation team.
33189
33190         * po/sv.po: Update from translation team
33191         * po/fr.po: Another update from translation team.
33192
33193 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33194
33195         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33196         for subnormals or multiply small sinh result by itself.
33197         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33199
33200 2012-07-11  David S. Miller  <davem@davemloft.net>
33201
33202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33203
33204 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33205
33206         [BZ #14347]
33207         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33208         (INTERNAL_MARK): Shift it here.
33209
33210 2012-07-10  Marek Polacek  <polacek@redhat.com>
33211
33212         [BZ #14151]
33213         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33214         libc_cv_asm_global_directive with .globl.
33215         * configure: Regenerated.
33216         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33217         with .globl.
33218         * sysdeps/i386/configure: Regenerated.
33219         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33220         with .globl.
33221         * sysdeps/x86_64/configure: Regenerated.
33222         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33223         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33224         * elf/tst-unique2mod2.c: Likewise.
33225         * elf/tst-unique2mod1.c: Likewise.
33226         * elf/tst-unique1mod2.c: Likewise.
33227         * elf/tst-unique1mod1.c: Likewise.
33228         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33229         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33230         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33231         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33232         * sysdeps/mach/sysdep.h: Likewise.
33233         * sysdeps/i386/sysdep.h: Likewise.
33234         * sysdeps/i386/i386-mcount.S: Likewise.
33235         * sysdeps/x86_64/_mcount.S: Likewise.
33236         * sysdeps/x86_64/sysdep.h: Likewise.
33237         * sysdeps/sh/_mcount.S: Likewise.
33238         * sysdeps/sh/sysdep.h: Likewise.
33239         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33240         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33241         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33242         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33243         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33244         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33245         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33246         * locale/localeinfo.h: Likewise.
33247         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33248         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33249
33250 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33251
33252         [BZ #14336]
33253         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33254         system".
33255         * manual/message.texi (The Uniforum approach): Likewise.
33256         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33257         (glibc iconv Implementation): Likewise.
33258
33259 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33260
33261         [BZ #14337]
33262         * math/s_clog.c (__clog): Avoid scaling a value down where that
33263         could result in underflow.
33264         * math/s_clog10.c (__clog10): Likewise.
33265         * math/s_clog10f.c (__clog10f): Likewise.
33266         * math/s_clog10l.c (__clog10l): Likewise.
33267         * math/s_clogf.c (__clogf): Likewise.
33268         * math/s_clogl.c (__clogl): Likewise.
33269         * math/libm-test.inc (clog_test): Add more tests.
33270         (clog10_test): Likewise.
33271         * sysdeps/i386/fpu/libm-test-ulps: Update.
33272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33273
33274 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33275
33276         [BZ #14283]
33277         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33278         by 7 not 8 to examine high bit of fractional part.
33279
33280         [BZ #14042]
33281         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33282         for call to __mcount_internal.
33283         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33284         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33285         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33286
33287 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33288
33289         [BZ #14154]
33290         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33291         approximation for values within 0x1p-13f of an odd multiple of
33292         pi/4.
33293         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33294         exception.  Add more tests.
33295         * sysdeps/i386/fpu/libm-test-ulps: Update.
33296
33297         [BZ #6778]
33298         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33299         inputs and return -1 for them.  Do not check for +Inf in case not
33300         reachable for +Inf.
33301         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33302         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33303         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33304         and return -1 for them.  Do not check for +Inf in case not
33305         reachable for +Inf.
33306         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33307         define.
33308         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33309         and return -1 for them.  Do not check for +Inf in case not
33310         reachable for +Inf.
33311         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33312         spurious underflow.
33313         * sysdeps/i386/fpu/libm-test-ulps: Update.
33314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33315
33316 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33317
33318         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33319
33320 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33321
33322         [BZ #14157]
33323         [BZ #14331]
33324         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33325         could result in spurious underflow.  Scale down values above
33326         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33327         * math/s_csqrtf.c (__csqrtf): Likewise.
33328         * math/s_csqrtl.c (__csqrtl): Likewise.
33329         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33330         spurious underflow.
33331         * sysdeps/i386/fpu/libm-test-ulps: Update.
33332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33333
33334 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33335
33336         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33337         xopen-msg.sed.
33338         * catgets/xopen-msg.awk: New file.
33339         * catgets/xopen-msg.sed: Removed.
33340
33341         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33342         po2text.sed.
33343         * intl/po2test.awk: New file.
33344         * intl/po2test.sed: Removed.
33345
33346 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33347
33348         [BZ #14328]
33349         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33350         or multiply small sinh result by itself.
33351         * math/s_ctanf.c (__ctanf): Likewise.
33352         * math/s_ctanh.c (__ctanh): Likewise.
33353         * math/s_ctanhf.c (__ctanhf): Likewise.
33354         * math/s_ctanhl.c (__ctanhl): Likewise.
33355         * math/s_ctanl.c (__ctanl): Likewise.
33356         * math/libm-test.inc (ctan_test_tonearest): New function.
33357         (ctan_test_towardzero): Likewise.
33358         (ctan_test_downward): Likewise.
33359         (ctan_test_upward): Likewise.
33360         (ctanh_test_tonearest): Likewise.
33361         (ctanh_test_towardzero): Likewise.
33362         (ctanh_test_downward): Likewise.
33363         (ctanh_test_upward): Likewise.
33364         (main): Call these new functions.
33365         * sysdeps/i386/fpu/libm-test-ulps: Update.
33366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33367
33368 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33369
33370         * .gitignore: Delete /ports entry.
33371
33372 2012-07-03  Andreas Jaeger  <aj@suse.de>
33373
33374         * po/bg.po: Update from translation team.
33375         * po/cs.po: Likewise.
33376         * po/de.po: Likewise.
33377         * po/hr.po: Likewise.
33378         * po/nl.pl: Likewise.
33379         * po/pl.po: Likewise.
33380         * po/vi.po: Likewise.
33381
33382 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33383
33384         * Makeconfig [!+link] (+link-before-libc): New variable.
33385         [!+link] (+link-after-libc): Likewise.
33386         [!+link] (+link-tests): Likewise.
33387         [!+link] (+link): Define in terms of $(+link-before-libc) and
33388         $(+link-after-libc).
33389         [!+link-static] (+link-static-before-libc): New variable.
33390         [!+link-static] (+link-static-after-libc): Likewise.
33391         [!+link-static] (+link-static-tests): Likewise.
33392         [!+link-static] (+link-static): Define in terms of
33393         $(+link-static-before-libc) and $(+link-static-after-libc).
33394         [build-shared] (link-libc-before-gnulib): New variable.
33395         [build-shared] (link-libc-tests): Likewise.
33396         [build-shared] (link-libc): Define in terms of
33397         $(link-libc-before-gnulib).
33398         [!build-shared] (link-libc-tests): New variable.
33399         (link-libc-static-tests): New variable.
33400         [!gnulib] (gnulib-arch): New variable.
33401         [!gnulib] (gnulib-tests): Likewise.
33402         [!gnulib] (static-gnulib-arch): Likewise.
33403         [!gnulib] (static-gnulib-tests): Likewise.
33404         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33405         Define with "=" instead of ":=".
33406         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33407         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33408         * Rules (binaries-all-notests): New variable.
33409         (binaries-all-tests): Likewise.
33410         (binaries-static-notests): Likewise.
33411         (binaries-static-tests): Likewise.
33412         (binaries-all): Define using $(binaries-all-notests) and
33413         $(binaries-all-tests).
33414         (binaries-static): Define using $(binaries-static-notests) and
33415         $(binaries-static-tests).
33416         (binaries-shared-tests): New variable.
33417         (binaries-shared-notests): Likewise.
33418         (binaries-shared): Remove variable.
33419         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33420         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33421         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33422         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33423         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33424         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33425         * elf/Makefile (sln-modules): New variable.
33426         (extra-objs): Add $(sln-modules:=.o).
33427         (ldconfig-modules): Add static-stubs.
33428         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33429         * elf/static-stubs.c: New file.
33430
33431         [BZ #14283]
33432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33433         by 7 not 8 to examine high bit of fractional part.  Use volatile
33434         variables when splitting into final array of floats if
33435         __FLT_EVAL_METHOD__ != 0.
33436         * math/libm-test.inc (cos_test): Add another test.
33437         (sin_test): Likewise.
33438         * sysdeps/i386/fpu/libm-test-ulps: Update.
33439
33440         [BZ #14273]
33441         * math/libm-test.inc (cosh_test): Add more tests.
33442
33443         * version.h (RELEASE): Set to "development".
33444         (VERSION): Set to "2.16.90".
33445
33446 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33447
33448         * NEWS: Update copyright. Remove last-updated date.
33449         Mention math library bug fixes and timezone data changes.
33450         * README: Mention GNU/Hurd, x32, and HPPA support status.
33451
33452 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33453
33454         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33455
33456 2012-06-27  Andreas Jaeger  <aj@suse.de>
33457
33458         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33459
33460 2012-06-25  Andreas Jaeger  <aj@suse.de>
33461
33462         * sysdeps/s390/fpu/libm-test-ulps: Update.
33463
33464 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33465             Thomas Schwinge  <thomas@codesourcery.com>
33466
33467         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33468         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33469         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33470         fanotify_mark.
33471
33472 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33473
33474         * sysdeps/mach/start.c: Remove file.
33475         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33476         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33477         * sysdeps/sh/init-first.c: Likewise.
33478
33479         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33480         registers for frame unwinding purposes, add CFI directives.
33481         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33482         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33483         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33484         Likewise.
33485
33486         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33487         __fortify_fail returning.
33488         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33489
33490         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33491         sysdeps/sh/____longjmp_chk.S.
33492         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33493         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33494         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33495         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33496
33497         * sysdeps/sh/abort-instr.h: New file.
33498         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33499         process in case exit returns.
33500
33501         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33502         initialize the GOT register before use.
33503
33504         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33505         calculation of ARGC > 4.
33506
33507         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33508         meaningful names to some local labels.
33509
33510 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33511             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33512
33513         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33514         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33515         (__arch_compare_and_exchange_val_16_acq): Likewise.
33516         (__arch_compare_and_exchange_val_32_acq): Likewise.
33517         (atomic_exchange_and_add): Fix gUSA sequence.
33518         (atomic_add): Likewise.
33519         (atomic_add_negative): Likewise.
33520         (atomic_add_zero): Likewise.
33521         (atomic_bit_test_set): Likewise.
33522
33523 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33524
33525         [BZ #13579]
33526         * include/link.h (struct link_map): Add l_free_initfini.
33527         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33528         l_initfini.
33529         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33530         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33531         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33532         set.
33533
33534 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33535
33536         * configure.in: Use AC_LANG_SOURCE.
33537         * configure: Regenerate.
33538
33539 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33540
33541         * configure.in (libc_cv_localstatedir): New substituted variable.
33542         * configure: Regenerated.
33543         * config.make.in (localstatedir): New variable, substituted from
33544         libc_cv_localstatedir.
33545         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33546         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33547         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33548         * sysdeps/gnu/configure: Regenerated.
33549
33550 2012-06-21  Jeff Law  <law@redhat.com>
33551
33552         [BZ #14277]
33553         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33554         free.  Simplify list management for _LIBC case.
33555
33556 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33557
33558         [BZ #14273]
33559         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33560         Clear sign bit of 64-bit integer value before comparing against
33561         overflow value.
33562
33563         * sysdeps/mach/configure: Regenerated.
33564
33565 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33566
33567         [BZ #14278]
33568         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33569
33570 2012-06-21  Jeff Law  <law@redhat.com>
33571
33572         [BZ #13882]
33573         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33574         uint16_t for elements in the "seen" array to avoid char overflows.
33575         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33576         * elf/dl-open.c (dl_open_worker): Likewise.
33577
33578 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33579
33580         * scripts/list-sources.sh: Scan PORTS for translations.
33581         * po/libc.pot: Regenerated.
33582
33583 2012-06-21  Andreas Jaeger  <aj@suse.de>
33584
33585         [BZ #12194]
33586         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33587         warning.
33588         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33589         * bits/byteswap-16.h (__bswap_16): Likewise.
33590         * bits/byteswap.h (__bswap_constant_16): Likewise.
33591
33592 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33593
33594         [BZ #14117]
33595         * sysdeps/i386/fpu_control.h: Removed.
33596         * sysdeps/x86_64/fpu_control.h: Moved to ...
33597         * sysdeps/x86/fpu_control.h: Here.
33598
33599         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33600         (_FPU_SETCW): Likewise.
33601
33602 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33603
33604         [BZ #14117]
33605         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33606         * sysdeps/x86/fpu/bits/mathinline.h: This.
33607         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33608
33609         [BZ #14050]
33610         [BZ #14117]
33611         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33612         functions if __x86_64__ is defined.
33613
33614 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33615
33616         * string/endian.h: Add !__ASSEMBLER__ condition for including
33617         conversion interfaces.
33618
33619 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33620
33621         [BZ #14241]
33622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33623         of ABS(x) in calculating zero to negative powers other than odd
33624         integers.
33625         * math/libm-test.inc (pow_test): Add more tests.
33626
33627 2012-06-15  Andreas Jaeger  <aj@suse.de>
33628
33629         * manual/contrib.texi (Contributors): Update entry of Liubov
33630         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33631         Machado Filho.
33632
33633 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33634
33635         * string/string.h: Add __wur to GNU version of strerror_r.
33636
33637 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33638
33639         [BZ #14229]
33640         * string/Makefile (tests): Add tst-strtok_r.
33641         * string/tst-strtok_r.c: New file.
33642         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33643         RAX_LP/RDX_LP on SAVE_PTR.
33644
33645 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33646
33647         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33648
33649 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33650
33651         * libm_test.inc (csqrt_test): Allow more spurious underflow
33652         exceptions.
33653         (j0_test): Likewise.
33654         (j1_test): Likewise.
33655         (y0_test): Likewise.
33656         (y1_test): Likewise.
33657
33658 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33659
33660         * po/Makefile (libc.pot): Use UTF-8 charset.
33661
33662 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33663
33664         [BZ #14210]
33665         Suppress sign-conversion warning from FD_SET.
33666         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33667         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33668         not unsigned long int.
33669         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33670
33671 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33672
33673         [BZ #14050]
33674         [BZ #14117]
33675         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33676         __extern_always_inline instead of __extern_inline.
33677         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33678         (__signbit): Likewise.
33679         (__signbitl): Support C++ namespace.
33680         (lrintf): New inline function.
33681         (lrint): Likewise.
33682         (llrintf): Likewise.
33683         (llrint): Likewise.
33684         (fmaxf): Likewise.
33685         (fmax): Likewise.
33686         (fminf): Likewise.
33687         (fmin): Likewise.
33688         (rint): Likewise.
33689         (rintf): Likewise.
33690         (ceil): Likewise.
33691         (ceilf): Likewise.
33692         (floor): Likewise.
33693         (floorf): Likewise.
33694         (nearbyint): Likewise.
33695         (nearbyintf): Likewise.
33696
33697 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33698
33699         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33700         non-default versions.
33701
33702 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33703
33704         [BZ #14218]
33705         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33706
33707 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33708
33709         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33710         (FE_UPWARD, FE_DOWNWARD): Don't define.
33711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33712         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33713
33714         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33715         reading it.
33716         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33717         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33718
33719 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33720
33721         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33722         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33723         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33724         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33725
33726 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33727
33728         [BZ #14117]
33729         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33730         * sysdeps/i386/fpu/Implies: New file.
33731         * sysdeps/x86_64/fpu/Implies: Likewise.
33732         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33733         * sysdeps/x86/fpu/bits/fenv.h: This.
33734
33735         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33736         __SSE_MATH__.
33737
33738 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33739
33740         [BZ #14134]
33741         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33742         character 0xffff that matches the last element of the
33743         conversion table.
33744
33745 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33746
33747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33748         fmodl commit.
33749
33750 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33751
33752         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33753         values higher than 25.6283.
33754
33755 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33756
33757         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33758         subnormal exponent extraction and add some __builtin_expect.
33759         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33760         Fix for subnormal mantissa calculation.
33761
33762 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33763
33764         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33765         cpu2 is -1 and errno is not ENOSYS.
33766
33767 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33768
33769         [BZ #14117]
33770         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33771         * sysdeps/x86/bits/string.h: This.
33772         * sysdeps/x86_64/bits/string.h: Removed.
33773
33774         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33775         if not compiling for x86-64, but compiling for >= i486.
33776
33777         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33778         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33779
33780         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33781         New macro from Linux kernel 3.4.0.
33782         (FP_XSTATE_MAGIC2): Likewise.
33783         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33784         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33785         (struct _fpx_sw_bytes): New struct.
33786         (struct _xsave_hdr): Likewise.
33787         (struct _ymmh_state): Likewise.
33788         (struct _xstate): Likewise.
33789
33790         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33791         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33793         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33794         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33795         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33796
33797         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33798         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33799         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33800         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33801         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33802         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33803
33804 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33805
33806         [BZ #13743]
33807         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33808         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33809         (sysdep_headers): Include sys/platform/ppc.h.
33810         * sysdeps/powerpc/test-gettimebase.c: Test for
33811         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33812         * manual/Makefile (appendices): Include platform.texi.
33813         * manual/contrib.texi (Contributors): Update @node pointers.
33814         * manual/maint.texi (Maintenance): Likewise.
33815         (Platform): New node.
33816         * manual/platform.texi: New file.  Document the new features.
33817
33818 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33819             Jakub Jelinek  <jakub@redhat.com>
33820
33821         [BZ #14188]
33822         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33823         where __builtin_expect is unavailable.
33824
33825 2012-06-03  David S. Miller  <davem@davemloft.net>
33826
33827         * stdlib/longlong.h: Updated from GCC.
33828
33829 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33830
33831         [BZ #14042]
33832         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33833         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33834         __mcount_internal.
33835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33836         (GLIBC_2.16): Likewise.
33837
33838 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33839
33840         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33841
33842 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33843
33844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33845         (default-abi): New variable.
33846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33847         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33848         variable.
33849         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33850         Likewise.
33851         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33852         Likewise.
33853         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33854         Likewise.
33855
33856         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33857         definition.  Document in comment.
33858
33859 2012-06-01  David S. Miller  <davem@davemloft.net>
33860
33861         * stdlib/longlong.h: Updated from GCC.
33862
33863 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33864
33865         [BZ #14117]
33866         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33867         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33868         sys/debugreg.h sys/io.h here.
33869         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33870         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33871         sys/io.h.
33872         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33873         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33874         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33875         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33876         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33877         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33878
33879         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33880         Define only if __x86_64__ is defined.
33881
33882 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33883
33884         [BZ #14048]
33885         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33886         Use int64_t for variable i.
33887         * math/libm-test.inc (fmod_test): Add more tests.
33888
33889         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33890         z computation is not scheduled after fetestexcept.
33891         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33892         Use math_force_eval instead of asm to ensure calculation scheduled
33893         before exception test.
33894         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33895         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33896
33897 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33898
33899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33900         computation is not scheduled after fetestexcept.
33901
33902 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33903
33904         [BZ #14117]
33905         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33906         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33907
33908 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33909
33910         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33911         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33912
33913 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33914
33915         [BZ #14117]
33916         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33917         <bits/wordsize.h>.
33918         (__WCHAR_MIN): Support __WORDSIZE == 64.
33919         (__WCHAR_MAX): Likewise.
33920
33921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33922         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33923
33924         [BZ #14183]
33925         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33926         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33927
33928         [BZ #14117]
33929         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33930         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33931
33932         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33933         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33934
33935         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33936         Defined to 1 if __x86_64__ isn't defined.
33937         (_STAT_VER_LINUX_OLD): New.
33938         (st_atime): Remove duplicate.
33939         (st_mtime): Likewise.
33940         (st_ctime): Likewise.
33941
33942 2012-05-31  David S. Miller  <davem@davemloft.net>
33943
33944         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33945         entries.
33946
33947 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33948
33949         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33950         gen-libm-test.pl.
33951
33952         [BZ #14132]
33953         * elf/dl-reloc.c: Include <_itoa.h>.
33954         (_dl_reloc_bad_type): Remove use of INTUSE.
33955         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33956         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33957         * stdio-common/psiginfo.c (psiginfo): Likewise.
33958         * stdio-common/psignal.c (psignal): Likewise.
33959         * string/strsignal.c (strsignal): Likewise.
33960         * include/signal.h (_sys_siglist): Declare hidden proto.
33961         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33962         INTVARDEF with libc_hidden_data_def.
33963         * stdio-common/itoa-udigits.c: Likewise.
33964         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33965         (_itoa_lower_digits_internal): Remove declaration.
33966         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33967         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33968         (_sys_sigabbrev_internal): Remove aliases.
33969         (_sys_siglist): Define hidden alias.
33970
33971 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33972
33973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33974         bits/sysctl.h.
33975
33976 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33977
33978         [BZ #14117]
33979         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33980         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33981
33982         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33983         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33984         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33985         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33986         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33987         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33988
33989         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33990         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33991         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33992
33993         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33994         with __addr.
33995         (insw): Likewise.
33996         (insl): Likewise.
33997         (outsb): Likewise.
33998         (outsw): Likewise.
33999         (outsl): Likewise.
34000
34001         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34003         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34004
34005         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34006         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34007         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34008         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34009         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34010         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34011
34012         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34013         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34014
34015         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34016         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34017
34018         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34019         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34020         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34021
34022         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34023         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34024         to ...
34025         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34026
34027         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34028         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34029         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34030
34031         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34032         for x86-64.
34033         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34034
34035 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34036
34037         * math/math.h (M_El): Use two more decimal places.
34038         (M_LOG2El): Likewise.
34039         (M_LOG10El): Likewise.
34040         (M_LN2l): Likewise.
34041         (M_LN10l): Likewise.
34042         (M_PIl): Likewise.
34043         (M_PI_2l): Likewise.
34044         (M_PI_4l): Likewise.
34045         (M_1_PIl): Likewise.
34046         (M_2_PIl): Likewise.
34047         (M_2_SQRTPIl): Likewise.
34048         (M_SQRT2l): Likewise.
34049         (M_SQRT1_2l): Likewise.
34050
34051 2012-05-31  David S. Miller  <davem@davemloft.net>
34052
34053         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34054         values between float registers.
34055         * sysdeps/sparc/sparc64/memset.S: Likewise.
34056         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34057
34058 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34059
34060         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34061         -D_FORTIFY_SOURCE=1.
34062         (CPPFLAGS-tst-longjmp_chk.c): Define.
34063         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34064         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34065         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34066         CFLAGS-tst-wchar-h.c.
34067
34068 2012-05-31  Marek Polacek  <polacek@redhat.com>
34069
34070         [BZ #14132]
34071         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34072         __endmntent_internal): Remove declaration.
34073         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34074         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34075         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34076
34077 2012-05-30  David S. Miller  <davem@davemloft.net>
34078
34079         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34080         (___Q_simulate_exceptions): Use real FP ops rather than writing
34081         into the %fsr.
34082         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34083         Likewise.
34084
34085 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34086
34087         [BZ #14117]
34088         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34089         * sysdeps/x86/bits/xtitypes.h: This.
34090
34091         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34092         * sysdeps/x86/bits/wordsize.h: This.
34093
34094         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34095         * sysdeps/x86/bits/huge_vall.h: This.
34096
34097         * sysdeps/i386/bits/select.h: Removed.
34098         * sysdeps/x86_64/bits/select.h: Renamed to ...
34099         * sysdeps/x86/bits/select.h: This.
34100
34101         * sysdeps/i386/bits/setjmp.h: Removed.
34102         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34103         * sysdeps/x86/bits/setjmp.h: This.
34104
34105         * sysdeps/i386/bits/mathdef.h: Removed.
34106         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34107         * sysdeps/x86/bits/mathdef.h: This.
34108
34109 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34110
34111         [BZ #14132]
34112         * include/sys/socket.h (__connect_internal)
34113         (__libc_sa_len_internal): Remove declaration.
34114         (__connect, __libc_sa_len): Declare hidden_proto.
34115         (SA_LEN): Remove use of INTUSE.
34116         * socket/connect.c: Add libc_hidden_def.
34117         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34118         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34119         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34120         alias.
34121         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34122         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34123         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34124         of adding _internal alias.
34125
34126 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34127
34128         [BZ #14117]
34129         * sysdeps/i386/bits/link.h: Removed.
34130         * sysdeps/i386/bits/linkmap.h: Likewise.
34131         * sysdeps/x86_64/bits/link.h: Renamed to ...
34132         * sysdeps/x86/bits/link.h: This.
34133         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34134         * sysdeps/x86/bits/linkmap.h: This.
34135
34136         * sysdeps/i386/bits/endian.h: Removed.
34137         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34138         * sysdeps/x86/bits/endian.h: This.
34139
34140         * sysdeps/i386/bits/byteswap.h: Removed.
34141         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34142         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34143         * sysdeps/x86/bits/byteswap.h: This.
34144         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34145         * sysdeps/x86/bits/byteswap-16.h: This.
34146         * sysdeps/i386/Implies: Add x86.
34147         * sysdeps/x86_64/Implies: Likewise.
34148
34149 2012-05-30  David S. Miller  <davem@davemloft.net>
34150
34151         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34152         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34153         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34154         (FP_TRAPPING_EXCEPTIONS): Define.
34155         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34156         (FP_TRAPPING_EXCEPTIONS): Define.
34157         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34158         subnormals only when inexact has been signalled or underflow
34159         exceptions are enabled.
34160         (_FP_PACK_CANONICAL): Likewise.
34161
34162 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34163
34164         [BZ #14183]
34165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34166         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34167
34168 2012-05-30  Richard Henderson  <rth@twiddle.net>
34169
34170         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34171         with #ifndef NOT_IN_libc.
34172
34173         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34174         marked to avoid plt entry.
34175
34176 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34177
34178         [BZ #14112]
34179         * Makeconfig (default-abi): New macro.
34180         (abi-includes): Likewise.
34181         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34182         $(abi-$(default-abi)-lib-soname) for soname if defined.
34183         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34184         abi-variants.
34185         * Makefile (installed-stubs): Likewise.
34186         * include/stubs-biarch.h: Removed.
34187         * scripts/lib-names.awk: Only handle one library at a time.
34188         * scripts/soversions.awk: Remove WORDSIZE support.
34189         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34190         entries.
34191         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34192         Removed.
34193         (syscall-list-default-condition): Likewise.
34194         (syscall-list-default-condition): Likewise.
34195         (syscall-list-includes): Likewise.
34196         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34197         syscall-list-* with abi-*.  Handle undefined abi-variants.
34198         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34199         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34200         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34201         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34202         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34203         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34204         Removed.
34205         (syscall-list-32-options): Likewise.
34206         (syscall-list-32-condition): Likewise.
34207         (syscall-list-64-options): Likewise.
34208         (syscall-list-64-condition): Likewise.
34209         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34210         macro.
34211         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34212         Renamed to ...
34213         (abi-*): This.
34214         (abi-64-ld-soname): New macro.
34215         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34216         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34217         Renamed to ...
34218         (abi-*): This.
34219         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34220         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34221
34222 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34223
34224         * sysdeps/unix/sysv/linux/kernel-features.h
34225         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34226         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34227         include <kernel-features.h>.
34228         [!__NR_ftruncate64]: Remove conditional code.
34229         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34230         [__NR_ftruncate64]: Make code unconditional.
34231         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34232         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34233         include <kernel-features.h>.
34234         [!__NR_ftruncate64]: Remove conditional code.
34235         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34236         [__NR_ftruncate64]: Make code unconditional.
34237         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34239         include <kernel-features.h>.
34240         [!__NR_ftruncate64]: Remove conditional code.
34241         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34242         [__NR_ftruncate64]: Make code unconditional.
34243         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34245         include <kernel-features.h>.
34246         [!__NR_ftruncate64]: Remove conditional code.
34247         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34248         [__NR_ftruncate64]: Make code unconditional.
34249         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34250
34251         * configure.in (libc_cv_fpie): Weaken to a compile test using
34252         LIBC_TRY_CC_OPTION.
34253         * configure: Regenerated.
34254
34255 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34256
34257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34261         Refreshed.
34262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34268         Refreshed.
34269
34270 2012-05-27  David S. Miller  <davem@davemloft.net>
34271
34272         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34273         (___Q_zero): New.
34274         (__Q_simulate_exceptions): Return void.  Change to simulate
34275         exceptions by writing into the %fsr.
34276         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34277         (__Qp_handle_exceptions): Likewise.
34278         (numbers): Delete.
34279         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34280         __Qp_handle_exceptions.
34281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34282         __Qp_handle_exceptions.
34283         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34284         as unused and give dummy FP_RND_NEAREST initializer.
34285         (FP_INHIBIT_RESULTS): Define.
34286         (___Q_simulate_exceptions): Update declaration.
34287         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34288         formatting.
34289         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34290         as unused and give dummy FP_RND_NEAREST initializer.
34291         (__Qp_handle_exceptions): Update declaration.
34292         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34293         formatting.
34294
34295 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34296
34297         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34298         the temporary FPU control word.
34299         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34300         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34301         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34302         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34303         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34304         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34305         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34306         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34307         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34308         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34309         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34310
34311 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34312
34313         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34314         fields.
34315
34316 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34317
34318         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34319         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34320         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34321         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34322         Likewise.
34323         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34324         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34325         Likewise.
34326
34327 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34328
34329         * po/h.po: Update from translation team.
34330
34331 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34332
34333         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34334
34335         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34336         handling of denormals.
34337         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34338         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34339         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34340         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34341         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34344         Likewise.
34345
34346 2012-05-26  Marek Polacek  <polacek@redhat.com>
34347
34348         [BZ #14152]
34349         * math/libm-test.inc (fma_test): Don't always expect underflow
34350         exception.
34351
34352 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34353
34354         [BZ #12416]
34355         * elf/tst-execstack.c: Include stackinfo.h.
34356         (do_test): Adjust test case to ensure that pthread_getattr_np
34357         behaviour remains the same after marking stack executable.
34358
34359 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34360
34361         * sysdeps/unix/sysv/linux/kernel-features.h
34362         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34363         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34364         kernel-features.h.
34365         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34366         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34367         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34368         kernel-features.h.
34369         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34370         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34371
34372 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34373
34374         * configure.in: Define the default includes to being none.
34375         * configure: Regenerated.
34376
34377 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34378
34379         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34380         * sysdeps/x86_64/setjmp.S: Likewise.
34381         * sysdeps/i386/bsd-setjmp.S: Likewise.
34382         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34383         * sysdeps/i386/setjmp.S: Likewise.
34384         * sysdeps/i386/__longjmp.S: Likewise.
34385         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34386         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34387
34388         * include/stap-probe.h: New file.
34389         * configure.in: Handle --enable-systemtap.
34390         * configure: Regenerated.
34391         * config.h.in (USE_STAP_PROBE): New #undef.
34392         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34393         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34394         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34395
34396 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34397
34398         [BZ #13717]
34399         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34400         to 2.4.0 where earlier.
34401         * sysdeps/unix/sysv/linux/configure: Regenerated.
34402         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34403         <kernel-features.h>.
34404         [__ASSUME_32BITUIDS]: Make code unconditional.
34405         [!__ASSUME_32BITUIDS]: Remove conditional code.
34406         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34407         <kernel-features.h>.
34408         [__ASSUME_32BITUIDS]: Make code unconditional.
34409         [!__ASSUME_32BITUIDS]: Remove conditional code.
34410         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34411         [__ASSUME_32BITUIDS]: Make code unconditional.
34412         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34413         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34414         <kernel-features.h>.
34415         [__ASSUME_32BITUIDS]: Make code unconditional.
34416         [!__ASSUME_32BITUIDS]: Remove conditional code.
34417         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34418         <kernel-features.h>.
34419         [__ASSUME_32BITUIDS]: Make code unconditional.
34420         [!__ASSUME_32BITUIDS]: Remove conditional code.
34421         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34422         <kernel-features.h>.
34423         [__ASSUME_32BITUIDS]: Make code unconditional.
34424         [!__ASSUME_32BITUIDS]: Remove conditional code.
34425         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34426         <kernel-features.h>.
34427         [__ASSUME_32BITUIDS]: Make code unconditional.
34428         [!__ASSUME_32BITUIDS]: Remove conditional code.
34429         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34430         <kernel-features.h>.
34431         [__ASSUME_32BITUIDS]: Make code unconditional.
34432         [!__ASSUME_32BITUIDS]: Remove conditional code.
34433         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34434         <kernel-features.h>.
34435         [__ASSUME_32BITUIDS]: Make code unconditional.
34436         [!__ASSUME_32BITUIDS]: Remove conditional code.
34437         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34438         <kernel-features.h>.
34439         [__ASSUME_32BITUIDS]: Make code unconditional.
34440         [!__ASSUME_32BITUIDS]: Remove conditional code.
34441         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34442         <kernel-features.h>.
34443         [__ASSUME_32BITUIDS]: Make code unconditional.
34444         [!__ASSUME_32BITUIDS]: Remove conditional code.
34445         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34446         <kernel-features.h>.
34447         [__ASSUME_32BITUIDS]: Make code unconditional.
34448         [!__ASSUME_32BITUIDS]: Remove conditional code.
34449         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34450         <kernel-features.h>.
34451         [__ASSUME_32BITUIDS]: Make code unconditional.
34452         [!__ASSUME_32BITUIDS]: Remove conditional code.
34453         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34454         <kernel-features.h>.
34455         [__NR_setresgid] (__setresgid): Do not declare.
34456         [__ASSUME_32BITUIDS]: Make code unconditional.
34457         [!__ASSUME_32BITUIDS]: Remove conditional code.
34458         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34459         <kernel-features.h>.
34460         [__NR_setresuid] (__setresuid): Do not declare.
34461         [__ASSUME_32BITUIDS]: Make code unconditional.
34462         [!__ASSUME_32BITUIDS]: Remove conditional code.
34463         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34464         <kernel-features.h>.
34465         [__ASSUME_32BITUIDS]: Make code unconditional.
34466         [!__ASSUME_32BITUIDS]: Remove conditional code.
34467         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34468         <kernel-features.h>.
34469         [__ASSUME_32BITUIDS]: Make code unconditional.
34470         [!__ASSUME_32BITUIDS]: Remove conditional code.
34471         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34472         <kernel-features.h>.
34473         [__ASSUME_32BITUIDS]: Make code unconditional.
34474         [!__ASSUME_32BITUIDS]: Remove conditional code.
34475         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34476         <kernel-features.h>.
34477         [__ASSUME_32BITUIDS]: Make code unconditional.
34478         [!__ASSUME_32BITUIDS]: Remove conditional code.
34479         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34480         <kernel-features.h>.
34481         [__ASSUME_32BITUIDS]: Make code unconditional.
34482         [!__ASSUME_32BITUIDS]: Remove conditional code.
34483         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34484         <kernel-features.h>.
34485         [__ASSUME_32BITUIDS]: Make code unconditional.
34486         [!__ASSUME_32BITUIDS]: Remove conditional code.
34487         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34488         <kernel-features.h>.
34489         [__ASSUME_32BITUIDS]: Make code unconditional.
34490         [!__ASSUME_32BITUIDS]: Remove conditional code.
34491         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34492         <kernel-features.h>.
34493         [__ASSUME_32BITUIDS]: Make code unconditional.
34494         [!__ASSUME_32BITUIDS]: Remove conditional code.
34495         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34496         <kernel-features.h>.
34497         [__ASSUME_32BITUIDS]: Make code unconditional.
34498         [!__ASSUME_32BITUIDS]: Remove conditional code.
34499         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34500         <kernel-features.h>.
34501         [__ASSUME_32BITUIDS]: Make code unconditional.
34502         [!__ASSUME_32BITUIDS]: Remove conditional code.
34503         * sysdeps/unix/sysv/linux/kernel-features.h
34504         (__ASSUME_SETRESUID_SYSCALL): Remove.
34505         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34506         (__ASSUME_32BITUIDS): Likewise.
34507         (__ASSUME_LDT_WORKS): Likewise.
34508         (__ASSUME_O_DIRECTORY): Likewise.
34509         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34510         architecture but not kernel version.
34511         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34512         (__ASSUME_MMAP2_SYSCALL): Likewise.
34513         (__ASSUME_STAT64_SYSCALL): Likewise.
34514         (__ASSUME_IPC64): Likewise.
34515         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34516         <kernel-features.h>.
34517         [__ASSUME_32BITUIDS]: Make code unconditional.
34518         [!__ASSUME_32BITUIDS]: Remove conditional code.
34519         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34520         <kernel-features.h>.
34521         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34522         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34523         132096]: Remove conditional code.
34524         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34525         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34526         <kernel-features.h>.
34527         [__ASSUME_32BITUIDS]: Make code unconditional.
34528         [!__ASSUME_32BITUIDS]: Remove conditional code.
34529         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34530         <kernel-features.h>.
34531         [__ASSUME_32BITUIDS]: Make code unconditional.
34532         [!__ASSUME_32BITUIDS]: Remove conditional code.
34533         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34534         <kernel-features.h>.
34535         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34536         unconditional.
34537         (__setresgid): Do not declare.
34538         [__ASSUME_32BITUIDS]: Make code unconditional.
34539         [!__ASSUME_32BITUIDS]: Remove conditional code.
34540         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34541         <kernel-features.h>.
34542         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34543         unconditional.
34544         (__setresuid): Do not declare.
34545         [__ASSUME_32BITUIDS]: Make code unconditional.
34546         [!__ASSUME_32BITUIDS]: Remove conditional code.
34547         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34548         <kernel-features.h>.
34549         [__ASSUME_32BITUIDS]: Make code unconditional.
34550         [!__ASSUME_32BITUIDS]: Remove conditional code.
34551         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34552         <kernel-features.h>.
34553         [__ASSUME_32BITUIDS]: Make code unconditional.
34554         [!__ASSUME_32BITUIDS]: Remove conditional code.
34555
34556 2012-05-25  Richard Henderson  <rth@twiddle.net>
34557
34558         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34559         dl_hwcap to ifunc resolver.
34560         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34561         elf_ifunc_invoke.
34562         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34563         dl_hwcap to ifunc resolver.
34564         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34565
34566 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34567
34568         [BZ #14153]
34569         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34570         for |x| <= 2**-26, not 2**-57.
34571         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34572         exception.
34573
34574 2012-05-24  Jeff Law  <law@redhat.com>
34575
34576         * stdio-common/Makefile (tests): Add bug25.
34577         * stdio-common/bug25.c: New test.
34578
34579 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34580
34581         [BZ #13576]
34582         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34583         multiple of MALLOC_ALIGNMENT in size.
34584         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34585
34586 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34587
34588         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34589         Require >= 256.
34590         (FILENAME_MAX): Use macro-int-constant.
34591         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34592         (_IOFBF): Use macro-int-constant.
34593         (_IOLBF): Likewise.
34594         (_IONBF): Likewise.
34595         (SEEK_CUR): Likewise.
34596         (SEEK_END): Likewise.
34597         (SEEK_SET): Likewise.
34598         (TMP_MAX): Likewise.
34599         (EOF): Use macro-int-constant.  Require < 0.
34600         (NULL): Use macro-constant.  Require == 0.
34601         (stdin): Require type to be FILE *.
34602         (stdout): Likewise.
34603         (stderr): Likewise.
34604         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34605         macro-int-constant.
34606         (EXIT_SUCCESS): Likewise.
34607         (NULL): Use macro-constant.  Require == 0.
34608         (RAND_MAX): Use macro-int-constant.
34609         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34610         [C99-based standards] (strtof): Require function.
34611         [C99-based standards] (strtold): Likewise.
34612         [C99-based standards] (strtoll): Likewise.
34613         [C99-based standards] (strtoull): Likewise.
34614         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34615         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34616         [ISO || ISO99 || ISO11] (math.h): Likewise.
34617         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34618         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34619         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34620
34621 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34622
34623         [BZ #14132]
34624         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34625         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34626         * intl/dgettext.c (DCGETTEXT): Likewise.
34627         * intl/gettext.c (DCGETTEXT): Likewise.
34628         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34629         * posix/regex_internal.h (gettext): Likewise.
34630         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34631         Remove declaration.
34632         * include/argz.h (__argz_count_internal)
34633         (__argz_stringify_internal): Remove declaration.
34634         (__argz_count, __argz_stringify): Declare hidden proto.
34635         * intl/dcgettext.c: Remove use of INTDEF.
34636         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34637         * string/argz-stringify.c: Likewise.
34638         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34639         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34640         Declare hidden proto.
34641         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34642         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34643         Declare hidden proto.
34644         * include/stdio.h (__asprintf_internal): Don't declare.
34645         (__asprintf): Don't define as macro.  Declare hidden proto.
34646         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34647         (__fsetlocking): Declare hidden proto.
34648         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34649         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34650         hidden proto.
34651         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34652         (_IO_setlinebuf): Remove use of INTUSE.
34653         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34654         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34655         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34656         Remove declaration.
34657         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34658         (_IO_do_flush): Remove use of INTUSE.
34659         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34660         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34661         (_IO_adjust_column, _IO_least_wmarker)
34662         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34663         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34664         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34665         (_IO_default_doallocate, _IO_wdefault_doallocate)
34666         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34667         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34668         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34669         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34670         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34671         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34672         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34673         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34674         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34675         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34676         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34677         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34678         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34679         proto.
34680         (_IO_flush_all_internal, _IO_adjust_column_internal)
34681         (_IO_default_uflow_internal, _IO_default_finish_internal)
34682         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34683         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34684         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34685         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34686         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34687         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34688         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34689         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34690         (_IO_file_close_internal, _IO_file_close_it_internal)
34691         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34692         (_IO_file_init_internal, _IO_file_attach_internal)
34693         (_IO_file_fopen_internal, _IO_file_read_internal)
34694         (_IO_file_sync_internal, _IO_file_seek_internal)
34695         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34696         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34697         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34698         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34699         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34700         (_IO_list_all_internal, _IO_link_in_internal)
34701         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34702         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34703         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34704         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34705         (_IO_do_write_internal, _IO_padn_internal)
34706         (_IO_getline_info_internal, _IO_getline_internal)
34707         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34708         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34709         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34710         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34711         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34712         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34713         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34714         with libc_hidden_ver, remove use of INTUSE.
34715         * libio/genops.c: Likewise.
34716         * libio/freopen.c: Likewise.
34717         * libio/freopen64.c: Likewise.
34718         * libio/iofclose.c: Likewise.
34719         * libio/iofdopen.c: Likewise.
34720         * libio/iofflush.c: Likewise.
34721         * libio/iofflush_u.c: Likewise.
34722         * libio/iofgets.c: Likewise.
34723         * libio/iofgets_u.c: Likewise.
34724         * libio/iofopen.c: Likewise.
34725         * libio/iofopncook.c: Likewise.
34726         * libio/iofread.c: Likewise.
34727         * libio/iofread_u.c: Likewise.
34728         * libio/ioftell.c: Likewise.
34729         * libio/iofwrite.c: Likewise.
34730         * libio/iogetline.c: Likewise.
34731         * libio/iogets.c: Likewise.
34732         * libio/iogetwline.c: Likewise.
34733         * libio/iopadn.c: Likewise.
34734         * libio/iopopen.c: Likewise.
34735         * libio/ioseekoff.c: Likewise.
34736         * libio/ioseekpos.c: Likewise.
34737         * libio/iosetbuffer.c: Likewise.
34738         * libio/iosetvbuf.c: Likewise.
34739         * libio/ioungetc.c: Likewise.
34740         * libio/ioungetwc.c: Likewise.
34741         * libio/iovdprintf.c: Likewise.
34742         * libio/iovsprintf.c: Likewise.
34743         * libio/iovsscanf.c: Likewise.
34744         * libio/memstream.c: Likewise.
34745         * libio/obprintf.c: Likewise.
34746         * libio/oldfileops.c: Likewise.
34747         * libio/oldiofclose.c: Likewise.
34748         * libio/oldiofdopen.c: Likewise.
34749         * libio/oldiofopen.c: Likewise.
34750         * libio/oldiopopen.c: Likewise.
34751         * libio/oldstdfiles.c: Likewise.
34752         * libio/putc.c: Likewise.
34753         * libio/setbuf.c: Likewise.
34754         * libio/setlinebuf.c: Likewise.
34755         * libio/stdfiles.c: Likewise.
34756         * libio/strops.c: Likewise.
34757         * libio/vasprintf.c: Likewise.
34758         * libio/vscanf.c: Likewise.
34759         * libio/vsnprintf.c: Likewise.
34760         * libio/vswprintf.c: Likewise.
34761         * libio/wfiledoalloc.c: Likewise.
34762         * libio/wfileops.c: Likewise.
34763         * libio/wgenops.c: Likewise.
34764         * libio/wmemstream.c: Likewise.
34765         * libio/wstrops.c: Likewise.
34766         * libio/__fpurge.c: Likewise.
34767         * libio/__fsetlocking.c: Likewise.
34768         * assert/assert.c: Likewise.
34769         * debug/fgets_chk.c: Likewise.
34770         * debug/fgets_u_chk.c: Likewise.
34771         * debug/fread_chk.c: Likewise.
34772         * debug/fread_u_chk.c: Likewise.
34773         * debug/gets_chk.c: Likewise.
34774         * debug/obprintf_chk.c: Likewise.
34775         * debug/vasprintf_chk.c: Likewise.
34776         * debug/vdprintf_chk.c: Likewise.
34777         * debug/vsnprintf_chk.c: Likewise.
34778         * debug/vsprintf_chk.c: Likewise.
34779         * malloc/mtrace.c: Likewise.
34780         * misc/error.c: Likewise.
34781         * misc/syslog.c: Likewise.
34782         * stdio-common/asprintf.c: Likewise.
34783         * stdio-common/fxprintf.c: Likewise.
34784         * stdio-common/getw.c: Likewise.
34785         * stdio-common/isoc99_fscanf.c: Likewise.
34786         * stdio-common/isoc99_scanf.c: Likewise.
34787         * stdio-common/isoc99_vfscanf.c: Likewise.
34788         * stdio-common/isoc99_vscanf.c: Likewise.
34789         * stdio-common/isoc99_vsscanf.c: Likewise.
34790         * stdio-common/printf-prs.c: Likewise.
34791         * stdio-common/printf_fp.c: Likewise.
34792         * stdio-common/printf_fphex.c: Likewise.
34793         * stdio-common/printf_size.c: Likewise.
34794         * stdio-common/putw.c: Likewise.
34795         * stdio-common/scanf.c: Likewise.
34796         * stdio-common/sprintf.c: Likewise.
34797         * stdio-common/tmpfile.c: Likewise.
34798         * stdio-common/vfprintf.c: Likewise.
34799         * stdio-common/vfscanf.c: Likewise.
34800         * stdlib/strfmon_l.c: Likewise.
34801         * sunrpc/openchild.c: Likewise.
34802         * sunrpc/xdr_stdio.c: Likewise.
34803         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34804         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34805
34806 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34807
34808         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34809
34810         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34811         in the third column, to generate for the shared library an IFUNC
34812         that uses _dl_vdso_vsym.
34813         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34814         * Makeconfig (object-suffixes-noshared): New variable.
34815
34816         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34817         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34818         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34819         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34820
34821         [BZ #14132]
34822         * include/sys/time.h (__gettimeofday): Remove macro.
34823         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34824         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34825         Remove INTDEF.
34826         (__gettimeofday): Add libc_hidden_def.
34827         (gettimeofday): Add libc_hidden_weak.
34828         * sysdeps/mach/gettimeofday.c: Likewise.
34829         * sysdeps/posix/gettimeofday.c: Likewise.
34830         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34831         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34832         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34833         (__gettimeofday_internal): Remove strong_alias.
34834         (__gettimeofday): Add libc_hidden_def.
34835         (gettimeofday): Add libc_hidden_weak.
34836         * sysdeps/unix/syscalls.list (gettimeofday):
34837         Remove __gettimeofday_internal alias.
34838
34839 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34840             H.J. Lu  <hongjiu.lu@intel.com>
34841
34842         [BZ #12495]
34843         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34844         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34845         (largebin_index_32_big): New.
34846         (largebin_index): Use it for 16-byte alignment.
34847         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34848         correction with front_misalign.
34849
34850 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34851
34852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34854         Likewise.
34855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34856         Likewise.
34857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34858         Likewise.
34859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34860         Likewise.
34861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34862         Likewise.
34863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34864         Likewise.
34865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34866         Likewise.
34867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34868         Likewise.
34869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34870         Likewise.
34871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34872         Likewise.
34873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34874         Likewise.
34875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34876         Likewise.
34877
34878         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34879         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34880
34881 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34882
34883         [BZ #10846]
34884         [BZ #14036]
34885         * math/libm-test.inc (exp_test): Add test from bug 14036.
34886         (pow_test): Add test from bug 10846.
34887
34888         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34889         and other flags.
34890         (special_function): Do not include flags in test name.
34891         (parse_args): Likewise.
34892         * sysdeps/i386/fpu/libm-test-ulps: Update.
34893         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34894         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34895         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34897
34898         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34899         exceptions.
34900         * math/libm-test.inc ("Philosophy"): Update comment about
34901         exception testing.
34902         (UNDERFLOW_EXCEPTION): New macro.
34903         (UNDERFLOW_EXCEPTION_OK): Likewise.
34904         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34905         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34906         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34907         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34908         (INVALID_EXCEPTION_OK): Update value.
34909         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34910         (OVERFLOW_EXCEPTION_OK): Likewise.
34911         (IGNORE_ZERO_INF_SIGN): Likewise.
34912         (test_exceptions): Handle underflow exceptions.
34913         (acos_test): Update for underflow exception expectations.
34914         (cexp_test): Likewise.
34915         (clog_test): Likewise.
34916         (clog10_test): Likewise.
34917         (csqrt_test): Likewise.
34918         (ctan_test): Likewise.
34919         (ctanh_test): Likewise.
34920         (exp_test): Likewise.
34921         (exp10_test): Likewise.
34922         (exp2_test): Likewise.
34923         (expm1_test): Likewise.
34924         (fma_test): Likewise.
34925         (j0_test): Likewise.
34926         (jn_test): Likewise.
34927         (nexttoward_test): Likewise.
34928         (pow_test): Likewise.
34929         (scalbn_test): Likewise.
34930         (scalbln_test): Likewise.
34931         (tan_test): Likewise.
34932         (y1_test): Likewise.
34933         * sysdeps/i386/fpu/libm-test-ulps: Update.
34934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34935
34936 2012-05-23  David S. Miller  <davem@davemloft.net>
34937
34938         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34939         (__libc_sigaction): Remove unused local variables.
34940
34941 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34942
34943         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34944
34945 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34946
34947         mktime: avoid signed integer overflow
34948         * time/mktime.c (__mktime_internal): Do not mishandle the case
34949         where diff == INT_MIN.
34950
34951         mktime: simplify computation of average
34952         * time/mktime.c (ranged_convert): Use new time_t_avg function
34953         instead of rolling our own (probably-slower) code.
34954
34955         mktime: do not assume signed right shift propagates sign bit
34956         * time/mktime.c (isdst_differ): New static function.
34957         (__mktime_internal): No need to normalize tm_isdst now.
34958         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34959         tm_isdst values.
34960
34961         mktime: merge another wrapv change from gnulib
34962         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34963         from some compilers.
34964
34965         mktime: remove incorrect attempt at unusual arithmetics
34966         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34967         The code didn't really work on such machines anyway.
34968         (TYPE_MINIMUM): Assume two's complement.
34969         (twos_complement_arithmetic): Verify that long_int and time_t
34970         are two's complement (or unsigned, in the latter case).
34971
34972         mktime: check signed shifts on long_int and time_t, too
34973         * time/mktime.c (SHR): Check that shifts work as desired
34974         on the types long_int and time_t too, as SHR is used on
34975         such types.
34976
34977         mktime: do not assume 'long' is wide enough
34978         * time/mktime.c (verify): Move decl up.
34979         (long_int): New type.
34980         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34981         to remove assumption in the code that 'long' is wide enough to
34982         store year values.  This assumption is not true on x32 and on
34983         some non-glibc platforms.
34984
34985         mktime: merge wrapv change from gnulib
34986         * time/mktime.c (WRAPV): New macro.
34987         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34988         (guess_time_tm, __mktime_internal): Do not assume that signed
34989         integer overflow wraps around; modern compilers generate code
34990         where this assumption is no longer valid.
34991
34992 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34993
34994         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34995         Replace "jmp L(pseudo_end)" with "ret".
34996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34997         Likewise.
34998
34999 2012-05-23  Andreas Jaeger  <aj@suse.de>
35000
35001         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35002         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35003
35004 2012-05-23  Andreas Jaeger  <aj@suse.de>
35005             Maximilian Attems  <max@stro.at>
35006
35007         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35008         New macros.
35009
35010 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35011
35012         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35013         code so that pseudo_end is just ret and the stack pointer is
35014         correct also for static library in error case.
35015
35016 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35017
35018         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35019         move to syscalls.list.
35020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35024
35025         * manual/install.texi (Running make install): Do not mention Linux
35026         kernel version for which pt_chown is not needed.
35027         (Linux): Do not mention problems with nscd with 2.0 kernels.
35028         * INSTALL: Regenerated.
35029
35030 2012-05-23  Andreas Jaeger  <aj@suse.de>
35031
35032         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35033         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35034         macro.
35035         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35037         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35039         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35040         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35041         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35042         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35043         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35044         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35045         * sysdeps/unix/sysv/linux/bits/in.h
35046         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35047
35048 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35049
35050         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35051         (PREPARE_VERSION): Just use assert instead, it will be elided
35052         under [NDEBUG] anyway.
35053
35054 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35055
35056         * sysdeps/unix/sysv/linux/Makefile: Include
35057         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35058         (sysdep_routines): Remove sysctl.
35059         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35060         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35061         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35062         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35063         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35064
35065 2012-05-22  Andreas Jaeger  <aj@suse.de>
35066
35067         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35068         that pseudo_end is just ret and the stack pointer is correct also
35069         for static library in error case.
35070
35071 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35072
35073         [BZ #14122]
35074         * nss/nsswitch.c (defconfig_entries): New variable.
35075         (__nss_database_lookup): Don't leak defconfig entries.
35076         (nss_parse_service_list): Don't leak on error paths.
35077         (free_database_entries): New function.
35078         (free_defconfig): New function.
35079         (free_mem): Move common code to free_database_entries.
35080
35081 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35082
35083         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35084         Add arch_prctl.
35085         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35086
35087         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35088         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35090         New macro.
35091         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35092         (INTERNAL_SYSCALL_TYPES): Likewise.
35093         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35094         (LOAD_REGS_TYPES_[1-6]): Likewise.
35095         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35096         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35097
35098 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35099
35100         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35101         copysignl for GLIBC_2_0.
35102         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35103         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35104         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35105         logbl for GLIBC_2_0.
35106         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35107         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35108
35109 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35110
35111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35112         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35113
35114         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35115         Use "neg %eax".
35116
35117         * time/mktime.c: Update copyright years.
35118
35119 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35120
35121         mktime: merge comment-quoting-style change from gnulib
35122         * time/mktime.c: Quote 'like this' in comments.
35123         The GNU coding standards suggest that we no longer quote `like this',
35124         as "`" and "'" are typically rendered asymmetrically nowadays.
35125         The typical gnulib style is to quote 'like this' when quoting
35126         code, and "like this" when quoting English.
35127
35128         * time/mktime.c (compile-command): Add "-I.".
35129
35130         mktime: merge mktime-internal.h change from gnulib
35131         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35132
35133         mktime: merge time_r change from gnulib
35134         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35135
35136         mktime: merge DEBUG change from gnulib
35137         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35138         case system <time.h> has a #define.
35139
35140         mktime: merge <sys/types.h> change from gnulib
35141         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35142         since <time.t> is now guaranteed to define time_t.
35143
35144         mktime: merge HAVE_CONFIG_H change from gnulib
35145         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35146
35147 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35148
35149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35150         Use "neg %eax".
35151
35152         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35153         __rlim_t cast.
35154         (struct rusage): Use anonymous union to pad each field to
35155         __syscall_slong_t.
35156
35157 2012-05-21  David S. Miller  <davem@davemloft.net>
35158
35159         * Makefules (o-iterator): Remove .s cases.
35160         (compile-command.s): Delete.
35161         (COMPILE.s): Delete.
35162         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35163
35164 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35165
35166         * configure.in (libc_cv_predef_stack_protector): Only consider
35167         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35168         * configure: Regenerated.
35169
35170 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35171
35172         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35173         New macro.  Use R*LP on int and pointer.
35174         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35175         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35176         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35177         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35178
35179         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35180         [__WORDSIZE_TIME64_COMPAT32] instead of
35181         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35182         (struct utmp): Likewise.
35183         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35184         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35185         Renamed to ...
35186         (__WORDSIZE_TIME64_COMPAT32): This.
35187         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35188         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35189         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35190         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35191         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35192         (__WORDSIZE_TIME64_COMPAT32): New macro.
35193
35194 2012-05-21  Andreas Jaeger  <aj@suse.de>
35195
35196         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35197         only if [SHARED]. Add prototype for __wcschr_ia32.
35198
35199 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35200
35201         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35202         of %rbp unmolested in the jmp_buf while mangling the low bits.
35203         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35204         unmolested high bits of %rbp while demangling the low bits.
35205         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35206
35207 2012-05-21  Andreas Jaeger  <aj@suse.de>
35208
35209         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35210         * sunrpc/svc_simple.c: Use it for registerrpc.
35211         * sunrpc/xcrypt.c: Use it for passwd2des.
35212
35213         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35214
35215 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35216
35217         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35218         Don't define if [__SYSCALL_WORDSIZE != 32].
35219         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35220         New macro.
35221
35222 2012-05-21  Bruno Haible  <bruno@clisp.org>
35223             Andreas Jaeger  <aj@suse.de>
35224
35225         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35226         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35227         inptr and inend for must_buffer_ch.
35228         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35229         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35230         * stdio-common/Makefile (tests): Remove bug15.
35231         (bug15-ENV): Remove macro.
35232         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35233         anymore.
35234
35235 2012-05-19  Andreas Jaeger  <aj@suse.de>
35236             Roland McGrath  <roland@hack.frob.com>
35237
35238         * manual/contrib.texi: Completely rewritten. It contains now an
35239         alphabetical list of contributors and their contributions.
35240
35241 2012-05-21  Richard Henderson  <rth@twiddle.net>
35242
35243         * misc/getauxval.c (__getauxval): Use unsigned long int.
35244         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35245         (getauxval): Use unsigned long int.
35246
35247 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35248
35249         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35250
35251 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35252
35253         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35254         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35255         __alignof__ (long double).
35256
35257 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35258
35259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35260
35261 2012-05-20  Richard Henderson  <rth@twiddle.net>
35262
35263         * misc/getauxval.c: New file.
35264         * misc/sys/auxv.h: New file.
35265         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35266         (routines): Add getauxval.
35267         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35268         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35269         * elf/dl-sysdep.c (_dl_auxv): Remove.
35270         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35271         * elf/dl-support.c (_dl_auxv): New variable.
35272         (_dl_aux_init): Initialize it.
35273         * manual/startup.texi (Auxiliary Vector): New node.
35274         * sysdeps/generic/bits/hwcap.h: New file.
35275         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35276         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35277         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35278         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35279         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35280         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35282         Update.
35283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35286         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35291
35292 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35293
35294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35295
35296 2012-05-19  David S. Miller  <davem@davemloft.net>
35297
35298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35299
35300 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35301
35302         [BZ #14123]
35303         * math/s_ccosh.c: Include <float.h>
35304         (__ccosh): Avoid internal overflow calculating sinh and cosh
35305         values before multiplying by sin and cos values.
35306         * math/s_ccoshf.c: Likewise.
35307         * math/s_ccoshl.c: Likewise.
35308         * math/s_csin.c: Likewise.
35309         * math/s_csinf.c: Likewise.
35310         * math/s_csinl.c: Likewise.
35311         * math/s_csinh.c: Likewise.
35312         * math/s_csinhf.c: Likewise.
35313         * math/s_csinhl.c: Likewise.
35314         * math/libm-test.inc (ccos_test): Add more tests.
35315         (ccosh_test): Likewise.
35316         (csin_test): Likewise.
35317         (csinh_test): Likewise.
35318         * sysdeps/i386/fpu/libm-test-ulps: Update.
35319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35320
35321 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35322
35323         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35324         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35325
35326         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35327
35328 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35329
35330         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35331         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35332         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35333         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35334         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35335         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35336         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35337         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35338         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35339         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35340         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35341         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35342         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35343         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35344         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35345         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35346         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35347         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35348         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35349         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35350         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35351         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35352         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35353         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35354         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35355         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35356         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35357         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35358         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35359         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35360         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35361
35362 2012-05-18  Andreas Jaeger  <aj@suse.de>
35363
35364         * csu/.gitignore: Delete.
35365
35366 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35367
35368         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35369         (timex): Use __syscall_slong_t.
35370
35371 2012-05-18  Andreas Jaeger  <aj@suse.de>
35372             Carlos O'Donell  <carlos_odonell@mentor.com>
35373
35374         * manual/install.texi (Configuring and compiling): Update
35375         description about files modified in the source directory.
35376         * INSTALL: Regenerated.
35377
35378 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35379
35380         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35381         value.  Use "or" to set return value to -1.
35382         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35383         negate return value.
35384
35385 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35386
35387         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35388         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35389         failure if the compiler has Graphite support disabled.
35390         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35391         Likewise.
35392         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35393         (CFLAGS-memmove.c): Likewise.
35394         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35395         Likewise.
35396
35397 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35398
35399         * sysdeps/x86_64/x32/_itoa.h: New file.
35400
35401         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35402         getdents system call only if kernel and user dirents have the
35403         same d_ino and d_off.
35404
35405         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35406         LLONG_MAX != LONG_MAX.
35407         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35408         (_fitoa_word): Likewise.
35409
35410         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35411         years.
35412         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35413         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35414         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35415
35416         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35417         include <bits/wordsize.h>.  Check __x86_64__ instead of
35418         __WORDSIZE.
35419         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35420         if __x86_64__ is defined.  Use anonymous union on fpstate.
35421
35422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35423         anonymous union.
35424
35425 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35426
35427         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35428         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35429         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35430         Refer to _rtld_local_ro instead of _rtld_global_ro.
35431         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35432         Likewise.
35433         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35434         Likewise.
35435         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35436         Likewise.
35437         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35438         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35439         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35440
35441         * sysdeps/powerpc/powerpc32/dl-machine.c
35442         (__elf_machine_runtime_setup) [PROF]: Don't reference
35443         _dl_prof_resolve.
35444
35445 2012-05-18  Andreas Jaeger  <aj@suse.de>
35446
35447         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35448         function only available for GCCs before 3.4 since GCC 3.4
35449         introduced a builtin.
35450         (lrint): Likewise.
35451         (llrintf): Likewise.
35452         (llrint): Likewise.
35453         (fmaxf): Likewise.
35454         (fmax): Likewise.
35455         (fminf): Likewise.
35456         (fmin): Likewise.
35457         (rint): Likewise.
35458         (rintf): Likewise.
35459         (nearbyint): Likewise.
35460         (nearbyintf): Likewise.
35461         (ceil): Likewise.
35462         (ceilf): Likewise.
35463         (floor): Likewise.
35464         (floorf): Likewise.
35465
35466 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35467
35468         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35469         on both fields and cast pointer to __syscall_ulong_t.
35470
35471         * bits/types.h (__fsword_t): New type.
35472         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35473         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35475         (__FSWORD_T_TYPE): Likewise.
35476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35477         (__FSWORD_T_TYPE): Likewise.
35478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35479         (__FSWORD_T_TYPE): Likewise.
35480         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35481         (__FSWORD_T_TYPE): Likewise.
35482         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35483         __SWORD_TYPE with __fsword_t.
35484         (statfs64): Likewise.
35485
35486 2012-05-17  David S. Miller  <davem@davemloft.net>
35487
35488         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35489
35490 2012-05-17  Andreas Jaeger  <aj@suse.de>
35491
35492         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35493         warning.
35494
35495 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35496
35497         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35498
35499 2012-05-17  Andreas Jaeger  <aj@suse.de>
35500
35501         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35502         when it is used.
35503
35504 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35505
35506         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35507
35508 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35509
35510         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35511         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35512
35513 2012-05-17  Andreas Jaeger  <aj@suse.de>
35514             Carlos O'Donell  <carlos_odonell@mentor.com>
35515
35516         [BZ #14059]
35517         * sysdeps/x86_64/multiarch/init-arch.h
35518         (bit_YMM_Usable): Rename to...
35519         (bit_AVX_Usable): ... this.
35520         (bit_FMA4_Usable): New macro.
35521         (bit_XMM_state): New macro.
35522         (bit_YMM_state): New macro.
35523         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35524         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35525         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35526         (CPUID_OSXSAVE): New macro.
35527         (CPUID_AVX): New macro.
35528         (CPUID_FMA4): New macro.
35529         (index_YMM_Usable): Rename to...
35530         (index_AVX_Usable): ... this.
35531         (HAS_AVX): Use HAS_ARCH_FEATURE.
35532         (HAS_FMA4): Likewise.
35533         (HAS_YMM_USABLE): Remove.
35534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35535         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35536         are present.
35537         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35538         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35539         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35540         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35541         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35542
35543 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35544
35545         * math/libm-test.c: Support platforms without multiple rounding modes.
35546         * math/bug-nextafter.c: Support platforms without FP exceptions.
35547         * math/bug-nexttoward.c: Likewise.
35548         * math/test-fenv.c: Likewise.
35549         * math/test-misc.c: Likewise.
35550         * stdlib/bug-getcontext.c: Likewise.
35551
35552 2012-05-17  Andreas Jaeger  <aj@suse.de>
35553
35554         * manual/examples/search.c (critter_cmp): Change signature to
35555         avoid warnings.
35556         * manual/string.texi (Collation Functions): Likewise.
35557
35558 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35559
35560         * bits/types.h: Fold copyright years.
35561         * bits/typesizes.h: Likewise.
35562         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35563         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35564         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35566         * time/time.h: Likewise.
35567
35568 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35569
35570         [BZ #208]
35571         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35572         in instead of returning them.  Return void.
35573         (__libc_mallinfo): Accumulate over all arenas.
35574         (__malloc_stats): Adjust for change in int_mallinfo interface.
35575
35576 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35577
35578         [BZ #10375]
35579         * configure.in (NM): Add AC_CHECK_TOOL for it.
35580         (libc_extra_cflags): New substituted variable.
35581         Check for -fstack-protector being used implicitly.
35582         * configure: Regenerated.
35583         * config.make.in (config-extra-cflags): New variable,
35584         gets @libc_extra_cflags@.
35585         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35586
35587         [BZ #10375]
35588         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35589         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35590         * configure: Regenerated.
35591         * config.make.in (CPPUNDEFS): New substituted variable.
35592         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35593         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35594         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35595
35596 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35597
35598         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35599         (mq_attr): Use __syscall_slong_t.
35600
35601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35602
35603         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35604         Check __x86_64__ instead of __WORDSIZE.
35605         (_STAT_VER_LINUX): Likewise.
35606         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35607         __syscall_ulong_t and __syscall_slong_t.
35608         (stat64): Likewise.
35609
35610 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35611
35612         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35613
35614 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35615
35616         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35617
35618 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35619
35620         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35621         __syscall_ulong_t.
35622
35623         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35624         include <bits/wordsize.h>.  Check __x86_64__ instead of
35625         __WORDSIZE.
35626         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35627         defined.
35628         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35629
35630         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35631         include <bits/wordsize.h>.  Check __x86_64__ instead of
35632         __WORDSIZE.
35633         (user_regs_struct): Use "__extension__ unsigned long long"
35634         instead of "unsigned long" if __x86_64__ is defined.
35635         (user): Likewise.  Pad after pointer field if __ILP32__ is
35636         defined.
35637
35638 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35639
35640         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35641         versions 5 to 9.
35642         * configure: Regenerated.
35643         * manual/install.texi (texinfo): Increase version requirement to
35644         4.5 or later.
35645         * INSTALL: Regenerated.
35646
35647         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35648
35649 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35650
35651         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35652
35653         * sysdeps/x86_64/x32/ffs.c: New file.
35654
35655         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35656         __syscall_ulong_t.
35657         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35658         defined.  Use __syscall_ulong_t.
35659         (shminfo): Use __syscall_ulong_t.
35660         (shm_info): Likewise.
35661
35662         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35663         __syscall_ulong_t.
35664
35665         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35666         <bits/wordsize.h>.
35667         (msgqnum_t): Use __syscall_ulong_t.
35668         (msglen_t): Likewise.
35669         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35670         __syscall_ulong_t.
35671
35672         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35673         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35674
35675         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35676
35677         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35678         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35679
35680         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35681         __syscall_slong_t.
35682
35683         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35684         include <bits/wordsize.h>.  Check __x86_64__ instead of
35685         __WORDSIZE.
35686
35687         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35688         "unsigned long long int" if __x86_64__ is defined.
35689         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35690
35691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35692         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35693         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35694
35695         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35696         <stdint.h>.
35697         (GET_PC): Cast to uintptr_t first.
35698         (GET_FRAME): Likewise.
35699         (GET_STACK): Likewise.
35700
35701         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35702         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35703         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35704         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35705         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35706         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35707         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35708         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35709         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35710         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35711         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35712         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35713         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35714         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35715         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35718         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35719         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35720         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35721         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35722         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35723         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35724         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35725         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35726         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35727         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35728         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35729         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35730
35731 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35732
35733         * Makerules (+depfiles): Also collect depfiles from .oS in
35734         $(extra-objs).
35735         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35736         .oS, $(libnldbl-routines)).
35737
35738         * Makerules (native-compile-mkdep-flags): Define.
35739         * sunrpc/Makefile (extra-objs): Add $(addprefix
35740         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35741         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35742         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35743         calling $(make-target-directory).
35744
35745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35746
35747         * bits/types.h (__snseconds_t): Removed.
35748         * time/time.h (struct timespec): Replace __snseconds_t with
35749         __syscall_slong_t.
35750         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35751         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35752         Likewise.
35753         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35754         (__SNSECONDS_T_TYPE): Likewise.
35755         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35756         (__SNSECONDS_T_TYPE): Likewise.
35757         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35758         (__SNSECONDS_T_TYPE): Likewise.
35759
35760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35761
35762         * sysdeps/mach/hurd/bits/typesizes.h
35763         (__SYSCALL_SLONG_TYPE): New macro.
35764         (__SYSCALL_ULONG_TYPE): Likewise.
35765
35766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35767
35768         * bits/types.h (__syscall_slong_t): New type.
35769         (__syscall_ulong_t): Likewise.
35770
35771         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35772         (__SYSCALL_ULONG_TYPE): Likewise.
35773         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35774         (__SYSCALL_SLONG_TYPE): Likewise.
35775         (__SYSCALL_ULONG_TYPE): Likewise.
35776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35777         (__SYSCALL_SLONG_TYPE): Likewise.
35778         (__SYSCALL_ULONG_TYPE): Likewise.
35779         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35780         (__SYSCALL_SLONG_TYPE): Likewise.
35781         (__SYSCALL_ULONG_TYPE): Likewise.
35782
35783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35784
35785         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35786         Add sigaltstack-offsets.sym.
35787         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35788         <sigaltstack-offsets.h>.
35789         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35790         longjmp_msg pointer.
35791         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35792         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35793         signal stack.
35794         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35795
35796 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35797
35798         * elf/stackguard-macros.h: Remove file.
35799         * sysdeps/generic/stackguard-macros.h: New file.
35800         * sysdeps/i386/stackguard-macros.h: Likewise.
35801         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35802         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35803         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35804         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35805         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35806         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35807         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35808         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35809         <elf/stackguard-macros.h>.
35810
35811         [BZ #14109]
35812         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35813         __aligned__ in attribute.
35814         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35815         (gregset_t): Likewise.
35816
35817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35818
35819         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35820         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35821         * sysdeps/x86_64/x32/Implies-after: New file.
35822
35823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35824
35825         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35826         and access return value for _dl_profile_fixup.  Use R10_LP to
35827         load frame size.
35828
35829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35830
35831         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35832
35833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35834
35835         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35836         * sysdeps/x86_64/x32/sysdep.h: New file.
35837
35838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35839
35840         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35841         * sysdeps/x86_64/setjmp.S: Likewise.
35842
35843 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35844
35845         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35846         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35847         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35848         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35849         remove unused global constant.
35850
35851 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35852
35853         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35854         include of <not-cancel.h>.
35855
35856 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35857
35858         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35859
35860 2012-05-15  Jeff Law  <law@redhat.com>
35861             Andreas Jaeger  <aj@suse.de>
35862
35863         [BZ #13594]
35864         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35865         out from...
35866         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35867         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35868         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35869         code changing __hst_map_handle.map.
35870
35871 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35872
35873         * configure.in (sysnames): Look for Implies-before and Implies-after
35874         files.
35875         * configure: Regenerated.
35876
35877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35878
35879         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35880         8-byte data alignment with LP_SIZE alignment.
35881
35882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35883
35884         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35885         into R10_LP.
35886
35887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35888
35889         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35890
35891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35892
35893         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35894         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35896         Likewise.
35897         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35898
35899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35900
35901         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35902         (stackinfo_sub_sp): Likewise.
35903
35904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35905
35906         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35907         RAX_LP.
35908
35909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35910
35911         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35912         into R*_LP.
35913
35914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35915
35916         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35917         sizes into R*_LP.
35918
35919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35920
35921         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35922
35923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35924
35925         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35926         into R11_LP and load __x86_64_shared_cache_size_half into
35927         R8_LP.
35928
35929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35930
35931         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35932         R8_LP.
35933
35934 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35935
35936         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35937         logb for POWER7.
35938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35939         logbf for POWER7.
35940         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35941         logbl for POWER7.
35942         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35943         powerpc32/power7/fpu/s_logb.c via #include.
35944         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35945         powerpc32/power7/fpu/s_logbf.c via #include.
35946         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35947         powerpc32/power7/fpu/s_logbl.c via #include.
35948
35949 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35950
35951         * README.libm: Remove file.
35952
35953 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35954
35955         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35956         count for x32.  Use R*_LP and omit operand-size suffix.
35957
35958 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35959
35960         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35961         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35962         * sysdeps/x86_64/x32/shlib-versions: New file.
35963
35964 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35965
35966         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35967         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35968         Use _dl_fatal_printf instead.
35969
35970 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35971
35972         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35973         set if not set by the user.  Do not allow for being unset.
35974         * sysdeps/unix/sysv/linux/configure: Regenerated.
35975
35976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35977
35978         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35979         the `q' suffix from lea and replace .quad with ASM_ADDR.
35980
35981 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35982
35983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35984         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35985         instead of $17.
35986         (PTR_DEMANGLE): Likewise.
35987
35988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35989
35990         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35991         (LP_OP): Likewise.
35992         (ASM_ADDR): Likewise.
35993         (RAX_LP): Likewise.
35994         (RBP_LP): Likewise.
35995         (RBX_LP): Likewise.
35996         (RCX_LP): Likewise.
35997         (RDI_LP): Likewise.
35998         (RSI_LP): Likewise.
35999         (RSP_LP): Likewise.
36000         (R8_LP): Likewise.
36001         (R9_LP): Likewise.
36002         (R10_LP): Likewise.
36003         (R10_LP): Likewise.
36004         (R11_LP): Likewise.
36005         (R12_LP): Likewise.
36006         (R13_LP): Likewise.
36007         (R14_LP): Likewise.
36008         (R15_LP): Likewise.
36009
36010 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36011
36012         * sysdeps/x86_64/x32/dl-machine.h: New file.
36013
36014 2012-05-14  Andreas Jaeger  <aj@suse.de>
36015
36016         * manual/Makefile (subdir): Remove export of subdir.
36017         (all): Remove target.
36018         (.PHONY): Remove all from list.
36019         (mkinstalldirs): Remove.
36020         (.PHONY): Remove installdirs from list.
36021         ($(inst_infodir)/libc.info): Use make-target-directory.
36022         (installdirs): Remove.
36023         (subdir_%): Remove.
36024         (glibc-targets): Remove.
36025         (lib): Remove.
36026         (stubs): Remove.
36027         ($(objpfx)stubs ../po/manual.pot): Remove.
36028         ($(objpfx)stamp%): Remove.
36029         (make-target-directory): Remove.
36030         (subdir_install): Remove.
36031         (routines): Remove.
36032         (aux): Remove.
36033         (sources): Remove.
36034         (objects): Remove.
36035         (headers): Remove.
36036
36037         [BZ #13750]
36038         * manual/.gitignore: Remove, it's not needed anymore.
36039         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36040         all files in it.
36041         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36042         directory.
36043         (texis): Renamed to $(objpfx)texis.
36044         (texis-path): New, contains path to generated files.
36045         (chapters.%): Use texis-path for complete path, add extra argument
36046         libc-texinfo.sh.
36047         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36048         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36049         (summary,texi, stamp-summary): Use complete path of
36050         files. Generate files in build dir.
36051         (dir-add.texi): Build in build dir.
36052         (libm-err.texi,stamp-libm-err): Likewise.
36053         (version.texi, stamp-version): Likewise.
36054         (.%c.texi): Likewise.
36055         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36056         (mostlyclean): Remove target.
36057         (realclean): Remove target.
36058         (generated): Add new variable with contents from mostlyclean and
36059         realclean, remove entries duplicated in common-mostlyclean, add
36060         stamp-libm-err and stamp-version.
36061         (generated-dirs): Add libc directory.
36062         ($(inst_infodir)/libc.info): Install files from build dir.
36063
36064         * manual/install.texi (Configuring and compiling): Adjust since
36065         the info files are not part of the tar ball anymore.
36066
36067 2012-05-14  Andreas Jaeger  <aj@suse.de>
36068
36069         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36070         variable.
36071
36072 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36073
36074         [BZ #13717]
36075         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36076         to 2.2.0 where earlier.
36077         * sysdeps/unix/sysv/linux/configure: Regenerated.
36078         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36079         Remove conditional code.
36080         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36081         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36082         Remove conditional code.
36083         [!__NR_lchown]: Likewise.
36084         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36085         [__NR_lchown]: Likewise.
36086         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36087         comment referencing __ASSUME_LCHOWN_SYSCALL.
36088         * sysdeps/unix/sysv/linux/i386/sigaction.c
36089         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36090         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36091         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36092         Remove conditional code.
36093         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36094         (__protocol_available): Remove #if 0 code.
36095         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36096         conditional code.
36097         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36098         * sysdeps/unix/sysv/linux/kernel-features.h
36099         (__ASSUME_GETCWD_SYSCALL): Don't define.
36100         (__ASSUME_REALTIME_SIGNALS): Likewise.
36101         (__ASSUME_PREAD_SYSCALL): Likewise.
36102         (__ASSUME_PWRITE_SYSCALL): Likewise.
36103         (__ASSUME_POLL_SYSCALL): Likewise.
36104         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36105         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36106         non-SPARC.
36107         (__ASSUME_SIOCGIFNAME): Don't define.
36108         (__ASSUME_MSG_NOSIGNAL): Likewise.
36109         (__ASSUME_SENDFILE): Define unconditionally.
36110         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36111         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36112         conditional code.
36113         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36114         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36115         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36116         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36117         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36118         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36119         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36121         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36122         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36124         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36127         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36130         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36133         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36136         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36139         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36144         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36145         Remove conditional code.
36146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36147         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36148         Remove conditional code.
36149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36150         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36151         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36152         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36153         Remove conditional code.
36154         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36155         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36156         Remove conditional code.
36157         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36158         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36159         Remove conditional code.
36160         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36161         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36162         Remove conditional code.
36163         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36164         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36165         Remove conditional code.
36166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36167         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36168         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36169         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36170         * sysdeps/unix/sysv/linux/sigaction.c
36171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36173         * sysdeps/unix/sysv/linux/sigpending.c
36174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36176         * sysdeps/unix/sysv/linux/sigprocmask.c
36177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36179         * sysdeps/unix/sysv/linux/sigsuspend.c
36180         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36181         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36182         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36183         (__libc_missing_rt_sigs): Remove.
36184         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36185         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36186         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36187         Remove conditional code.
36188         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36189         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36190         return 1.
36191         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36192         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36193         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36194         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36195
36196 2012-05-14  Andreas Jaeger  <aj@suse.de>
36197
36198         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36199         it's not used in glibc.
36200         (__coshm1): Likewise.
36201         (__acosh1p): Likewise.
36202         (__sgn): Likewise.
36203
36204         * manual/string.texi (Copying and Concatenation): Add missing
36205         variable in concat example.
36206         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36207
36208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36209
36210         [BZ #14103]
36211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36212         __builtin_clzl with __builtin_clzll.
36213
36214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36215
36216         [BZ #14104]
36217         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36218         libc_freeres_ptr.
36219
36220 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36221
36222         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36223         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36224         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36225         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36226
36227 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36228
36229         * NEWS: Update ia64 info.
36230
36231 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36232
36233         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36234         used as bcopy.
36235
36236 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36237
36238         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36239         * sysdeps/unix/syscalls.list (dup3): Likewise.
36240         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36241         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36242
36243 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36244
36245         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36246         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36247
36248 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36249
36250         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36251         thread pointer.
36252         (TLS_IE): Use mov/add instead of movq/addq to load thread
36253         pointer.
36254         (TLS_GD_PREFIX): New.
36255         (TLS_GD): Use it.
36256
36257 2012-05-11  David S. Miller  <davem@davemloft.net>
36258
36259         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36260         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36261         (_FPU_SETCW): Likewise.
36262
36263 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36264
36265         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36266         is 32-byte aligned.
36267
36268 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36269
36270         [BZ #11837]
36271         * iconvdata/gb18030.c: Update tables.
36272         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36273         characters specially.
36274         (BODY for TO_LOOP): Add encoding of missing ranges.
36275
36276 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36277
36278         [BZ #13673]
36279         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36280         * sysdeps/mach/hurd/dup3.c: Likewise.
36281         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36282         * sysdeps/powerpc/memmove.c:: Likewise.
36283
36284 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36285
36286         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36287         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36288
36289 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36290
36291         * elf/elf.h (R_X86_64_RELATIVE64): New.
36292         (R_X86_64_NUM): Updated.
36293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36294         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36295         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36296         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36297         tst-quad1pie tst-quad2pie
36298         (modules-names): Add tst-quadmod1 tst-quadmod2.
36299         ($(objpfx)tst-quad1): New dependency.
36300         ($(objpfx)tst-quad2): Likewise.
36301         ($(objpfx)tst-quad1pie): Likewise.
36302         ($(objpfx)tst-quad2pie): Likewise.
36303         * sysdeps/x86_64/tst-quad1.c: New file.
36304         * sysdeps/x86_64/tst-quad1pie.c: New file.
36305         * sysdeps/x86_64/tst-quad2.c: Likewise.
36306         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36307         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36308         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36309         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36310         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36311
36312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36313
36314         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36315         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36316         * streams/stropts.h (t_scalar_t): Define type.
36317
36318         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36319         (_PATH_PRESERVE): Set to "/var/lib".
36320         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36321
36322         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36323         instead of int.
36324
36325         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36326         if __dir_mkfile succeeded.
36327
36328         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36329         checking for _hurd_dtablesize.  Unlock it right after having
36330         finished _hurd_dtable allocation.
36331
36332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36333
36334         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36335         * sysdeps/mach/hurd/configure: Regenerated.
36336         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36337         special-casing to...
36338         * sysdeps/gnu/configure.in: ... this new file.
36339         * sysdeps/unix/sysv/linux/configure: Regenerated.
36340         * sysdeps/gnu/configure: New generated file.
36341
36342         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36343         for Linux: use nsec instead of usec, as well as:
36344         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36345         members of type struct timespec.
36346         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36347         New macros.
36348         (struct stat64): Likewise.
36349         (_STATBUF_ST_NSEC): New macro.
36350         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36351
36352         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36353         __strtoul_internal rather than strtoul.
36354
36355 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36356
36357         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36358         and reject them.
36359
36360 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36361
36362         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36363         which preserves existing values.
36364         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36365
36366 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36367
36368         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36369         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36370         greater than FD_SETSIZE.
36371
36372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36373
36374         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36375         allocated, call __vm_protect to finish enabling the existing space, and
36376         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36377         allocate the remainder.
36378
36379 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36380
36381         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36382         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36383
36384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36385
36386         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36387         sysdeps/mach/hurd/readlink.c.
36388
36389         * posix/tst-sysconf.c (posix_options): Only use
36390         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36391         _POSIX_SYNCHRONIZED_IO when they are defined
36392         * sysdeps/mach/hurd/bits/posix_opt.h:
36393         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36394         (_XOPEN_REALTIME): Undefine macro.
36395         (_XOPEN_REALTIME_THREADS): Undefine macro.
36396         (_XOPEN_SHM): Undefine macro.
36397         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36398         macro to -1.
36399         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36400         macro to -1.
36401         (_POSIX_ASYNC_IO): Undefine macro.
36402         (_POSIX_PRIORITIZED_IO): Undefine macro.
36403         (_POSIX_SPIN_LOCKS): Define macro to -1.
36404
36405         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36406         SA_NODEFER, SA_RESETHAND.
36407         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36408         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36409         F_DUPFD_CLOEXEC.
36410
36411 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36412
36413         * elf/Makefile (pldd-modules): Define unconditionally.
36414
36415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36416
36417         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36418
36419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36420
36421         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36422         Return ENOENT when name is empty.
36423         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36424
36425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36426
36427         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36428
36429         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36430
36431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36432
36433         Fix mlock in all cases except non-readable pages.
36434         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36435         instead of VM_PROT_ALL as parameter to __vm_wire function.
36436
36437         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36438         (__mkdir): When path is `/', just fail with EEXIST.
36439         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36440
36441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36442
36443         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36444         <sys/uio.h> (for writev).
36445         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36446         and <sys/param.h> (for MIN).
36447
36448 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36449
36450         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36451         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36452         if interrupted.
36453
36454 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36455
36456         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36457         Depend on against $(link-rpcuserlibs).
36458
36459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36460
36461         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36462         (__libc_stack_end): Do not use attribute_relro.
36463         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36464         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36465         to libthread-provided value.
36466         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36467         attribute_relro.
36468
36469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36470
36471         [BZ #3748]
36472         * bits/libc-lock.h (__libc_once_get): New macro.
36473         * sysdeps/mach/bits/libc-lock.h: Likewise.
36474         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36475         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36476         instead of using implementation details.
36477
36478         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36479         * libio/freopen.c: Likewise.
36480         * libio/freopen64.c: Likewise.
36481         * misc/syslog.c: Likewise.
36482         * nscd/connections.c: Likewise.
36483         * nscd/netgroupcache.c: Likewise.
36484         * sysdeps/posix/getcwd.c: Likewise.
36485
36486 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36487
36488         * math/w_ilogbf.c: Add #include <limits.h>.
36489
36490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36491
36492         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36493         path instead of returning without unlocking.
36494
36495         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36496         immediate-write ioctls.
36497         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36498
36499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36500
36501         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36502         __builtin_frame_address instead of making assumptions about the
36503         location of the return address relative to DATA.  Force early load of
36504         the return address.
36505         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36506         __builtin_frame_address.
36507
36508         dup3 for GNU Hurd.
36509         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36510         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36511         implement dup3 and do some further code clean-ups.
36512         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36513         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36514
36515 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36516
36517         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36518
36519         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36520         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36521         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36522         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36523         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36524         d->port.lock.
36525
36526         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36527         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36528         when handler == SIG_ERR, not when handler != SIG_ERR.
36529
36530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36531
36532         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36533         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36534         definitions.
36535
36536         accept4 for GNU Hurd.
36537         * include/sys/socket.h (__libc_accept4): New prototype.
36538         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36539         to implement __libc_accept4.
36540         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36541         __libc_accept4.
36542         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36543
36544         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36545         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36546         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36547         signal-defines.sym.
36548
36549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36550
36551         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36552
36553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36554
36555         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36556         assertion on O_CLOEXEC flag.
36557         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36558         * hurd/intern-fd.c: Likewise.
36559         * hurd/port2fd.c: Likewise.
36560
36561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36562
36563         [BZ #3906]
36564         * bits/in.h (IPV6_PKTINFO): Define new macro.
36565         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36566
36567 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36568
36569         [BZ #13954]
36570         [BZ #13955]
36571         [BZ #13956]
36572         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36573         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36574         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36575         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36576         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36577         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36578         * math/libm-test.inc (logb_test) : Additional logb tests.
36579
36580 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36581             Andreas Jaeger  <aj@suse.de>
36582
36583         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36584         * configure: Regenerated.
36585         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36586         * config.make.in (link-obsolete-rpc): New substituted variable.
36587         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36588         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36589         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36590         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36591         so that libc.a contains the symbols.
36592         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36593         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36594         * sunrpc/auth_none.c: Likewise.
36595         * sunrpc/auth_unix.c: Likewise.
36596         * sunrpc/authdes_prot.c: Likewise.
36597         * sunrpc/authuxprot.c: Likewise.
36598         * sunrpc/clnt_gen.c: Likewise.
36599         * sunrpc/clnt_perr.c: Likewise.
36600         * sunrpc/clnt_raw.c: Likewise.
36601         * sunrpc/clnt_simp.c: Likewise.
36602         * sunrpc/clnt_tcp.c: Likewise.
36603         * sunrpc/clnt_udp.c: Likewise.
36604         * sunrpc/clnt_unix.c: Likewise.
36605         * sunrpc/des_crypt.c: Likewise.
36606         * sunrpc/des_soft.c: Likewise.
36607         * sunrpc/get_myaddr.c: Likewise.
36608         * sunrpc/key_call.c: Likewise.
36609         * sunrpc/key_prot.c: Likewise.
36610         * sunrpc/netname.c: Likewise.
36611         * sunrpc/pm_getmaps.c: Likewise.
36612         * sunrpc/pm_getport.c: Likewise.
36613         * sunrpc/pmap_clnt.c: Likewise.
36614         * sunrpc/pmap_prot.c: Likewise.
36615         * sunrpc/pmap_prot2.c: Likewise.
36616         * sunrpc/pmap_rmt.c: Likewise.
36617         * sunrpc/publickey.c: Likewise.
36618         * sunrpc/rpc_cmsg.c: Likewise.
36619         * sunrpc/rpc_common.c: Likewise.
36620         * sunrpc/rpc_dtable.c: Likewise.
36621         * sunrpc/rpc_prot.c: Likewise.
36622         * sunrpc/rpc_thread.c: Likewise.
36623         * sunrpc/rtime.c: Likewise.
36624         * sunrpc/svc.c: Likewise.
36625         * sunrpc/svc_auth.c: Likewise.
36626         * sunrpc/svc_raw.c: Likewise.
36627         * sunrpc/svc_run.c: Likewise.
36628         * sunrpc/svc_tcp.c: Likewise.
36629         * sunrpc/svc_udp.c: Likewise.
36630         * sunrpc/svc_unix.c: Likewise.
36631         * sunrpc/svcauth_des.c: Likewise.
36632         * sunrpc/xcrypt.c: Likewise.
36633         * sunrpc/xdr.c: Likewise.
36634         * sunrpc/xdr_array.c: Likewise.
36635         * sunrpc/xdr_float.c: Likewise.
36636         * sunrpc/xdr_intXX_t.c: Likewise.
36637         * sunrpc/xdr_mem.c: Likewise.
36638         * sunrpc/xdr_rec.c: Likewise.
36639         * sunrpc/xdr_ref.c: Likewise.
36640         * sunrpc/xdr_sizeof.c: Likewise.
36641         * sunrpc/xdr_stdio.c: Likewise.
36642
36643 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36644
36645         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36646         change.  Update copyright years.
36647
36648 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36649
36650         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36651
36652 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36653             Joseph Myers  <joseph@codesourcery.com>
36654             Paul Pluzhnikov  <ppluzhnikov@google.com>
36655
36656         [BZ #14012]
36657         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36658         requiring rpcgen.
36659         [cross-compiling] (extra-libs): Likewise.
36660         [cross-compiling] (extra-libs-others): Likewise.
36661         [cross-compiling] (librpcsvc-routines): Likewise.
36662         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36663         [cross-compiling] (omit-deps): Likewise.
36664         (sunrpc-CPPFLAGS): New variable.
36665         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36666         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36667         (cross-rpcgen-objs): New variable.
36668         (extra-objs): Append $(cross-rpcgen-objs).
36669         ($(cross-rpcgen-objs)): New rule.
36670         ($(objpfx)cross-rpcgen): Likewise.
36671         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36672         comment.
36673         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36674         ($(objpfx)x%.stmp): Likewise.
36675         * sunrpc/proto.h [IS_IN_build] (_): Define.
36676         [IS_IN_build] (_libc_intl_domainname): Likewise.
36677
36678 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36679
36680         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36681         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36682         and R_X86_64_TPOFF64.
36683
36684 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36685
36686         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36687         sysdeps/unix/sysv/syscalls.list.
36688         (stime): Likewise.
36689         (utime): Likewise.
36690         * sysdeps/unix/sysv/syscalls.list: Remove file.
36691
36692 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36693
36694         [BZ #3440]
36695         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36696         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36697         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36698         (__LC_IDENTIFICATION): Make these macros useful in #if
36699         expressions, as required by C99.
36700
36701 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36702
36703         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36704         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36705         after this.
36706
36707 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36708
36709         * stdlib/longlong.h: Updated from GCC.
36710
36711 2012-05-09  Andreas Jaeger  <aj@suse.de>
36712
36713         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36714         default is first entry.
36715         (run_mode): Set type.
36716         (main): Remove informal message about syslog.
36717         (options): Fix typo.
36718
36719         [BZ #14053]
36720         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36721         to asm.
36722         (lrint): Likewise.
36723         (llrintf): Likewise.
36724         (llrint): Likewise.
36725         (rint): Likewise.
36726         (rintf): Likewise.
36727         (nearbyint): Likewise.
36728         (nearbyintf): Likewise.
36729
36730 2012-05-09  Andreas Jaeger  <aj@suse.de>
36731             Pedro Alves  <palves@redhat.com>
36732
36733         * nscd/nscd.c (run_mode): Use enum.
36734         (main): Cleanup coding style issue.
36735
36736 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36737             Andreas Jaeger  <aj@suse.de>
36738
36739         * nscd/nscd.c (go_background): Replaced with...
36740         (run_mode): ... this.
36741         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36742         (options): Add -F --foreground.
36743         (main): Implement it.
36744         (parse_opt): Parse it.
36745
36746 2012-05-09  Andreas Jaeger  <aj@suse.de>
36747
36748         [BZ #14083]
36749         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36750         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36751         -Wconversion warning.
36752         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36753         Likewise.
36754
36755 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36756
36757         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36758         == 0.
36759         (LC_ALL): Use macro-int-constant.
36760         (LC_COLLATE): Likewise.
36761         (LC_CTYPE): Likewise.
36762         (LC_MESSAGES): Likewise.
36763         (LC_MONETARY): Likewise.
36764         (LC_NUMERIC): Likewise.
36765         (LC_TIME): Likewise.
36766         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36767         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36769         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36770         Specify type.
36771         [C99-based standards] (float_t): Expect type.
36772         [C99-based standards] (double_t): Expect type.
36773         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36774         type.
36775         [C99-based standards] (HUGE_VALL): Likewise.
36776         [C99-based standards] (INFINITY): Likewise.
36777         [C99-based standards] (NAN): Likewise.
36778         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36779         [C99-based standards] (FP_NAN): Likewise.
36780         [C99-based standards] (FP_NORMAL): Likewise.
36781         [C99-based standards] (FP_SUBNORMAL): Likewise.
36782         [C99-based standards] (FP_ZERO): Likewise.
36783         [C99-based standards] (FP_FAST_FMA): Use
36784         optional-macro-int-constant.  Specify type.  Require == 1.
36785         [C99-based standards] (FP_FAST_FMAF): Likewise.
36786         [C99-based standards] (FP_FAST_FMAL): Likewise.
36787         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36788         [C99-based standards] (FP_ILOGBNAN): Likewise.
36789         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36790         Specify type.
36791         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36792         [C99-based standards] (math_errhandling): Specify type.
36793         [ISO99 || ISO11] (signgam): Do not allow.
36794         [non-C99-based standards] (copysignf): Do not allow.
36795         [non-C99-based standards] (exp2f): Likewise.
36796         [non-C99-based standards] (log2f): Likewise.
36797         [non-C99-based standards] (modff): Allow.
36798         [non-C99-based standards] (erff): Do not allow.
36799         [non-C99-based standards] (erfcf): Likewise.
36800         [non-C99-based standards] (gammaf): Likewise.
36801         [non-C99-based standards] (hypotf): Likewise.
36802         [non-C99-based standards] (j0f): Likewise.
36803         [non-C99-based standards] (j1f): Likewise.
36804         [non-C99-based standards] (jnf): Likewise.
36805         [non-C99-based standards] (lgammaf): Likewise.
36806         [non-C99-based standards] (tgammaf): Likewise.
36807         [non-C99-based standards] (y0f): Likewise.
36808         [non-C99-based standards] (y1f): Likewise.
36809         [non-C99-based standards] (ynf): Likewise.
36810         [non-C99-based standards] (isnanf): Likewise.
36811         [non-C99-based standards] (acoshf): Likewise.
36812         [non-C99-based standards] (asinhf): Likewise.
36813         [non-C99-based standards] (atanhf): Likewise.
36814         [non-C99-based standards] (cbrtf): Likewise.
36815         [non-C99-based standards] (expm1f): Likewise.
36816         [non-C99-based standards] (ilogbf): Likewise.
36817         [non-C99-based standards] (log1pf): Likewise.
36818         [non-C99-based standards] (logbf): Likewise.
36819         [non-C99-based standards] (nextafterf): Likewise.
36820         [non-C99-based standards] (remainderf): Likewise.
36821         [non-C99-based standards] (rintf): Likewise.
36822         [non-C99-based standards] (scalbf): Likewise.
36823         [non-C99-based standards] (copysignl): Likewise.
36824         [non-C99-based standards] (exp2l): Likewise.
36825         [non-C99-based standards] (log2l): Likewise.
36826         [non-C99-based standards] (modfl): Allow.
36827         [non-C99-based standards] (erfl): Do not allow.
36828         [non-C99-based standards] (erfcl): Likewise.
36829         [non-C99-based standards] (gammal): Likewise.
36830         [non-C99-based standards] (hypotl): Likewise.
36831         [non-C99-based standards] (j0l): Likewise.
36832         [non-C99-based standards] (j1l): Likewise.
36833         [non-C99-based standards] (jnl): Likewise.
36834         [non-C99-based standards] (lgammal): Likewise.
36835         [non-C99-based standards] (tgammal): Likewise.
36836         [non-C99-based standards] (y0l): Likewise.
36837         [non-C99-based standards] (y1l): Likewise.
36838         [non-C99-based standards] (ynl): Likewise.
36839         [non-C99-based standards] (isnanl): Likewise.
36840         [non-C99-based standards] (acoshl): Likewise.
36841         [non-C99-based standards] (asinhl): Likewise.
36842         [non-C99-based standards] (atanhl): Likewise.
36843         [non-C99-based standards] (cbrtl): Likewise.
36844         [non-C99-based standards] (expm1l): Likewise.
36845         [non-C99-based standards] (ilogbl): Likewise.
36846         [non-C99-based standards] (log1pl): Likewise.
36847         [non-C99-based standards] (logbl): Likewise.
36848         [non-C99-based standards] (nextafterl): Likewise.
36849         [non-C99-based standards] (remainderl): Likewise.
36850         [non-C99-based standards] (rintl): Likewise.
36851         [non-C99-based standards] (scalbl): Likewise.
36852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36853         [non-C99-based standards] (FP_*): Do not allow.
36854         [C99-based standards] (FP_*): Change to
36855         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36856         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36857         allow.
36858         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36859         (SIG_ERR): Likewise.
36860         [X/Open-based standards] (SIG_HOLD): Likewise.
36861         (SIG_IGN): Likewise.
36862         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36863         positive value.
36864         (SIGFPE): Likewise.
36865         (SIGILL): Likewise.
36866         (SIGINT): Likewise.
36867         (SIGSEGV): Likewise.
36868         (SIGTER): Likewise.
36869         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36870         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36871         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36872         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36873         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36874         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36875         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36876         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36877         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36878         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36879         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36880         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36881         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36882         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36883         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36884         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36885         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36886         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36887         [X/Open-based standards] (SIGTRAP): Likewise.
36888         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36889         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36890         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36891         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36892         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36893         allow.
36894
36895 2012-05-08  Ian Wienand  <ianw@vmware.com>
36896
36897         [BZ #14080]
36898         * time/tzset.c (__tzset_parse_tz): Update default rules for
36899         daylight time changes in the Energy Policy Act of 2005.
36900
36901 2012-05-09  Andreas Jaeger  <aj@suse.de>
36902
36903         [BZ #13983]
36904         * elf/ldconfig.c (parse_conf): Change string to make clear that
36905         ldconfig only issued a warning if ld.so.conf does not exist.
36906
36907 2012-05-08  David S. Miller  <davem@davemloft.net>
36908
36909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36910         movxtod instead of popping the value on the stack.
36911
36912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36913
36914 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36915
36916         * config.h.in: Add HAVE_ARM_PCS_VFP.
36917
36918 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36919
36920         [BZ #13979]
36921         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36922         checking but the checks are disabled for any reason.
36923
36924 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36925
36926         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36927         and ELF64_R_TYPE with ELFW(R_TYPE).
36928
36929 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36930
36931         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36932         (ulimit): Likewise.
36933
36934         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36935         (settimeofday): Likewise.
36936
36937 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36938
36939         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36940         a struct th_u2 inside the union, and move tu_block/tu_code into
36941         a new th_u3 union of tu_block/tu_code inside of that.  Move
36942         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36943         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36944         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36945         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36946         (th_stuff): Change to th_u1.tu_stuff.
36947         (th_data): Define.
36948         (th_msg): Change to th_u1.th_u2.tu_data.
36949
36950 2012-05-07  David S. Miller  <davem@davemloft.net>
36951
36952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36953
36954         [BZ #14074]
36955         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36956         (SETUP_PIC_REG): Use it.
36957         (SETUP_PIC_REG_LEAF): Use it.
36958
36959 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36960
36961         [BZ #13885]
36962         [BZ #13923]
36963         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36964         USE_AS_EXPM1L.
36965         (EXPL_FINITE): Likewise.
36966         (FLDLOG): Likewise.
36967         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36968         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36969         e_expl.S.
36970         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36971         USE_AS_EXPM1L.
36972         (EXPL_FINITE): Likewise.
36973         (FLDLOG): Likewise.
36974         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36975         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36976         e_expl.S.
36977         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36978         test of -max_value argument for long double.
36979         * sysdeps/i386/fpu/libm-test-ulps: Update.
36980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36981
36982 2012-05-06  David S. Miller  <davem@davemloft.net>
36983
36984         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36985         quad soft-float symbols whose references which are compiler
36986         generated.
36987         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36988
36989 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36990
36991         [BZ #13884]
36992         [BZ #13914]
36993         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36994         USE_AS_EXP10L.
36995         (EXPL_FINITE): Likewise.
36996         (FLDLOG): Likewise.
36997         (c0): Likewise.
36998         (c1): Likewise.
36999         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37000         Adjust comments for base varying.
37001         (__expl_finite): Change alias to EXPL_FINITE.
37002         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37003         e_expl.S.
37004         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37005         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37006         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37007         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37009         USE_AS_EXP10L.
37010         (EXPL_FINITE): Likewise.
37011         (FLDLOG): Likewise.
37012         (c0): Likewise.
37013         (c1): Likewise.
37014         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37015         Adjust comments for base varying.
37016         (__expl_finite): Change alias to EXPL_FINITE.
37017         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37018         tests for bugs.
37019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37020
37021         [BZ #14064]
37022         * math/libm-test.inc (check_float_internal): Correct ulp
37023         calculation for subnormal expected results.
37024
37025 2012-05-06  Andreas Jaeger  <aj@suse.de>
37026
37027         * Makeconfig (+math-flags): New, set to -frounding-math.
37028         (+cflags): Add +math-flags so that all of glibc gets compiled with
37029         it.
37030
37031         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37032
37033 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37034
37035         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37036         Disable one test.
37037
37038         [BZ #13787]
37039         [BZ #13922]
37040         [BZ #14036]
37041         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37042         (__ieee754_expl): Allow for and saturate large arguments.
37043         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37044         (u_threshold): Likewise.
37045         (__exp): Call __ieee754_exp before checking for overflow and
37046         underflow.
37047         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37048         (u_threshold): Likewise.
37049         (__expf): Call __ieee754_expf before checking for overflow and
37050         underflow.
37051         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37052         (u_threshold): Likewise.
37053         (__expl): Call __ieee754_expl before checking for overflow and
37054         underflow.
37055         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37056         (__ieee754_expl): Allow for and saturate large arguments.
37057         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37058         missing overflow exception on overflow.
37059         (expm1_test): Do not allow missing overflow exception on overflow.
37060
37061         * sysdeps/i386/fpu/e_expl.c: Move to ...
37062         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37063         rather than using inline asm.
37064         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37065         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37066         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37067
37068         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37069         (nice): Likewise.
37070         (poll): Likewise.
37071         (signal): Likewise.
37072         (time): Likewise.
37073         (times): Likewise.
37074
37075 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37076
37077         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37078         sysdeps/unix/common/syscalls.list.
37079         (fchmod): Likewise.
37080         (fchown): Likewise.
37081         (ftruncate): Likewise.
37082         (getrusage): Likewise.
37083         (gettimeofday): Likewise.
37084         (setpgid): Likewise.
37085         (setregid): Likewise.
37086         (setreuid): Likewise.
37087         (sigaction): Likewise.
37088         (truncate): Likewise.
37089         (vhangup): Likewise.
37090         * sysdeps/unix/common/syscalls.list: Remove file.
37091         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37092         * sysdeps/unix/sysv/linux/Implies: Likewise.
37093
37094 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37095
37096         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37098         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37099         Moved to ...
37100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37101         Here.
37102         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37103         to ...
37104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37105         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37106         to ...
37107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37108         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37109         to ...
37110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37111         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37112         to ...
37113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37114         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37115         to ...
37116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37117         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37118         to ...
37119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37120         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37121         to ...
37122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37123         Here.
37124         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37125         to ...
37126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37127         Here.
37128         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37129         to ...
37130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37131         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37132         Moved to ...
37133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37134         Here.
37135         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37136         to ...
37137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37138
37139 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37140
37141         * sysdeps/unix/common/bits/dirent.h: Remove file.
37142         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37143
37144         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37145         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37146         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37147         * sysdeps/unix/bsd/isatty.c: Likewise.
37148         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37149         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37150         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37151
37152 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37153
37154         [BZ #13563]
37155         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37156         long double comparison inaccuracies.
37157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37159
37160 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37161
37162         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37163         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37164
37165 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37166
37167         [BZ #14049]
37168         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37169         nonzero digits before rounding a hex value.
37170         * stdlib/tst-strtod.c (tests): Add another test.
37171
37172 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37173
37174         * sysdeps/s390/fpu/libm-test-ulps: Update.
37175
37176 2012-05-03  Andreas Jaeger  <aj@suse.de>
37177
37178         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37179         does not get optimized out.
37180         (malloc_opt_barrier): New.
37181
37182 2012-05-03  Andreas Jaeger  <aj@suse.de>
37183             Roland McGrath  <roland@hack.frob.com>
37184
37185         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37186         intermediate file deletion.
37187         (generated): Add .symlist files.
37188
37189 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37190
37191         [BZ #13775]
37192         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37193         Redirect under this condition.
37194         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37195         [__USE_GNU] (__dprintf_chk): Not under this condition.
37196         [__USE_GNU] (__vdprintf_chk): Likewise.
37197         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37198         under this condition.
37199         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37200         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37201         [__USE_XOPEN2K8] (vdprintf): Likewise.
37202         [__USE_GNU] (__dprintf_chk): Not under this condition.
37203         [__USE_GNU] (__vdprintf_chk): Likewise.
37204         [__USE_GNU] (dprintf): Likewise.
37205         [__USE_GNU] (vdprintf): Likewise.
37206
37207 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37208
37209         * elf/Makefile (common-generated): Set this instead of generated for
37210         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37211         $(all-built-dso)-derived lists.
37212
37213 2012-05-03  Andreas Jaeger  <aj@suse.de>
37214
37215         * sysdeps/i386/fpu/libm-test-ulps: Update.
37216
37217         * FAQ: Removed.
37218         * FAQ.in: Likewise.
37219         * scripts/gen-FAQ.pl: Likewise.
37220         * manual/install.texi (Installation): Point to online location of
37221         FAQ.
37222         * Makefile (files-for-dist): Remove FAQ.
37223         (FAQ): Remove.
37224
37225 2012-05-02  Allan McRae  <allan@archlinux.org>
37226
37227         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37228         (LDFLAGS-reldepmod5.so): Likewise.
37229         (LDFLAGS-reldep6mod1.so): Likewise.
37230         (LDFLAGS-reldep6mod4.so): Likewise.
37231         (LDFLAGS-reldep8mod3.so): Likewise.
37232         (LDFLAGS-unload4mod1.so): Likewise.
37233         (LDFLAGS-unload4mod2.so): Likewise.
37234         (LDFLAGS-tst-initorder): Likewise.
37235         (LDFLAGS-tst-initordera2.so): Likewise.
37236         (LDFLAGS-tst-initordera3.so): Likewise.
37237         (LDFLAGS-tst-initordera4.so): Likewise.
37238         (LDFLAGS-tst-initorderb2.so): Likewise.
37239         (LDFLAGS-noload): Likewise.
37240         (LDFLAGS-next): Likewise.
37241         (LDFLAGS-order2mod1.so): Likewise.
37242         (LDFLAGS-order2mod2.so): Likewise.
37243         (LDFLAGS-tst-initorder2): Likewise.
37244         (LDFLAGS-tst-initorder2a.so): Likewise.
37245         (LDFLAGS-tst-initorder2b.so): Likewise.
37246         (LDFLAGS-tst-initorder2c.so): Likewise.
37247         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37248
37249 2012-05-02  David S. Miller  <davem@davemloft.net>
37250
37251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37252
37253 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37254
37255         [BZ #14055]
37256         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37257
37258 2012-05-02  Andreas Jaeger  <aj@suse.de>
37259
37260         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37261         since we manipulate rounding mode.
37262         (CPPFLAGS-test-idouble.c): Likewise.
37263         (CPPFLAGS-test-ifloat.c): Likewise.
37264         (CFLAGS-test-ldouble.c): Likewise.
37265         (CFLAGS-test-double.c): Likewise.
37266         (CFLAGS-test-float.c): Likewise.
37267         (CFLAGS-test-misc.c): Likewise.
37268         (CFLAGS-test-test-fenv.c): Likewise.
37269
37270 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37271
37272         [BZ #2550]
37273         [BZ #2570]
37274         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37275         comparisons to determine direction to adjust input.
37276
37277 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37278
37279         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37280         output to the target.
37281
37282         * scripts/localplt.awk: New file.
37283         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37284         (check-localplt-CFLAGS): Variable removed.
37285         ($(all-built-dso:=.jmprel)): New static pattern rule.
37286         (generated): Add those targets.
37287         (localplt-built-dso): New variable.
37288         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37289
37290         * elf/check-localplt.c: File removed.
37291
37292         * scripts/check-execstack.awk: New file.
37293         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37294         (check-execstack-CFLAGS): Variable removed.
37295         ($(objpfx)check-execstack.h): Target removed.
37296         ($(objpfx)execstack-default): New target.
37297         (generated): Add that instead of check-execstack.h.
37298         ($(all-built-dso:=.phdr)): New static pattern rule.
37299         (generated): Add those targets.
37300         * elf/check-execstack.c: File removed.
37301
37302         * scripts/check-textrel.awk: New file.
37303         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37304         (check-textrel-CFLAGS): Variable removed.
37305         (all-built-dso): Use := to define.o
37306         ($(all-built-dso:=.dyn)): New static pattern rule.
37307         (generated): Add those targets.
37308         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37309         * config.make.in (READELF): New substituted variable.
37310         * elf/check-textrel.c: File removed.
37311
37312 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37313
37314         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37315         allow.
37316         * conform/data/ctype.h-data [C99-based standards] (isblank):
37317         Expect function.
37318         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37319         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37321         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37322         Specify type.  Require positive value.
37323         (EILSEQ): Likewise.
37324         (ERANGE): Likewise.
37325         [ISO || POSIX] (EILSEQ): Do not expect.
37326         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37327         Specify type.  Require positive value.
37328         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37329         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37330         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37331         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37332         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37333         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37334         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37335         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37336         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37337         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37338         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37339         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37340         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37341         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37342         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37343         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37344         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37345         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37346         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37347         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37348         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37349         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37350         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37351         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37352         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37353         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37354         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37355         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37356         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37357         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37358         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37359         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37360         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37361         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37362         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37363         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37364         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37365         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37366         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37367         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37368         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37369         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37370         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37371         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37372         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37373         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37374         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37375         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37376         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37377         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37378         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37379         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37380         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37381         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37382         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37383         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37384         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37385         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37386         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37387         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37388         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37389         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37390         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37391         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37392         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37393         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37394         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37395         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37396         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37397         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37398         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37399         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37400         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37401         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37402         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37403         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37404         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37405         Require >= 2.
37406         (FLT_ROUNDS): Expect as macro, not constant.
37407         (FLT_MANT_DIG): Use macro-int-constant.
37408         (DBL_MANT_DIG): Likewise.
37409         (LDBL_MANT_DIG): Likewise.
37410         (FLT_DIG): Likewise.
37411         (DBL_DIG): Likewise.
37412         (LDBL_DIG): Likewise.
37413         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37414         (DBL_MIN_EXP): Likewise.
37415         (LDBL_MIN_EXP): Likewise.
37416         (FLT_MAX_EXP): Use macro-int-constant.
37417         (DBL_MAX_EXP): Likewise.
37418         (LDBL_MAX_EXP): Likewise.
37419         (FLT_MAX_10_EXP): Likewise.
37420         (DBL_MAX_10_EXP): Likewise.
37421         (LDBL_MAX_10_EXP): Likewise.
37422         (FLT_MAX): Use macro-constant.
37423         (DBL_MAX): Likewise.
37424         (LDBL_MAX): Likewise.
37425         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37426         (DBL_EPSILON): Likewise.
37427         (LDBL_EPSILON): Likewise.
37428         (FLT_MIN): Likewise.
37429         (DBL_MIN): Likewise.
37430         (LDBL_MIN): Likewise.
37431         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37432         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37433         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37434         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37435         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37436         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37437         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37438         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37439         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37440         [ISO11] (FLT_TRUE_MIN): Likewise.
37441         [ISO11] (LDBL_TRUE_MIN): Likewise.
37442         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37443         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37444         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37445         (SCHAR_MAX): Likewise.
37446         (UCHAR_MAX): Likewise.
37447         (CHAR_MIN): Likewise.
37448         (CHAR_MAX): Likewise.
37449         (MB_LEN_MAX): Use macro-int-constant.
37450         (SHRT_MIN): Use macro-int-constant.  Specify type.
37451         (SHRT_MAX): Likewise.
37452         (USHRT_MAX): Likewise.
37453         (INT_MAX): Likewise.
37454         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37455         bound negative.
37456         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37457         bound with "U".
37458         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37459         bound with "L".
37460         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37461         bound negative.  Suffix upper bound with "L".
37462         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37463         bound with "UL".
37464         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37465         Specify type.
37466         [C99-based standards] (LLONG_MAX): Likewise.
37467         [C99-based standards] (ULLONG_MAX): Likewise.
37468         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37469         == 0.
37470         [ISO11] (max_align_t): Require type.
37471         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37472
37473         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37474         from $CFLAGS, without defining away __attribute__ calls.
37475         (checknamespace): Use $CFLAGS_namespace.
37476
37477         * conform/conformtest.pl (@keywords): Only include C99 keywords
37478         for standards based on C99 or C11.
37479
37480         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37481         Disable tests.
37482         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37483         UNIX98]: Likewise.
37484
37485         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37486         usability of symbols in #if.
37487
37488         * conform/conformtest.pl: If macro or constant types start
37489         "promoted:", expect the symbol to be of the following type
37490         promoted by the integer promotions.
37491
37492         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37493         in one place.  Also handle "macro-constant".
37494
37495         * conform/conformtest.pl: Only accept expected macro values with
37496         "==".  Parse all "macro" lines in one place.
37497         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37498
37499         * conform/conformtest.pl: Handle braced types on "constant" lines
37500         instead of handling "typed-constant".
37501         * conform/data/signal.h-data: Use "constant" instead of
37502         "typed-constant".
37503
37504         * conform/conformtest.pl: Handle "optional-" at start of lines in
37505         one place rather than duplicating several cases.  Handle each
37506         format of "macro" line with initial "optional-".
37507
37508         * conform/conformtest.pl: Only accept expected constant or
37509         optional-constant values with "==".  Parse all "constant" lines in
37510         one place.  Parse all "optional-constant" lines in one place.
37511         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37512         * conform/data/fmtmsg.h-data: Likewise.
37513         * conform/data/netinet/in.h-data: Likewise.
37514         * conform/data/tar.h-data: Likewise.
37515         * conform/data/limits.h-data: Use "==" form on "constant" and
37516         "optional-constant" lines.
37517
37518         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37519         Use -std=c99 for XOPEN2K.
37520         (@knownproblems): Remove.
37521         (newtoken): Don't check %isknown.
37522
37523         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37524         Do not expect macro.
37525         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37526         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37527         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37528         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37529         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37530         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37531         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37532         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37533         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37534         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37535         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37536         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37537         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37538         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37539         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37540         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37541         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37542         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37543         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37544         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37545         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37546         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37547         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37548         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37549         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37550         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37551         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37552         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37553         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37554         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37555         [XPG3] (acosh): Likewise.
37556         [XPG3] (asinh): Likewise.
37557         [XPG3] (atanh): Likewise.
37558         [XPG3] (cbrt): Likewise.
37559         [XPG3] (expm1): Likewise.
37560         [XPG3] (ilogb): Likewise.
37561         [XPG3] (log1p): Likewise.
37562         [XPG3] (logb): Likewise.
37563         [XPG3] (nextafter): Likewise.
37564         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37565         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37566         [XPG3] (remainder): Likewise.
37567         [XPG3] (rint): Likewise.
37568         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37569         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37570         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37571         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37572         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37573         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37575         [UNIX98 || XOPEN2K] (scalb): Expect.
37576         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37577         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37584         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37596         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37597         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37610         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37614         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37648         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37649         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37650         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37651         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37652         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37653         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37654         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37655         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37668         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37685         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37686         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37687         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37688         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37689         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37690         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37691         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37692         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37693         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37694         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37695         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37696         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37697         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37698         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37699         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37700         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37701         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37702         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37703         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37704         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37705         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37706         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37707         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37708         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37709         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37710         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37711         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37712         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37713
37714         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37715         _XOPEN_SOURCE_EXTENDED for XPG4.
37716
37717         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37718
37719         * Makeconfig (localtime): Remove variable.
37720         (inst_localtime-file): Likewise.
37721
37722 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37723
37724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37725         Update.
37726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37727         Update.
37728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37729         Update.
37730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37731         Update.
37732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37733         Update.
37734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37735         Update.
37736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37737         Update.
37738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37739         Update.
37740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37741         Update.
37742
37743 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37744
37745         [BZ #2550]
37746         [BZ #2570]
37747         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37748         comparisons to determine direction to adjust input.
37749         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37750         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37751         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37752         Likewise.
37753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37754         Likewise.
37755         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37756         Likewise.
37757         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37758         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37759         Likewise.
37760         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37761         Likewise.
37762         * math/libm-test.inc (nexttoward_test): Add more tests.
37763
37764 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37765
37766         [BZ #14040]
37767         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37768         in version GLIBC_2.1, not GLIBC_2.0.
37769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37770         Likewise.
37771
37772 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37773
37774         [BZ #13942]
37775         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37776         (1 - x) * (1 + x).
37777         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37778         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37779         * math/libm-test.inc (acos_test): Add more tests.
37780         (asin_test): Likewise.
37781         * sysdeps/i386/fpu/libm-test-ulps: Update.
37782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37783
37784         [BZ #14034]
37785         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37786         of square root.
37787         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37788         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37789         * math/libm-test.inc (acos_test_tonearest): New function.
37790         (acos_test_towardzero): Likewise.
37791         (acos_test_downward): Likewise.
37792         (acos_test_upward): Likewise.
37793         (asin_test_tonearest): Likewise.
37794         (asin_test_towardzero): Likewise.
37795         (asin_test_downward): Likewise.
37796         (asin_test_upward): Likewise.
37797         (main): Call the new functions.
37798         * sysdeps/i386/fpu/libm-test-ulps: Update.
37799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37800
37801         [BZ #13884]
37802         [BZ #13924]
37803         * math/e_exp10.c: Include <float.h>.
37804         (__ieee754_exp10): Handle underflow here rather than multiplying
37805         large negative argument by M_LN10.
37806         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37807         of __ieee754_expf.
37808         * math/e_exp10l.c: Include <float.h>.
37809         (__ieee754_exp10l): Handle underflow here rather than multiplying
37810         large negative argument by M_LN10l.
37811         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37812         spurious overflow exception on underflow.
37813
37814 2012-04-29  Marek Polacek  <polacek@redhat.com>
37815
37816         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37817         (__fortify_function): New macro.
37818         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37819         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37820         __extern_always_inline.
37821         * libio/bits/stdio2.h: Likewise.
37822         * libio/bits/stdio.h: Likewise.
37823         * string/string.h: Likewise.
37824         * string/bits/string3.h: Likewise.
37825         * include/stdio.h: Likewise.
37826         * stdlib/bits/stdlib.h: Likewise.
37827         * stdlib/stdlib.h: Likewise.
37828         * rt/bits/mqueue2.h: Likewise.
37829         * rt/mqueue.h: Likewise.
37830         * posix/bits/unistd.h: Likewise.
37831         * posix/unistd.h: Likewise.
37832         * io/bits/poll2.h: Likewise.
37833         * io/bits/fcntl2.h: Likewise.
37834         * io/fcntl.h: Likewise.
37835         * io/sys/poll.h: Likewise.
37836         * misc/bits/syslog.h: Likewise.
37837         * misc/bits/syslog-ldbl.h: Likewise.
37838         * misc/sys/syslog.h: Likewise.
37839         * socket/bits/socket2.h: Likewise.
37840         * socket/sys/socket.h: Likewise.
37841         * debug/tst-chk1.c: Likewise.
37842         * wcsmbs/bits/wchar2.h: Likewise.
37843         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37844         * wcsmbs/wchar.h: Likewise.
37845
37846 2012-04-29  Andreas Jaeger  <aj@suse.de>
37847
37848         * Makerules (tests): Remove enable-check-abi protection.
37849         (check-abi-warn): Remove.
37850         (check-abi-%): Remove check-abi-warn usage.
37851
37852         * configure.in: Remove check-abi configure option.
37853         * configure: Regenerated.
37854         * config.make.in (enable-check-abi): Remove.
37855
37856 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37857
37858         [BZ #14033]
37859         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37860         double functions to double *_finite functions.
37861
37862         [BZ #13941]
37863         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37864         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37865         LDBL_MIN_EXP.
37866         * stdio-common/Makefile (tests): Add tst-sprintf3.
37867         * stdio-common/tst-sprintf3.c: New file.
37868
37869         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37870         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37871
37872 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37873
37874         * conform/conformtest.pl: Remove duplicate typed-constant
37875         handling.
37876
37877 2012-04-28  David S. Miller  <davem@davemloft.net>
37878
37879         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37880         (check-abi-%): Remove AWK script prerequisite and explicit
37881         abilist directory.
37882         (check-abi): Rewrite to just diff the symlist with the abilist.
37883         (config-tls, config-abi-config): Delete, no longer used.
37884         (update-abi-%): Remove AWK script and explicit abilist directory.
37885         (update-abi): Rewrite to simply compare and conditionally copy the
37886         symlist and the sysdep abilist file.  Remove update-abi-config
37887         checks.
37888         * abilist/ld.abilist: Remove.
37889         * abilist/libBrokenLocale.abilist: Remove.
37890         * abilist/libanl.abilist: Remove.
37891         * abilist/libcrypt.abilist: Remove.
37892         * abilist/libdl.abilist: Remove.
37893         * abilist/librt.abilist: Remove.
37894         * abilist/libthread_db.abilist: Remove.
37895         * abilist/libutil.abilist: Remove.
37896         * scripts/extract-abilist.awk: Remove.
37897         * scripts/merge-abilist.awk: Remove.
37898         * sysdeps/generic/libcidn.abilist: New file.
37899         * sysdeps/generic/libnss_compat.abilist: New file.
37900         * sysdeps/generic/libnss_db.abilist: New file.
37901         * sysdeps/generic/libnss_dns.abilist: New file.
37902         * sysdeps/generic/libnss_files.abilist: New file.
37903         * sysdeps/generic/libnss_hesiod.abilist: New file.
37904         * sysdeps/generic/libnss_nis.abilist: New file.
37905         * sysdeps/generic/libnss_nisplus.abilist: New file.
37906         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37907         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37908         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37909         file.
37910         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37911         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37912         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37913         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37914         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37915         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37916         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37917         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37918         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37919         file.
37920         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37921         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37922         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37923         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37924         file.
37925         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37926         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37927         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37928         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37929         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37930         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37931         file.
37932         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37933         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37934         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37935         file.
37936         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37938         New file.
37939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37940         New file.
37941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37942         New file.
37943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37944         New file.
37945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37946         New file.
37947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37948         New file.
37949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37950         New file.
37951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37952         New file.
37953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37954         New file.
37955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37956         New file.
37957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37958         New file.
37959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37960         New file.
37961         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37962         New file.
37963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37964         file.
37965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37966         New file.
37967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37968         New file.
37969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37970         file.
37971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37972         New file.
37973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37974         New file.
37975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37976         file.
37977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37978         New file.
37979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37980         New file.
37981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37982         New file.
37983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37984         New file.
37985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37986         New file.
37987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37988         New file.
37989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37991         file.
37992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37993         New file.
37994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37995         file.
37996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37997         file.
37998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37999         file.
38000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38001         file.
38002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38003         file.
38004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38005         New file.
38006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38007         file.
38008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38009         file.
38010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38011         New file.
38012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38013         file.
38014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38016         file.
38017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38018         New file.
38019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38020         file.
38021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38022         file.
38023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38024         file.
38025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38026         file.
38027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38028         file.
38029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38030         New file.
38031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38032         file.
38033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38034         file.
38035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38036         New file.
38037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38038         file.
38039         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38040         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38041         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38042         file.
38043         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38044         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38045         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38046         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38047         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38048         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38049         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38050         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38051         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38052         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38055         file.
38056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38057         New file.
38058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38059         file.
38060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38061         file.
38062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38063         file.
38064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38065         file.
38066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38067         file.
38068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38069         New file.
38070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38071         New file.
38072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38073         file.
38074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38075         New file.
38076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38077         file.
38078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38080         file.
38081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38082         New file.
38083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38084         file.
38085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38086         file.
38087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38088         file.
38089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38090         file.
38091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38092         file.
38093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38094         New file.
38095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38096         New file.
38097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38098         file.
38099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38100         New file.
38101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38102         file.
38103
38104 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38105
38106         * conform/conformtest.pl: Fix typo in handling typed-constant from
38107         allow-header.
38108
38109 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38110
38111         * README: Cut down references to pre-2.6 Linux kernels and
38112         Linuxthreads.  Update lists of configurations in libc and ports
38113         and sort alphabetically.  Say "or newer" with Linux kernel version
38114         requirements.
38115
38116         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38117
38118 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38119
38120         [BZ #887]
38121         * math/libm-test.inc (logb_test_downward): New test to expose
38122         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38123         rounding mode.
38124
38125 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38126
38127         [BZ #14027]
38128         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38129         to be done.
38130         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38131         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38132
38133 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38134
38135         * sysdeps/unix/i386/brk.S: Remove file.
38136         * sysdeps/unix/i386/dl-brk.S: Likewise.
38137         * sysdeps/unix/i386/pipe.S: Likewise.
38138         * sysdeps/unix/i386/sigreturn.S: Likewise.
38139         * sysdeps/unix/i386/syscall.S: Likewise.
38140         * sysdeps/unix/i386/vfork.S: Likewise.
38141         * sysdeps/unix/i386/wait.S: Likewise.
38142
38143         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38144         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38145
38146         * configure.in (arm*-none*): Do not allow without
38147         --enable-hacker-mode.
38148         (netbsd*): Remove case setting base_os.
38149         (386bsd*): Likewise.
38150         (freebsd*): Likewise.
38151         (bsdi*): Likewise.
38152         (osf*): Likewise.
38153         (sunos*): Likewise.
38154         (ultrix*): Likewise.
38155         (newsos*): Likewise.
38156         (dynix*): Likewise.
38157         (*bsd*): Likewise.
38158         (sysv*): Likewise.
38159         (isc*): Likewise.
38160         (esix*): Likewise.
38161         (sco*): Likewise.
38162         (minix*): Likewise.
38163         (irix4*): Likewise.
38164         (irix6*): Likewise.
38165         (solaris[2-9]*): Likewise.
38166         (none): Likewise.
38167         * configure: Regenerated.
38168
38169 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38170
38171         [BZ #11521]
38172         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38173         overflow or cancellation in calculating denominator.
38174         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38175         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38176         down expression to avoid unexpected rounding in newer GCCs.
38177         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38178
38179 2012-04-26  David S. Miller  <davem@davemloft.net>
38180
38181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38182         long-double compat symbols.
38183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38196
38197 2012-04-25  David S. Miller  <davem@davemloft.net>
38198
38199         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38200         HWCAP_* values only after the memory barriers have been defined.
38201         (atomic_full_barrier): Define.
38202         (atomic_read_barrier): Define.
38203         (atomic_write_barrier): Define.
38204
38205 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38206
38207         * shlib-versions: Add libgcc_s version information.
38208         * sysdeps/generic/libgcc_s.h: Remove.
38209         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38210         libgcc_s.h.
38211         * sysdeps/gnu/unwind-resume.c: Likewise.
38212         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38213
38214 2012-04-25  David S. Miller  <davem@davemloft.net>
38215
38216         * sysdeps/unix/sparc/brk.S: Delete.
38217         * sysdeps/unix/sparc/dl-brk.S: Delete.
38218         * sysdeps/unix/sparc/pipe.S: Delete.
38219         * sysdeps/unix/sparc/sysdep.S: Delete.
38220         * sysdeps/unix/sparc/sysdep.h: Delete.
38221         * sysdeps/unix/sparc/vfork.S: Delete.
38222         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38223         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38224         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38225         (ret_ERRVAL, r0, r1, MOVE): Define.
38226         (JUMPTARGET): Remove.
38227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38228         sysdeps/unix/sparc/sysdep.h
38229         (ENTRY, END): Remove.
38230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38231
38232 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38233
38234         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38235         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38236         -DIS_IN_build.
38237
38238         * timezone/README: Update upstream location and email address for
38239         tzcode and tzdata.
38240         * timezone/zdump.c: Update from tzcode 2012b.
38241         * timezone/zic.c: Likewise.
38242
38243         * configure.in (libc_cv_as_needed): Remove test.
38244         * configure: Regenerated.
38245         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38246         conditional definition.
38247         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38248         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38249         * config.make.in (have-as-needed): Remove variable.
38250
38251 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38252             Paul Pluzhnikov  <ppluzhnikov@google.com>
38253
38254         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38255         strings correctly.
38256
38257 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38258
38259         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38260         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38261         * sysdeps/sh/strlen.S: Likewise.
38262
38263 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38264
38265         * sysdeps/unix/fork.S: Remove file.
38266         * sysdeps/unix/i386/fork.S: Likewise.
38267         * sysdeps/unix/sparc/fork.S: Likewise.
38268
38269         * sysdeps/unix/system.c: Remove file.
38270         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38271
38272         * sysdeps/unix/getegid.S: Remove file.
38273         * sysdeps/unix/geteuid.S: Likewise.
38274
38275 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38276
38277         * scripts/check-localplt.awk: New file.
38278         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38279         of diff.
38280         * scripts/data/localplt-generic.data: Add a comment.
38281
38282         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38283         NODE when __dir_mkfile failed.
38284         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38285         Reported by Ludovic Courtès <ludo@gnu.org>.
38286
38287 2012-04-24  Andreas Jaeger  <aj@suse.de>
38288
38289         * Makerules (common-clean): Also remove gen-as-const-headers
38290         files.
38291
38292 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38293
38294         * Makerules (native-compile): Do not change working directory for
38295         build.  Use $(OUTPUT_OPTION) in command.
38296         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38297
38298 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38299
38300         [BZ #13886]
38301         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38302         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38303         * math/libm-test.inc (floor_test): Add more tests.
38304         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38305
38306 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38307
38308         * sysdeps/unix/getdents.c: Remove file.
38309         * sysdeps/unix/sysv/getdents.c: Likewise.
38310         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38311
38312         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38313         sysdeps/unix/mman/syscalls.list.
38314         (mmap): Likewise.
38315         (mprotect): Likewise.
38316         (msync): Likewise.
38317         (munmap): Likewise.
38318         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38319         * sysdeps/unix/mman/syscalls.list: Remove.
38320         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38321
38322         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38323         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38324         * configure: Regenerated.
38325         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38326         $(libgcc_s_suffix).
38327         * config.make.in (libgcc_s_suffix): Remove variable.
38328
38329 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38330
38331         * sysdeps/unix/sysv/gethostname.c: Move to ...
38332         * sysdeps/posix/gethostname.c: ... here.
38333
38334         * sysdeps/unix/execve.S: Remove file.
38335
38336         * sysdeps/unix/_exit.S: Remove file.
38337
38338 2012-04-23  Andreas Jaeger  <aj@suse.de>
38339
38340         [BZ #13739]
38341         * manual/Makefile: Remove make dist support, there's no
38342         need for a stand-alone documentation tar ball.
38343         (TEXI2DVI): Define always, it's not in Makeconfig.
38344         (dist): Removed.
38345         (tar-it): Removed.
38346         (edition): Removed.
38347         (glibc-doc-$(edition).tar): Removed
38348         (%.Z): Removed.
38349         (%.gz): Removed.
38350         (%.uu): Removed.
38351         (ETAGS): Remove, it's in Makeconfig.
38352         (move-if-change): Remove, it's in Makeconfig.
38353
38354 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38355
38356         [BZ #13970]
38357         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38358         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38359         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38360         (strtod_l, strtof_l, strtold_l): Remove __wur.
38361         It is not necessarily an error to ignore strtol's return value.
38362         One can reliably look at the stored endptr to decide whether
38363         the number had valid syntax.
38364
38365 2012-04-21  Andreas Jaeger  <aj@suse.de>
38366
38367         [BZ #13739]
38368         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38369
38370 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38371
38372         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38373         * sysdeps/unix/sysv/Versions: Remove file.
38374
38375 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38376
38377         [BZ #13927]
38378         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38379
38380 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38381
38382         [BZ #7064]
38383         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38384         version from __vm86.
38385
38386 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38387
38388         * sysdeps/unix/common/lxstat.c: Remove file.
38389         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38390
38391         * sysdeps/unix/sysv/Makefile: Remove file.
38392
38393         * sysdeps/unix/sysv/direct.h: Remove file.
38394
38395         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38396         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38397         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38398         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38399         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38400         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38401         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38402
38403         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38404
38405         * sysdeps/unix/xmknod.c: Remove file.
38406         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38407
38408         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38409
38410         * sysdeps/unix/sysv/i386/time.S: Remove file.
38411
38412         * sysdeps/unix/fxstat.c: Remove file.
38413         * sysdeps/unix/xstat.c: Likewise.
38414         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38415
38416         * sysdeps/unix/sysv/sigaction.c: Remove file.
38417
38418         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38419         (sysdep_headers): Remove variable.
38420         [termio.h not in sysdep_headers] (generated): Likewise.
38421         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38422         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38423         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38424         * sysdeps/unix/sysv/tcflow.c: Likewise.
38425         * sysdeps/unix/sysv/tcflush.c: Likewise.
38426         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38427         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38428         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38429         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38430         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38431
38432         * sysdeps/unix/siglist.c: Remove file.
38433
38434         * sysdeps/unix/getppid.S: Remove file.
38435
38436         * sysdeps/unix/mkdir.c: Remove file.
38437         * sysdeps/unix/rmdir.c: Likewise.
38438
38439 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38440
38441         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38442         ERR_MAX value.
38443         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38444         errlist-compat value.
38445
38446 2012-04-18  David S. Miller  <davem@davemloft.net>
38447
38448         * sysdeps/generic/memcopy.h (reg_char): Delete.
38449         * debug/strcat_chk.c: Use char, not reg_char.
38450         * debug/strcpy_chk.c: Likewise.
38451         * debug/strncat_chk.c: Likewise.
38452         * debug/strncpy_chk.c: Likewise.
38453         * string/memchr.c: Likewise.
38454         * string/memrchr.c: Likewise.
38455         * string/rawmemchr.c: Likewise.
38456         * string/strcat.c: Likewise.
38457         * string/strchr.c: Likewise.
38458         * string/strchrnul.c: Likewise.
38459         * string/strcmp.c: Likewise.
38460         * string/strcpy.c: Likewise.
38461         * string/strncat.c: Likewise.
38462         * string/strncmp.c: Likewise.
38463         * string/strncpy.c: Likewise.
38464
38465 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38466
38467         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38468         __builtin_memcopy is called when src and dest ranges are known to not
38469         overlap.
38470
38471 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38472
38473         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38474         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38475         fwd_align_merge macro call.
38476         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38477         bwd_align_merge macro call.
38478         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38479
38480 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38481
38482         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38483         bwd_align_merge macros.
38484         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38485         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38486         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38487
38488 2012-04-18  David S. Miller  <davem@davemloft.net>
38489
38490         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38491
38492 2012-04-18  Andreas Jaeger  <aj@suse.de>
38493
38494         [BZ# 6794]
38495         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38496         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38497         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38498
38499         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38500         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38501         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38502
38503         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38504         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38505         Adjust for changed ldbl-128 files.
38506
38507         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38508         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38509         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38510
38511 2012-04-17  David S. Miller  <davem@davemloft.net>
38512
38513         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38514
38515 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38516
38517         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38518         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38519         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38520         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38521         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38522         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38523
38524 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38525
38526         [BZ #6794]
38527         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38528         * math/libm-test.inc: Add ilogb errno and exception tests.
38529         * math/w_ilogb.c: New file: ilogb wrapper.
38530         * math/w_ilogbf.c: New file: ilogbf wrapper.
38531         * math/w_ilogbl.c: New file: ilogbl wrapper.
38532         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38533         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38534         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38535         exception being thrown with 0.0 as argument.
38536         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38537         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38538         exception being thrown with 0.0 as argument.
38539         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38540         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38541         exception being thrown with 0.0 as argument.
38542         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38543         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38544         exception being thrown with 0.0 as argument.
38545         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38546         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38547         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38548         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38549         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38550         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38551         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38552         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38553         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38554
38555 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38556
38557         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38558         with altivec.
38559
38560 2012-04-16  Marek Polacek  <polacek@redhat.com>
38561
38562         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38563
38564 2012-04-16  Marek Polacek  <polacek@redhat.com>
38565
38566         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38567         operands of fdivp instruction.
38568
38569 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38570
38571         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38572         * elf/tst-auditmod3b.c: Likewise.
38573         * elf/tst-auditmod4b.c: Likewise.
38574         * elf/tst-auditmod5b.c: Likewise.
38575         * elf/tst-auditmod6b.c: Likewise.
38576         * elf/tst-auditmod6c.c: Likewise.
38577         * elf/tst-auditmod7b.c: Likewise.
38578         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38579         * sysdeps/x86_64/preconfigure.in: Likewise.
38580         * sysdeps/x86_64/preconfigure: Regenerated.
38581
38582 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38583
38584         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38585         __ILP32__.
38586
38587 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38588
38589         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38590         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38591
38592 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38593
38594         [BZ #13973]
38595         * locale/iso-639.def: Fix gl language name. Spotted by
38596         Yaron Shahrabani.
38597
38598 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38599
38600         [BZ #2074]
38601         * libio/libio.h (__io_write_fn): Update comment.
38602
38603 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38604
38605         [BZ #2074]
38606         * stdio.texi (Hook Functions): The user provided writer function
38607         is not allowed to return -1.
38608
38609 2012-04-11  David S. Miller  <davem@davemloft.net>
38610
38611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38612
38613 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38614
38615         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38616         Add a leading slash to rtkaio.
38617
38618 2012-04-11  Jim Meyering  <meyering@redhat.com>
38619
38620         [BZ #11959]
38621         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38622         It is not necessarily an error to ignore fwrite's return
38623         value.  One can reliably use ferror to test for errors after
38624         the fact.
38625
38626 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38627
38628         * bits/types.h (__snseconds_t): New type.
38629         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38630
38631         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38633         (__SNSECONDS_T_TYPE): Likewise.
38634         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38635         (__SNSECONDS_T_TYPE): Likewise.
38636         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38637         (__SNSECONDS_T_TYPE): Likewise.
38638
38639 2012-04-10  Andreas Jaeger  <aj@suse.de>
38640
38641         [BZ #2636]
38642         * manual/time.texi (Processor Time): Return type of times is
38643         elapsed real time since an arbitrary point in the past.
38644         (CPU Time): Move CLK_TCK from here...
38645         (Processor Time): ...to here.  Correct description.
38646         * manual/conf.texi (Constants for Sysconf): Correct description of
38647         _SC_CLK_TCK.
38648
38649 2012-04-10  David S. Miller  <davem@davemloft.net>
38650
38651         [BZ #13967]
38652         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38653         where the is a gap between DT_REL(A) and DT_JMPREL.
38654
38655 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38656
38657         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38658         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38659         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38660
38661 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38662
38663         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38664         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38665         (dl_main): Handle --inhibit-cache.
38666         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38667         _dl_inhibit_cache.
38668         * elf/dl-load.c (_dl_map_object): Use it.
38669         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38670
38671 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38672
38673         [BZ #13872]
38674         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38675         (__ieee754_powl): Saturate large exponents rather than testing for
38676         overflow of y*log2(x).
38677         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38678         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38679         exceptions.
38680
38681         [BZ #11521]
38682         * math/s_ctan.c: Include <float.h>.
38683         (__ctan): Avoid internal overflow or cancellation in calculating
38684         denominator.
38685         * math/s_ctanf.c: Likewise.
38686         * math/s_ctanl.c: Likewise.
38687         * math/s_ctanh.c: Likewise.
38688         * math/s_ctanhf.c: Likewise.
38689         * math/s_ctanhl.c: Likewise.
38690         * math/libm-test.inc (ctan_test): Add more tests.
38691         (ctanh_test): Likewise.
38692         * sysdeps/i386/fpu/libm-test-ulps: Update.
38693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38694
38695 2012-04-09  Andreas Jaeger  <aj@suse.de>
38696
38697         [BZ #6894]
38698         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38699         is an optional BSD extension.
38700
38701         [BZ #10254]
38702         * manual/stdio.texi (Opening Streams): Document additional fopen
38703         parameters.
38704
38705 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38706
38707         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38708         %eax without telling the compiler.
38709
38710 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38711
38712         [BZ # 13963]
38713         * manual/install.texi: Use sourceware.org.
38714
38715 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38716
38717         [BZ #13873]
38718         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38719         (__ieee754_pow): Generate overflow and underflow using huge*huge
38720         and tiny*tiny rather than just returning constant infinity or zero
38721         for large exponents.
38722         * math/libm-test.inc (pow_test): Require overflow exceptions for
38723         applicable cases of large exponents.
38724
38725         [BZ #706]
38726         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38727         (__ieee754_pow): Use iterative multiplication algorithm only for
38728         integer exponents with absolute value below 1024.  Check for odd
38729         integer exponents when using algorithm for real exponents.
38730         * math/libm-test.inc (pow_test): Add more tests.
38731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38732
38733 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38734
38735         [BZ #13705]
38736         * math/libm-test.inc (exp_test): Do not allow overflow exception
38737         on underflow test.
38738
38739 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38740
38741         [BZ #13705]
38742         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38743         instead of __kernel_standard_f.
38744
38745 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38746
38747         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38748         * sysdeps/x86_64/memset_chk.S: Likewise.
38749
38750 2012-04-08  Andreas Jaeger  <aj@suse.de>
38751
38752         [BZ #10153]
38753         * manual/startup.texi (Environment Access): Describe return value
38754         for putenv and setenv.
38755
38756         [BZ #6895]
38757         * manual/filesys.texi (Directory Entries): Add description for
38758         DT_LNK.
38759
38760         [BZ #6890]
38761         * manual/filesys.texi (Directory Entries): Clarify that it's file
38762         system not operating system in the description of DT_UNKNOWN.
38763
38764         [BZ #6578]
38765         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38766
38767 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38768
38769         [BZ #6649]
38770         * manual/llio.texi (Opening and Closing Files): Add cross
38771         reference to explain mode argument.
38772
38773 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38774
38775         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38776         * sysdeps/x86_64/memset_chk.S: Likewise.
38777
38778 2012-04-07  David S. Miller  <davem@davemloft.net>
38779
38780         * elf/elf.h (R_SPARC_WDISP10): Define.
38781         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38782         R_SPARC_SIZE32.
38783         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38784         R_SPARC_SIZE64 and R_SPARC_H34.
38785
38786 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38787
38788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38789         conditions and remove no longer applicable assertion.
38790
38791 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38792
38793         * bits/byteswap.h: Include <features.h>.
38794         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38795         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38796
38797 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38798
38799         * bits/byteswap.h (__bswap_16): Removed.
38800         Include <bits/byteswap-16.h> to get __bswap_16.
38801         * sysdeps/i386/bits/byteswap.h: Likewise.
38802         * sysdeps/s390/bits/byteswap.h: Likewise.
38803         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38804         * bits/byteswap-16.h: New file.
38805         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38806         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38807         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38808         * string/Makefile (headers): Add bits/byteswap-16.h.
38809
38810 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38811
38812         [BZ #13895]
38813         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38814         extra indirection.
38815         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38816         * nss/tst-nss-static.c: New.
38817
38818 2012-04-06  Robert Millan  <rmh@gnu.org>
38819
38820         [BZ #6486]
38821         * manual/llio.texi (File Position Primitive): lseek
38822         refers to WHENCE when it really means OFFSET.
38823
38824 2012-04-06  Andreas Jaeger  <aj@suse.de>
38825
38826         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38827         strncmp declarations.
38828
38829         * abilist/libc.abilist: Add __poll and __ppoll.
38830
38831 2012-04-05  David S. Miller  <davem@davemloft.net>
38832
38833         * scripts/check-local-headers.sh: Accept a host triplet in the
38834         path matched by the exclude regexp.
38835
38836         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38837         definition.
38838         * sysdeps/powerpc/powerpc32/dl-machine.h
38839         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38840         * sysdeps/s390/s390-32/dl-machine.h
38841         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38842         * sysdeps/sparc/sparc32/dl-machine.h
38843         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38844         * sysdeps/sparc/sparc64/dl-machine.h
38845         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38846
38847         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38848         lazy binding.
38849         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38850         undefined symbol errors.
38851
38852         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38853         DT_NEEDED entries.
38854
38855 2012-04-05  Michael Matz  <matz@suse.de>
38856
38857         [BZ #13592]
38858         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38859
38860 2012-04-05  Andreas Jaeger  <aj@suse.de>
38861
38862         [BZ #13908]
38863         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38864         comment.
38865
38866 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38867
38868         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38869         which ROUND is no valid rounding mode.
38870
38871 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38872
38873         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38874         read again.
38875         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38876
38877 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38878
38879         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38880         an exception using FPU order intentionally.
38881
38882 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38883
38884         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38885         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38886         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38887         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38888
38889 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38890
38891         [BZ #12340]
38892         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38893         EINVAL when BUFLEN is too smal.
38894
38895 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38896
38897         [BZ #13553]
38898         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38899         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38900
38901 2012-04-03  Andreas Jaeger  <aj@suse.de>
38902
38903         [BZ #13938]
38904         * manual/setjmp.texi (System V contexts): Fix sentence.
38905
38906         [BZ #13926]
38907         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38908         New macro for this case.
38909         [!__GNUC__] (__bswap_64): New inline function for this case.
38910         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38911         * bits/byteswap.h: Likewise.
38912         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38913         ull, guard with __GLIBC_HAVE_LONG_LONG.
38914
38915         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38916         __GLIBC_HAVE_LONG_LONG.
38917
38918         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38919         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38920
38921 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38922
38923         [BZ #13691]
38924         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38925         inptr and inend, rather than using last_ch.
38926
38927 2012-04-02  David S. Miller  <davem@davemloft.net>
38928
38929         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38930         * stdio-common/printf-parse.h (read_int): Change return type to
38931         'int', return -1 on INT_MAX overflow.
38932         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38933         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38934         overflows INT_MAX.  Check for overflow of in-format-string precision
38935         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38936         SIZE_MAX not INT_MAX for integer overflow test.
38937         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38938         skip the construct in the format string but do not record anything.
38939         * stdio-common/bug22.c: Adjust to test both width/prevision
38940         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38941         explicitly for proper errno values.
38942
38943 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38944
38945         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38946         CHAR_MAX.
38947         * string/test-strcmp.c [! WIDE]: Likewise.
38948         * time/tst-mktime2.c: Likewise for INT_MAX.
38949         * string/test-string.h: #include <sys/param.h> for MIN.
38950
38951         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38952         * sysdeps/i386/init-first.c (init): Likewise.
38953         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38954         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38955         * sysdeps/sh/init-first.c (init): Likewise.
38956
38957 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38958
38959         * po/ru.po: Update from translation team.
38960         * po/vi.po: Likewise.
38961
38962 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38963
38964         * resolv/nss_dns/dns-host.c: Merge copyright years.
38965
38966 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38967
38968         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38969         Optimize memcpy with prefetch if
38970         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38971         src, dst pointers have unequal 16 byte alignments.
38972
38973 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38974
38975         [BZ #13928]
38976         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38977         from a CNAME entry and return the minimum ttl for the query.
38978         (gaih_getanswer_slice): Likewise.
38979
38980 2012-03-30  Jeff Law  <law@redhat.com>
38981
38982         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38983         due to long keys.
38984         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38985         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38986
38987         * resolv/nss_dns/dns-host.c: Update copyright year.
38988
38989 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38990
38991         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38992         requests to save a system call.  Fix check that all bytes are sent.
38993
38994         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38995         comments for sendmmsg.
38996
38997 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38998
38999         [BZ #13691]
39000         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39001         with only 1 character between 0x0041 and 0x01b0.
39002         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39003         * wcsmbs/tst-mbsnrtowcs.c: New file.
39004
39005 2012-03-29  David S. Miller  <davem@davemloft.net>
39006
39007         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39008         small copies by hand.
39009
39010 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39011
39012         [BZ #13761]
39013         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39014         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39015         group memberships.
39016
39017 2012-03-28  David S. Miller  <davem@davemloft.net>
39018
39019         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39020         that branches into memcpy.
39021         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39022         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39023         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39024         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39026         bits.
39027         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39028         implementation too.
39029         * sysdeps/sparc/mempcpy.S: New file.
39030
39031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39032         the IFUNC routine in the libc case.
39033         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39034
39035         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39036         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39037         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39038         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39039         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39040         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39041         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39042         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39043
39044         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39045         loop to 256 bytes instead of 64 bytes and fix test signedness.
39046
39047         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39048         * sysdeps/sparc/sparc32/Makefile: rather than here...
39049         * sysdeps/sparc/sparc64/Makefile: and here.
39050
39051 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39052
39053         * malloc/mallocbug.c: Avoid warnings about unused variables.
39054
39055 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39056
39057         [BZ #13760]
39058         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39059         in the right place. Discard and retry query if response is
39060         larger than input buffer size.
39061
39062 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39063
39064         [BZ #369]
39065         [BZ #2678]
39066         [BZ #3866]
39067         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39068         x for large integer exponent.
39069         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39070         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39071         sign of result as needed afterwards.
39072         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39073         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39074         result for underflowing pow the same as for overflow.
39075         (__kernel_standard_l): Handle powl overflow and underflow here
39076         rather than calling __kernel_standard.
39077         * math/libm-test.inc (pow_test): Add more tests.
39078
39079         [BZ #3868]
39080         [BZ #13879]
39081         [BZ #13910]
39082         [BZ #13911]
39083         [BZ #13912]
39084         [BZ #13913]
39085         [BZ #13915]
39086         [BZ #13916]
39087         [BZ #13917]
39088         [BZ #13918]
39089         [BZ #13919]
39090         [BZ #13920]
39091         [BZ #13921]
39092         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39093         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39094         (__kernel_standard_l): New function.
39095         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39096         __kernel_standard.
39097         * math/w_acosl.c (__acosl): Likewise.
39098         * math/w_asinl.c (__asinl): Likewise.
39099         * math/w_atan2l.c (__atan2l): Likewise.
39100         * math/w_atanhl.c (__atanhl): Likewise.
39101         * math/w_coshl.c (__coshl): Likewise.
39102         * math/w_exp10l.c (__exp10l): Likewise.
39103         * math/w_exp2l.c (__exp2l): Likewise.
39104         * math/w_fmodl.c (__fmodl): Likewise.
39105         * math/w_hypotl.c (__hypotl): Likewise.
39106         * math/w_j0l.c (__j0l, __y0l): Likewise.
39107         * math/w_j1l.c (__j1l, __y1l): Likewise.
39108         * math/w_jnl.c (__jnl, __ynl): Likewise.
39109         * math/w_lgammal.c (__lgammal): Likewise.
39110         * math/w_log10l.c (__log10l): Likewise.
39111         * math/w_log2l.c (__log2l): Likewise.
39112         * math/w_logl.c (__logl): Likewise.
39113         * math/w_powl.c (__powl): Likewise.
39114         * math/w_remainderl.c (__remainderl): Likewise.
39115         * math/w_scalbl.c (sysv_scalbl): Likewise.
39116         * math/w_sinhl.c (__sinhl): Likewise.
39117         * math/w_sqrtl.c (__sqrtl): Likewise.
39118         * math/w_tgammal.c (__tgammal): Likewise.
39119         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39120         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39121         * math/libm-test.inc (acos_test): Add more tests.
39122         (acosh_test): Likewise.
39123         (asin_test): Likewise.
39124         (atanh_test): Likewise.
39125         (exp_test): Likewise.
39126         (exp10_test): Likewise.
39127         (exp2_test): Likewise.
39128         (expm1_test): Likewise.
39129         (lgamma_test): Likewise.
39130         (log_test): Likewise.
39131         (log10_test): Likewise.
39132         (log1p_test): Likewise.
39133         (log2_test): Likewise.
39134         (pow_test): Do not allow some spurious overflow exceptions.
39135         (sqrt_test): Add more tests.
39136         (tgamma_test): Likewise.
39137         (y0_test): Likewise.
39138         (y1_test): Likewise.
39139         (yn_test): Likewise.
39140
39141 2012-03-27  Anton Blanchard  <anton@samba.org>
39142
39143         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39144         MAP_HUGETLB.
39145         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39146         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39147         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39148
39149 2012-03-27  David S. Miller  <davem@davemloft.net>
39150
39151         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39152
39153         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39154         have-as-vis3 check.
39155
39156 2012-03-27  Andreas Jaeger  <aj@suse.de>
39157
39158         * sysdeps/x86_64/elf/configure.in: Moved to ...
39159         * sysdeps/x86_64/configure.in: ... here.
39160         * sysdeps/x86_64/elf/start.S: Moved to ...
39161         * sysdeps/x86_64/start.S: ... here.
39162         * sysdeps/x86_64/elf/configure: Delete.
39163
39164         * sysdeps/x86_64/configure.in: Merge contents from
39165         sysdeps/i386/configure.in (without i686 check).
39166
39167         * sysdeps/i386/elf/Versions: Merge into ...
39168         * sysdeps/i386/Versions: ... this.
39169         * sysdeps/i386/elf/Versions: Delete file.
39170         * sysdeps/i386/elf/start.S: Moved to ...
39171         * sysdeps/i386/start.S: ...here.
39172         * sysdeps/i386/elf/configure.in: Merge into...
39173         * sysdeps/i386/configure.in: ...here.
39174         * sysdeps/i386/elf/configure.in: Delete file.
39175         * sysdeps/i386/elf/configure: Delete file.
39176
39177         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39178         * debug/backtracesyms.c: ... here.
39179         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39180         * debug/backtracesymsfd.c: ... here.
39181         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39182         * sysdeps/generic/ifunc-sel.h: ... here.
39183
39184         * sysdeps/unix/i386/start.c: Delete file.
39185         * sysdeps/unix/sparc/start.c: Delete file.
39186         * sysdeps/unix/start.c: Delete file.
39187
39188         * sysdeps/sh/elf/configure.in: Moved to ...
39189         * sysdeps/sh/configure.in: ... here.
39190         * sysdeps/sh/elf/start.S: Moved to ...
39191         * sysdeps/sh/start.S: ... here.
39192         * sysdeps/sh/elf/configure: Delete file.
39193
39194         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39195         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39196         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39197         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39198         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39199         * sysdeps/powerpc/powerpc64/start.S: here.
39200         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39201         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39202         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39203         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39204         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39205
39206         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39207         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39208         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39209         * sysdeps/powerpc/powerpc32/start.S: ... here.
39210         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39211         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39212         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39213
39214         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39215         * sysdeps/powerpc/ifunc-sel.h: ... here.
39216         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39217         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39218
39219         * sysdeps/sparc/elf/configure.in: Moved to ...
39220         * sysdeps/sparc/configure.in: ... here.
39221         * sysdeps/sparc/elf/configure: Delete file.
39222         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39223         * sysdeps/sparc/sparc32/start.S: ... here.
39224         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39225         * sysdeps/sparc/sparc64/start.S: ... here.
39226         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39227         * sysdeps/sparc/sparc32/Makefile: ... this.
39228         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39229         * sysdeps/sparc/sparc64/Makefile: ... this.
39230
39231         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39232         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39233         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39234         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39235         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39236         * sysdeps/s390/s390-32/setjmp.S: ... here.
39237         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39238         * sysdeps/s390/s390-32/configure.in: ... here.
39239         * sysdeps/s390/s390-32/elf/configure: Delete file.
39240         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39241         * sysdeps/s390/s390-32/start.S: ... here.
39242
39243         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39244         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39245         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39246         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39247         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39248         * sysdeps/s390/s390-64/setjmp.S: ... here.
39249         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39250         * sysdeps/s390/s390-64/configure.in: ... here
39251         * sysdeps/s390/s390-64/elf/configure: Delete file.
39252         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39253         * sysdeps/s390/s390-64/start.S: ... here.
39254         * sysdeps/s390/s390-64/elf/configure: Delete.
39255
39256         * configure.in: Remove support for elf directories in sysdeps.
39257
39258         * configure: Regenerated.
39259         * sysdeps/i386/configure: Regenerated.
39260         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39261         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39262         * sysdeps/s390/s390-32/configure: Regenerated.
39263         * sysdeps/s390/s390-64/configure: Regenerated.
39264         * sysdeps/sh/configure: Regenerated.
39265         * sysdeps/sparc/configure: Regenerated.
39266         * sysdeps/x86_64/configure: Regenerated.
39267
39268 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39269
39270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39271
39272         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39273         denormal result into account.
39274
39275 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39276
39277         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39278         Reported by Allan McRae <allan@archlinux.org>.
39279
39280 2012-03-23  Jeff Law  <law@redhat.com>
39281
39282         * nss/getnssent.c (__nss_getent): Fix typo.
39283
39284 2012-03-23  David S. Miller  <davem@davemloft.net>
39285
39286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39287
39288 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39289
39290         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39291         to pad to uint64_t for each field.
39292         (dl_tls_index): Replace unsigned long with uint64_t.
39293
39294 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39295         Paul Pluzhnikov  <ppluzhnikov@google.com>
39296
39297         [BZ #6528]
39298         * grp/Makefile (otherlibs): Don't set it.
39299         * inet/Makefile (otherlibs): Likewise.
39300         * login/Makefile (otherlibs): Likewise.
39301         * nscd/Makefile (otherlibs): Likewise.
39302         * posix/Makefile (otherlibs): Likewise.
39303         * pwd/Makefile (otherlibs): Likewise.
39304         * rt/Makefile (otherlibs): Likewise.
39305         * sunrpc/Makefile (otherlibs): Likewise.
39306         * nss/Makefile (otherlibs): Likewise.
39307         Add libnss_files to routines and static-only-routines.
39308         ($(objpfx)getent): Remove rule.
39309         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39310         static-only-routines.
39311
39312 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39313
39314         [BZ #13892]
39315         * math/s_cexp.c: Include <float.h>.
39316         (__cexp): Handle exp result overflowing not necessarily
39317         overflowing both real and imaginary parts of result.
39318         * math/s_cexpf.c: Likewise.
39319         * math/s_cexpl.c: Likewise.
39320         * math/libm-test.inc (cexp_test): Add more tests.
39321         * sysdeps/i386/fpu/libm-test-ulps: Update.
39322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39323
39324 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39325
39326         * include/link.h (ELFW): New macro.
39327         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39328         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39329
39330 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39331
39332         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39333         with uint64_t.
39334
39335 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39336
39337         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39338         declaration.
39339         (struct La_x32_retval): Likewise.
39340
39341 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39342
39343         * sysdeps/x86_64/preconfigure.in: New file.
39344         * sysdeps/x86_64/preconfigure: New generated file.
39345
39346 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39347
39348         [BZ #13824]
39349         * math/e_exp2l.c: Include <float.h>.
39350         (__ieee754_exp2l): Handle overflow and underflow cases
39351         separately.  Only pass fractional part of argument to
39352         __ieee754_expl.
39353         * math/libm-test.inc (exp2_test): Add more tests.
39354
39355         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39356         negating x to take absolute value.
39357         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39358         Likewise.
39359         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39360         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39361         Likewise.
39362         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39363         computing low part if x was negated.
39364         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39365
39366 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39367
39368         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39369         la_x32_gnu_pltexit.
39370         (pltexit): Cast int_retval to ptrdiff_t.
39371         * elf/tst-auditmod3b.c: Likewise.
39372         * elf/tst-auditmod4b.c: Likewise.
39373         * elf/tst-auditmod5b.c: Likewise.
39374         * elf/tst-auditmod6b.c: Likewise.
39375         * elf/tst-auditmod6c.c: Likewise.
39376         * elf/tst-auditmod7b.c: Likewise.
39377
39378         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39379         and x32_gnu_pltexit.
39380
39381         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39382         __ELF_NATIVE_CLASS.
39383         (La_x32_regs): New macro.
39384         (La_x32_retval): Likewise.
39385         (la_x32_gnu_pltenter): New function prototype.
39386         (la_x32_gnu_pltexit): Likewise.
39387
39388 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39389
39390         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39391         exponent.
39392
39393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39394
39395         * configure.in (libc_cv_cc_nofma): Check for option to disable
39396         generation of FMA instructions.
39397         * configure: Regenerate.
39398         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39399         * sysdeps/ieee754/dbl-64/Makefile: New file.
39400         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39401         Remove brandred-fma4.
39402         (CFLAGS-brandred-fma4.c): Remove.
39403         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39404         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39405         define.
39406         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39407         define.
39408
39409 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39410
39411         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39412         LLONG_MAX != LONG_MAX.
39413         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39414         (_fitoa_word): Likewise.
39415         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39416         LLONG_MAX != LONG_MAX.
39417         * stdio-common/_itowa.h: Include <_itoa.h>.
39418         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39419         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39420         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39421         only if not defined.
39422         (_ITOA_WORD_TYPE): Likewise.
39423         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39424         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39425
39426 2012-03-21  David S. Miller  <davem@davemloft.net>
39427
39428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39429
39430 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39431
39432         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39433         of x86_64 when setting libc_cv_slibdir, libdir and
39434         libc_cv_localedir.
39435         * sysdeps/unix/sysv/linux/configure: Regenerated.
39436
39437 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39438
39439         * manual/lang.texi (Old Varargs): Remove section.
39440         (How Variadic): Update menu.
39441         (va_start): Do not mention varargs.h.
39442
39443 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39444             Joseph Myers  <joseph@codesourcery.com>
39445
39446         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39447         link test.
39448         * configure: Regenerated.
39449
39450 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39451
39452         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39453         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39454         conformtest.pl
39455
39456 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39457
39458         * NOTES: Remove.
39459         * Makefile (files-for-dist): Remove NOTES.
39460         (NOTES): Remove rule.
39461         * README: Don't refer to NOTES.
39462         * manual/creature.texi: Don't include macros.texi.
39463         * manual/intro.texi (creature.texi): Remove comment referring to
39464         NOTES.
39465
39466         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39467         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39468         * configure: Regenerated.
39469         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39470         LIBC_TRY_CC_OPTION.
39471         (libc_cv_as_i686): Likewise.
39472         (libc_cv_cc_avx): Likewise.
39473         (libc_cv_cc_sse2avx): Likewise.
39474         (libc_cv_cc_fma4): Likewise.
39475         (libc_cv_cc_novzeroupper): Likewise.
39476         * sysdeps/i386/configure: Regenerated.
39477
39478         [BZ #13883]
39479         * sysdeps/i386/fpu/s_cexp.S: Remove.
39480         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39481         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39482         * math/libm-test.inc (cexp_test): Add more tests.
39483         * sysdeps/i386/fpu/libm-test-ulps: Update.
39484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39485
39486 2012-03-21  Allan McRae  <allan@archlinux.org>
39487
39488         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39489
39490 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39491
39492         [BZ #13871]
39493         * math/w_exp2.c: Do not include <float.h>.
39494         (o_threshold, u_threshold): Remove.
39495         (__exp2): Calculate result before checking finiteness and calling
39496         __kernel_standard.
39497         * math/w_exp2f.c: Likewise.
39498         * math/w_exp2l.c: Likewise.
39499         * math/libm-test.inc (exp2_test): Require overflow exception for
39500         1e6 input.
39501
39502         [BZ #3866]
39503         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39504         range of signed 64-bit integers before using fistpll.  Remove
39505         checks for whether integers fit in mantissa bits.
39506         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39507         the range of signed 32-bit integers before using fistpl.  Remove
39508         checks for whether integers fit in mantissa bits.
39509         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39510         (__ieee754_powl): Test for y outside the range of signed 64-bit
39511         integers before using fistpll.  Reduce 64-bit values to 63-bit
39512         ones as needed.
39513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39514         divide-by-zero is raised for zero to large negative powers.
39515         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39516         (__ieee754_powl): Test for y outside the range of signed 64-bit
39517         integers before using fistpll.  Reduce 64-bit values to 63-bit
39518         ones as needed.
39519         * math/libm-test.inc (pow_test): Add more tests.
39520
39521 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39522
39523         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39524         <stdio-common/_itoa.h>.
39525         * debug/segfault.c: Likewise.
39526         * elf/dl-cache.c: Likewise.
39527         * elf/dl-minimal.c: Likewise.
39528         * elf/dl-misc.c: Likewise.
39529         * elf/dl-sysdep.c: Likewise.
39530         * elf/dl-version.c: Likewise.
39531         * elf/rtld.c: Likewise.
39532         * hurd/hurdsock.c: Likewise.
39533         * hurd/lookup-retry.c: Likewise.
39534         * malloc/malloc.c: Likewise.
39535         * malloc/mtrace.c: Likewise.
39536         * nscd/nscd_getgr_r.c: Likewise.
39537         * nscd/nscd_getpw_r.c: Likewise.
39538         * nscd/nscd_getserv_r.c: Likewise.
39539         * posix/getopt_init.c: Likewise.
39540         * posix/wordexp.c: Likewise.
39541         * stdio-common/_itoa.c: Likewise.
39542         * stdio-common/printf_fphex.c: Likewise.
39543         * stdio-common/vfprintf.c: Likewise.
39544         * string/_strerror.c: Likewise.
39545         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39546         * sysdeps/i386/i686/hp-timing.h: Likewise.
39547         * sysdeps/mach/_strerror.c: Likewise.
39548         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39549         * sysdeps/mach/hurd/sethostid.c: Likewise.
39550         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39551         * sysdeps/mach/xpg-strerror.c: Likewise.
39552         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39553         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39554         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39555         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39556         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39557         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39558         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39559         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39560         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39561         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39562         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39563         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39564         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39565         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39566         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39567         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39568         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39569         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39570         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39571         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39572         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39573
39574         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39575
39576         * stdio-common/_itoa.h: Moved to ...
39577         * sysdeps/generic/_itoa.h: Here.
39578
39579         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39580
39581         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39582         instead of "_itoa.h" and "_itowa.h".
39583         * stdio-common/vfprintf.: Likewise.
39584
39585 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39586
39587         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39588         <bits/wordsize.h>.
39589         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39590         (__signbit): Likwise.
39591         (llrintf): Likwise.
39592         (llrint): Likwise.
39593
39594 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39595
39596         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39597         __WORDSIZE != 64.
39598
39599 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39600
39601         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39602         OVERFLOW_EXCEPTION_OK.
39603         * math/libm-test.inc ("Philosophy"): Update comment about
39604         exception testing.
39605         (OVERFLOW_EXCEPTION): Define.
39606         (OVERFLOW_EXCEPTION_OK): Likewise.
39607         (INVALID_EXCEPTION_OK): Renumber.
39608         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39609         (IGNORE_ZERO_INF_SIGN): Likewise.
39610         (test_exceptions): Handle FE_OVERFLOW.
39611         (exp10_test): Expect overflow exceptions.
39612         (exp2_test): Likewise.
39613         (expm1_test): Likewise.
39614         (nextafter_test): Likewise.
39615         (pow_test): Likewise.
39616         (scalbn_test): Likewise.
39617         (scalbln_test): Likewise.
39618
39619 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39620
39621         * sysdeps/x86_64/bits/atomic.h
39622         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39623         64bit integer.
39624         (atomic_exchange_acq): Likewise.
39625         (__arch_exchange_and_add_body): Likewise.
39626         (__arch_add_body): Likewise.
39627         (atomic_add_negative): Likewise.
39628         (atomic_add_zero): Likewise.
39629
39630 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39631
39632         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39633         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39634
39635 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39636
39637         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39638         Check __x86_64__ instead of __WORDSIZE.
39639
39640 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39641
39642         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39643
39644 2012-03-19  David S. Miller  <davem@davemloft.net>
39645
39646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39647
39648         * sysdeps/sparc/fpu/fenv_private.h: New file.
39649         * sysdeps/sparc/fpu/math_private.h: Use it.
39650         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39651         Remove.
39652         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39653         (libc_feholdexcept_setroundl): Remove.
39654         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39655         Remove.
39656         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39657         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39658
39659 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39660
39661         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39662         int64_t instead of long int.
39663         (INSERT_WORDS64): Likwise.
39664
39665 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39666
39667         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39668         _Unwind_GetCFA return to _Unwind_Ptr first.
39669
39670 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39671
39672         [BZ #13629]
39673         * math/s_clog.c: Include <float.h>.
39674         (__clog): Scale large or subnormal inputs.
39675         * math/s_clogf.c: Likewise.
39676         * math/s_clogl.c: Likewise.
39677         * math/s_clog10.c: Include <float.h>.
39678         (M_LOG10_2): Define.
39679         (__clog10): Scale large or subnormal inputs.
39680         * math/s_clog10f.c: Likewise.
39681         * math/s_clog10l.c: Likewise.
39682         * math/libm-test.inc (clog_test): Add more tests.
39683         (clog10_test): Likewise.
39684         * sysdeps/i386/fpu/libm-test-ulps: Update.
39685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39686
39687         [BZ #11451]
39688         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39689         x and y.
39690         * math/libm-test.inc (atan2_test): Add another test.
39691
39692         * Makerules (common-objdir-compile): Remove.
39693         * sysdeps/unix/Makefile (config-generated): Do not add
39694         $(unix-generated) to variable.
39695         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39696         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39697         Remove rule.
39698         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39699         Likewise.
39700         [generic bits/local_lim.h] (before-compile): Do not append to
39701         variable.
39702         [generic bits/local_lim.h] (common-generated): Likewise.
39703         [generic sys/param.h] (before-compile): Do not append to variable.
39704         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39705         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39706         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39707         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39708         include.
39709         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39710         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39711         [generic sys/param.h] ($(addprefix
39712         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39713         [generic sys/param.h] (common-generated): Do not append to
39714         variable.
39715         [generic sys/param.h] (sysdep_headers): Likewise.
39716         [generic bits/errno.h] (before-compile): Do not append to
39717         variable.
39718         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39719         rule.
39720         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39721         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39722         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39723         [generic bits/errno.h] (common-generated): Do not append to
39724         variable.
39725         [generic bits/ioctls.h] (before-compile): Do not append to
39726         variable.
39727         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39728         rule.
39729         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39730         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39731         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39732         rule.
39733         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39734         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39735         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39736         [generic bits/ioctls.h] (common-generated): Do not append to
39737         variable.
39738         [generic sys/syscall.h] (syscall.h): Remove variable.
39739         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39740         rule.
39741         [generic sys/syscall.h] (before-compile): Do not append to
39742         variable.
39743         [generic sys/syscall.h] (common-generated): Likewise.
39744         * sysdeps/unix/errnos-tmpl.c: Remove file.
39745         * sysdeps/unix/errnos.awk: Likewise.
39746         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39747         * sysdeps/unix/ioctls.awk: Likewise.
39748         * sysdeps/unix/mk-local_lim.c: Likewise.
39749         * sysdeps/unix/snarf-ioctls: Likewise.
39750
39751 2012-03-19  Richard Henderson  <rth@twiddle.net>
39752
39753         * sysdeps/i386/fpu/fenv_private.h: New file.
39754         * sysdeps/i386/fpu/math_private.h: Use it.
39755         (math_opt_barrier, math_force_eval): Remove.
39756         (libc_feholdexcept_setround_53bit): Remove.
39757         (libc_feupdateenv_53bit): Remove.
39758         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39759         (math_opt_barrier, math_force_eval): Remove.
39760         (libc_feholdexcept): Remove.
39761         (libc_feholdexcept_setround): Remove.
39762         (libc_fetestexcept, libc_fesetenv): Remove.
39763         (libc_feupdateenv_test): Remove.
39764         (libc_feupdateenv, libc_feholdsetround): Remove.
39765         (libc_feresetround): Remove.
39766
39767         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39768         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39769
39770         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39771         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39772         (libc_feupdateenv_testl): New.
39773         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39774         (libc_feupdateenv_testf): New.
39775         (libc_feupdateenv): Use libc_feupdateenv_test.
39776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39777         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39778
39779         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39780         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39781         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39782         (libc_feresetround_noex): New.
39783         (libc_feresetround_noexf): New.
39784         (libc_feresetround_noexl): New.
39785         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39786         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39787         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39788         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39789         SET_RESTORE_ROUND.
39790         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39791         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39792         (__cos): Likewise.
39793         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39794         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39795         SET_RESTORE_ROUND_NOEX.
39796         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39797         SET_RESTORE_ROUND_NOEXF.
39798         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39799         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39800         (libc_feholdsetroundf): New.
39801         (libc_feresetround, libc_feresetroundf): New.
39802
39803         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39804         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39805         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39806
39807         * sysdeps/generic/math_private.h: Include <fenv.h>.
39808         (default_libc_feholdexcept): New.
39809         (default_libc_feholdexcept_setround): New.
39810         (default_libc_fesetenv, default_libc_feupdateenv): New.
39811         (libc_feholdexcept): Only define if undefined.
39812         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39813         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39814         (libc_feholdexcept_setroundl): Likewise.
39815         (libc_feholdexcept_setround_53bit): Likewise.
39816         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39817         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39818         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39819         (libc_feupdateenv_53bit): Likewise.
39820         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39821         (libc_feholdexcept): Convert from macro to inline function.
39822         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39823         (libc_fesetenv, libc_feupdateenv): Likewise.
39824
39825         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39826         not previously defined.
39827         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39828         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39829         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39830         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39831         * sysdeps/ieee754/flt-32/math_private.h: New file.
39832         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39833         math_private.h below SET_FLOAT_WORD.
39834         (__isnan, __isinf_ns, __finite): Remove.
39835         (__isnanf, __isinf_nsf, __finitef): Remove.
39836
39837 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39838
39839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39840
39841 2012-03-17  David S. Miller  <davem@davemloft.net>
39842
39843         [BZ #6471]
39844         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39845         for 2.16.
39846
39847 2012-03-16  David S. Miller  <davem@davemloft.net>
39848
39849         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39850         warnings.
39851
39852         [BZ #6471]
39853         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39854         properly.
39855         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39856         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39857         sysdep_routines when subdir is sysvipc.
39858         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39859         __getshmlba helper.
39860
39861         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39862
39863 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39864
39865         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39866         [__LP64__].
39867
39868 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39869
39870         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39871         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39872         (__lround): Renamed to ...
39873         (__llround): This.  Replace long int with long long int.
39874         Define lround functions as aliases of llround functions.
39875         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39876
39877 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39878
39879         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39880         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39881         adresses to uintptr_t.  Replace "long int" and "unsigned long
39882         int" with "greg_t" on va_arg.
39883
39884 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39885
39886         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39887         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39888
39889         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39890         Move e_machine check before EI_CLASS check.  Handle x32
39891         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39892         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39893         SKIP_EM_IA_64 and include
39894         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39895
39896         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39897         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39898         (add_system_dir): New macro.
39899
39900         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39901         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39902
39903 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39904
39905         [BZ #2551]
39906         [BZ #2552]
39907         [BZ #2553]
39908         [BZ #2554]
39909         [BZ #2562]
39910         [BZ #2563]
39911         [BZ #2565]
39912         [BZ #2566]
39913         [BZ #2576]
39914         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39915         (y0): Likewise.
39916         * math/w_j0f.c (j0f): Likewise.
39917         (y0f): Likewise.
39918         * math/w_j0l.c (__j0l): Likewise.
39919         (__y0l): Likewise.
39920         * math/w_j1.c (j1): Likewise.
39921         (y1): Likewise.
39922         * math/w_j1f.c (j1f): Likewise.
39923         (y1f): Likewise.
39924         * math/w_j1l.c (__j1l): Likewise.
39925         (__y1l): Likewise.
39926         * math/w_jn.c (jn): Likewise.
39927         (yn): Likewise.
39928         * math/w_jnf.c (jnf): Likewise.
39929         (ynf): Likewise.
39930         * math/w_jnl.c (__jnl): Likewise.
39931         (__ynl): Likewise.
39932         * math/libm-test.inc (j0_test): Add more tests.
39933         (j1_test): Likewise.
39934         (jn_test): Likewise.  Add trailing semicolon to existing test.
39935         (y0_test): Likewise.
39936         (y1_test): Likewise.
39937         * sysdeps/i386/fpu/libm-test-ulps: Update.
39938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39939
39940         [BZ #13851]
39941         [BZ #13854]
39942         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39943         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39944         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39945         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39946         (__tanl): Set errno for infinite argument.
39947         * sysdeps/i386/fpu/mptan.c: Remove.
39948         * sysdeps/i386/fpu/s_tan.S: Likewise.
39949         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39950         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39951         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39952         * math/libm-test.inc (tan_test): Add more tests and enable more
39953         tests for double and long double.
39954         * sysdeps/i386/fpu/libm-test-ulps: Update.
39955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39956
39957 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39958
39959         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39960         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39961
39962 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39963
39964         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39965         * configure.in: Use it for both main tree and add-ons.
39966         * configure: Regenerated.
39967
39968 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39969
39970         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39971
39972 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39973
39974         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39975         in comment.
39976
39977         [BZ #13851]
39978         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39979         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39980         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39981         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39982         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39983         infinite argument.
39984         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39986         != 0 for prec == 2.
39987         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39988         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39989         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39990         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39991         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39992         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39993         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39994         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39995         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39996         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39997         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39998         * math/libm-test.inc (cos_test): Add more tests and enable more
39999         tests for long double.
40000         (sin_test): Likewise.
40001         (sincos_test): Likewise.
40002         * sysdeps/i386/fpu/libm-test-ulps: Update.
40003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40004
40005 2012-03-16  David S. Miller  <davem@davemloft.net>
40006
40007         * sysdeps/sparc/fpu/math_private.h: New file.
40008
40009 2012-03-15  David S. Miller  <davem@davemloft.net>
40010
40011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40012         file.
40013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40015         file.
40016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40021         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40022         sysdep routines.
40023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40024
40025         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40026         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40027
40028         * sysdeps/sparc/sparc-ifunc.h: New file.
40029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40030         sparc-ifunc.h
40031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40033         Likewise.
40034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40035         Likewise.
40036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40040         Likewise.
40041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40046         Likewise.
40047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40048         Likewise.
40049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40053         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40055         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40056         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40067         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40068         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40069         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40071         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40073
40074 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40075
40076         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40077         scaling.
40078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40079
40080 2012-03-15  Andreas Jaeger  <aj@suse.de>
40081
40082         [BZ #13852]
40083         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40084         ieee754/flt-32 implementation for sin, cos and sincos.
40085         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40086         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40087         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40088         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40089         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40090         ieee754/flt-32 implementation for tan.
40091
40092         * math/libm-test.inc (cos_test): Enable some large input tests for
40093         float as well
40094         (sin_test): Likewise.
40095         (sincos_test): Likewise.
40096         (tan_test): Add tests for large input.
40097
40098         * sysdeps/i386/fpu/libm-test-ulps: Update.
40099
40100 2012-03-15  Andreas Jaeger  <aj@suse.de>
40101
40102         [BZ #13658]
40103         * math/libm-test.inc (cos_test): Add more test cases.
40104         (sin_test): Likewise.
40105         (sincos_test): Likewise.
40106
40107 2012-03-15  Andreas Jaeger  <aj@suse.de>
40108
40109         [BZ #13837]
40110         * math/libm-test.inc (cos_test): Add a test case for large input
40111         value.
40112         (sin_test): Likewise.
40113         (sincos_test): Likewise.
40114
40115 2012-03-15  Andreas Jaeger  <aj@suse.de>
40116             Joseph Myers  <joseph@codesourcery.com>
40117
40118         [BZ #13658]
40119         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40120         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40121         * sysdeps/i386/fpu/branred.c: Likewise.
40122         * sysdeps/i386/fpu/dosincos.c: Likewise.
40123         * sysdeps/i386/fpu/mpa.c: Likewise.
40124         * sysdeps/i386/fpu/s_cos.S: Likewise.
40125         * sysdeps/i386/fpu/s_sin.S: Likewise.
40126         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40127         * sysdeps/i386/fpu/sincos32.c: Likewise.
40128
40129         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40130         Define.
40131         (libc_feupdateenv_53bit): Define.
40132         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40133         Define.
40134         (libc_feupdateenv_53bit): Define.
40135
40136         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40137         53 bit (without extend i386 double precision).
40138
40139         * math/libm-test.inc (sincos_test): Add tests for large input.
40140         (sin): Likewise.
40141         (cos): Likewise.
40142
40143         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40144
40145 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40146
40147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40148
40149 2012-03-15  David S. Miller  <davem@davemloft.net>
40150
40151         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40152         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40153         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40154         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40164         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40165         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40167         file.
40168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40170         file.
40171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40173         file.
40174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40176         file.
40177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40178         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40179         fmin/fmax sysdep routines.
40180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40181
40182 2012-03-14  David S. Miller  <davem@davemloft.net>
40183
40184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40186         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40187         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40190         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40194         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40204         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40206         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40207         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40210         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40211         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40212         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40213         routines.
40214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40215         file.
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40218         file.
40219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40221         file.
40222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40224         file.
40225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40227         file.
40228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40230         file.
40231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40232         file.
40233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40234         file.
40235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40236         file.
40237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40238         New file.
40239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40240         file.
40241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40242         file.
40243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40245         file.
40246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40248         file.
40249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40251         file.
40252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40254         VIS3 routines.
40255
40256         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40257         New file.
40258
40259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40260
40261         * sysdeps/sparc/configure.in: New file.
40262         * sysdeps/sparc/configure: Generate.
40263         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40264         * configure: Regenerate.
40265         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40266         * config.make.in (have-as-vis3): New.
40267         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40268         available use -Av9d instead of -Av9a.
40269         * sysdeps/sparc/sparc64/Makefile: Likewise.
40270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40272         New file.
40273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40274         file.
40275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40276         New file.
40277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40278         file.
40279         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40282         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40283         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40284
40285         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40286         fzeros/fnegs to load 0x80000000 into a float register instead of
40287         using the stack.
40288         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40289
40290 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40291
40292         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40293         bits/syscall.h.
40294         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40295         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40296         ($(inst_includedir)/bits/syscall.h): Remove rule.
40297         ($(objpfx)bits/syscall.d): Include instead of
40298         $(objpfx)syscall-list.d.
40299         (generated): Change syscall-list.h and syscall-list.d to
40300         bits/syscall.h and bits/syscall.d.
40301
40302 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40303
40304         [BZ #13846]
40305         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40306
40307 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40308
40309         [BZ #13841]
40310         * math/s_csqrt.c: Include <float.h>.
40311         (__csqrt): Scale large or subnormal inputs.
40312         * math/s_csqrtf.c: Likewise.
40313         * math/s_csqrtl.c: Likewise.
40314         * math/libm-test.inc (csqrt_test): Add more tests.
40315         * sysdeps/i386/fpu/libm-test-ulps: Update.
40316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40317
40318         [BZ #13840]
40319         * math/libm-test.inc (hypot_test): Add more tests.
40320
40321 2012-03-13  David S. Miller  <davem@davemloft.net>
40322
40323         [BZ #13840]
40324         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40325         double-precision for the calculation instead of scaling.
40326
40327 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40328
40329         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40330         manipulate bits before adding and subtracting TWO52[sx].
40331         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40332         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40333         Likewise.
40334         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40335
40336 2012-03-13  David S. Miller  <davem@davemloft.net>
40337
40338         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40339         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40340         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40341         rtld-global-offsets.h
40342         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40343
40344         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40345         large parameters.
40346
40347         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40348
40349         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40350         'err' in the ifdef scope in which it is actually used.
40351
40352         * nss/nss_db/db-init.c: Include string.h
40353
40354 2012-03-12  David S. Miller  <davem@davemloft.net>
40355
40356         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40357         masking out of the most significant byte of random value used.
40358         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40359         Fix coding style in previous change.
40360
40361         * sysdeps/unix/sysv/linux/kernel-features.h
40362         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40363         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40364         expression.
40365         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40366         later.
40367
40368 2012-03-11  David S. Miller  <davem@davemloft.net>
40369
40370         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40371         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40372         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40373         for 'resultvar' otherwise things get truncated on 64-bit.
40374
40375         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40376         Fix masking out of the most significant byte of random value used.
40377
40378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40379
40380 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40381
40382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40383
40384 2012-03-09  David S. Miller  <davem@davemloft.net>
40385
40386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40387         variables with appropriate CPP guards.
40388         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40389         from the frame pointer, not the stack pointer.  Correct layout
40390         comments.  Fix test on resulting framesize and the management of
40391         the outregs buffer for pltexit.  Preserve floating point return
40392         values across _dl_call_pltexit call.
40393         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40394         framesize and the management of the outregs buffer for pltexit.
40395         Preserve floating point return values across _dl_call_pltexit
40396         call.
40397         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40398         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40399         (la_sparc64_gnu_pltexit): New functions.
40400         (print_exit): Fix format string for return register value.
40401
40402 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40403
40404         * sunrpc/Makefile (others): Add rpcgen.
40405         ($(objpfx)rpcgen): Remove special build rule and dependency on
40406         libc.
40407         * sunrpc/rpcgen.c: New file.
40408
40409 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40410
40411         [BZ #13673]
40412         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40413         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40414         * sysdeps/i386/crti.S: Likewise.
40415         * sysdeps/i386/crtn.S: Likewise.
40416         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40417         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40418         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40419         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40420         * sysdeps/sh/crti.S: Likewise.
40421         * sysdeps/sh/crtn.S: Likewise.
40422         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40423
40424         [BZ #13673]
40425         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40426         with URL.
40427         * locale/programs/locfile-kw.gperf: Likewise.
40428         * locale/programs/charmap-kw.h: Regenerated.
40429         * locale/programs/locfile-kw.h: Likewise.
40430
40431         [BZ #13673]
40432         * intl/plural.y: Replace FSF snail mail address with URL.
40433         * intl/plural.c: Regenerated.
40434
40435 2012-03-09  Richard Henderson  <rth@twiddle.net>
40436
40437         * include/math_private.h: Remove file.
40438         * math/math_private.h: Move file ...
40439         * sysdeps/generic/math_private.h: ... here.
40440
40441         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40442         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40443         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40444
40445         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40446         and <math_private.h>.
40447         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40448         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40449         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40450         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40451         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40478         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40481         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40492         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40497         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40498         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40499         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40502         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40503         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40504         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40505         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40507         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40508         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40509         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40510         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40512         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40513         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40514         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40529         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40531         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40532         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40535         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40536         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40537         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40538         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40539         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40540         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40541         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40542         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40543         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40544         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40545         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40546         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40547         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40548         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40549         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40550         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40551         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40552         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40553         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40554         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40555         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40556         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40557         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40558         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40559         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40560         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40561         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40562         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40563         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40564         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40565         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40566         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40567         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40568         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40569         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40570         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40571         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40572         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40573         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40574         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40575         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40576         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40577         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40578         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40579         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40580         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40581         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40582         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40583         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40584         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40585         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40586         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40587         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40588         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40589         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40590         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40591         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40592         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40593         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40594         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40595         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40596         * sysdeps/ieee754/k_standard.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40626         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40628         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40630         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40644         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40647         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40648         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40649         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40683         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40684         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40687         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40699         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40700         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40701         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40702         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40703         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40706         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40711         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40712         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40716         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40717         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40718         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40719         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40723         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40724         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40725         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40729         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40734         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40735         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40736         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40737         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40739         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40740         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40741         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40744         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40745         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40746         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40747         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40748         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40749         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40750         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40751         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40752         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40754         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40757         * sysdeps/ieee754/s_lib_version.c: Likewise.
40758         * sysdeps/ieee754/s_matherr.c: Likewise.
40759         * sysdeps/ieee754/s_signgam.c: Likewise.
40760         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40761         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40762         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40763         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40764         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40765         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40766         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40767         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40768         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40769         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40770         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40771         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40772         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40773         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40774         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40775         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40776         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40777         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40778         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40779         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40780         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40781
40782 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40783
40784         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40785         * sunrpc/rpc_main.c: Likewise.
40786         * sunrpc/rpc_svcout.c: Likewise.
40787
40788 2012-03-09  David S. Miller  <davem@davemloft.net>
40789
40790         * include/math_private.h: New file.
40791
40792 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40793
40794         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40795         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40796         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40797         from <bits/socket_type.h>.
40798         (enum __socket_type): Don't define here.
40799         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40801         bits/socket_type.h.
40802
40803         [BZ #13566]
40804         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40805         checking __USE_GNU.
40806
40807         * Makerules ($(inst_includedir)/%.h): New rule.
40808         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40809         (install-others): Remove variable setting.
40810         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40811
40812 2012-03-08  Richard Henderson  <rth@twiddle.net>
40813
40814         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40815         from macro to inline function; merge with the
40816         !__LIBC_INTERNAL_MATH_INLINES version.
40817         (__ieee754_sqrtf): Likewise.
40818
40819         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40820         to inline function.
40821         (__rintf, __floor, __floorf): Likewise.
40822
40823         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40824         macro to inline function.
40825         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40826
40827         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40828         not <math/math_private.h>.
40829
40830 2012-03-08  David S. Miller  <davem@davemloft.net>
40831
40832         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40833         copyright year.
40834         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40835
40836 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40837
40838         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40839         normalization.
40840         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40841         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40842
40843 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40844
40845         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40846         be defined individually, they must be defined as a block.  Define
40847         S for printing a string instead of hidint the different by using a
40848         macro for adding the 'l'.
40849         * stdio-common/tst-fphex-wide.c: Adjust.
40850
40851 2012-03-07  Marek Polacek  <polacek@redhat.com>
40852
40853         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40854
40855 2012-03-08  Marek Polacek  <polacek@redhat.com>
40856
40857         [BZ #13806]
40858         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40859         * stdio-common/tst-fphex.c: Define a few macros to make the
40860         test reusable.  Use them.
40861         * stdio-common/tst-fphex-wide.c: New file.
40862
40863 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40864
40865         [BZ #6911]
40866         * manual/macros.texi (gnusystems): New macro.
40867         (nongnusystems): Likewise.
40868         (gnulinuxhurdsystems): Likewise.
40869         (gnuhurdsystems): Likewise..
40870         (gnulinuxsystems): Likewise.
40871         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40872         variants of the GNU system, not "GNU system".
40873         * manual/conf.texi: Likewise.
40874         * manual/errno.texi: Likewise.  Update example of errno macro
40875         expansion.
40876         * manual/filesys.texi: Likewise.
40877         (getumask): Document as specific to GNU/Hurd.
40878         * manual/install.texi: Likewise.  Reword some references to
40879         GNU/Linux.
40880         * manual/intro.texi: Likewise.
40881         * manual/io.texi: Likewise.
40882         (File Name Portability): Detail which constraints are inapplicable
40883         to all GNU systems and which are only inapplicable to GNU/Hurd.
40884         * manual/job.texi: Likewise.
40885         * manual/llio.texi: Likewise.
40886         (O_NOCTTY): Document as present on GNU/Linux.
40887         * manual/maint.texi: Likewise.
40888         * manual/memory.texi: Likewise.
40889         * manual/pattern.texi: Likewise.
40890         * manual/pipe.texi: Likewise.
40891         * manual/process.texi: Likewise.
40892         * manual/resource.texi: Likewise.
40893         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40894         child on GNU/Hurd.
40895         * manual/setjmp.texi: Likewise.
40896         * manual/signal.texi: Likewise.
40897         * manual/startup.texi: Likewise.
40898         * manual/stdio.texi: Likewise.
40899         * manual/terminal.texi: Likewise.
40900         (ONLCR): Document as POSIX.
40901         (OXTABS): Document availability on GNU/Linux as XTABS.
40902         (ONOEOT): Document availability separately from other bits.
40903         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40904         * manual/time.texi: Likewise.
40905         * manual/users.texi: Likewise.
40906         * INSTALL: Regenerated.
40907         * sysdeps/gnu/errlist.c: Regenerated.
40908
40909         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40910         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40911         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40912         puts.
40913         * configure: Regenerated.
40914
40915 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40916
40917         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40918         default includes instead of AC_HEADER_CHECK.
40919         * sysdeps/i386/configure: Regenerated.
40920
40921         [BZ #10716]
40922         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40923         * math/s_cacoshf.c (__cacoshf): Likewise.
40924         * math/s_cacoshl.c (__cacoshl): Likewise.
40925         * math/s_casinh.c (__casinh): Set signs of result from argument.
40926         * math/s_casinhf.c (__casinhf): Likewise.
40927         * math/s_casinhl.c (__casinhl): Likewise.
40928         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40929         (casinh_test): Add more tests.
40930         * sysdeps/i386/fpu/libm-test-ulps: Update.
40931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40932
40933 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40934
40935         * po/zh_TW.po: Update from translation team.
40936
40937         * login/Makefile (distribute): Remove variable.
40938         * catgets/Makefile: Likewise.
40939         * mach/Makefile: Likewise.
40940         * malloc/Makefile: Likewise.
40941         * misc/Makefile: Likewise.
40942         * iconv/Makefile: Likewise.
40943         * nscd/Makefile: Likewise.
40944         * hurd/Makefile: Likewise.
40945         * manual/Makefile: Likewise.
40946         * locale/Makefile: Likewise.
40947         * intl/Makefile: Likewise.
40948         * conform/Makefile: Likewise.
40949         * nss/Makefile: Likewise.
40950         * time/Makefile: Likewise.
40951         * soft-fp/Makefile: Likewise.
40952         * dirent/Makefile: Likewise.
40953         * gmon/Makefile: Likewise.
40954         * po/Makefile: Likewise.
40955         * rt/Makefile: Likewise.
40956         * socket/Makefile: Likewise.
40957         * math/Makefile: Likewise.
40958         * signal/Makefile: Likewise.
40959         * debug/Makefile: Likewise.
40960         * elf/Makefile: Likewise.
40961         * timezone/Makefile: Likewise.
40962         * stdlib/Makefile: Likewise.
40963         * iconvdata/Makefile: Likewise.
40964         * sunrpc/Makefile: Likewise.
40965         * io/Makefile: Likewise.
40966         * argp/Makefile: Likewise.
40967         * inet/Makefile: Likewise.
40968         * hesiod/Makefile: Likewise.
40969         * grp/Makefile: Likewise.
40970         * csu/Makefile: Likewise.
40971         * wctype/Makefile: Likewise.
40972         * crypt/Makefile: Likewise.
40973         * libio/Makefile: Likewise.
40974         * string/Makefile: Likewise.
40975         * nis/Makefile: Likewise.
40976         * resolv/Makefile: Likewise.
40977         * stdio-common/Makefile: Likewise.
40978         * wcsmbs/Makefile: Likewise.
40979         * dlfcn/Makefile: Likewise.
40980         * posix/Makefile: Likewise.
40981
40982         [BZ #6959]
40983         * timezone/Makefile: Don't install timezone files, just the programs
40984         and scripts.
40985
40986 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40987
40988         * nss/databases.def: Add missing gshadow entry.
40989
40990         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40991
40992 2012-03-06  Marek Polacek  <polacek@redhat.com>
40993
40994         [BZ #13726]
40995         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40996         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40997         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40998         * stdio-common/tst-long-dbl-fphex.c: New file.
40999
41000 2012-03-06  David S. Miller  <davem@davemloft.net>
41001
41002         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41003         (set_obp_int): New function.
41004         (get_obp_int): New function.
41005         (__get_clockfreq_via_dev_openprom): Likewise.
41006         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41007         Avoid unused variable warnings on 'val' and use builtin_expect.
41008         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41009         __builtin_expect.
41010         (INLINE_CLONE_SYSCALL): Likewise.
41011
41012 2012-03-05  David S. Miller  <davem@davemloft.net>
41013
41014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41015
41016 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41017
41018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41019
41020         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41021         only for |x| >= 40.
41022         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41023
41024 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41025
41026         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41027         Replace gettimeofday with __vdso_gettimeofday.
41028
41029         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41030         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41031         __vdso_clock_gettime and __vdso_getcpu.
41032
41033         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41034         time with __vdso_time.
41035
41036 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41037
41038         * manual/lang.texi (size_t): Note types to which size_t may be
41039         equivalent with the GNU C Library, but do not describe when
41040         differences between them are significant.
41041
41042 2012-03-05  Andreas Jaeger  <aj@suse.de>
41043
41044         * sysdeps/i386/fpu/libm-test-ulps: Update.
41045
41046 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41047
41048         [BZ #3976]
41049         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41050         (__ieee754_pow): Save and restore rounding mode and use
41051         round-to-nearest for main computations.
41052         * math/libm-test.inc (pow_test_tonearest): New function.
41053         (pow_test_towardzero): Likewise.
41054         (pow_test_downward): Likewise.
41055         (pow_test_upward): Likewise.
41056         (main): Call the new functions.
41057         * sysdeps/i386/fpu/libm-test-ulps: Update.
41058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41059
41060         [BZ #3976]
41061         * math/libm-test.inc (cosh_test_tonearest): New function.
41062         (cosh_test_towardzero): Likewise.
41063         (cosh_test_downward): Likewise.
41064         (cosh_test_upward): Likewise.
41065         (sinh_test_tonearest): Likewise.
41066         (sinh_test_towardzero): Likewise.
41067         (sinh_test_downward): Likewise.
41068         (sinh_test_upward): Likewise.
41069         (main): Call the new functions.
41070         * sysdeps/i386/fpu/libm-test-ulps: Update.
41071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41072
41073 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41074
41075         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41076         default stack guard is set in last bytes.
41077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41078
41079 2012-03-05  Kees Cook  <keescook@chromium.org>
41080
41081         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41082
41083         [BZ #13656]
41084         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41085         possibly allocate from heap instead of stack.
41086         * stdio-common/bug-vfprintf-nargs.c: New file.
41087         * stdio-common/Makefile (tests): Add nargs overflow test.
41088
41089 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41090
41091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41092
41093 2012-03-03  Marek Polacek  <polacek@redhat.com>
41094
41095         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41096         * math/math_private.h: Likewise.
41097         * stdlib/tst-strtod.c: Likewise.
41098         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41099         * sysdeps/x86_64/bits/atomic.h: Likewise.
41100
41101 2012-03-02  David S. Miller  <davem@davemloft.net>
41102
41103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41107         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41108         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41109         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41110         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41111
41112 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41113
41114         [BZ #13792]
41115         * manual/examples/README: New file, says the example source files
41116         can be used under GPL>=2.
41117         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41118         line containing just "*/".
41119         * manual/examples/add.c: Add copyright header (GPL>=2).
41120         * manual/examples/argp-ex1.c: Likewise.
41121         * manual/examples/argp-ex2.c: Likewise.
41122         * manual/examples/argp-ex3.c: Likewise.
41123         * manual/examples/argp-ex4.c: Likewise.
41124         * manual/examples/atexit.c: Likewise.
41125         * manual/examples/db.c: Likewise.
41126         * manual/examples/dir.c: Likewise.
41127         * manual/examples/dir2.c: Likewise.
41128         * manual/examples/execinfo.c: Likewise.
41129         * manual/examples/filecli.c: Likewise.
41130         * manual/examples/filesrv.c: Likewise.
41131         * manual/examples/fmtmsgexpl.c: Likewise.
41132         * manual/examples/genpass.c: Likewise.
41133         * manual/examples/inetcli.c: Likewise.
41134         * manual/examples/inetsrv.c: Likewise.
41135         * manual/examples/isockad.c: Likewise.
41136         * manual/examples/longopt.c: Likewise.
41137         * manual/examples/memopen.c: Likewise.
41138         * manual/examples/memstrm.c: Likewise.
41139         * manual/examples/mkfsock.c: Likewise.
41140         * manual/examples/mkisock.c: Likewise.
41141         * manual/examples/mygetpass.c: Likewise.
41142         * manual/examples/pipe.c: Likewise.
41143         * manual/examples/popen.c: Likewise.
41144         * manual/examples/rprintf.c: Likewise.
41145         * manual/examples/search.c: Likewise.
41146         * manual/examples/select.c: Likewise.
41147         * manual/examples/setjmp.c: Likewise.
41148         * manual/examples/sigh1.c: Likewise.
41149         * manual/examples/sigusr.c: Likewise.
41150         * manual/examples/stpcpy.c: Likewise.
41151         * manual/examples/strdupa.c: Likewise.
41152         * manual/examples/strftim.c: Likewise.
41153         * manual/examples/strncat.c: Likewise.
41154         * manual/examples/subopt.c: Likewise.
41155         * manual/examples/swapcontext.c: Likewise.
41156         * manual/examples/termios.c: Likewise.
41157         * manual/examples/testopt.c: Likewise.
41158         * manual/examples/testpass.c: Likewise.
41159         * manual/examples/timeval_subtract.c: Likewise.
41160
41161         [BZ #13792]
41162         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41163         function to ...
41164         * manual/timeval_subtract.c.texi: ... here, new file.
41165
41166 2012-03-02  David S. Miller  <davem@davemloft.net>
41167
41168         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41169
41170 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41171
41172         [BZ #3976]
41173         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41174         (__sin): Save and restore rounding mode and use round-to-nearest
41175         for all computations.
41176         (__cos): Save and restore rounding mode and use round-to-nearest
41177         for all computations.
41178         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41179         <fenv.h>.
41180         (tan): Save and restore rounding mode and use round-to-nearest for
41181         all computations.
41182         * math/libm-test.inc (cos_test_tonearest): New function.
41183         (cos_test_towardzero): Likewise.
41184         (cos_test_downward): Likewise.
41185         (cos_test_upward): Likewise.
41186         (sin_test_tonearest): Likewise.
41187         (sin_test_towardzero): Likewise.
41188         (sin_test_downward): Likewise.
41189         (sin_test_upward): Likewise.
41190         (tan_test_tonearest): Likewise.
41191         (tan_test_towardzero): Likewise.
41192         (tan_test_downward): Likewise.
41193         (tan_test_upward): Likewise.
41194         (main): Call the new functions.
41195         * sysdeps/i386/fpu/libm-test-ulps: Update.
41196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41197
41198         [BZ #10135]
41199         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41200         small n, then large n, before computing and testing k+n.
41201         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41202         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41203         Likewise.
41204         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41205         Likewise.
41206         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41207         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41208         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41209         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41210         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41211         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41212         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41213         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41214         * math/libm-test.inc (scalbn_test): Add more tests.
41215         (scalbln_test): Likewise.
41216
41217         * manual/filesys.texi (mode_t): Describe constraints on size and
41218         signedness, not exact equivalence to a particular type.
41219         (ino_t): Likewise.
41220         (ino64_t): Likewise.
41221         (dev_t): Likewise.
41222         (nlink_t): Likewise.
41223         (blkcnt_t): Likewise.
41224         (blkcnt64_t): Likewise.
41225         * manual/llio.texi (off_t): Likewise.
41226
41227         [BZ #3976]
41228         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41229         (__ieee754_exp): Save and restore rounding mode and use
41230         round-to-nearest for all computations.
41231         * math/libm-test.inc (exp_test_tonearest): New function.
41232         (exp_test_towardzero): Likewise.
41233         (exp_test_downward): Likewise.
41234         (exp_test_upward): Likewise.
41235         (main): Call the new functions.
41236         * sysdeps/i386/fpu/libm-test-ulps: Update.
41237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41238
41239 2012-03-01  Chris Demetriou  <cgd@google.com>
41240
41241         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41242         have predictable order.
41243
41244 2012-03-01  David S. Miller  <davem@davemloft.net>
41245
41246         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41247
41248         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41249         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41250         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41251         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41252
41253         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41254         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41255         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41257         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41258         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41259         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41260         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41261         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41262
41263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41264
41265         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41266         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41267         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41268
41269         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41270         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41271         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41272         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41273         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41274         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41275         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41276         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41277         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41278         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41279         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41280         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41282         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41283         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41284         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41285         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41286         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41287         * sysdeps/sparc/elf/configure: Regenerated.
41288
41289 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41290
41291         * configure.in (AS, LD): Require binutils 2.20 or later.
41292         * configure: Regenerated.
41293         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41294         as required minimum version.
41295         * INSTALL: Regenerated.
41296
41297         [BZ #2541]
41298         [BZ #4108]
41299         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41300         before squaring exponent.
41301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41302         bottom long double and 27 bits of top long double before squaring
41303         exponent.
41304         * math/libm-test.inc (erfc_test): Add more tests.
41305         * sysdeps/i386/fpu/libm-test-ulps: Update.
41306         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41308
41309 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41310
41311         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41312         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41313         containing bit-fields.
41314         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41315         * soft-fp/single.h (_FP_UNION_S): Likewise.
41316         * soft-fp/double.h (_FP_UNION_D): Likewise.
41317
41318 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41319
41320         [BZ #13786]
41321         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41322         not include ../strcmp.S.
41323         [USE_AS_STRNCASECMP_L]: Likewise.
41324         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41325         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41326         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41327         (__strncasecmp_l_ia32): Define as alias to
41328         __strncasecmp_l_nonascii.
41329
41330         [BZ #5794]
41331         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41332         * sysdeps/i386/fpu/libm-test-ulps: Update.
41333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41334
41335         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41337
41338 2012-02-29  Jeff Law  <law@redhat.com>
41339
41340         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41341         out of bounds read.
41342
41343 2012-02-29  Marek Polacek  <polacek@redhat.com>
41344
41345         [BZ #13706]
41346         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41347         * elf/Makefile: Add rules to run tst-unused-dep.out.
41348
41349 2012-02-28  David S. Miller  <davem@davemloft.net>
41350
41351         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41352         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41353         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41354         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41355         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41356         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41357
41358 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41359
41360         * math/libm-test.inc (llround_test): Move one test from
41361         lround_test.  Use TEST_f_L in moved test.
41362         (lround_test): Move misplaced test to llround_test.  Add testcase
41363         from bug 2561.
41364
41365 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41366
41367         * sysdeps/x86_64/fpu/e_expf.S: New file.
41368         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41369
41370 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41371
41372         [BZ #13637]
41373         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41374         of remain_len that may cause incomplete multi-byte character and
41375         false match.
41376         * posix/bug-regex33.c: New file.
41377         * posix/Makefile (tests): Add bug-regex33.
41378
41379 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41380
41381         * manual/macros.texi: New file.
41382         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41383         * manual/libc.texinfo: Include macros.texi.
41384         * manual/creatute.texi: Likewise.
41385         * manual/install.texi: Likewise.
41386         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41387         @glibcadj{} in references to the GNU C Library.
41388         * manual/charset.texi: Likewise.
41389         * manual/conf.texi: Likewise.
41390         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41391         when not using those macros.
41392         * manual/creature.texi: Likewise.
41393         * manual/crypt.texi: Likewise.
41394         * manual/errno.texi: Likewise.
41395         * manual/filesys.texi: Likewise.
41396         * manual/header.texi: Likewise.
41397         * manual/install.texi: Likewise.
41398         * manual/intro.texi: Likewise.
41399         * manual/io.texi: Likewise.
41400         * manual/job.texi: Likewise.
41401         * manual/lang.texi: Likewise.
41402         * manual/libc.texiinfo: Likewise.
41403         * manual/llio.texi: Likewise.
41404         * manual/locale.texi: Likewise.
41405         * manual/maint.texi: Likewise.
41406         * manual/math.texi: Likewise.
41407         * manual/memory.texi: Likewise.
41408         * manual/message.texi: Likewise.
41409         * manual/nss.texi: Likewise.
41410         * manual/pattern.texi: Likewise.
41411         * manual/process.texi: Likewise.
41412         * manual/resource.texi: Likewise.
41413         * manual/search.texi: Likewise.
41414         * manual/setjmp.texi: Likewise.
41415         * manual/signal.texi: Likewise.
41416         * manual/socket.texi: Likewise.
41417         * manual/startup.texi: Likewise.
41418         * manual/stdio.texi: Likewise.
41419         * manual/string.texi: Likewise.
41420         * manual/sysinfo.texi: Likewise.
41421         * manual/syslog.texi: Likewise.
41422         * manual/terminal.texi: Likewise.
41423         * manual/time.texi: Likewise.
41424         * manual/users.texi: Likewise.
41425         * INSTALL: Regenerated.
41426         * NOTES: Regenerated.
41427         * sysdeps/gnu/errlist.c: Regenerated.
41428
41429 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41430
41431         * include/dirent.h: Include <dirstream.h> before
41432         <dirent/dirent.h>.
41433
41434 2012-02-28  David S. Miller  <davem@davemloft.net>
41435
41436         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41437         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41438         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41439         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41440
41441 2012-02-27  David S. Miller  <davem@davemloft.net>
41442
41443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41445         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41446         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41447
41448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41449         frame pointer instead of stack pointer relative arg slot.
41450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41451         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41452         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41453
41454 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41455
41456         [BZ #3992]
41457         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41458
41459 2012-02-27  David S. Miller  <davem@davemloft.net>
41460
41461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41465         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41466         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41467         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41468         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41469
41470 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41471
41472         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41473         later.  Allow versions 5-9.
41474         * configure: Regenerated.
41475         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41476         required minimum version and 4.6 as recommended version.  Do not
41477         mention bugs in GCC 2.7 and 2.8.
41478         * INSTALL: Regenerated.
41479
41480 2012-02-27  David S. Miller  <davem@davemloft.net>
41481
41482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41486         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41487         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41488         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41489         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41490
41491         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41492         manipulate bits before adding and subtracting TWO112[sx].
41493         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41494
41495 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41496
41497         [BZ #13775]
41498         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41499         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41500         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41501         being in POSIX, because they are in 1003.1-2008.
41502
41503         * rt/tst-aio.c: Include <fcntl.h>.
41504         * rt/tst-aio7.c: Likewise.
41505         * rt/tst-aio64.c: Likewise.
41506
41507         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41508
41509 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41510
41511         * manual/install.texi (--with-headers): Describe headers as
41512         interface headers, not private headers.
41513         (Specific advice for GNU/Linux systems): Describe use of headers
41514         from "make headers_install", not private headers from older
41515         kernels.
41516         * INSTALL: Regenerated.
41517         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41518         Change to 2.6.19.
41519         * sysdeps/unix/sysv/linux/configure: Regenerated.
41520
41521         * manual/llio.texi (fclean): Remove documentation.
41522
41523         * manual/Makefile (libc-texi-generated): New variable.  Include
41524         version.texi.
41525         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41526         $(libc-texi-generated), not duplicated list of files.
41527         (version.texi, stamp-version): New rules.
41528         (realclean): Remove $(libc-texi-generated), not individual files
41529         from that list.  Do not remove dir-add.texinfo.
41530         * manual/libc.texinfo: Comment out uses of edition numbers and
41531         references to printed manual.  Remove last-updated dates.
41532         (EDITION): Comment out.
41533         (ISBN): Likewise.
41534         (VERSION, UPDATED): Remove.
41535         (version.texi): Include.
41536
41537 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41538
41539         * sysdeps/posix/spawni.c: Include <signal.h>.
41540         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41541         * sysdeps/pthread/aio_fsync.c: Likewise.
41542
41543 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41544
41545         * conform/Makefile (tests): Run only when not cross-compiling and
41546         when fast-check is not defined.
41547
41548         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41549         * conform/data/limits.h-data: Fixes for POSIX2008.
41550         * conform/run-conformtest.sh: Run all tests.
41551         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41552         headers.
41553         * include/bits/dlfcn.h: Likewise.
41554         * include/langinfo.h: Likewise.
41555         * include/monetary.h: Likewise.
41556         * include/sys/poll.h: Likewise.
41557
41558         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41559         for __USE_GNU.
41560         * posix/spawn.h: Define __need_sigset_t.
41561         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41562         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41563         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41564         to get sigevent_t only.
41565         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41566         only for __USE_GNU.
41567         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41568         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41569         process_vm_writev only for __USE_GNU.
41570         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41571
41572         * conform/Makefile: For now ignore errors from run-conformtest.
41573         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41574         POSIX to avoid namespace pollution.  Don't prepend headers.
41575         * conform/data/aio.h-data: Fixes for POSIX testing.
41576         * conform/data/fcntl.h-data: Likewise.
41577         * conform/data/glob.h-data: Likewise.
41578         * conform/data/grp.h-data: Likewise.
41579         * conform/data/pthread.h-data: Likewise.
41580         * conform/data/pwd.h-data: Likewise.
41581         * conform/data/signal.h-data: Likewise.
41582         * conform/data/spawn.h-data: Likewise.
41583         * conform/data/stdio.h-data: Likewise.
41584         * conform/data/stdlib.h-data: Likewise.
41585         * conform/data/stropts.h-data: Likewise.
41586         * conform/data/sys/mman.h-data: Likewise.
41587         * conform/data/sys/stat.h-data: Likewise.
41588         * conform/data/sys/types.h-data: Likewise.
41589         * conform/data/sys/wait.h-data: Likewise.
41590         * conform/data/time.h-data: Likewise.
41591         * conform/data/unistd.h-data: Likewise.
41592         * conform/data/utime.h-data: Likewise.
41593
41594         * io/sys/stat.h: fchmod was always in POSIX.
41595         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41596         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41597         * rt/aio.h: Define __need_timespec before including <time.h>.
41598         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41599         struct.  Add forward declaration of pthread_attr_t and use it in
41600         sigevent.
41601         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41602         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41603         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41604         always remove CLK_TCK definition.
41605
41606 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41607
41608         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41609
41610 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41611
41612         * conform/run-conformtest.sh: New file.
41613         * conform/Makefile: Run run-conformtest for tests.
41614         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41615         support.
41616
41617         * conform/data/uchar.h-data: New file.
41618         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41619         * conform/data/arpa/inet.h-data: Likewise.
41620         * conform/data/assert.h-data: Likewise.
41621         * conform/data/complex.h-data: Likewise.
41622         * conform/data/cpio.h-data: Likewise.
41623         * conform/data/ctype.h-data: Likewise.
41624         * conform/data/dirent.h-data: Likewise.
41625         * conform/data/dlfcn.h-data: Likewise.
41626         * conform/data/errno.h-data: Likewise.
41627         * conform/data/fcntl.h-data: Likewise.
41628         * conform/data/float.h-data: Likewise.
41629         * conform/data/fmtmsg.h-data: Likewise.
41630         * conform/data/fnmatch.h-data: Likewise.
41631         * conform/data/ftw.h-data: Likewise.
41632         * conform/data/glob.h-data: Likewise.
41633         * conform/data/grp.h-data: Likewise.
41634         * conform/data/iconv.h-data: Likewise.
41635         * conform/data/inttypes.h-data: Likewise.
41636         * conform/data/langinfo.h-data: Likewise.
41637         * conform/data/libgen.h-data: Likewise.
41638         * conform/data/limits.h-data: Likewise.
41639         * conform/data/locale.h-data: Likewise.
41640         * conform/data/math.h-data: Likewise.
41641         * conform/data/monetary.h-data: Likewise.
41642         * conform/data/mqueue.h-data: Likewise.
41643         * conform/data/ndbm.h-data: Likewise.
41644         * conform/data/net/if.h-data: Likewise.
41645         * conform/data/netdb.h-data: Likewise.
41646         * conform/data/netinet/in.h-data: Likewise.
41647         * conform/data/nl_types.h-data: Likewise.
41648         * conform/data/poll.h-data: Likewise.
41649         * conform/data/pthread.h-data: Likewise.
41650         * conform/data/pwd.h-data: Likewise.
41651         * conform/data/regex.h-data: Likewise.
41652         * conform/data/sched.h-data: Likewise.
41653         * conform/data/search.h-data: Likewise.
41654         * conform/data/semaphore.h-data: Likewise.
41655         * conform/data/setjmp.h-data: Likewise.
41656         * conform/data/signal.h-data: Likewise.
41657         * conform/data/spawn.h-data: Likewise.
41658         * conform/data/stdarg.h-data: Likewise.
41659         * conform/data/stdio.h-data: Likewise.
41660         * conform/data/stdlib.h-data: Likewise.
41661         * conform/data/string.h-data: Likewise.
41662         * conform/data/strings.h-data: Likewise.
41663         * conform/data/stropts.h-data: Likewise.
41664         * conform/data/sys/ipc.h-data: Likewise.
41665         * conform/data/sys/mman.h-data: Likewise.
41666         * conform/data/sys/msg.h-data: Likewise.
41667         * conform/data/sys/resource.h-data: Likewise.
41668         * conform/data/sys/select.h-data: Likewise.
41669         * conform/data/sys/sem.h-data: Likewise.
41670         * conform/data/sys/shm.h-data: Likewise.
41671         * conform/data/sys/socket.h-data: Likewise.
41672         * conform/data/sys/stat.h-data: Likewise.
41673         * conform/data/sys/statvfs.h-data: Likewise.
41674         * conform/data/sys/time.h-data: Likewise.
41675         * conform/data/sys/timeb.h-data: Likewise.
41676         * conform/data/sys/times.h-data: Likewise.
41677         * conform/data/sys/types.h-data: Likewise.
41678         * conform/data/sys/uio.h-data: Likewise.
41679         * conform/data/sys/un.h-data: Likewise.
41680         * conform/data/sys/utsname.h-data: Likewise.
41681         * conform/data/sys/wait.h-data: Likewise.
41682         * conform/data/syslog.h-data: Likewise.
41683         * conform/data/tar.h-data: Likewise.
41684         * conform/data/termios.h-data: Likewise.
41685         * conform/data/utime.h-data: Likewise.
41686         * conform/data/utmpx.h-data: Likewise.
41687         * conform/data/varargs.h-data: Likewise.
41688         * conform/data/wchar.h-data: Likewise.
41689         * conform/data/wctype.h-data: Likewise.
41690         * conform/data/wordexp.h-data: Likewise.
41691
41692         * include/stropts.h: New file.
41693         * include/uchar.h: New file.
41694         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41695         * include/assert.h: Likewise.
41696         * include/ctype.h: Likewise.
41697         * include/dirent.h: Likewise.
41698         * include/dlfcn.h: Likewise.
41699         * include/fcntl.h: Likewise.
41700         * include/fnmatch.h: Likewise.
41701         * include/glob.h: Likewise.
41702         * include/grp.h: Likewise.
41703         * include/libio.h: Likewise.
41704         * include/locale.h: Likewise.
41705         * include/math.h: Likewise.
41706         * include/net/if.h: Likewise.
41707         * include/netdb.h: Likewise.
41708         * include/netinet/in.h: Likewise.
41709         * include/pthread.h: Likewise.
41710         * include/pwd.h: Likewise.
41711         * include/regex.h: Likewise.
41712         * include/sched.h: Likewise.
41713         * include/search.h: Likewise.
41714         * include/setjmp.h: Likewise.
41715         * include/signal.h: Likewise.
41716         * include/stdio.h: Likewise.
41717         * include/stdlib.h: Likewise.
41718         * include/string.h: Likewise.
41719         * include/sys/cdefs.h: Likewise.
41720         * include/sys/mman.h: Likewise.
41721         * include/sys/msg.h: Likewise.
41722         * include/sys/resource.h: Likewise.
41723         * include/sys/select.h: Likewise.
41724         * include/sys/socket.h: Likewise.
41725         * include/sys/stat.h: Likewise.
41726         * include/sys/statvfs.h: Likewise.
41727         * include/sys/time.h: Likewise.
41728         * include/sys/times.h: Likewise.
41729         * include/sys/uio.h: Likewise.
41730         * include/sys/utsname.h: Likewise.
41731         * include/sys/wait.h: Likewise.
41732         * include/termios.h: Likewise.
41733         * include/time.h: Likewise.
41734         * include/ulimit.h: Likewise.
41735         * include/unistd.h: Likewise.
41736         * include/utime.h: Likewise.
41737         * include/wchar.h: Likewise.
41738         * include/wctype.h: Likewise.
41739         * include/wordexp.h: Likewise.
41740
41741         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41742
41743         * time/time.h: TIME_UTC must be a macro.
41744         Make timespec_get available for ISO C11 only as well.
41745
41746 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41747
41748         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41749         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41750
41751 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41752
41753         * configure.in: Use -o not -a in test for unsupported multi-arch.
41754
41755 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41756
41757         * manual/texinfo.tex: Update to version 2012-01-19.16.
41758
41759 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41760
41761         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41762
41763 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41764
41765         [BZ #13738]
41766         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41767         * manual/fdl-1.3.texi: New file.
41768         * manual/fdl-1.1.texi: File removed.
41769
41770         [BZ #13738]
41771         * manual/libc.texinfo (FDL_VERSION): New @set.
41772         Use it for mention of FDL in cover text.
41773         (Documentation License): Use it in @include file name.
41774
41775 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41776             Roland McGrath  <roland@hack.frob.com>
41777
41778         [BZ #5461]
41779         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41780         (not LONG_LONG_MAX and LONG_LONG_MIN.
41781         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41782         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41783         name.
41784         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41785
41786 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41787
41788         [BZ #2547]
41789         [BZ #11365]
41790         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41791         manipulate bits before adding and subtracting TWO23[sx].
41792         * math/libm-test.inc (nearbyint_test): Add more tests.
41793
41794 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41795
41796         [BZ #2548]
41797         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41798         bits before adding and subtracting TWO23[sx].
41799         * math/libm-test.inc (rint_test): Add more tests.
41800         (rint_test_tonearest): Likewise.
41801         (rint_test_towardzero): Likewise.
41802         (rint_test_downward): Likewise.
41803         (rint_test_upward: Likewise.
41804
41805 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41806
41807         [BZ #10110]
41808         * include/stdc-predef.h: New file.  Extracted from features.h.
41809         * include/features.h: Include stdc-predef.h.
41810         * Makefile (headers): Add stdc-predef.h.
41811         * CONFORMANCE (Compiler limitations): Update.
41812
41813 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41814
41815         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41816
41817 2012-02-21  David S. Miller  <davem@davemloft.net>
41818
41819         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41820         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41821
41822 2012-02-20  David S. Miller  <davem@davemloft.net>
41823
41824         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41825         using a normal save/restore sequence, rather than allocating a
41826         dummy stack frame just to store a frame pointer and restore.
41827         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41828
41829 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41830
41831         * manual/install.texi: Fix stray word in line-wrapped comment.
41832
41833 2012-02-20  David S. Miller  <davem@davemloft.net>
41834
41835         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41836         both binutils and gcc support GOTDATA.
41837
41838         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41839         "rd %pc" in the PIC register setup sequences.
41840
41841         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41842         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41843         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41844         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41845         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41846         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41847         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41848         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41849         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41850         (SYSCALL_ERROR_HANDLER): Likewise.
41851         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41852         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41853         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41854         (SYSCALL_ERROR_HANDLER): Likewise.
41855
41856         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41857         (HAVE_GCC_GOTDATA): New.
41858         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41859         relocation support in both binutils and gcc.
41860         * sysdeps/sparc/elf/configure: Regenerate.
41861
41862         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41863         * sysdeps/sparc/sparc32/elf/configure: Delete.
41864         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41865         * sysdeps/sparc/sparc64/elf/configure: Delete.
41866         * sysdeps/sparc/elf/configure.in: New file.
41867         * sysdeps/sparc/elf/configure: Generate.
41868
41869         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41870         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41871         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41872         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41873         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41874
41875 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41876
41877         * manual/install.texi: Do not mention specific glibc version
41878         numbers.
41879         * manual/libc.texinfo (VERSION, UPDATED): Update.
41880         (@copying): Use @copyright{} and range of years.
41881
41882 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41883
41884         [BZ #13695]
41885         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41886         [crti.S not in sysdirs] (generated): Do not append.
41887         [crti.S not in sysdirs] (omit-deps): Likewise.
41888         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41889         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41890         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41891         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41892         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41893         Likewise.
41894         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41895         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41896         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41897         * csu/defs.awk: Remove file.
41898         * sysdeps/generic/initfini.c: Likewise.
41899         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41900         variable.
41901         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41902         Likewise.
41903
41904 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41905
41906         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41907         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41908         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41909         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41910         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41911         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41912         <bits/epoll.h>.
41913         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41914         (__EPOLL_PACKED): Define to empty if not defined by
41915         <bits/epoll.h>.
41916         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41918         bits/epoll.h.
41919
41920 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41921
41922         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41923         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41924         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41925         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41926         <bits/timerfd.h>.
41927         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41929         bits/timerfd.h.
41930
41931 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41932
41933         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41934         in C locale.
41935         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41936         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41937         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41939
41940 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41941
41942         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41943         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41944
41945 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41946
41947         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41948         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41949         defined.
41950         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41951         Likewise.
41952         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41953         entry for 2.16.
41954
41955 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41956
41957         * math/w_acos.c: Use non-signaling floating-point comparisons.
41958         * math/w_acosf.c: Likewise.
41959         * math/w_acosh.c: Likewise.
41960         * math/w_acoshf.c: Likewise.
41961         * math/w_acoshl.c: Likewise.
41962         * math/w_acosl.c: Likewise.
41963         * math/w_asin.c: Likewise.
41964         * math/w_asinf.c: Likewise.
41965         * math/w_asinl.c: Likewise.
41966         * math/w_atanh.c: Likewise.
41967         * math/w_atanhf.c: Likewise.
41968         * math/w_atanhl.c: Likewise.
41969         * math/w_exp2.c: Likewise.
41970         * math/w_exp2f.c: Likewise.
41971         * math/w_exp2l.c: Likewise.
41972         * math/w_j0.c: Likewise.
41973         * math/w_j0f.c: Likewise.
41974         * math/w_j0l.c: Likewise.
41975         * math/w_j1.c: Likewise.
41976         * math/w_j1f.c: Likewise.
41977         * math/w_j1l.c: Likewise.
41978         * math/w_jn.c: Likewise.
41979         * math/w_jnf.c: Likewise.
41980         * math/w_log.c: Likewise.
41981         * math/w_log10.c: Likewise.
41982         * math/w_log10f.c: Likewise.
41983         * math/w_log10l.c: Likewise.
41984         * math/w_log2.c: Likewise.
41985         * math/w_log2f.c: Likewise.
41986         * math/w_log2l.c: Likewise.
41987         * math/w_logf.c: Likewise.
41988         * math/w_logl.c: Likewise.
41989         * math/w_sqrt.c: Likewise.
41990         * math/w_sqrtf.c: Likewise.
41991         * math/w_sqrtl.c: Likewise.
41992         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41993         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41994         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41995         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41996         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41997
41998 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41999
42000         [BZ #9739]
42001         * manual/string.texi (strnlen): Use correct parameter name in
42002         equivalent expression.
42003
42004 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42005
42006         [BZ #11174]
42007         * manual/users.texi (seteuid): Consistently use neweuid for
42008         argument name.
42009
42010 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42011
42012         [BZ #13704]
42013         * manual/nss.texi (Services in the NSS configuration): Correct
42014         list of services in example configuration file.
42015
42016 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42017
42018         [BZ #11322]
42019         * manual/arith.texi: Remove statements about negative zero
42020         behaving identically to zero.
42021
42022 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42023
42024         [BZ #5993]
42025         * manual/install.texi: Do not document upgrading from libc5.
42026
42027 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42028
42029         [BZ #4596]
42030         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42031
42032 2012-02-18  David S. Miller  <davem@davemloft.net>
42033
42034         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42035         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42036         %o7 across the call.
42037         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42038         instead.
42039         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42040         SETUP_PIC_REG_LEAF.
42041         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42042         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42043         * sysdeps/sparc/crtn.S: Likewise.
42044
42045 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42046
42047         * aout/Makefile: Remove.
42048
42049 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42050
42051         [BZ #13058]
42052         * manual/examples/argp-ex1.c (main): Format definition in GNU
42053         style.
42054         * manual/examples/argp-ex2.c (main): Likewise.
42055         * manual/examples/argp-ex3.c (main): Likewise.
42056         * manual/examples/argp-ex4.c (main): Likewise.
42057         * manual/examples/longopt.c (main): Use new-style prototype
42058         definition.
42059         * manual/examples/strncat.c (main): Specify return type and use
42060         (void) for arguments.
42061         * manual/examples/subopt.c (main): Use char **argv argument.
42062
42063 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42064
42065         [BZ #5077]
42066         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42067         rounding modes.
42068
42069 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42070
42071         [BZ #6907]
42072         * manual/string.texi (strchr): Change when strchrnul is
42073         recommended.
42074
42075 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42076
42077         [BZ #174]
42078         * manual/locale.texi (setlocale): Document LOCPATH.
42079
42080 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42081
42082         [BZ #10210]
42083         * manual/process.texi (execle): Move @dots{} before last argument.
42084
42085 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42086
42087         [BZ #12047]
42088         * manual/charset.texi (Generic Charset Conversion): Fix typo
42089         (LC_TYPE -> LC_CTYPE).
42090
42091 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42092
42093         [BZ #5805]
42094         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42095         (scalbnf): Likewise.
42096         (scalbnl): Likewise.
42097         (scalbln): Likewise.
42098         (scalblnf): Likewise.
42099         (scalblnl): Likewise.
42100         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42101         (vwarnx): Likewise.
42102         (verr): Likewise.
42103         (verrx): Likewise.
42104         * manual/filesys.texi (telldir): Use braces around return type.
42105         * manual/llio.texi (mmap): Add space after comma.
42106         (mmap64): Likewise.
42107         * manual/math.texi (jn): Use @var{} on parameter names.
42108         (jnf): Likewise.
42109         (jnl): Likewise.
42110         (yn): Likewise.
42111         (ynf): Likewise.
42112         (ynl): Likewise.
42113         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42114         line.
42115         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42116         "...".
42117         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42118         (sched_get_priority_max): Likewise.
42119         * manual/signal.texi (sigvec): Add space after comma.
42120         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42121         names.
42122         (if_indextoname): Likewise.
42123         (if_freenameindex): Likewise.
42124         (sendto): Use ',' instead of '.' in prototype.
42125         * manual/startup.texi (syscall): Use @dots{} instead of literal
42126         "...".
42127         * manual/stdio.texi (__fpending): Separate initial words of
42128         paragraph from @deftypefun line.
42129         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42130         "...".
42131         (vsyslog): Use @var{} on parameter names.
42132         * manual/terminal.texi (stty): Use @var{} on parameter names.
42133         * manual/users.texi (getutmp): Use @var{} on parameter names.
42134         (getutmpx): Likewise.
42135
42136 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42137
42138         [BZ #6884]
42139         * manual/stdio.texi (fopen): Fix typos in description of
42140         ",ccs=STRING".
42141
42142 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42143
42144         [BZ #4026]
42145         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42146         get clock_id definition.
42147
42148 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42149
42150         [BZ #4822]
42151         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42152         (madvise): Cast every argument to void on its own.
42153
42154 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42155
42156         [BZ #9902]
42157         * manual/startup.texi (Exit Status): Fix typo.
42158
42159 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42160
42161         [BZ #10140]
42162         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42163         * manual/examples/argp-ex2.c: Likewise.
42164         * manual/examples/argp-ex3.c: Likewise.
42165
42166 2012-02-16  Richard Henderson  <rth@redhat.com>
42167
42168         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42169         * sysdeps/s390/s390-32/initfini.c: Remove.
42170         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42171         * sysdeps/s390/s390-64/initfini.c: Remove.
42172
42173 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42174
42175         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42176         compiler output for sysdeps/generic/initfini.c.
42177         * sysdeps/sh/elf/initfini.c: Remove file.
42178
42179 2012-02-16  David S. Miller  <davem@davemloft.net>
42180
42181         [BZ #11494]
42182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42183
42184         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42185         * sysdeps/sparc/crti.S: New file.
42186         * sysdeps/sparc/crtn.S: New file.
42187         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42188         * sysdeps/sparc/sparc64/Makefile: Likewise.
42189
42190 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42191
42192         [BZ #3335]
42193         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42194
42195 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42196
42197         [BZ #4822]
42198         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42199
42200         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42201         (write, read, close): Likewise.
42202         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42203
42204 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42205
42206         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42207         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42208         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42209         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42210         <bits/signalfd.h>.
42211         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42213         bits/signalfd.h.
42214
42215 2012-02-14  Marek Polacek  <polacek@redhat.com>
42216
42217         * sysdeps/x86_64/crti.S: New file.
42218         * sysdeps/x86_64/crtn.S: New file.
42219         * sysdeps/x86_64/elf/initfini.c: Remove file.
42220
42221 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42222
42223         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42224         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42225         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42226         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42227         <bits/inotify.h>.
42228         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42229         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42230         bits/inotify.h.
42231
42232 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42233
42234         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42235         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42236         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42237         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42238         <bits/eventfd.h>.
42239         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42241         bits/eventfd.h.
42242
42243 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42244
42245         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42246         __feraiseexcept instead of feraiseexcept.
42247
42248         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42249         nanosleep invocations.
42250         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42251         strings, and add error checking for a nanosleep invocations.
42252
42253 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42254
42255         Replace FSF snail mail address with URLs, as per GNU coding standards.
42256         Most of the snail mail addresses were wrong anyway, and omitting
42257         them makes the source code easier to maintain.  Almost all of the
42258         changes are to license notices and to locale LC_IDENTIFICATION
42259         addresses, except for this one:
42260         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42261         not its snail mail address.
42262
42263 2012-02-09  Richard Henderson  <rth@twiddle.net>
42264
42265         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42266         of kernel-features.h.
42267
42268         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42269
42270 2012-02-08  Marek Polacek  <polacek@redhat.com>
42271
42272         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42273         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42274         * sysdeps/gnu/_G_config.h: Likewise.
42275         * sysdeps/generic/_G_config.h: Likewise.
42276
42277 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42278
42279         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42280         tests.
42281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42282
42283         * sysdeps/powerpc/powerpc32/crti.S: New file.
42284         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42285         * sysdeps/powerpc/powerpc64/crti.S: New file.
42286         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42287
42288         * Makeconfig (have-initfini): Don't set.
42289         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42290         * configure.in (nopic_initfini): Don't substitute.
42291         * config.h.in (HAVE_INITFINI): Don't #undef.
42292         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42293         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42294
42295 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42296
42297         Support crti.S and crtn.S provided directly by architectures.
42298         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42299         [crti.S in sysdirs] (omit-deps): Likewise.
42300         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42301         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42302         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42303         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42304         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42305         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42306         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42307         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42308         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42309         compiler output for sysdeps/generic/initfini.c.
42310         * sysdeps/i386/elf/Makefile: Remove file.
42311         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42312
42313 2012-02-07  Marek Polacek  <polacek@redhat.com>
42314
42315         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42316         * sysdeps/gnu/_G_config.h: Likewise.
42317         * sysdeps/mach/hurd/_G_config.h: Likewise.
42318
42319 2012-02-07  Marek Polacek  <polacek@redhat.com>
42320
42321         * math/Makefile (tests): Add tst-CMPLX2.
42322         * math/tst-CMPLX2.c: New file.
42323
42324 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42325
42326         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42327
42328         * math/libm-test.inc (jn_test): Add missing L suffix.
42329
42330 2012-02-06  Marek Polacek  <polacek@redhat.com>
42331
42332         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42333         * sysdeps/i386/fpu/e_powf.S: Likewise.
42334         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42335         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42336         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42337         * sysdeps/i386/fpu/e_pow.S: Likewise.
42338         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42339         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42340         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42341         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42342         * sysdeps/i386/fpu/e_log2.S: Likewise.
42343         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42344         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42345         * sysdeps/i386/fpu/e_powl.S: Likewise.
42346         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42347         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42348         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42349         * sysdeps/i386/fpu/e_logl.S: Likewise.
42350         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42351         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42352         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42353         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42354         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42355         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42356         * sysdeps/i386/fpu/e_log.S: Likewise.
42357         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42358         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42359         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42360         * sysdeps/i386/fpu/e_logf.S: Likewise.
42361         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42362         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42363         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42364         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42365         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42366         * sysdeps/i386/fpu/e_log10.S: Likewise.
42367         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42368         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42369         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42370         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42371         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42372         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42373         * sysdeps/i386/asm-syntax.h: Likewise.
42374         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42375         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42376         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42377         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42378         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42379         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42380         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42381         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42382         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42383         * sysdeps/powerpc/sysdep.h: Likewise.
42384         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42385         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42386
42387 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42388
42389         [BZ #411]
42390         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42391
42392 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42393
42394         * sysdeps/i386/sysdep.h: Include <features.h>.
42395         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42396         version.
42397
42398 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42399
42400         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42401         Define.
42402         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42403         LOAD_PIC_REG_STR.
42404
42405 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42406
42407         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42408         (SETUP_PIC_REG): Use GET_PC_THUNK.
42409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42410         macro.
42411
42412 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42413
42414         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42415         for non-PIC compilation.
42416         (SETUP_PIC_REG): Add .p2align directive.
42417         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42418         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42419         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42420         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42421         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42422         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42423         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42424         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42425         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42426         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42427         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42428         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42429         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42430         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42431         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42432         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42433         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42434         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42435         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42436         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42437         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42438         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42439         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42440         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42441         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42442         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42443         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42444         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42445         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42446         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42447         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42448         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42449         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42450         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42451         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42452         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42453         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42454         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42455         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42456         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42457         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42458
42459 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42460
42461         * math/tst-CMPLX.c: Include <stdio.h>.
42462
42463 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42464
42465         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42466         float.
42467         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42468         * sysdeps/sparc/bits/mathdef.h: Likewise.
42469
42470 2012-01-31  Marek Polacek  <polacek@redhat.com>
42471
42472         * libio/libio.h: Don't define _PARAMS.
42473         * locale/programs/config.h: Don't define PARAMS.
42474         * stdlib/strtol_l.c: Likewise.
42475         (__strtol_l): Remove PARAMS from the prototype.
42476
42477 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42478
42479         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42480         names.  Just use the correct names.  Remove unnecessary wrapper
42481         functions.
42482         * malloc/arena.c: Likewise.
42483         * malloc/hooks.c: Likewise.
42484
42485         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42486         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42487         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42488
42489 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42490
42491         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42492         into tail calls.
42493         (update_get_addr): New function.
42494         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42495         GET_ADDR_MODULE parameter.
42496
42497 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42498
42499         * crypt/cert.c: Remove __STDC__ conditionals.
42500         * crypt/crypt-entry.c: Likewise.
42501         * crypt/crypt_util.c: Likewise.
42502         * libio/filedoalloc.c: Likewise.
42503         * libio/fileops.c: Likewise.
42504         * libio/genops.c: Likewise.
42505         * libio/iofclose.c: Likewise.
42506         * libio/iofdopen.c: Likewise.
42507         * libio/iofopen.c: Likewise.
42508         * libio/iofopen64.c: Likewise.
42509         * libio/iogetdelim.c: Likewise.
42510         * libio/iopopen.c: Likewise.
42511         * libio/obprintf.c: Likewise.
42512         * libio/oldfileops.c: Likewise.
42513         * libio/oldiofclose.c: Likewise.
42514         * libio/oldiofdopen.c: Likewise.
42515         * libio/oldiofopen.c: Likewise.
42516         * libio/oldiopopen.c: Likewise.
42517         * libio/wfiledoalloc.c: Likewise.
42518         * libio/wgenops.c: Likewise.
42519         * locale/programs/xmalloc.c: Likewise.
42520         * misc/syslog.c: Likewise.
42521         * stdio-common/xbug.c: Likewise.
42522         * string/memchr.c: Likewise.
42523         * string/memcmp.c: Likewise.
42524         * string/memrchr.c: Likewise.
42525         * string/rawmemchr.c: Likewise.
42526         * sysdeps/posix/getcwd.c: Likewise.
42527         * time/strftime_l.c: Likewise.
42528
42529 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42530
42531         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42532         * config.make.in (config-cflags-sse2avx): Define.
42533         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42534         Fix typo.
42535
42536 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42537
42538         * scripts/config.guess: Update from upstream config git repository.
42539         * scripts/config.sub: Likewise.
42540
42541 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42542
42543         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42544         (EM_NUM): Update.
42545         (R_TILEPRO_*, R_TILEGX_*): New macros.
42546
42547         * scripts/firstversions.awk: Fix bug in version range handling.
42548
42549         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42550
42551         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42552
42553         * include/sys/epoll.h: New file.
42554         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42555         libc_hidden_def.
42556
42557 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42558
42559         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42560         Avoid unnecessary __WORDSIZE == 64 test.
42561         (fmaxf): Use VEX format if possible.
42562         (fmax): Likewise.
42563         (fminf): Likewise.
42564         (fmin): Likewise.
42565
42566         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42567         * math/math_private.h: Remove libc_fegetround* and
42568         libc_fesetround*.
42569         * sysdeps/i386/configure.in: Check for -msse2avx.
42570         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42571         also if SSE2AVX is defined.
42572         Remove libc_fegetround* and libc_fesetround*.
42573         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42574         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42575         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42576         of HAS_YMM_USABLE.
42577         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42578         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42579         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42580         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42581         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42582
42583         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42584
42585 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42586
42587         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42588         size is not set.
42589         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42590
42591 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42592
42593         [BZ #13618]
42594         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42595         relocation.
42596         * Makeconfig (libm): Define.
42597         * elf/Makefile: Add rules to build and run tst-relsort1.
42598         * elf/tst-relsort1.c: New file.
42599         * elf/tst-relsort1mod1.c: New file.
42600         * elf/tst-relsort1mod2.c: New file.
42601
42602 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42603
42604         * math/s_ldexp.c: Remove __STDC__ conditionals.
42605         * math/s_ldexpf.c: Likewise.
42606         * math/s_ldexpl.c: Likewise.
42607         * math/s_nextafter.c: Likewise.
42608         * math/s_nexttowardf.c: Likewise.
42609         * math/s_significand.c: Likewise.
42610         * math/s_significandf.c: Likewise.
42611         * math/s_significandl.c: Likewise.
42612         * math/w_jnl.c: Likewise.
42613         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42614         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42615         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42616         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42617         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42618         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42619         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42620         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42621         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42622         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42624         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42625         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42626         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42627         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42628         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42629         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42630         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42631         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42632         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42633         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42634         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42635         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42636         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42637         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42638         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42639         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42640         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42641         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42642         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42643         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42644         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42645         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42646         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42647         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42648         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42649         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42650         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42651         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42652         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42653         * sysdeps/ieee754/k_standard.c: Likewise.
42654         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42655         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42656         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42657         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42658         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42659         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42660         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42661         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42662         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42663         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42664         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42678         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42680         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42681         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42682         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42683         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42684         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42685         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42686         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42687         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42688         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42689         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42690         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42691         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42692         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42693         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42694         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42696         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42697         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42698         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42699         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42700         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42701         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42702         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42703         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42704         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42705         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42707         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42708         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42709         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42711         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42713         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42714         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42715         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42716         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42717         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42718         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42719         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42720         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42721         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42722         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42723         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42724         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42725         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42726         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42727         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42728         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42729         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42730         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42731         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42732         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42733         * sysdeps/ieee754/s_matherr.c: Likewise.
42734         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42735         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42736         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42737         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42738
42739 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42740
42741         * crypt/md5.h: Remove __STDC__ conditionals.
42742         * libio/libioP.h: Likewise.
42743         * locale/programs/config.h: Likewise.
42744         * sysdeps/generic/sysdep.h: Likewise.
42745         * sysdeps/i386/asm-syntax.h: Likewise.
42746         * sysdeps/s390/asm-syntax.h: Likewise.
42747         * sysdeps/unix/sysdep.h: Likewise.
42748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42750
42751 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42752
42753         * libio/libio.h: Remove __STDC__ conditionals.
42754         * malloc/obstack.h: Likewise.
42755         * math/complex.h: Likewise.
42756         * math/math.h: Likewise.
42757         * sysdeps/generic/_G_config.h: Likewise.
42758         * sysdeps/gnu/_G_config.h: Likewise.
42759         * sysdeps/mach/hurd/_G_config.h: Likewise.
42760         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42761         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42762         * sysdeps/sparc/bits/mathdef.h: Likewise.
42763
42764 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42765
42766         [BZ #13583]
42767         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42768         Clean up HAS_* macros.
42769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42770         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42771         possible.
42772         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42773         HAS_AVX.
42774         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42775         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42776         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42777         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42778         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42779
42780 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42781
42782         * elf/tst-unique3.cc (gets): Remove declaration.
42783         * elf/tst-unique3lib.cc (gets): Likewise.
42784         * elf/tst-unique3lib2.cc (gets): Likewise.
42785         * elf/tst-unique4.cc (gets): Likewise.
42786
42787 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42788
42789         * include/stdio.h: Add C++ protection.  Add gets declarations and
42790         definitions.
42791         * debug/tst-chk1.c: Don't declare gets here.
42792         * stdio-common/tst-gets.c: Likewise.
42793
42794 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42795
42796         * posix/glob: Remove directory.
42797
42798 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42799
42800         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42801
42802 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42803
42804         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42805         of the non-standard EPFNOSUPPORT.
42806
42807 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42808
42809         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42810         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42811         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42812
42813 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42814
42815         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42816
42817 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42818
42819         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42820         transient errors.
42821         * nscd/grpcache.c (cache_addgr): Likewise.
42822         * nscd/hstcache.c (cache_addhst): Likewise.
42823         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42824         * nscd/pwdcache.c (cache_addpw): Likewise.
42825         * nscd/servicescache.c (cache_addserv): Likewise.
42826
42827 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42828
42829         * malloc/malloc.c: Various cleanups.
42830         * malloc/hooks.c: Likewise.
42831
42832         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42833         * stdlib/bug-fmtmsg1.c: New file.
42834
42835         * stdlib/fmtmsg.c (init): Add missing unlock.
42836         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42837
42838 2012-01-12  Marek Polacek  <polacek@redhat.com>
42839
42840         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42841         and _GNU_SOURCE.
42842
42843 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42844
42845         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42846         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42847         macro to ensure uniqueness of label name.
42848         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42849         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42850
42851 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42852
42853         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42854
42855         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42856         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42857         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42858         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42859
42860 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42861
42862         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42863
42864         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42865         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42866         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42867
42868         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42869
42870         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42871         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42872         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42873         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42874
42875         * math/bits/math-finite.h: Add ldexp support.
42876
42877 2012-01-10  Marek Polacek  <polacek@redhat.com>
42878
42879         * locale/programs/localedef.h (show_archive_content): Add noreturn
42880         attribute.
42881
42882 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42883
42884         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42885
42886 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42887
42888         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42889
42890         * io/Makefile (headers): Add bits/poll2.h.
42891
42892 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42893
42894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42895         typo #include statement.
42896
42897 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42898
42899         * include/sys/cdefs.h: Define __attribute_alloc_size.
42900         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42901         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42902         * elf/pldd.c: Likewise.
42903         * iconv/iconv_charmap.c: Likewise.
42904         * iconv/iconvconfig.c: Likewise.
42905         * iconv/strtab.c: Likewise.
42906         * locale/programs/locale.c: Likewise.
42907         * locale/programs/localedef.h: Likewise.
42908         * locale/programs/simple-hash.c: Likewise.
42909         * nscd/nscd.h: Likewise.
42910         * nss/makedb.c: Likewise.
42911         * sysdeps/generic/ldconfig.h: Likewise.
42912         * locale/programs/localedef.c: Remove xmalloc prototype.
42913         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42914
42915 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42916
42917         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42918         appropriate.
42919
42920 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42921
42922         * math/Makefile (tests): Add tst-CMPLX.
42923         * math/tst-CMPLX.c: New file.
42924
42925         * math/complex.h (CMPLXL): Fix typo.
42926
42927         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42928         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42929         GLIBC_2.16.
42930         * debug/tst-chk1.c: Add poll and ppoll tests.
42931         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42932         * include/sys/poll.h: Add hidden proto for ppoll.
42933         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42934         * sysdeps/mach/hurd/ppoll.c: Likewise.
42935         * io/ppoll.c: Likewise.
42936         * debug/poll_chk.c: New file.
42937         * debug/ppoll_chk.c: New file.
42938         * include/bits/poll2.h: New file.
42939         * io/bits/poll2.h: New file.
42940
42941         [BZ #1350]
42942         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42943
42944         * configure.in: static is always set to yes.  Remove.
42945         * config.make.in: Don't set build-static.
42946         * Makeconfig: Remove use of build-static.
42947         * dlfcn/Makefile: Likewise.
42948         * elf/Makefile: Likewise.
42949         * math/Makefile: Likewise.
42950         * misc/Makefile: Likewise.
42951         * nptl/Makefile: Likewise.
42952         * sysdeps/mach/hurd/Makefile: Likewise.
42953
42954         * configure.in: PWD_P is not used anymore.
42955         * config.make.in: Remove PWD_P entry.
42956
42957         * configure.in: Remove last remnants of RANLIB.
42958         No need to check for signed size_t anymore.
42959         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42960         and IA-64.
42961         Remove __builtin_expect test because we require at least gcc 3.4.
42962         * aclocal.m4: Likewise.
42963
42964         * wcsmbs/mbrtoc16.c: Implement using towc function.
42965         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42966         * wcsmbs/wcsmbsload.c: Likewise.
42967         * iconv/gconv_simple.c: Likewise.
42968         * iconv/gconv_int.h: Likewise.
42969         * iconv/gconv_builtin.h: Likewise.
42970         * iconv/iconv_prog.c: Remove CHAR16 handling.
42971
42972         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42973
42974         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42975
42976         * configure.in: Remove --with-elf and --enable-bounded options.
42977         Dont set base_machine for ia64.  More non-ELF conditions removed.
42978         Remove testing and setting of leading underscore information.
42979         * config.make.in (build-bounded): Set to no.
42980         * config.h.in: Remove NO_UNDERSCORES entry.
42981         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42982         them.
42983         * csu/start.c: Remove !NO_UNDERSCORE code.
42984         * locale/localeinfo.h: Likewise.
42985         * sysdeps/generic/machine-gmon.h: Likewise.
42986         * sysdeps/generic/sysdep.h: Likewise.
42987         * sysdeps/i386/sysdep.h: Likewise.
42988         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42989         * sysdeps/mach/sysdep.h: Likewise.
42990         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42991         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42992         * sysdeps/sh/sysdep.h: Likewise.
42993         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42994         * sysdeps/unix/i386/sysdep.S: Likewise.
42995         * sysdeps/unix/sparc/start.c: Likewise.
42996         * sysdeps/unix/sparc/sysdep.S: Likewise.
42997         * sysdeps/unix/sparc/sysdep.h: Likewise.
42998         * sysdeps/unix/start.c: Likewise.
42999         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43000         * sysdeps/x86_64/sysdep.h: Likewise.
43001
43002 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43003
43004         [BZ #13553]
43005         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43006         for non-gcc.
43007         * argp/argp-fmtstream.h: Use const instead __const.
43008         * argp/argp.h: Likewise.
43009         * assert/assert.h: Likewise.
43010         * bits/fenv.h: Likewise.
43011         * bits/sched.h: Likewise.
43012         * bits/sigset.h: Likewise.
43013         * bits/sigthread.h: Likewise.
43014         * catgets/nl_types.h: Likewise.
43015         * conform/data/pthread.h-data: Likewise.
43016         * crypt/crypt-private.h: Likewise.
43017         * crypt/crypt.h: Likewise.
43018         * crypt/crypt_util.c: Likewise.
43019         * ctype/ctype.h: Likewise.
43020         * debug/execinfo.h: Likewise.
43021         * debug/mbsnrtowcs_chk.c: Likewise.
43022         * debug/mbsrtowcs_chk.c: Likewise.
43023         * debug/wcsnrtombs_chk.c: Likewise.
43024         * debug/wcsrtombs_chk.c: Likewise.
43025         * debug/wcstombs_chk.c: Likewise.
43026         * dirent/dirent.h: Likewise.
43027         * dlfcn/dlfcn.h: Likewise.
43028         * elf/neededtest4.c: Likewise.
43029         * grp/grp.h: Likewise.
43030         * gshadow/gshadow.h: Likewise.
43031         * iconv/gconv.h: Likewise.
43032         * iconv/gconv_int.h: Likewise.
43033         * iconv/gconv_simple.c: Likewise.
43034         * iconv/iconv.h: Likewise.
43035         * iconv/loop.c: Likewise.
43036         * iconv/skeleton.c: Likewise.
43037         * include/aio.h: Likewise.
43038         * include/aliases.h: Likewise.
43039         * include/argz.h: Likewise.
43040         * include/arpa/inet.h: Likewise.
43041         * include/assert.h: Likewise.
43042         * include/dirent.h: Likewise.
43043         * include/dlfcn.h: Likewise.
43044         * include/execinfo.h: Likewise.
43045         * include/fcntl.h: Likewise.
43046         * include/fenv.h: Likewise.
43047         * include/glob.h: Likewise.
43048         * include/grp.h: Likewise.
43049         * include/libintl.h: Likewise.
43050         * include/mntent.h: Likewise.
43051         * include/netdb.h: Likewise.
43052         * include/pwd.h: Likewise.
43053         * include/rpc/netdb.h: Likewise.
43054         * include/sched.h: Likewise.
43055         * include/search.h: Likewise.
43056         * include/shadow.h: Likewise.
43057         * include/signal.h: Likewise.
43058         * include/stdio.h: Likewise.
43059         * include/stdlib.h: Likewise.
43060         * include/string.h: Likewise.
43061         * include/sys/socket.h: Likewise.
43062         * include/sys/stat.h: Likewise.
43063         * include/sys/statfs.h: Likewise.
43064         * include/sys/statvfs.h: Likewise.
43065         * include/sys/syslog.h: Likewise.
43066         * include/sys/time.h: Likewise.
43067         * include/sys/uio.h: Likewise.
43068         * include/time.h: Likewise.
43069         * include/unistd.h: Likewise.
43070         * include/utmp.h: Likewise.
43071         * include/wchar.h: Likewise.
43072         * include/wctype.h: Likewise.
43073         * inet/aliases.h: Likewise.
43074         * inet/arpa/inet.h: Likewise.
43075         * inet/netinet/ether.h: Likewise.
43076         * inet/netinet/in.h: Likewise.
43077         * intl/libintl.h: Likewise.
43078         * io/bits/fcntl2.h: Likewise.
43079         * io/fcntl.h: Likewise.
43080         * io/ftw.h: Likewise.
43081         * io/sys/poll.h: Likewise.
43082         * io/sys/stat.h: Likewise.
43083         * io/sys/statfs.h: Likewise.
43084         * io/sys/statvfs.h: Likewise.
43085         * io/utime.h: Likewise.
43086         * libio/bits/stdio.h: Likewise.
43087         * libio/bits/stdio2.h: Likewise.
43088         * libio/libio.h: Likewise.
43089         * libio/libioP.h: Likewise.
43090         * libio/stdio.h: Likewise.
43091         * locale/lc-ctype.c: Likewise.
43092         * locale/locale.h: Likewise.
43093         * login/utmp.h: Likewise.
43094         * malloc/arena.c: Likewise.
43095         * malloc/malloc.c: Likewise.
43096         * malloc/malloc.h: Likewise.
43097         * malloc/mcheck.c: Likewise.
43098         * malloc/mtrace.c: Likewise.
43099         * math/bits/mathcalls.h: Likewise.
43100         * math/fenv.h: Likewise.
43101         * math/math_private.h: Likewise.
43102         * misc/bits/error.h: Likewise.
43103         * misc/bits/syslog.h: Likewise.
43104         * misc/err.h: Likewise.
43105         * misc/error.h: Likewise.
43106         * misc/fstab.h: Likewise.
43107         * misc/mntent.h: Likewise.
43108         * misc/regexp.h: Likewise.
43109         * misc/search.h: Likewise.
43110         * misc/sgtty.h: Likewise.
43111         * misc/sys/mman.h: Likewise.
43112         * misc/sys/syslog.h: Likewise.
43113         * misc/sys/uio.h: Likewise.
43114         * misc/sys/xattr.h: Likewise.
43115         * misc/ttyent.h: Likewise.
43116         * nis/rpcsvc/ypclnt.h: Likewise.
43117         * nss/nss.h: Likewise.
43118         * posix/bits/unistd.h: Likewise.
43119         * posix/fnmatch.h: Likewise.
43120         * posix/glob.h: Likewise.
43121         * posix/sched.h: Likewise.
43122         * posix/spawn.h: Likewise.
43123         * posix/sys/wait.h: Likewise.
43124         * posix/unistd.h: Likewise.
43125         * posix/wordexp.h: Likewise.
43126         * pwd/pwd.h: Likewise.
43127         * resolv/netdb.h: Likewise.
43128         * resource/sys/resource.h: Likewise.
43129         * rt/aio.h: Likewise.
43130         * rt/bits/mqueue2.h: Likewise.
43131         * rt/mqueue.h: Likewise.
43132         * shadow/shadow.h: Likewise.
43133         * signal/signal.h: Likewise.
43134         * socket/send.c: Likewise.
43135         * socket/sendto.c: Likewise.
43136         * socket/sys/socket.h: Likewise.
43137         * stdio-common/printf.h: Likewise.
43138         * stdlib/bits/stdlib.h: Likewise.
43139         * stdlib/fmtmsg.h: Likewise.
43140         * stdlib/monetary.h: Likewise.
43141         * stdlib/stdlib.h: Likewise.
43142         * stdlib/ucontext.h: Likewise.
43143         * streams/stropts.h: Likewise.
43144         * string/argz.h: Likewise.
43145         * string/bits/string2.h: Likewise.
43146         * string/string.h: Likewise.
43147         * string/strings.h: Likewise.
43148         * sunrpc/rpc/auth.h: Likewise.
43149         * sunrpc/rpc/auth_des.h: Likewise.
43150         * sunrpc/rpc/clnt.h: Likewise.
43151         * sunrpc/rpc/netdb.h: Likewise.
43152         * sunrpc/rpc/pmap_clnt.h: Likewise.
43153         * sunrpc/rpc/xdr.h: Likewise.
43154         * sysdeps/generic/inttypes.h: Likewise.
43155         * sysdeps/generic/net/if.h: Likewise.
43156         * sysdeps/generic/sys/swap.h: Likewise.
43157         * sysdeps/gnu/net/if.h: Likewise.
43158         * sysdeps/gnu/utmpx.h: Likewise.
43159         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43160         * sysdeps/i386/i486/bits/string.h: Likewise.
43161         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43162         * sysdeps/s390/bits/string.h: Likewise.
43163         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43164         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43165         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43166         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43167         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43168         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43169         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43170         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43171         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43172         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43173         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43174         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43175         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43176         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43177         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43178         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43179         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43180         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43181         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43182         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43183         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43184         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43185         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43186         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43187         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43188         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43189         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43190         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43191         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43192         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43193         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43194         * sysvipc/sys/ipc.h: Likewise.
43195         * sysvipc/sys/msg.h: Likewise.
43196         * sysvipc/sys/sem.h: Likewise.
43197         * sysvipc/sys/shm.h: Likewise.
43198         * termios/termios.h: Likewise.
43199         * time/sys/time.h: Likewise.
43200         * time/time.h: Likewise.
43201         * wcsmbs/bits/wchar2.h: Likewise.
43202         * wcsmbs/uchar.h: Likewise.
43203         * wcsmbs/wchar.h: Likewise.
43204         * wctype/wctype.h: Likewise.
43205
43206         [BZ #13551]
43207         * Makeconfig: Remove all but ELF support including AIX support.
43208         * Makerules: Likewise.
43209         * config.h.in: Likewise.
43210         * config.make.in: Likewise.
43211         * configure: Likewise.
43212         * configure.in: Likewise.
43213         * csu/Makefile: Likewise.
43214         * csu/version.c: Likewise.
43215         * debug/Makefile: Likewise.
43216         * dlfcn/Makefile: Likewise.
43217         * elf/Makefile: Likewise.
43218         * extra-lib.mk: Likewise.
43219         * iconv/Makefile: Likewise.
43220         * include/libc-symbols.h: Likewise.
43221         * include/shlib-compat.h: Likewise.
43222         * resolv/Makefile: Likewise.
43223         * resolv/res_libc.c: Likewise.
43224         * rt/Makefile: Likewise.
43225         * sysdeps/i386/asm-syntax.h: Likewise.
43226         * sysdeps/i386/sysdep.h: Likewise.
43227         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43228         * sysdeps/mach/sysdep.h: Likewise.
43229         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43230         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43231         * sysdeps/s390/asm-syntax.h: Likewise.
43232         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43233         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43234         * sysdeps/sh/sysdep.h: Likewise.
43235         * sysdeps/unix/sparc/sysdep.h: Likewise.
43236         * sysdeps/wordsize-32/divdi3.c: Likewise.
43237         * sysdeps/x86_64/sysdep.h: Likewise.
43238
43239         * argp/Versions: Remove _argp_unlock_xxx.
43240
43241         [BZ #13559]
43242         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43243         * abilist/libBrokenLocale.abilist: Likewise.
43244         * abilist/libanl.abilist: Likewise.
43245         * abilist/libc.abilist: Likewise.
43246         * abilist/libcrypt.abilist: Likewise.
43247         * abilist/libdl.abilist: Likewise.
43248         * abilist/libm.abilist: Likewise.
43249         * abilist/libnsl.abilist: Likewise.
43250         * abilist/libpthread.abilist: Likewise.
43251         * abilist/libresolv.abilist: Likewise.
43252         * abilist/librt.abilist: Likewise.
43253         * abilist/libthread_db.abilist: Likewise.
43254         * abilist/libutil.abilist: Likewise.
43255         * abilist/libnss_db.abilist: New file.
43256
43257         * scripts/abilist.awk: Add support for indirect functions.
43258
43259         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43260
43261         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43262
43263         * shlib-versions: Remove entries for ports architectures.
43264
43265         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43266         files in ports.
43267         * elf/stackguard-macros.h: Remove support for IA-64.
43268         * elf/tst-auditmod1.c: Likewise.
43269         * sysdeps/generic/ldsodefs.h: Likewise.
43270
43271         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43272         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43273         configure files.
43274
43275         [BZ #13552]
43276         * configure.in: Remove --enable-omitfp support.
43277         * FAQ.in: Adjust.
43278         * config.make.in: Likewise.
43279         * Makeconfig: Likewise.
43280         * manual/install.texi: Likewise.
43281
43282         In case anyone cares, the IA-64 architecture could move to ports.
43283         * sysdeps/ia64/*: Removed.
43284         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43285         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43286
43287         [BZ #13555]
43288         * configure.in: Remove entries for unsupported architectures.
43289
43290         [BZ #13533]
43291         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43292         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43293         routines.
43294         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43295         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43296         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43297         fall back to using wcrtomb.
43298         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43299         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43300         renaming.
43301         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43302         * wcsmbs/tst-c16c32-1.c: New file.
43303
43304         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43305         local variable.
43306
43307         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43308
43309         * elf/tst-unique3.cc: Add explicit declaration of gets.
43310         * elf/tst-unique3lib.cc: Likewise.
43311         * elf/tst-unique3lib2.cc: Likewise.
43312         * elf/tst-unique4.cc: Likewise.
43313
43314         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43315
43316 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43317
43318         [BZ #13566]
43319         * assert/assert.h (static_assert): Don't define for C++.
43320         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43321         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43322
43323 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43324
43325         * iconv/loop.c (single loop): Fix assertion in storing of
43326         remaining bytes.
43327
43328         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43329
43330 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43331
43332         * posix/getconf.c: Update copyright year.
43333         * nss/getent.c: Likewise.
43334         * nss/makedb.c: Likewise.
43335         * iconv/iconvconfig.c: Likewise.
43336         * iconv/iconv_prog.c: Likewise.
43337         * elf/ldconfig.c: Likewise.
43338         * elf/pldd.c: Likewise.
43339         * elf/sotruss.ksh: Likewise.
43340         * catgets/gencat.c: Likewise.
43341         * csu/version.c: Likewise.
43342         * elf/ldd.bash.in: Likewise.
43343         * elf/sprof.c (print_version): Likewise.
43344         * locale/programs/locale.c: Likewise.
43345         * locale/programs/localedef.c: Likewise.
43346         * login/programs/pt_chown.c: Likewise.
43347         * nscd/nscd.c (print_version): Likewise.
43348         * debug/xtrace.sh: Likewise.
43349         * malloc/memusage.sh: Likewise.
43350         * malloc/mtrace.pl: Likewise.
43351         * debug/catchsegv.sh: Likewise.
43352
43353 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43354
43355         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43356         pure attribute.
43357
43358 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43359
43360         [BZ #13533]
43361         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43362         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43363         transformations.
43364         * iconv/gconv_int.h: Likewise.
43365         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43366         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43367         from libc for GLIBC_2.16.
43368         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43369         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43370         * wcsmbs/uchar.h: Really define mbstate_t.
43371         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43372         * wcsmbs/c16rtomb.c: New file.
43373         * wcsmbs/mbrtoc16.c: New file.
43374         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43375         for C/POSIX locale.
43376         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43377         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43378
43379         * wcsmbs/wchar.h: Add missing __restrict.
43380
43381 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43382
43383         [BZ #13532]
43384         * time/Makefile (routines): Add timespec_get.
43385         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43386         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43387         timespec for ISO C11.
43388         * time/timespec_get.c: New file.
43389         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43390         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43391
43392         [BZ #13531]
43393         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43394         * stdlib/stdlib.h: Declare aligned_alloc.
43395         * Versions.def: Add GLIBC_2.16 for libc.
43396         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43397
43398         [BZ 13527]
43399         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43400         ISO C11.
43401
43402         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43403         code.
43404
43405         [BZ #13528]
43406         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43407
43408         [BZ #13529]
43409         * assert/assert.h (static_assert): Define.
43410
43411         * version.h: Update for 2.16 development version.
43412
43413         [BZ #13526]
43414         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43415         _ISOC11_SOURCE.
43416
43417         * version.h (RELEASE): Bump for 2.15 release.
43418         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43419
43420         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43421         Patch by Marek Polacek <mpolacek@redhat.com>.
43422
43423         * bits/byteswap.h: Protect long long constants with __extension__.
43424         * sysdeps/i386/bits/byteswap.h: Likewise.
43425         * sysdeps/ia64/bits/byteswap.h: Likewise.
43426         * sysdeps/s390/bits/byteswap.h: Likewise.
43427         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43428
43429 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43430
43431         [BZ #13540]
43432         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43433         destination buffer.
43434         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43435
43436 2011-12-23  Marek Polacek  <polacek@redhat.com>
43437
43438         * elf/dl-addr.c (determine_info): Add inline keyword.
43439         * elf/tst-auditmod4b.c (check_avx): Likewise.
43440         * elf/tst-auditmod6b.c (check_avx): Likewise.
43441         * elf/tst-auditmod6c.c (check_avx): Likewise.
43442         * elf/tst-auditmod7b.c (check_avx): Likewise.
43443
43444 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43445
43446         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43447         !__SSE_MATH__.
43448
43449 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43450
43451         [BZ #13540]
43452         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43453         processing for last bytes.
43454
43455 2011-08-06  Bruno Haible  <bruno@clisp.org>
43456
43457         [BZ #13061]
43458         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43459         U+0385, not to U+1FEE.
43460
43461         [BZ #13062]
43462         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43463         entry for U+00A5 U+0301.
43464
43465 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43466
43467         [BZ #13166]
43468         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43469         buffer for the output is too small.
43470
43471         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43472         optimization.
43473
43474         [BZ #13185]
43475         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43476         SSE flags if possible.
43477
43478 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43479
43480         [BZ #13540]
43481         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43482         processing for last bytes.
43483
43484 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43485
43486         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43487         (syscall-list-default-options, syscall-list-default-condition)
43488         (syscall-list-includes): Define.
43489         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43490         list of ABIs and options and #if conditions for each ABI.  Do not
43491         handle common syscalls between ABIs specially.
43492         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43493         Remove.
43494         (syscall-list-variants, syscall-list-32bit-options)
43495         (syscall-list-32bit-condition, syscall-list-64bit-options)
43496         (syscall-list-64bit-condition): Define.
43497         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43498         (syscall-list-variants, syscall-list-32bit-options)
43499         (syscall-list-32bit-condition, syscall-list-64bit-options)
43500         (syscall-list-64bit-condition): Define.
43501         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43502         Remove.
43503         (syscall-list-variants, syscall-list-32bit-options)
43504         (syscall-list-32bit-condition, syscall-list-64bit-options)
43505         (syscall-list-64bit-condition): Define.
43506         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43507         Remove.
43508         (syscall-list-variants, syscall-list-32bit-options)
43509         (syscall-list-32bit-condition, syscall-list-64bit-options)
43510         (syscall-list-64bit-condition): Define.
43511
43512 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43513
43514         * locale/iso-639.def: Add brx entry.
43515
43516         [BZ #13328]
43517         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43518         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43519
43520         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43521         __feraiseexcept_renamed.
43522
43523 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43524
43525         [BZ #13538]
43526         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43527         EPOLLET with unsigned values.
43528         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43529         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43530
43531         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43532         to large cancellation.
43533         * math/s_cacoshf.c: Likewise.
43534         * math/s_cacoshl.c: Likewise.
43535
43536 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43537
43538         [BZ #13305]
43539         [BZ #12786]
43540         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43541         * math/s_cacoshf.c: Likewise.
43542         * math/s_cacoshl.c: Likewise.
43543
43544 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43545
43546         [BZ #13439]
43547         * iconv/gconv.h: Define __GCONV_SWAP.
43548         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43549         * iconvdata/utf-16.c: Likewise.
43550         * iconvdata/utf-32.c: Likewise.
43551
43552 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43553
43554         [BZ #13524]
43555         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43556         numerator after shifting it by one limb.
43557
43558 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43559
43560         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43561         under [__USE_EXTERN_INLINES].
43562
43563 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43564
43565         [BZ #13446]
43566         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43567
43568 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43569
43570         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43571         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43572         optimized code.
43573         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43574         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43575         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43576         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43577         for strncasecmp/strncasecmp_l compilation.
43578         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43579         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43580
43581 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43582
43583         [BZ #13484]
43584         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43585         of __asm__.
43586
43587 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43588
43589         [BZ #13506]
43590         * time/tzfile.c (__tzfile_read): Check values from file header.
43591
43592 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43593
43594         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43595         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43596         * powerpc/powerpc32/dl-start.S: Likewise.
43597         * powerpc/powerpc32/elf/start.S: Likewise.
43598         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43599         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43600         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43601         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43602         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43603         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43604         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43605         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43606         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43607         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43608         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43609         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43610         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43611         * powerpc/powerpc32/memset.S: Likewise.
43612         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43613         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43614         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43615         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43616         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43617         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43618         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43619         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43620         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43621         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43622         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43623         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43624         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43625
43626 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43627
43628         * math/libm-test.inc: Added more nearbyint tests.
43629         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43630         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43631         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43632         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43633
43634 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43635
43636         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43637         FD_CLOEXEC.
43638
43639 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43640
43641         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43642         Add wcscpy-ssse3 wcscpy-c.
43643         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43644         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43645         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43646         * sysdeps/x86_64/wcschr.S: New file.
43647         * sysdeps/x86_64/wcsrchr.S: New file.
43648         * string/test-strcmp.c: Remove checking of wcscmp function for
43649         wrong alignments.
43650         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43651         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43652         wcsrchr-sse2 wcsrchr-c.
43653         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43654         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43655         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43656         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43657         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43658         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43659         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43660         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43661         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43662         * wcsmbc/wcschr.c (WCSCHR): New macro.
43663
43664 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43665
43666         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43667         * wcsmbs/test-wcsrchr.c: New file.
43668         * string/test-strrchr.c: Add wcsrchr support.
43669         (WIDE): New macro.
43670         * wcsmbs/test-wcscpy.c: New file.
43671         * string/test-strcpy.c: Add wcscpy support.
43672         (WIDE): New macro.
43673
43674 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43675
43676         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43677         the inner loop.
43678
43679 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43680
43681         [BZ #13472]
43682         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43683
43684 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43685
43686         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43687         Minor optimizations.
43688
43689         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43690         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43691         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43692
43693 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43694
43695         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43696         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43697         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43698         for gcc to avoid warnings.
43699         * inet/Makefile (tests): Add tst-checks.
43700         * inet/tst-checks.c: New file.
43701
43702         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43703         warning.
43704
43705         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43706         __wmemcmp_sse2.
43707
43708         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43709         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43710
43711         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43712
43713 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43714
43715         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43716         problem.
43717
43718         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43719
43720 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43721
43722         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43723         conditional on GCC version.
43724         (__arch_compare_and_exchange_val_8_acq)
43725         (__arch_compare_and_exchange_val_16_acq)
43726         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43727         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43728         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43729
43730 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43731
43732         * sysdeps/sh/backtrace.c: New file.
43733
43734 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43735
43736         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43737         parenthesis.
43738
43739 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43740
43741         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43742         falling back to utime.
43743
43744 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43745
43746         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43747         expectations for float.
43748
43749 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43750
43751         * locale/weight.h (findidx): Add parameter len.
43752         * locale/weightwc.h (findidx): Likewise.
43753         * posix/fnmatch_loop.c (FCT): Adjust caller.
43754         * posix/regcomp.c (build_equiv_class): Likewise.
43755         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43756         * posix/regexec.c (check_node_accept_bytes): Likewise.
43757         * string/strcoll_l.c (STRCOLL): Likewise.
43758         * string/strxfrm_l.c (STRXFRM): Likewise.
43759
43760 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43761
43762         * Makefile.in: Remove CVSOPT handling.
43763         * configure.in: Remove use of AC_REVISION.
43764         * iconvdata/Makefile (distribute): No need to filter out CVS.
43765         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43766         handling.
43767
43768 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43769
43770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43771         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43772         [USE_AS_STRNCASECMP_L]: Likewise.
43773         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43774         NO_TLS_DIRECT_SEG_REFS.
43775         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43776         Fix argument offsets for non-PIC.
43777         [USE_AS_STRNCASECMP_L]: Likewise.
43778         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43779         NO_TLS_DIRECT_SEG_REFS.
43780
43781 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43782
43783         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43784         O_CLOEXEC.
43785         * locale/loadlocale.c (_nl_load_locale): Likewise.
43786
43787 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43788
43789         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43790         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43791         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43792         (SYSCALL_GETTIME): Set errno on error.
43793
43794         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43795         count references to noai6ai_cached.
43796
43797 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43798
43799         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43800
43801         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43802         FD_CLOEXEC for /proc/self/maps.
43803
43804         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43805         FD_CLOEXEC for /proc/meminfo.
43806
43807         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43808         gai.conf.
43809
43810         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43811         FD_CLOEXEC for given file.
43812
43813         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43814
43815         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43816         FD_CLOEXEC for /etc/hosts.
43817         (_gethtent): Likewise.
43818
43819         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43820
43821         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43822         cancellation and set FD_CLOEXEC for /etc/netgroup.
43823
43824         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43825         reading /etc/publickey.
43826
43827         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43828         allow cancellation when reading /etc/group.
43829
43830         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43831         cancellation.
43832         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43833
43834         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43835         when using data file.
43836
43837         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43838
43839         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43840         (write_nis_obj): Use "c" and "e" in fopen.
43841
43842         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43843
43844         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43845
43846         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43847
43848         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43849
43850         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43851         locale.alias.
43852
43853         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43854
43855         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43856
43857         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43858
43859         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43860         file parsing and set FD_CLOEXEC.
43861
43862 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43863
43864         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43865
43866 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43867
43868         * malloc/arena.c (arena_get2): Don't call reused_arena when
43869         _int_new_arena failed.
43870
43871 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43872
43873         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43874         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43875         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43876         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43877         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43878         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43879         to compile strcasecmp and strncasecmp.
43880         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43881         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43882
43883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43884
43885 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43886
43887         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43888         locale-defines.sym to gen-as-const-headers.
43889         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43890         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43891         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43892         to compile strcasecmp and strncasecmp.
43893         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43894         strcasecmp_l and strncasecmp_l.
43895         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43896         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43897         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43898         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43899         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43900         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43901         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43902         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43903         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43904         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43905         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43906
43907 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43908
43909         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43910         result of SYSDEP_GETTIME_CPU to retval.
43911         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43912         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43913
43914         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43915         variable.
43916
43917         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43918         mantissa words.
43919         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43920
43921         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43922         from unused variable.
43923
43924         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43925         DWARF definitions.
43926         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43927         for assembling.
43928
43929         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43930         over namespaces.
43931
43932         * sunrpc/rpc_prot.c (rejected): Fix case value.
43933
43934         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43935         unsigned long long int to avoid warnings in shift.
43936
43937         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43938         of use of trans.
43939         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43940         variable tmp.
43941
43942         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43943         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43944         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43945
43946         * nis/nis_table.c (nis_list): Use variable of correct type for
43947         result of __follow_path call.
43948
43949 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43950
43951         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43952         of math functions ceil, trunc, floor, round, and sqrt, when
43953         avaliable on the platform.
43954         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43955         name clash.
43956         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43957         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43958         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43959
43960 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43961
43962         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43963         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43964
43965 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43966
43967         * include/unistd.h: Fix __readlink return type.
43968         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43969
43970 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43971
43972         * stdlib/ucontext.h: Undo last change for makecontext.
43973
43974 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43975
43976         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43977
43978         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43979         * setjmp/setjmp.h: Mark functions as non-leaf.
43980         * setjmp/bits/setjmp2.h: Likewise.
43981         * stdlib/ucontext.h: Likewise.
43982
43983 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43984
43985         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43986         (reused_arena): Don't check arena limit.
43987         (arena_get2): Atomically check arena limit.
43988
43989 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43990
43991         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43992         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43993
43994         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43995         instructions.
43996
43997 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43998
43999         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44000         handler when locking.
44001
44002         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44003         Fix size of allocated buffer.
44004
44005 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44006
44007         [BZ #10103]
44008         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44009         declarations for long double functions.
44010         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44011
44012         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44013
44014 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44015
44016         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44017         installed.
44018
44019         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44020         is disabled.
44021
44022 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44023
44024         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44025
44026 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44027
44028         * include/alloca.h (stackinfo_alloca_round): Define.
44029         (extend_alloca): Use it.
44030         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44031         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44032         here.
44033
44034         * scripts/check-local-headers.sh: Ignore libaudit.h.
44035
44036         * nscd/Makefile (extra-objs): Make recursively expanded.
44037
44038 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44039
44040         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44042
44043         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44044         * posix/tst-rfc3484-2.c: Likewise.
44045         * posix/tst-rfc3484-3.c: Likewise.
44046
44047         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44048         process_vm_writev.
44049         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44050         process_vm_writev.
44051         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44052         process_vm_writev from libc using GLIBC_2.15 version.
44053
44054         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44055
44056 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44057
44058         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44059         stack usage.
44060
44061 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44062
44063         [BZ #13367]
44064         * nss/getent.c (initgroups_keys): Show error message in case no group
44065         names are given.
44066
44067         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44068         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44069         __bump_nl_timestamp.
44070         * nscd/connections (nscd_init): When host database is served open
44071         netlink socket and request notification about configuration changes.
44072         (main_loop_poll): Track netlink file descriptor and bump timestamp
44073         in case data becomes available.
44074         (main_loop_epoll): Likewise.
44075         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44076         (database_pers_head): Add extra_data fileds.
44077         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44078         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44079         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44080         Adjust caller.
44081         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44082         in6ai data, call __free_in6ai.
44083         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44084         Add -DHAVE_NETLINK.
44085         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44086         interface information.  Reuse previous data if netlink timestamp
44087         is not changed.
44088         (__bump_nl_timestamp): New function.
44089         (__free_in6ai): New function.
44090
44091 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44092
44093         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44094         close_not_cancel_no_status here.
44095         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44096
44097 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44098
44099         [BZ #13276]
44100         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44101         return value.
44102
44103         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44104         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44105         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44106
44107 2011-07-03  Andreas Jaeger  <aj@suse.de>
44108
44109         [BZ #10709]
44110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44111         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44112         * math/libm-test.inc (sin_test): Add test case.
44113
44114 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44115
44116         [BZ #13337]
44117         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44118         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44119
44120         * elf/chroot_canon.c (chroot_canon): Cleanups.
44121
44122         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44123
44124         [BZ #13335]
44125         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44126         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44127
44128         * string/test-strchr.c: Make usable for strchrnul testing.
44129         * string/test-strchrnul.c: New file.
44130         * string/Makefile (strop-tests): Add strchrnul.
44131
44132         * po/it.po: Update from translation team.
44133         * po/es.po: Likewise.
44134
44135 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44136
44137         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44138         the three constants needed as parameters.  Drop the others.
44139         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44140         __m128i_strloadu_tolower.
44141         Create and initialize variable zero and use it in all the places
44142         where _mm_setzero_si128 was used.
44143
44144         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44145         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44146         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44147         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44148         anymore.
44149         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44150         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44151         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44152         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44153         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44154         __mpranred, __mptan.
44155         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44156         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44157         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44158         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44159         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44160         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44161         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44162         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44163         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44164
44165 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44166
44167         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44168         redefine if SHARED.
44169         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44170
44171         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44172         wide char related routines to wcsmbs subdir.
44173
44174 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44175
44176         [BZ #13344]
44177         * misc/sys/cdefs.h (__THROWNL): Define.
44178         * posix/unistd.h: Use __THREADNL instead of __THREAD
44179         for memory synchronization functions.
44180
44181 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44182
44183         [BZ #13349]
44184         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44185         doesn't exist.
44186         * manual/stdio.texi (Obstack Streams): Node removed.
44187
44188 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44189
44190         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44191         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44192         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44193
44194         * math/math_private.h (math_force_eval): Allow non-addressable
44195         arguments.
44196         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44197
44198 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44199
44200         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44201         file is not needed.
44202
44203         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44204         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44205         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44206         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44207         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44208         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44209         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44210         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44211         Add AVX variants.
44212         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44213         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44214         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44215         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44216         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44217         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44218         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44219         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44220         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44221         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44222         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44223         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44224         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44225         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44226         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44227         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44228         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44229         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44230         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44231
44232         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44233         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44234
44235         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44236         place.  Use VEX encoding when compiling for AVX.
44237
44238 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44239
44240         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44241         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44242
44243         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44244
44245 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44246
44247         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44248         useless if() expression.
44249         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44250         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44251         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44252         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44253         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44254         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44255         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44256         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44257         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44259         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44260         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44261         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44262         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44263         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44264         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44265         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44266         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44267         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44268
44269         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44270
44271 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44272
44273         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44274         condition.
44275         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44276
44277 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44278
44279         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44280         .text section.  Avoid duplicate constants.
44281         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44282         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44283         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44284         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44288         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44290         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44291         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44292         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44293         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44294         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44295         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44296         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44297         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44298         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44299         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44300         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44301         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44302         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44303         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44304         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44305         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44306         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44307         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44308         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44309         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44310         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44311         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44312         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44313         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44314         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44315         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44316         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44317         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44318         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44319         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44320         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44321         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44322         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44323         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44324         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44325         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44326
44327 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44328
44329         * sysdeps/x86_64/dla.h: Move to ...
44330         * sysdeps/x86_64/fpu/dla.h: ...here.
44331         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44332         situations.  Use __builtin_fma only for gcc 4.6 and up.
44333
44334         * config.make.in: Add have-mfma4 entry.
44335         * configure.in: Substitute libc_cv_cc_fma4.
44336         * math/Makefile (dbl-only-routines): Add sincostab.
44337         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44338         Use __sincostab not sincos.
44339         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44340         name is a macro.
44341         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44343         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44345         using __copysign.
44346         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44347         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44348         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44349         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44350         and __inv.
44351         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44352         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44353         __copysign.
44354         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44355         define aliases when function name is a macro.
44356         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44357         sysdeps/ieee754/dbl-64/sincos.tbl.
44358         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44359         fma4-enabled routines.
44360         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44361         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44362         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44363         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44364         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44365         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44366         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44367         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44368         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44369         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44370         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44371         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44372         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44373         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44374         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44375         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44376         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44377         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44378         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44379         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44380         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44381         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44382         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44383         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44384         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44385         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44386         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44387         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44388         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44389         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44390
44391         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44392         rename.
44393         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44394         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44395         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44396         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44397         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44398         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44399         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44400         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44401
44402 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44403
44404         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44405
44406 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44407
44408         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44409
44410         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44411         prediction.
44412         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44413
44414         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44415         Remove unused variable magic_bits.
44416         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44417
44418         * string/strnlen.c: Define and use STRNLEN macro.
44419         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44420         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44421         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44422         * wcsmbs/wcslen.c: Define and use WCSLEN.
44423         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44424         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44425         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44426         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44427         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44428         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44429         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44430
44431 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44432
44433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44434         strnlen-sse2-no-bsf.
44435         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44436         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44437         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44438         Add strnlen support.
44439         (USE_AS_STRNLEN): New macro.
44440         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44441         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44442         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44443         * sysdeps/x86_64/wcslen.S: New file.
44444
44445 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44446
44447         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44448         XMM-moves are used for copying on small sizes.
44449
44450 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44451
44452         * wcsmbs/Makefile (strop-tests): Add wcschr.
44453         * wcsmbs/test-wcschr.c: New file.
44454         * string/test-strchr.c: Update.
44455         Add wcschr support.
44456         (WIDE): New macro.
44457
44458 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44459
44460         * wcsmbs/Makefile (strop-tests): Add wcslen.
44461         * wcsmbs/test-wcslen.c: New file.
44462         * string/test-strlen.c: Update.
44463         Add wcslen support.
44464         (WIDE): New macro.
44465
44466 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44467
44468         * po/it.po: Update from translation team.
44469
44470 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44471
44472         * sysdeps/x86_64/wcscmp.S: Update.
44473         Fix wrong comparison semantics.
44474         wcscmp shall use signed comparison not unsigned.
44475         Don't use substraction to avoid overflow bug.
44476         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44477         * wcsmbc/wcscmp.c: Likewise.
44478         * string/test-strcmp.c: Likewise.
44479         Add new tests to check cases with negative values.
44480
44481 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44482
44483         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44484         * sysdeps/x86_64/dla.h: ...here.  New file.
44485         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44486         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44487         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44488         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44489         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44490         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44491         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44492         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44493         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44494
44495 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44496
44497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44498         __ynl_finite aliases.
44499
44500 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44501
44502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44503
44504         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44505         define DLA_FMA.
44506         [DLA_FMA] (EMULV): Use DLA_FMA.
44507         [DLA_FMA] (MUL12): Use EMULV.
44508         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44509         that are not needed.
44510         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44511         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44512         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44513         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44514         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44515         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44516         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44517
44518 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44519
44520         * math/s_nan.c: Undef __nan.
44521         * math/s_nanf.c: Undef __nanf.
44522         * math/s_nanl.c: Undef __nanl.
44523         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44524         "math_private.h".
44525
44526 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44527
44528         * math/s_catan.c: Add branch predictions.
44529         * math/s_catanf.c: Likewise.
44530         * math/s_catanh.c: Likewise.
44531         * math/s_catanhf.c: Likewise.
44532         * math/s_catanhl.c: Likewise.
44533         * math/s_catanl.c: Likewise.
44534         * math/s_cexp.c: Likewise.
44535         * math/s_cexpf.c: Likewise.
44536         * math/s_cexpl.c: Likewise.
44537         * math/s_clog.c: Likewise.
44538         * math/s_clog10.c: Likewise.
44539         * math/s_clog10f.c: Likewise.
44540         * math/s_clog10l.c: Likewise.
44541         * math/s_clogf.c: Likewise.
44542         * math/s_clogl.c: Likewise.
44543         * math/s_csqrt.c: Likewise.
44544         * math/s_csqrtf.c: Likewise.
44545         * math/s_csqrtl.c: Likewise.
44546         * math/s_ctanf.c: Likewise.
44547         * math/s_ctanh.c: Likewise.
44548         * math/s_ctanhf.c: Likewise.
44549         * math/s_ctanhl.c: Likewise.
44550         * math/s_ctanl.c: Likewise.
44551
44552         * math/math_private.h: Define __nan, __nanf, __nanl.
44553         * math/s_cacosh.c: Include <math_private.h>.
44554         * math/s_cacoshl.c: Likewise.
44555         * math/s_casinh.c: Likewise.
44556         * math/s_casinhf.c: Likewise.
44557         * math/s_casinhl.c: Likewise.
44558         * math/s_ccos.c: Rely entire on ccosh.
44559         * math/s_ccosf.c: Rely entire on ccoshf.
44560         * math/s_ccosl.c: Rely entirely on ccoshl.
44561         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44562         Remove tests for FE_INVALID.
44563         * math/s_ccoshf.c: Likewise.
44564         * math/s_ccoshl.c: Likewise.
44565         * math/s_csin.c: Likewise.
44566         * math/s_csinf.c: Likewise.
44567         * math/s_csinh.c Likewise.
44568         * math/s_csinhf.c: Likewise.
44569         * math/s_csinhl.c: Likewise.
44570         * math/s_csinl.c: Likewise.
44571         * math/s_ctan.c: Likewise.
44572         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44573         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44574         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44575
44576 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44577
44578         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44579         compilation problems.
44580
44581         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44582         __builtin_expect.
44583
44584 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44585
44586         * sysdeps/i386/configure.in: Test for -mfma4 option.
44587         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44588         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44589         COMMON_CPUID_INDEX_80000001.
44590         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44591         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44592         use it if FMA3 is not supported.
44593         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44594
44595         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44596         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44597
44598 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44599
44600         [BZ #12892]
44601         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44602         it would create a cycle with a link time dependency.
44603
44604 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44605
44606         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44607         instruction.
44608         * string/Makefile (strop-tests): Add rawmemchr.
44609         * string/test-rawmemchr.c: New file.
44610
44611         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44612         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44613         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44614         when compiling str{,n}casecmp and when AVX is available.  Hook up
44615         new optimized code in initializers.
44616
44617 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44618
44619         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44620         __feraiseexcept instead of feraiseexcept.
44621
44622 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44623
44624         * math/math_private.h: Define defaults for libc_fetestexcept and
44625         libc_feupdateenv.
44626         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44627         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44628         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44629         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44630         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44631         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44632         libc_fetestexcept and libc_feupdateenv.
44633
44634         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44635         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44636         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44637         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44638         libc_feholdexcept_setround.
44639
44640         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44641         Add s_nearbyint-c and s_nearbyintf-c.
44642         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44643         nearbyintf inlines.
44644         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44645         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44646         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44647         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44648
44649         * math/math_private.h: Define defaults for libc_fegetround,
44650         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44651         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44652         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44653         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44654         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44655         standard functions.
44656         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44657         Remove comments and hacks for old compiler versions.
44658         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44659         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44660         libc_feholdexceptl.
44661
44662 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44663
44664         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44665         (__feraiseexcept_renamed): Add __NTH.
44666         (feraiseexcept): Add __NTH.  Rename local variables to fix
44667         namespace violations.
44668
44669 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44670
44671         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44672
44673         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44674
44675         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44676         recently added interfaces.
44677         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44678
44679         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44680         about macro parameter expansion.
44681
44682         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44683         __NO_MATH_INLINES is defined.  Cleanups.
44684
44685         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44686         and __floorf is target has SSE4.1.
44687         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44688         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44689         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44690         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44691
44692         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44693         name.
44694         (floorf): Likewise.
44695
44696         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44697
44698 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44699
44700         * misc/sys/cdefs.h: Fix last change.
44701
44702         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44703         database lookup.
44704
44705 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44706
44707         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44708
44709         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44710         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44711         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44712         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44713         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44714         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44715         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44716         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44717         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44718         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44719         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44720         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44721         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44722         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44723         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44724         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44725         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44726         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44727         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44728         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44729         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44730         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44731
44732         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44733         ceil, ceilf, floor, floorf.
44734
44735         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44736         Perform IRELATIVE relocations last.
44737
44738         * elf/do-rel.h: Add another parameter nrelative, replacing the
44739         local variable with the same name.  Change name of the function
44740         to end in Rel or Rela (uppercase).
44741         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44742         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44743         elf_dynamic_do_##reloc function.
44744
44745 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44746
44747         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44748         is sufficient, at least on modern CPUs.
44749
44750         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44751
44752         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44753         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44754
44755         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44756         __expl_finite.
44757         * math/bits/math-finite.h: Add entries for exp.
44758         * math/e_expl.c: Add __*_finite alias.
44759         * sysdeps/i386/fpu/e_exp.S: Likewise.
44760         * sysdeps/i386/fpu/e_expf.S: Likewise.
44761         * sysdeps/i386/fpu/e_expl.c: Likewise.
44762         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44763         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44764         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44765         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44766         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44767         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44768         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44769
44770         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44771         is sufficient, at least on modern CPUs.
44772
44773         * ctype/ctype-info.c (__ctype_init): Define.
44774         * include/ctype.h (__ctype_init): Declare.
44775         (__ctype_b_loc): The variable is always initialized.
44776         (__ctype_toupper_loc): Likewise.
44777         (__ctype_tolower_loc): Likewise.
44778         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44779         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44780
44781 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44782
44783         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44784
44785         * configure.in: Also look in $cxxmachine/include for C++ system
44786         headers.
44787
44788 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44789
44790         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44791         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44792         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44793         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44794         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44795         (USE_AS_WMEMCMP): New macro.
44796         Fixing indents.
44797         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44798         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44799         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44800         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44802         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44803         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44804         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44805         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44806         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44807         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44808         (USE_AS_WMEMCMP): New macro.
44809         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44810         * sysdeps/string/test-memcmp.c: Update.
44811         Fix simple_wmemcmp.
44812         Add new tests.
44813         * wcsmbs/wmemcmp.c: Update.
44814         (WMEMCMP): New macro.
44815         Fix overflow bug.
44816
44817 2011-10-12  Andreas Jaeger  <aj@suse.de>
44818
44819         [BZ #13268]
44820         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44821
44822 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44823
44824         * libio/iofwide.c (do_length): Avoid warning.
44825
44826         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44827
44828 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44829
44830         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44831
44832         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44833         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44834         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44835         * sysdeps/i386/i686/fpu/e_log.S: New file.
44836         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44837         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44838
44839         * ctype/ctype.h: Add support for inlined isXXX functions when
44840         compiling C++ code.
44841
44842 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44843
44844         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44845
44846         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44847
44848 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44849
44850         [BZ #13291]
44851         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44852
44853 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44854
44855         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44856         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44857         feraiseexcept.
44858
44859         * sysdeps/x86_64/memrchr.S: Check for zero size.
44860
44861         * string/stratcliff.c: Add memrchr tests.
44862
44863 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44864
44865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44866         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44867         rawmemchr-sse2 rawmemchr-sse2-bsf.
44868         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44869         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44870         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44871         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44872         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44873         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44874         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44875         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44876         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44877         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44878         * string/memrchr.c (MEMRCHR): New macro.
44879
44880 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44881
44882         Add integration with gcc's -ffinite-math-only and optimize wrapper
44883         functions in libm.
44884         * Versions.def: Define GLIBC_2.15 version for libm.
44885         * math/Makefile (headers): Add bits/math-finite.h.
44886         * math/bits/math-finite.h: New file.
44887         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44888         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44889         * math/e_acoshl.c: Add __*_finite alias.
44890         * math/e_acosl.c: Likewise.
44891         * math/e_asinl.c: Likewise.
44892         * math/e_atan2l.c: Likewise.
44893         * math/e_atanhl.c: Likewise.
44894         * math/e_coshl.c: Likewise.
44895         * math/e_exp10.c: Likewise.
44896         * math/e_exp10f.c: Likewise.
44897         * math/e_exp10l.c: Likewise.
44898         * math/e_exp2l.c: Likewise.
44899         * math/e_fmodl.c: Likewise.
44900         * math/e_gammal_r.c: Likewise.
44901         * math/e_hypotl.c: Likewise.
44902         * math/e_j0l.c: Likewise.
44903         * math/e_j1l.c: Likewise.
44904         * math/e_jnl.c: Likewise.
44905         * math/e_lgammal_r.c: Likewise.
44906         * math/e_log10l.c: Likewise.
44907         * math/e_log2l.c: Likewise.
44908         * math/e_logl.c: Likewise.
44909         * math/e_powl.c: Likewise.
44910         * math/e_sinhl.c: Likewise.
44911         * math/e_sqrtl.c: Likewise.
44912         * math/e_scalb.c: Completely rewritten and optimized.
44913         * math/e_scalbf.c: Likewise.
44914         * math/e_scalbl.c: Likewise.
44915         * math/w_acos.c: Likewise.
44916         * math/w_acosf.c: Likewise.
44917         * math/w_acosl.c: Likewise.
44918         * math/w_acosh.c: Likewise.
44919         * math/w_acoshf.c: Likewise.
44920         * math/w_acoshl.c: Likewise.
44921         * math/w_asin.c: Likewise.
44922         * math/w_asinf.c: Likewise.
44923         * math/w_asinl.c: Likewise.
44924         * math/w_atan2.c: Likewise.
44925         * math/w_atan2f.c: Likewise.
44926         * math/w_atan2l.c: Likewise.
44927         * math/w_atanh.c: Likewise.
44928         * math/w_atanhf.c: Likewise.
44929         * math/w_atanhl.c: Likewise.
44930         * math/w_exp10.c: Likewise.
44931         * math/w_exp10f.c: Likewise.
44932         * math/w_exp10l.c: Likewise.
44933         * math/w_fmod.c: Likewise.
44934         * math/w_fmodf.c: Likewise.
44935         * math/w_fmodl.c: Likewise.
44936         * math/w_j0.c: Likewise.
44937         * math/w_j0f.c: Likewise.
44938         * math/w_j0l.c: Likewise.
44939         * math/w_j1.c: Likewise.
44940         * math/w_j1f.c: Likewise.
44941         * math/w_j1l.c: Likewise.
44942         * math/w_jn.c: Likewise.
44943         * math/w_jnf.c: Likewise.
44944         * math/w_log.c: Likewise.
44945         * math/w_logf.c: Likewise.
44946         * math/w_logl.c: Likewise.
44947         * math/w_log10.c: Likewise.
44948         * math/w_log10f.c: Likewise.
44949         * math/w_log10l.c: Likewise.
44950         * math/w_log2.c: Likewise.
44951         * math/w_log2f.c: Likewise.
44952         * math/w_log2l.c: Likewise.
44953         * math/w_pow.c: Likewise.
44954         * math/w_powf.c: Likewise.
44955         * math/w_powl.c: Likewise.
44956         * math/w_remainder.c: Likewise.
44957         * math/w_remainderf.c: Likewise.
44958         * math/w_remainderl.c: Likewise.
44959         * math/w_scalb.c: Likewise.
44960         * math/w_scalbf.c: Likewise.
44961         * math/w_scalbl.c: Likewise.
44962         * math/w_sqrt.c: Likewise.
44963         * math/w_sqrtf.c: Likewise.
44964         * math/w_sqrtl.c: Likewise.
44965         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44966         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44967         used.
44968         * math/math_private.h: Declare __kernel_standard_f.
44969         * math/w_cosh.c: Remove cruft and optimize a bit.
44970         * math/w_coshf.c: Likewise.
44971         * math/w_coshl.c: Likewise.
44972         * math/w_exp2.c: Likewise.
44973         * math/w_exp2f.c: Likewise.
44974         * math/w_exp2l.c: Likewise.
44975         * math/w_hypot.c: Likewise.
44976         * math/w_hypotf.c: Likewise.
44977         * math/w_hypotl.c: Likewise.
44978         * math/w_lgamma.c: Likewise.
44979         * math/w_lgamma_r.c: Likewise.
44980         * math/w_lgammaf.c: Likewise.
44981         * math/w_lgammaf_r.c: Likewise.
44982         * math/w_lgammal.c: Likewise.
44983         * math/w_lgammal_r.c: Likewise.
44984         * math/w_sinh.c: Likewise.
44985         * math/w_sinhf.c: Likewise.
44986         * math/w_sinhl.c: Likewise.
44987         * math/w_tgamma.c: Likewise.
44988         * math/w_tgammaf.c: Likewise.
44989         * math/w_tgammal.c: Likewise.
44990         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44991         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44992         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44993         Minor optimizations.  Pretty printing.  Remove cruft.
44994         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44995         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44996         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44997         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44998         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44999         * sysdeps/i386/fpu/e_asin.S: Likewise.
45000         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45001         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45002         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45003         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45004         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45005         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45006         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45007         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45008         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45009         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45010         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45011         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45012         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45013         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45014         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45015         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45016         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45017         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45018         * sysdeps/i386/fpu/e_log.S: Likewise.
45019         * sysdeps/i386/fpu/e_log10.S: Likewise.
45020         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45021         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45022         * sysdeps/i386/fpu/e_log2.S: Likewise.
45023         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45024         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45025         * sysdeps/i386/fpu/e_logf.S: Likewise.
45026         * sysdeps/i386/fpu/e_logl.S: Likewise.
45027         * sysdeps/i386/fpu/e_pow.S: Likewise.
45028         * sysdeps/i386/fpu/e_powf.S: Likewise.
45029         * sysdeps/i386/fpu/e_powl.S: Likewise.
45030         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45031         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45032         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45033         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45034         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45035         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45036         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45037         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45038         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45039         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45040         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45042         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45043         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45044         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45045         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45046         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45047         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45048         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45049         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45050         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45052         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45053         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45055         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45056         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45057         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45058         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45059         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45060         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45061         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45062         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45063         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45064         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45065         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45066         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45067         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45068         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45069         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45070         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45071         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45072         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45073         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45074         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45075         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45076         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45077         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45078         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45079         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45080         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45081         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45082         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45083         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45085         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45087         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45089         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45091         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45092         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45094         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45095         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45096         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45097         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45100         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45101         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45104         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45105         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45106         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45107         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45108         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45109         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45110         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45111         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45112         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45113         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45114         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45115         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45116         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45117         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45118         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45119         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45120         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45121         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45122         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45123         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45124         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45125         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45126         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45127         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45128         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45129         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45130         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45131         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45132         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45133         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45134         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45135         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45136         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45137         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45138         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45139         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45140         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45141         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45142         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45143         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45144         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45145         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45146         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45147         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45148         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45149         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45150         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45151         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45152         (__isnanf): Likewise.
45153         (__isinf_ns): Likewise.
45154         (__isinf_nsf): Likewise.
45155         (__finite): Likewise.
45156         (__finitef): Likewise.
45157         (__ieee754_sqrt): Define as macro.
45158         (__ieee754_sqrtf): Define as macro.
45159         (__ieee754_sqrtl): Define as macro.
45160         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45161         inlined copy.
45162         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45163         __FINITE_MATH_ONLY__ consistent.
45164         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45165
45166 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45167
45168         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45169         of rawmemchr.
45170
45171         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45172
45173 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45174
45175         * po/ja.po: Update from translation team.
45176
45177 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45178
45179         * locale/programs/locarchive.c (prepare_address_space): New function.
45180         (create_archive, enlarge_archive, open_archive): Use it.
45181
45182         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45183         inside [SHARED], where it is used.
45184
45185         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45186
45187         * nss/getent.c (netgroup_keys): Remove unused variable.
45188         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45189
45190 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45191
45192         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45193         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45194         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45195         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45196         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45197         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45198         * math/Makefile (libm-calls): Add s_isinf_ns.
45199         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45200         * math/multc3.c: Likewise.
45201         * math/s_casin.c: Likewise.
45202         * math/s_casinf.c: Likewise.
45203         * math/s_casinl.c: Likewise.
45204         * math/s_ccos.c: Likewise.
45205         * math/s_ccosf.c: Likewise.
45206         * math/s_ccosl.c: Likewise.
45207         * math/s_ctan.c: Likewise.
45208         * math/s_ctanf.c: Likewise.
45209         * math/s_ctanh.c: Likewise.
45210         * math/s_ctanhf.c: Likewise.
45211         * math/s_ctanhl.c: Likewise.
45212         * math/s_ctanl.c: Likewise.
45213         * math/w_fmod.c: Likewise.
45214         * math/w_fmodf.c: Likewise.
45215         * math/w_fmodl.c: Likewise.
45216         * math/w_remainder.c: Likewise.
45217         * math/w_remainderf.c: Likewise.
45218         * math/w_remainderl.c: Likewise.
45219         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45220         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45221         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45222         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45223         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45224         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45225         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45226         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45227
45228         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45229         of the number.
45230         * stdio-common/printf_fphex.c: Likewise.
45231         * stdio-common/printf_size.c: Likewise.
45232
45233         * math/e_exp10.c: Include math_private.h using <...> not "...".
45234         * math/e_exp10f.c: Likewise.
45235         * math/e_exp10l.c: Likewise.
45236         * math/e_exp2l.c: Likewise.
45237         * math/e_j0l.c: Likewise.
45238         * math/e_j1l.c: Likewise.
45239         * math/e_jnl.c: Likewise.
45240         * math/e_lgammal_r.c: Likewise.
45241         * math/e_rem_pio2l.c: Likewise.
45242         * math/e_scalb.c: Likewise.
45243         * math/e_scalbf.c: Likewise.
45244         * math/e_scalbl.c: Likewise.
45245         * math/k_cosl.c: Likewise.
45246         * math/k_sinl.c: Likewise.
45247         * math/k_tanl.c: Likewise.
45248         * math/s_cacoshf.c: Likewise.
45249         * math/s_catan.c: Likewise.
45250         * math/s_catanf.c: Likewise.
45251         * math/s_catanh.c: Likewise.
45252         * math/s_catanhf.c: Likewise.
45253         * math/s_catanhl.c: Likewise.
45254         * math/s_catanl.c: Likewise.
45255         * math/s_ccosh.c: Likewise.
45256         * math/s_ccoshf.c: Likewise.
45257         * math/s_ccoshl.c: Likewise.
45258         * math/s_cexp.c: Likewise.
45259         * math/s_cexpf.c: Likewise.
45260         * math/s_cexpl.c: Likewise.
45261         * math/s_clog.c: Likewise.
45262         * math/s_clog10.c: Likewise.
45263         * math/s_clog10f.c: Likewise.
45264         * math/s_clog10l.c: Likewise.
45265         * math/s_clogf.c: Likewise.
45266         * math/s_clogl.c: Likewise.
45267         * math/s_csin.c: Likewise.
45268         * math/s_csinf.c: Likewise.
45269         * math/s_csinh.c: Likewise.
45270         * math/s_csinhf.c: Likewise.
45271         * math/s_csinhl.c: Likewise.
45272         * math/s_csinl.c: Likewise.
45273         * math/s_csqrt.c: Likewise.
45274         * math/s_csqrtf.c: Likewise.
45275         * math/s_csqrtl.c: Likewise.
45276         * math/s_ctan.c: Likewise.
45277         * math/s_ctanf.c: Likewise.
45278         * math/s_ctanh.c: Likewise.
45279         * math/s_ctanhf.c: Likewise.
45280         * math/s_ctanhl.c: Likewise.
45281         * math/s_ctanl.c: Likewise.
45282         * math/s_ldexp.c: Likewise.
45283         * math/s_ldexpf.c: Likewise.
45284         * math/s_ldexpl.c: Likewise.
45285         * math/s_significand.c: Likewise.
45286         * math/s_significandf.c: Likewise.
45287         * math/s_significandl.c: Likewise.
45288         * math/w_acos.c: Likewise.
45289         * math/w_acosf.c: Likewise.
45290         * math/w_acosh.c: Likewise.
45291         * math/w_acoshf.c: Likewise.
45292         * math/w_acoshl.c: Likewise.
45293         * math/w_acosl.c: Likewise.
45294         * math/w_asin.c: Likewise.
45295         * math/w_asinf.c: Likewise.
45296         * math/w_asinl.c: Likewise.
45297         * math/w_atan2.c: Likewise.
45298         * math/w_atan2f.c: Likewise.
45299         * math/w_atan2l.c: Likewise.
45300         * math/w_atanh.c: Likewise.
45301         * math/w_atanhf.c: Likewise.
45302         * math/w_atanhl.c: Likewise.
45303         * math/w_cosh.c: Likewise.
45304         * math/w_coshf.c: Likewise.
45305         * math/w_coshl.c: Likewise.
45306         * math/w_dremf.c: Likewise.
45307         * math/w_exp10.c: Likewise.
45308         * math/w_exp10f.c: Likewise.
45309         * math/w_exp10l.c: Likewise.
45310         * math/w_exp2.c: Likewise.
45311         * math/w_exp2f.c: Likewise.
45312         * math/w_fmod.c: Likewise.
45313         * math/w_fmodf.c: Likewise.
45314         * math/w_fmodl.c: Likewise.
45315         * math/w_hypot.c: Likewise.
45316         * math/w_hypotf.c: Likewise.
45317         * math/w_hypotl.c: Likewise.
45318         * math/w_j0.c: Likewise.
45319         * math/w_j0f.c: Likewise.
45320         * math/w_j0l.c: Likewise.
45321         * math/w_j1.c: Likewise.
45322         * math/w_j1f.c: Likewise.
45323         * math/w_j1l.c: Likewise.
45324         * math/w_jn.c: Likewise.
45325         * math/w_jnf.c: Likewise.
45326         * math/w_jnl.c: Likewise.
45327         * math/w_lgamma.c: Likewise.
45328         * math/w_lgamma_r.c: Likewise.
45329         * math/w_lgammaf.c: Likewise.
45330         * math/w_lgammaf_r.c: Likewise.
45331         * math/w_lgammal.c: Likewise.
45332         * math/w_lgammal_r.c: Likewise.
45333         * math/w_log.c: Likewise.
45334         * math/w_log10.c: Likewise.
45335         * math/w_log10f.c: Likewise.
45336         * math/w_log10l.c: Likewise.
45337         * math/w_log2.c: Likewise.
45338         * math/w_log2f.c: Likewise.
45339         * math/w_log2l.c: Likewise.
45340         * math/w_logf.c: Likewise.
45341         * math/w_logl.c: Likewise.
45342         * math/w_pow.c: Likewise.
45343         * math/w_powf.c: Likewise.
45344         * math/w_powl.c: Likewise.
45345         * math/w_remainder.c: Likewise.
45346         * math/w_remainderf.c: Likewise.
45347         * math/w_remainderl.c: Likewise.
45348         * math/w_scalb.c: Likewise.
45349         * math/w_scalbf.c: Likewise.
45350         * math/w_scalbl.c: Likewise.
45351         * math/w_sinh.c: Likewise.
45352         * math/w_sinhf.c: Likewise.
45353         * math/w_sinhl.c: Likewise.
45354         * math/w_sqrt.c: Likewise.
45355         * math/w_sqrtf.c: Likewise.
45356         * math/w_sqrtl.c: Likewise.
45357         * math/w_tgamma.c: Likewise.
45358         * math/w_tgammaf.c: Likewise.
45359         * math/w_tgammal.c: Likewise.
45360
45361         * po/ja.po: Update from translation team.
45362
45363 2011-09-29  Andreas Jaeger  <aj@suse.de>
45364
45365         [BZ #13179]
45366         * sunrpc/netname.c (netname2host): Fix logic.
45367
45368         [BZ #6779]
45369         [BZ #6783]
45370         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45371         correctly.
45372         * math/w_remainder.c (__remainder): Likewise.
45373         * math/w_remainderf.c (__remainderf): Likewise.
45374         * math/libm-test.inc (remainder_test): Add test cases.
45375
45376 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45377
45378         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45379         sdiv_qrnnd.
45380
45381 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45382
45383         * string/test-memcmp.c: Avoid unncessary #defines.
45384         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45385
45386 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45387
45388         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45389         Use new sse2 version for core i3 - i7 as it's faster
45390         than sse42 version.
45391         (bit_Prefer_PMINUB_for_stringop): New.
45392         * sysdeps/x86_64/rawmemchr.S: Update.
45393         Replace with faster SSE2 version.
45394         * sysdeps/x86_64/memrchr.S: New file.
45395         * sysdeps/x86_64/memchr.S: Update.
45396         Replace with faster SSE2 version.
45397
45398 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45399
45400         * elf/dl-load.c (lose): Add cast to avoid warning.
45401
45402 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45403
45404         * po/ca.po: Update from translation team.
45405
45406         * inet/getnetgrent_r.c: Hook up nscd.
45407         * nscd/Makefile (routines): Add nscd_netgroup.
45408         (nscd-modules): Add netgroupcache.
45409         (CFLAGS-netgroupcache.c): Define.
45410         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45411         (cache_search): Add const to second parameter.
45412         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45413         INNETGR.
45414         (dbs): Add netgrdb entry.
45415         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45416         (verify_persistent_db): Handle netgrdb.
45417         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45418         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45419         GETFDNETGR.
45420         (netgroup_response_header): Define.
45421         (innetgroup_response_header): Define.
45422         (datahead): Add netgroup_response_header and innetgroup_response_header
45423         elements.
45424         * nscd/nscd.conf: Add entries for netgroup cache.
45425         * nscd/nscd.h (dbtype): Add netgrdb.
45426         (_PATH_NSCD_NETGROUP_DB): Define.
45427         (netgroup_iov_disabled): Declare.
45428         (xmalloc, xcalloc, xrealloc): Move declarations here.
45429         (cache_search): Adjust prototype.
45430         Add netgroup-related prototypes.
45431         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45432         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45433         (__nscd_innetgr): Declare.
45434         * nscd/selinux.c (perms): Use access_vector_t as element type and
45435         add netgroup-related initializers.
45436         * nscd/netgroupcache.c: New file.
45437         * nscd/nscd_netgroup.c: New file.
45438         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45439         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45440         For four parameters use innetgr.
45441         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45442         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45443         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45444         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45445
45446         * nscd/connections.c (register_traced_file): Don't register file
45447         for disabled databases.
45448
45449 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45450
45451         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45452
45453         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45454         from tree and freeing node.
45455
45456 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45457
45458         * nss/nsswitch.c (__nss_database_lookup): Handle
45459         nss_parse_service_list out of memory case.
45460
45461 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45462
45463         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45464         out of memory case.
45465
45466 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45467
45468         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45469         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45470         pass it down.
45471         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45472         elf_machine_rela, elf_machine_lazy_rel.
45473         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45474         (ELF_DYNAMIC_DO_REL): Likewise.
45475         (ELF_DYNAMIC_DO_RELA): Likewise.
45476         (ELF_DYNAMIC_RELOCATE): Likewise.
45477         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45478         to ELF_DYNAMIC_DO_REL.
45479         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45480         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45481         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45482         elf_machine_rela.
45483         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45484         skip_ifunc, don't call ifunc function if non-zero.
45485         (elf_machine_rela): Likewise.
45486         (elf_machine_lazy_rel): Likewise.
45487         (elf_machine_lazy_rela): Likewise.
45488         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45489         (elf_machine_lazy_rel): Likewise.
45490         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45491         Likewise.
45492         (elf_machine_lazy_rel): Likewise.
45493         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45494         Likewise.
45495         (elf_machine_lazy_rel): Likewise.
45496         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45497         (elf_machine_lazy_rel): Likewise.
45498         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45499         (elf_machine_lazy_rel): Likewise.
45500         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45501         (elf_machine_lazy_rel): Likewise.
45502         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45503         (elf_machine_lazy_rel): Likewise.
45504         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45505         (elf_machine_lazy_rel): Likewise.
45506         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45507         (elf_machine_lazy_rel): Likewise.
45508
45509 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45510
45511         * nss/nss_files/files-init.c (_nss_files_init): Use static
45512         initialization for all the *_traced_file variables.
45513
45514 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45515
45516         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45517
45518 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45519
45520         [BZ #13226]
45521         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45522
45523 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45524
45525         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45526         Reread the line before reparsing it.
45527
45528 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45529
45530         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45531
45532 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45533             Maxim Kuvyrkov  <maxim@codesourcery.com>
45534             Joseph Myers  <joseph@codesourcery.com>
45535
45536         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45537         if needed for __stack_chk_guard.
45538
45539 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45540
45541         * sysdeps/posix/spawni.c (script_execute): Always define it.
45542         It will be optimized away if unused.
45543         (maybe_script_execute): New function.
45544         (__spawni): Call it.
45545
45546         * Makerules: Don't include tls.make.
45547         (config-tls): Always set to thread.
45548         * tls.make.c: File removed.
45549
45550 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45551
45552         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45553         * config.make.in (CPPFLAGS-config): New substituted variable.
45554
45555 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45556
45557         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45558
45559         [BZ #13192]
45560         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45561         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45562
45563 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45564
45565         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45566         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45568         (CALL_FAIL): Likewise.
45569         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45570         (CALL_FAIL): Macro removed.
45571         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45572
45573 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45574
45575         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45576         for __FINITE_MATH_ONLY__ == 1.
45577
45578 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45579
45580         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45581         __ieee754_sqrt instead of sqrt.
45582         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45583         __ieee754_sqrtf instead of sqrtf.
45584         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45585         __floorf instead of floorf.
45586         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45587         __floorf, __truncf instead of floorf, truncf.
45588
45589 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45590
45591         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45592
45593         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45594         __extern_always_inline.
45595         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45596         32-bit.
45597
45598 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45599
45600         * elf/rtld.c (dl_main): Also relocate in dependency order when
45601         doing symbol dependency testing.
45602
45603 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45604
45605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45606         Always define `refsym'.
45607
45608 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45609
45610         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45611         (__FD_ELT): Renamed from __FDELT.
45612         * misc/bits/select2.h (__FD_ELT): Likewise.
45613         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45614         __FD_MASK instead of __FDELT, __FDMASK.
45615         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45616         Likewise.
45617         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45618         Likewise.
45619
45620         * elf/Makefile (gen-ldd): Fix pattern.
45621
45622         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45623         (init_tls): Likewise.
45624
45625 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45626
45627         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45628
45629 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45630
45631         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45632         `struct cmsghdr *' instead of `void *'.
45633         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45634         Likewise.
45635
45636 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45637
45638         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45639         if non-absolute.
45640         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45641         ldd_rewrite_script.
45642
45643 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45644
45645         * configure.in: Remove --with-tls option.
45646         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45647         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45648         out in case it is missing.
45649         * sysdeps/ia64/elf/configure.in: Likewise.
45650         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45651         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45652         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45653         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45654         * sysdeps/sh/elf/configure.in: Likewise.
45655         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45656         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45657         * sysdeps/x86_64/elf/configure.in: Likewise.
45658         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45659         * sysdeps/mach/hurd/tls.h: Likewise.
45660
45661         [BZ #13067]
45662         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45663
45664         [BZ #13090]
45665         * configure.in: Fix use of AC_INIT.
45666
45667         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45668
45669 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45670
45671         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45672         __set_errno.
45673         * malloc/hooks.c: Likewise.
45674
45675         [BZ #11929]
45676         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45677         variables statically.
45678         (narenas): Initialize.
45679         (list_lock): Initialize.
45680         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45681         initializtion of main_arena and list_lock.  Small cleanups.
45682         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45683         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45684         Add initializers to main_arena and mp_.
45685         (malloc_state): Remove pagesize member.  Change all users to use
45686         GLRO(dl_pagesize).
45687
45688         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45689         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45690         is always initialized.
45691
45692         * malloc/malloc.c: Removed unused configurations and dead code.
45693         * malloc/arena.c: Likewise.
45694         * malloc/hooks.c: Likewise.
45695         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45696
45697         * include/tls.h: Removed.  USE___THREAD must always be defined.
45698         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45699         * elf/dl-libc.c: Likewise.
45700         * elf/dl-tsd.c: Likewise.
45701         * include/errno.h: Likewise.
45702         * include/netdb.h: Likewise.
45703         * include/resolv.h: Likewise.
45704         * inet/herrno-loc.c: Likewise.
45705         * inet/herrno.c: Likewise.
45706         * malloc/arena.c: Likewise.
45707         * malloc/hooks.c: Likewise.
45708         * malloc/malloc.c: Likewise.
45709         * resolv/res-state.c: Likewise.
45710         * resolv/res_libc.c: Likewise.
45711         * sysdeps/i386/dl-machine.h: Likewise.
45712         * sysdeps/ia64/dl-machine.h: Likewise.
45713         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45714         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45715         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45716         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45717         * sysdeps/sh/dl-machine.h: Likewise.
45718         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45719         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45720         * sysdeps/unix/i386/sysdep.S: Likewise.
45721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45722         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45724         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45725         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45727         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45731         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45732         * sysdeps/x86_64/dl-machine.h: Likewise.
45733         * tls.make.c: Likewise.
45734
45735         * configure.in: Remove --with-__thread option.  Make tests for
45736         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45737         tls_model attribute fail if no support is available.  Remove
45738         USE_IN_LIBIO.
45739         * Makeconfig: Adjust for dropped configure option.  All features are
45740         now mandatory.
45741         * Makerules: Likewise.
45742         * Versions.def: Likewise.
45743         * argp/argp-fmtstream.c: Likewise.
45744         * argp/argp-fmtstream.h: Likewise.
45745         * argp/argp-help.c: Likewise.
45746         * assert/assert.c: Likewise.
45747         * config.h.in: Likewise.
45748         * config.make.in: Likewise.
45749         * configure: Likewise.
45750         * configure.in: Likewise.
45751         * csu/Versions: Likewise.
45752         * csu/init.c: Likewise.
45753         * elf/tst-audit2.c: Likewise.
45754         * elf/tst-tls10.c: Likewise.
45755         * elf/tst-tls10.h: Likewise.
45756         * elf/tst-tls11.c: Likewise.
45757         * elf/tst-tls12.c: Likewise.
45758         * elf/tst-tls14.c: Likewise.
45759         * elf/tst-tlsmod11.c: Likewise.
45760         * elf/tst-tlsmod12.c: Likewise.
45761         * elf/tst-tlsmod13.c: Likewise.
45762         * elf/tst-tlsmod13a.c: Likewise.
45763         * elf/tst-tlsmod14a.c: Likewise.
45764         * elf/tst-tlsmod15b.c: Likewise.
45765         * elf/tst-tlsmod16a.c: Likewise.
45766         * elf/tst-tlsmod16b.c: Likewise.
45767         * elf/tst-tlsmod7.c: Likewise.
45768         * elf/tst-tlsmod8.c: Likewise.
45769         * elf/tst-tlsmod9.c: Likewise.
45770         * gmon/gmon.c: Likewise.
45771         * grp/fgetgrent_r.c: Likewise.
45772         * grp/putgrent.c: Likewise.
45773         * hurd/fopenport.c: Likewise.
45774         * include/libc-symbols.h: Likewise.
45775         * include/tls.h: Likewise.
45776         * intl/gettextP.h: Likewise.
45777         * intl/loadinfo.h: Likewise.
45778         * locale/global-locale.c: Likewise.
45779         * locale/localeinfo.h: Likewise.
45780         * mach/devstream.c: Likewise.
45781         * malloc/arena.c: Likewise.
45782         * malloc/set-freeres.c: Likewise.
45783         * misc/err.c: Likewise.
45784         * misc/getttyent.c: Likewise.
45785         * misc/mntent_r.c: Likewise.
45786         * posix/getopt.c: Likewise.
45787         * posix/wordexp.c: Likewise.
45788         * pwd/fgetpwent_r.c: Likewise.
45789         * resolv/Versions: Likewise.
45790         * resolv/res_hconf.c: Likewise.
45791         * shadow/fgetspent_r.c: Likewise.
45792         * shadow/putspent.c: Likewise.
45793         * stdio-common/printf_fphex.c: Likewise.
45794         * stdio-common/tmpfile.c: Likewise.
45795         * stdlib/abort.c: Likewise.
45796         * stdlib/fmtmsg.c: Likewise.
45797         * sunrpc/auth_unix.c: Likewise.
45798         * sunrpc/clnt_perr.c: Likewise.
45799         * sunrpc/clnt_tcp.c: Likewise.
45800         * sunrpc/clnt_udp.c: Likewise.
45801         * sunrpc/clnt_unix.c: Likewise.
45802         * sunrpc/openchild.c: Likewise.
45803         * sunrpc/svc_simple.c: Likewise.
45804         * sunrpc/svc_tcp.c: Likewise.
45805         * sunrpc/svc_udp.c: Likewise.
45806         * sunrpc/svc_unix.c: Likewise.
45807         * sunrpc/xdr.c: Likewise.
45808         * sunrpc/xdr_array.c: Likewise.
45809         * sunrpc/xdr_rec.c: Likewise.
45810         * sunrpc/xdr_ref.c: Likewise.
45811         * sunrpc/xdr_stdio.c: Likewise.
45812
45813 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45814
45815         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45816
45817 2011-07-03  Andreas Jaeger  <aj@suse.de>
45818
45819         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45820         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45821         regenerate with gen-libm-tests.pl.
45822
45823 2010-05-12  Petr Baudis  <pasky@suse.cz>
45824
45825         [BZ #11589]
45826         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45827         around j0() zero points by switching to j1().
45828         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45830         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45832
45833 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45834
45835         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45836         instead of 0.
45837         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45838         instead of 0.
45839         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45840         Patch in part by Pavel Roskin <proski@gnu.org>.
45841
45842         [BZ #13138]
45843         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45844         realloc.
45845         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45846         Free memory block if necessary.
45847
45848         [BZ #12847]
45849         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45850         be NULL.  Don't lock in this case.
45851
45852 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45853
45854         * elf/elf.h (ELFOSABI_GNU): New macro.
45855         (ELFOSABI_LINUX): Define to that.
45856
45857 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45858
45859         * string/strncat.c (strncat): Undef the symbol in case it has been
45860         defined in bits/string.h.
45861
45862 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45863
45864         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45865
45866         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45867         link map.
45868
45869 2011-08-17  Andreas Jaeger  <aj@suse.de>
45870
45871         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45872
45873 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45874             Ian Lance Taylor  <iant@google.com>
45875
45876         * math/libm-test.inc (lround_test): New testcase.
45877         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45878
45879 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45880
45881         * Makefile: Remove support for automatic cvs check-ins.
45882         * Makerules: Likewise.
45883         * config.make.in: Likewise.
45884         * configure.in: Likewise.
45885         * intl/Makefile: Likewise.
45886         * locale/Makefile: Likewise.
45887         * po/Makefile: Likewise.
45888         * posix/Makefile: Likewise.
45889         * sysdeps/gnu/Makefile: Likewise.
45890         * sysdeps/mach/hurd/Makefile: Likewise.
45891         * sysdeps/sparc/sparc32/Makefile: Likewise.
45892
45893         [BZ #13118]
45894         * posix/Makefile (bug-regex32-ENV): Define.
45895         Patch by John Stanley <jpsinthemix@verizon.net>.
45896
45897         * misc/Makefile (headers): Add bits/select2.h.
45898         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45899         * misc/bits/select2.h: New file.
45900         * include/bits/select2.h: New file.
45901         * debug/Makefile (routines): Add fdelt_chk.
45902         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45903         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45904         FD_ISSET.
45905         * debug/fdelt_chk.c: New file.
45906
45907         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45908         * wcsmbs/test-wmemcmp.c: Likewise.
45909         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45910         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45911
45912 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45913
45914         * string/Makefile (strop-tests): Add memcmp.
45915         * string/test-wmemcmp.c: New file.
45916         * string/test-memcmp.c: Add wmemcmp support.
45917
45918 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45919
45920         [BZ #13153]
45921         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45922         2011-07-19 change.
45923
45924         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45925         garbage value in a __mach_port_mod_refs call in the cases of the
45926         task-self and thread-self ports.
45927
45928 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45929
45930         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45931
45932 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45933
45934         * elf/dl-load.c (lose): Check for non-null L.
45935
45936 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45937
45938         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45939
45940         * elf/dl-libc.c (dlerror_run): Pass back error code from
45941         dl_catch_error.
45942
45943         [BZ #13123]
45944         * elf/dl-load.c (lose): Free l_origin if it is valid.
45945
45946         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45947         names.
45948         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45949         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45950         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45951         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45952         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45953         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45954
45955 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45956
45957         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45958         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45959         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45960         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45961         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45962         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45963         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45964         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45965         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45966         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45967
45968 2011-08-15  Alan Modra  <amodra@gmail.com>
45969
45970         [BZ #13092]
45971         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45972         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45973         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45974         ppc_mcount to static-only-routines.
45975         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45976         __mcount_internal.
45977         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45978         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45979
45980 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45981
45982         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45983         for finite and infinity parameters.
45984
45985 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45986
45987         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45988         and add nop instructions for throughput optimization.
45989         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45990
45991 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45992
45993         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45994         aligned copy for power7 with vector-scalar instructions.
45995         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45996
45997 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45998
45999         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46000         AVX check.
46001
46002 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46003
46004         [BZ #13144]
46005         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46006         last change.
46007
46008 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46009
46010         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46011         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46012         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46013         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46014         clock_gettime.
46015
46016 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46017
46018         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46019         Forgot to demangle the pointer.
46020
46021         * sysdeps/i386/sysdep.h: Define atom_text_section.
46022         * sysdeps/x86_64/sysdep.h: Likewise.
46023         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46024         section with atom_text_section.
46025         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46026         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46027         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46028         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46029         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46030
46031         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46032         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46033         already be defined.  Change to take two parameters and don't assign
46034         result to variable.  Adjust all users.
46035         Define INTERNAL_GETTIME if not already defined.
46036         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46037         call.
46038         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46039         HAVE_CLOCK_GETTIME_VSYSCALL.
46040         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46041
46042         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46043         gettimeofday vsyscall, just use time.
46044
46045 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46046
46047         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46048         <errno.h>.
46049
46050 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46051
46052         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46053         syscall on x86-64.
46054         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46055         syscall.
46056         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46057         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46058         syscall if possible.
46059
46060 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46061
46062         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46063         e_ident.  Don't pass to find_mapsXX.
46064         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46065
46066 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46067
46068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46069         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46070         * sysdeps/x86_64/multiarch/strchr.S: Update.
46071         Check bit_slow_BSF bit.
46072         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46073         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46074         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46075
46076 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46077
46078         [BZ #13134]
46079         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46080         before glibc 2.15.
46081         (tryshell): Define.
46082         (__spawni): Change last parameter to be flag.  Test
46083         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46084         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46085         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46086         * posix/spawni.c: Likewise.
46087         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46088         * posix/spawnp.c: Likewise.  Change normal version to use
46089         SPAWN_XFLAGS_USE_PATH.
46090         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46091         SPAWN_XFLAGS_TRY_SHELL.
46092
46093         [BZ #13150]
46094         * posix/glob.h: Remove gcc 1.x support.
46095
46096         [BZ #13068]
46097         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46098
46099 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46100
46101         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46102         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46103         strrchr-sse2-bsf
46104         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46105         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46106         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46107         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46108         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46109         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46110
46111 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46112
46113         * sysdeps/x86_64/wcscmp.S: New file.
46114
46115         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46116         wcscmp-c wcscmp-sse2
46117         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46118         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46119         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46120         * wcsmbs/wcscmp.c: Allow renaming.
46121
46122 2011-09-05  David S. Miller  <davem@davemloft.net>
46123
46124         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46125         stack slot, rather than the struct return pointer slot.
46126         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46127         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46129         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46130
46131 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46132
46133         * po/ja.po: Update from translation team.
46134
46135         [BZ #13144]
46136         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46137         kernel in 64-bit binaries.
46138
46139 2011-09-01  David S. Miller  <davem@davemloft.net>
46140
46141         * elf/elf.h (HWCAP_SPARC_*): Move to..
46142         * sysdeps/sparc/sysdep.h: this new file and add new values.
46143         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46144         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46145         _DL_HWCAP_COUNT to 24.
46146         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46147         entries.
46148         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46149         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46150         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46151         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46152         instead of magic constants.
46153         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46154
46155 2011-08-31  David S. Miller  <davem@davemloft.net>
46156
46157         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46158         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46159         Reimplement to do errno handling inline.
46160         (SYSCALL_ERROR_HANDLER): New macro.
46161         (__SYSCALL_STRING): Do not do errno handling in asm.
46162         (__CLONE_SYSCALL_STRING): Delete.
46163         (__INTERNAL_SYSCALL_STRING): Delete.
46164         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46165         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46166         (PSEUDO): Reimplement to do errno handling inline.
46167         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46168         (SYSCALL_ERROR_HANDLER): New macro.
46169         (__SYSCALL_STRING): Do not do errno handling in asm.
46170         (__CLONE_SYSCALL_STRING): Delete.
46171         (__INTERNAL_SYSCALL_STRING): Delete.
46172         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46173         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46174         i386.
46175         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46176         (inline_syscall*): Add 'err' argument.
46177         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46178         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46179         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46180         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46181
46182         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46183         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46184
46185 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46186
46187         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46188
46189 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46190
46191         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46192         directive.
46193
46194 2011-08-24  David S. Miller  <davem@davemloft.net>
46195
46196         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46197
46198 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46199
46200         * elf/Makefile: Add rules to build and run unload8 test.
46201         * elf/unload8.c: New file.
46202         * elf/unload8mod1.c: New file.
46203         * elf/unload8mod1x.c: New file.
46204         * elf/unload8mod2.c: New file.
46205         * elf/unload8mod3.c: New file.
46206
46207         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46208         it wasn't used.
46209
46210 2011-08-23  David S. Miller  <davem@davemloft.net>
46211
46212         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46213         subtract stack bias.
46214         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46215         %sp not %fp in calculations.
46216         (_JMPBUF_UNWINDS_ADJ): Likewise.
46217
46218         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46219         (aio_suspend): Call it to force an exception region around the
46220         AIO_MISC_WAIT() invocation.
46221
46222 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46223
46224         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46225         backslash.
46226
46227 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46228
46229         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46230         protection macro.
46231         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46232         and <dl-machine.h>.
46233         (Elf64_FuncDesc): Remove.
46234
46235 2011-08-22  David S. Miller  <davem@davemloft.net>
46236
46237         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46238         sigaltstack check, add missing cfi directives.
46239         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46240         missing cfi directives, and sigaltstack handling.
46241
46242 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46243
46244         [BZ #11724]
46245         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46246         object is seen twice.
46247         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46248
46249         * elf/Makefile (distribute): Add tst-initorder2.c.
46250         (tests): Add tst-initorder2.
46251         (modules-names): Add tst-initorder2a tst-initorder2b
46252         tst-initorder2c tst-initorder2d.  Add rules to build them.
46253         ($(objpfx)tst-initorder2.out): New rule.
46254         * elf/tst-initorder2.c: New file.
46255         * elf/tst-initorder2.exp: New file.
46256
46257 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46258
46259         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46260
46261         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46262         dependencies back to end of function.
46263
46264         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46265         $(elfobjdir)/ld.so.
46266
46267 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46268
46269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46270         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46271         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46272         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46273         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46274         of __vdso_gettimeofday.
46275         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46276         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46277         attribute_hidden.
46278         (_libc_vdso_platform_setup): Remove initialization of
46279         __vdso_gettimeofday and __vdso_time.
46280
46281 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46282
46283         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46284         and fgetc_unlocked.
46285         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46286         getc_unlocked.
46287
46288         * elf/dl-open.c (add_to_global): Report additions to the global scope
46289         for LD_DEBUG=scopes.
46290         (dl_open_worker): Also print scope of newly loaded dependencies.
46291         (_dl_show_scope): Indicate if there is no scope.
46292
46293         [BZ #13114]
46294         * stdio-common/Makefile (tests): Add bug24.
46295         * stdio-common/bug24.c: New file.
46296
46297 2011-08-19  Andreas Jaeger  <aj@suse.de>
46298
46299         [BZ #13114]
46300         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46301         non-existant file when using close-on-exec mode.
46302
46303 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46304
46305         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46306         the very first instruction.
46307
46308         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46309         the CFI state in the end.
46310         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46311         inclusion of dl-trampoline.h.
46312         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46313
46314 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46315
46316         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46317         expectations for long double.
46318
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46320         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46321
46322 2011-08-14  David S. Miller  <davem@davemloft.net>
46323
46324         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46325         artificual limit depends upon the system page size.
46326
46327 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46328
46329         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46330         * resolv/Makefile: Define CFLAGS-libresolv.
46331
46332 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46333
46334         * nss/makedb.c (compute_tables): Make variables used in nested
46335         function static.
46336
46337 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46338
46339         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46340         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46341         if buffer was too small.
46342
46343         * elf/pldd.c (main): Attach to all threads in the process.
46344         Rewrite /proc handling to use *at functions.
46345
46346 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46347
46348         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46349         specifies first scope to show.
46350         (dl_open_worker): Update callers.  Move printing scope of new
46351         object to before the relocation.
46352         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46353         * sysdeps/generic/ldsodefs.h: Update declaration.
46354
46355         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46356         string for the scope number.
46357
46358 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46359
46360         * nscd/servicescache.c (cache_addserv): Make sure written is always
46361         initialized.
46362
46363 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46364
46365         * sysdeps/i386/i486/bits/atomic.h
46366         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46367         statement expression, so as to suppress "set but not used" warning.
46368         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46369
46370         * string/strncat.c (STRNCAT): Use prototype definition.
46371
46372         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46373         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46374         -Iprograms here.
46375         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46376         (localedef-modules): Add localedef.
46377         (locale-modules): Add locale.
46378
46379         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46380         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46381         to avoid a warning.
46382
46383 2011-08-14  David S. Miller  <davem@davemloft.net>
46384
46385         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46386         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46387
46388 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46389
46390         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46391         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46392         * elf/rtld.c (dl_main): Set l_name of vDSO.
46393         Call _dl_show_scope when DL_DEBUG_SCOPES.
46394         (process_dl_debug): Recognize scopes flag and also set it for all.
46395         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46396         Declare _dl_show_scope.
46397
46398         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46399         (do_dlopen): Pass caller_dlopen to dl_open.
46400         (__libc_dlopen_mode): Initialize caller_dlopen.
46401
46402         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46403         of libc.  Make tolower call locale-independent.  Optimize a bit by
46404         using isdigit instead of isalnum.
46405         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46406
46407 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46408
46409         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46410         was a dependency or dynamically loaded.
46411
46412 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46413
46414         * intl/l10nflist.c: Allow architecture-specific pop function.
46415         * sysdeps/x86_64/l10nflist.c: New file.
46416
46417         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46418         classification.
46419
46420 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46421
46422         * include/dirent.h: Add libc_hidden_proto for scandirat and
46423         scandirat64.  Don't declare __scandirat64.
46424         * dirent/scandirat.c: Add libc_hidden_def.
46425         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46426         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46427
46428 2011-08-10  David S. Miller  <davem@davemloft.net>
46429
46430         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46431         enum.
46432         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46433         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46434         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46435
46436 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46437
46438         * Versions.def [libc]: Add GLIBC_2.15.
46439         * dirent/Makefile (routines): Add scandirat and scandirat64.
46440         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46441         GLIBC_2.15.
46442         * dirent/dirent.h: Declare scandirat and scandirat64.
46443         * dirent/scandirat.c: New file.
46444         * dirent/scandirat64.c: New file.
46445         * sysdeps/wordsize-64/scandirat.c: New file.
46446         * sysdeps/wordsize-64/scandirat64.c: New file.
46447         * dirent/opendir.c: Define opendirat.
46448         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46449         using scandirat.
46450         * dirent/scandir64.c: Adjust for scandir.c change.
46451         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46452         __scandirat64, and __scandir_cancel_handler.
46453         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46454         additional parameter and use openat instead of open (outside of ld.so).
46455         Add new __opendir as wrapper around __opendirat.
46456         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46457         here without requiring old scandirat implementation.
46458
46459 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46460
46461         * dirent/scandir.c (cancel_handler): Renamed to
46462         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46463         defined.  Adjust users.
46464         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46465         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46466
46467 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46468
46469         * string/test-string.h (IMPL): Use __STRING to expand name and then
46470         stringify it.
46471
46472         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46473         of cleanups.
46474
46475 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46476
46477         * string/Makefile: Update.
46478         (strop-tests): Append strncat.
46479         * string/test-wcscmp.c: New file.
46480         New comprehensive test for wcscmp.
46481         * string/test-strcmp.c: Update.
46482         (WIDE): New define.
46483
46484 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46485
46486         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46487         line.
46488
46489 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46490
46491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46492         encoding to ACE if AI_IDN.
46493
46494 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46495
46496         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46497         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46498
46499 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46500
46501         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46502         Fix overflow bug in strncat.
46503         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46504
46505         * string/test-strncat.c: Update.
46506         Add new tests for checking overflow bugs.
46507
46508 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46509
46510         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46511         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46512         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46513         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46514         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46515         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46516         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46517         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46518         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46519
46520         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46521         (USE_AS_STRCAT): Define.
46522         Add strcat and strncat support.
46523         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46524
46525 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46526
46527         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46528         __n bigger than INT_MAX+1.
46529         (__strncmp_g): Likewise.
46530
46531 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46532
46533         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46534         * libio/stido.h: Likewise.
46535
46536         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46537         (AF_NFC): Define.
46538         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46539         (AF_NFC): Define.
46540
46541         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46542         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46543         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46544         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46545         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46546
46547         [BZ #13021]
46548         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46549         installed.
46550
46551         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46552         typo.
46553         (_dl_x86_64_save_sse): Likewise.
46554
46555 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46556
46557         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46558         OSXSAVE.
46559         (_dl_x86_64_save_sse): Likewise.
46560
46561         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46562
46563         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46564
46565 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46566
46567         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46568         change.
46569         (_dl_x86_64_save_sse): Use correct AVX check.
46570
46571 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46572
46573         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46574         bug in strncpy/strncat.
46575         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46576
46577 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46578
46579         * string/tester.c (test_strcat): Add tests for different alignments
46580         of source and destination.
46581         (test_strncat): Likewise.
46582
46583 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46584
46585         [BZ #12852]
46586         * posix/glob.c (glob): Check passed in values before using them in
46587         expressions to avoid some overflows.
46588         (glob_in_dir): Likewise.
46589
46590         [BZ #13007]
46591         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46592         check for AVX enablement so that we don't crash with old kernels and
46593         new hardware.
46594         * elf/tst-audit4.c: Add same checks here.
46595         * elf/tst-audit6.c: Likewise.
46596
46597         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46598
46599 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46600
46601         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46602
46603 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46604
46605         * po/cs.po: Update from translation team.
46606         * po/bg.po: Likewise.
46607
46608 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46609
46610         * misc/sys/cdefs.h: Add support for const attribute.
46611         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46612         to gnu_dev_{major,minor,makedev} functions.
46613
46614 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46615
46616         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46617
46618 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46619
46620         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46621         strlen results.
46622
46623 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46624
46625         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46626         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46627         register in order to avoid conflicts with the soft frame pointer
46628         being held in r11 when necessary.
46629         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46630         (INTERNAL_VSYSCALL_NCS): Likewise.
46631
46632 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46633
46634         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46635         * elf/dl-fini.c (_dl_fini): Adjust caller.
46636         * elf/dl-close.c (_dl_close_worker): Likewise.
46637         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46638
46639 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46640
46641         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46642         "aux_cache->nlibs < 0".
46643
46644         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46645         in the reload-count case.
46646
46647 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46648
46649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46650         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46651         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46652         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46653         * sysdeps/x86_64/multiarch/strcat.S: New file.
46654         * sysdeps/x86_64/multiarch/strncat.S: New file.
46655         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46656         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46657         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46658         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46659         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46660         (USE_AS_STRCAT): Define.
46661         Add strcat and strncat support.
46662         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46663         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46664         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46665         * string/strncat.c: Update.
46666         (USE_AS_STRNCAT): Define.
46667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46668         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46669         and i7.
46670         * sysdeps/x86_64/multiarch/init-arch.h
46671         (bit_Prefer_PMINUB_for_stringop): New.
46672         (index_Prefer_PMINUB_for_stringop): Likewise.
46673         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46674         bit_Prefer_PMINUB_for_stringop.
46675
46676 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46677
46678         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46679         buffer64.
46680         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46681         of casting of buffer.
46682         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46683         buffer32 and buffer64.
46684         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46685         writes instead of casting of buffer.
46686         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46687         buffer32.
46688         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46689         casting of buffer.
46690
46691 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46692
46693         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46694
46695 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46696
46697         * nscd/nscd.c (termination_handler): Don't do anything for a database
46698         if it has not yet been initialized.
46699
46700 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46701
46702         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46703
46704 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46705
46706         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46707
46708 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46709
46710         * po/nl.po: Update from translation team.
46711         * po/sv.po: Likewise.
46712
46713 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46714
46715         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46716         now disallowed by GCC.
46717
46718         * configure.in (use-default-link): Default to yes if a test -shared
46719         link meets our qualifications.
46720         * configure: Regenerated.
46721
46722         * config.make.in (output-format): New variable.
46723         * configure.in: Check for ld --print-output-format support.
46724         * configure: Regenerated.
46725         * Makerules ($(common-objpfx)format.lds)
46726         [$(output-format) != unknown]: Just use $(output-format),
46727         instead of the linker-script munging.
46728
46729 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46730
46731         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46732         of $(common-objpfx)shlib.lds.
46733         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46734
46735         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46736         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46737
46738         * configure.in (-z relro check): Adjust test code to add a large
46739         writable data section after it.
46740         * configure: Regenerated.
46741
46742 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46743
46744         * configure.in (-z relro check): Fix test code to make the variable
46745         truly const.
46746         * configure: Regenerated.
46747
46748 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46749
46750         * nscd/nscd.h (struct traced_file): Define.
46751         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46752         elements.  Add traced_files.
46753         (inotify_fd): Declare.
46754         (register_traced_file): Declare.
46755         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46756         (inotify_fd): Export.
46757         (resolv_conf_descr): Remove.
46758         (nscd_init): Move inotify descriptor creation to main.
46759         Don't register files for notification here.
46760         (register_traced_file): New function.
46761         (invalidate_cache): Don't use reset_res to determine whether to call
46762         res_init, go through the list of registered files.
46763         (main_loop_poll): The inotify descriptors are now stored in the
46764         structures for the traced files.
46765         (main_loop_epoll): Likewise
46766         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46767         to __nss_disable_nscd.
46768         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46769         for a database anymore.  Check the records for all the registered
46770         files instead.
46771         * nss/Makefile (libnss_files-routines): Add files-init.
46772         (libnss_db-routines): Add db-init.
46773         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46774         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46775         * nss/nss_db/db-init.c: New file.
46776         * nss/nss_files/files-init.c: New file.
46777         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46778         __nss_lookup_function.
46779         (__nss_lookup_function): Call nss_load_library.
46780         (nss_load_all_libraries): New function.
46781         (__nss_disable_nscd): Take parameter with callback function for files
46782         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46783         used for the cached services.
46784         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46785         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46786         options for features to all the files in nscd.
46787
46788         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46789
46790 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46791
46792         * csu/elf-init.c (__libc_csu_init): Comment typo.
46793
46794 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46795
46796         * po/pl.po: Update from translation team.
46797         * po/ja.po: Likewise.
46798         * po/ru.po: Likewise.
46799         * po/ko.po: Likewise.
46800         * po/fr.po: Likewise.
46801
46802 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46803
46804         * configure.in (.ctors/.dtors header and trailer check):
46805         Use an empirical test on a built program.
46806         * configure: Regenerated.
46807
46808         * configure.in (-z relro check): Use an empirical test on a built DSO.
46809         Detect, but do not require, on ia64.
46810         * configure: Regenerated.
46811
46812         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46813         Update tests that use readelf to use $READELF instead.
46814         * configure: Regenerated.
46815
46816 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46817
46818         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46819         if the result is not used.
46820
46821 2011-07-05  Andreas Jaeger  <aj@suse.de>
46822
46823         [BZ#9696]
46824         * stdlib/tst-strtod.c: Add testcase.
46825
46826 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46827
46828         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46829         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46830         The latter has a higher limit.  Take additional parameter to pass to
46831         the new function.
46832         (__pathconf): Pass file to __statfs_link_max.
46833         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46834         __statfs_link_max.
46835         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46836         __statfs_link_max.
46837
46838         [BZ #12868]
46839         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46840         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46841         Handle Lustre.
46842         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46843         (__statfs_filesize_max): Likewise.
46844         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46845
46846 2011-07-05  Andreas Jaeger  <aj@suse.de>
46847
46848         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46849
46850 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46851
46852         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46853         `status' variable.
46854         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46855         Likewise.
46856
46857 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46858
46859         * Makefile (strop-tests): Add strncat.
46860         * string/test-strncat.c: New file.
46861
46862 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46863
46864         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46865
46866 2011-06-21  Andreas Jaeger  <aj@suse.de>
46867
46868         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46869         Copy rule from iconvdata/Makefile.
46870
46871 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46872
46873         [BZ #12922]
46874         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46875         but no long options are defined, just return 'W'.
46876
46877 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46878
46879         [BZ #9696]
46880         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46881
46882 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46883
46884         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46885         netgroups to read.
46886         (innetgr): Likewise.
46887
46888 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46889
46890         * config.make.in (install_root): Default to $(DESTDIR).
46891
46892 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46893
46894         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46895
46896 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46897
46898         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46899
46900         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46901         containing directory rather than embedding absolute directory names.
46902
46903         * scripts/check-local-headers.sh: Rewritten using awk.
46904         Match by word, not by line.  Print error messages for matches.
46905         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46906
46907         * Makerules [shlib-lds-flags empty]:
46908         ($(common-objpfx)libc_pic.opts): New target.
46909         ($(common-objpfx)libc_pic.os.clean): New target.
46910         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46911
46912         * config.make.in (OBJCOPY): New variable.
46913         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46914         * configure: Regenerated.
46915
46916         * config.make.in (use-default-link): New variable.
46917         * configure.in (use_default_link): Grok --with-default-link to set it.
46918         * configure: Regenerated.
46919         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46920         (shlib-lds, shlib-lds-flags): Define to empty.
46921
46922         * Makerules (shlib-lds): New variable.
46923         (shlib-lds-flags): New variable.
46924         (build-shlib, build-moduile, build-module-asneeded): Use it.
46925         ($(common-objpfx)libc.so): Use $(shlib-lds).
46926         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46927         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46928
46929         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46930         DT_FLAGS/DT_FLAGS_1 with zero flags.
46931
46932         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46933         linker script munging.
46934
46935 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46936
46937         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46938         as 128-bit value.
46939         * crypt/sha512.c (sha512_process_block): Perform total addition using
46940         128-bit if possible.
46941         (__sha512_finish_ctx): Likewise.
46942         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46943         as 64-bit value.
46944         * crypt/sha256.c (SWAP64): Define.
46945         (sha256_process_block): Perform total addition using 64-bit if
46946         possible.
46947         (__sha256_finish_ctx): Likewise.
46948
46949 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46950
46951         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46952         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46953         * nscd/hstcache.c (cache_addhst): Likewise.
46954         * nscd/grpcache.c (cache_addgr): Likewise.
46955         * nscd/aicache.c (addhstaiX): Likewise
46956         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46957
46958 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46959
46960         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46961         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46962         * nscd/hstcache.c (cache_addhst): Likewise.
46963         * nscd/grpcache.c (cache_addgr): Likewise.
46964         * nscd/aicache.c (addhstaiX): Likewise
46965
46966 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46967
46968         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46969         domain only when needed.
46970
46971 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46972
46973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46974         is always restored.
46975
46976 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46977
46978         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46979         are re-adding the entry.
46980         * nscd/servicescache.c (cache_addserv): Likewise.
46981
46982 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46983
46984         * sysdeps/generic/dl-irel.h: fix protection against multiple
46985         inclusions.
46986         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46987
46988 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46989
46990         [BZ #12935]
46991         * malloc/memusage.sh: Fix quoting in message.
46992         * debug/xtrace.sh: Likewise.
46993
46994         * configure.in: Remove support for --experimental-malloc option, make
46995         it the default.
46996         * config.make.in: Likewise.
46997         * malloc/Makefile: Likewise.
46998
46999 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47000
47001         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47002         two-byte characters.
47003
47004 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47005
47006         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47007         AC_CACHE_CHECK invocation.
47008         * configure: Regenerated.
47009
47010         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47011
47012 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47013
47014         [BZ #12350]
47015         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47016         bit from old_res_options.
47017
47018         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47019
47020         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47021         value type for setfct.
47022
47023 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47024
47025         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47026         __gettimeofday instead of gettimeofday.
47027
47028 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47029
47030         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47031
47032 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47033
47034         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47035
47036         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47037         info.
47038
47039 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47040
47041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47042         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47043         strcpy-sse2-unaligned strncpy-sse2-unaligned
47044         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47045         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47046         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47047         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47048         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47049         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47050         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47051         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47052         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47053         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47054         (STRCPY): Support SSE2 and SSSE3 versions.
47055
47056 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47057
47058         [BZ #12874]
47059         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47060         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47061         kernels which artificially limit size of requests.
47062
47063 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47064
47065         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47066         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47067         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47068         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47069         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47070         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47071         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47072         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47073         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47074         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47075         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47076         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47077         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47078         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47079         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47080         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47081         Enable unaligned load optimization for Intel Core i3, i5 and i7
47082         processors.
47083         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47084         Define.
47085         (index_Fast_Unaligned_Load): Define.
47086         (HAS_FAST_UNALIGNED_LOAD): Define.
47087
47088 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47089
47090         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47091
47092 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47093
47094         [BZ #12907]
47095         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47096         until it is clear that the information is realy needed.
47097         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47098
47099 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47100
47101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47102
47103 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47104
47105         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47106         /sys/devices/system/cpu/online if it is usable.
47107
47108         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47109         reading the information from the /proc filesystem to once a second.
47110
47111 2011-06-21  Andreas Jaeger  <aj@suse.de>
47112
47113         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47114         NULL after inclusion of kernel headers.
47115
47116 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47117
47118         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47119         calls to internal_setent.
47120
47121         [BZ #12885]
47122         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47123         addresses using gethostbyname4_r ignore IPv4 addresses.
47124
47125         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47126         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47127
47128         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47129
47130 2011-06-20  David S. Miller  <davem@davemloft.net>
47131
47132         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47133         inclusions.
47134         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47135
47136         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47137         (elf_irel): Use it.
47138         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47139         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47140         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47141         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47142         * sysdeps/x86_64/dl-irel.h: Likewise.
47143
47144         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47145         * elf/dl-sym.c: Likewise.
47146
47147 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47148
47149         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47150         need to dereference resplen2.
47151
47152 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47153
47154         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47155
47156 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47157
47158         * Makeconfig: Define vardbdir and inst_vardbdir.
47159         * nss/Makefile: Add rules to install db-Makefile.
47160
47161         * nss/nss_db/db-XXX.c: Cleanup.
47162
47163         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47164         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47165         GLIBC_PRIVATE.
47166         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47167         * nss/makedb.c: Implement -g option to specify that value strings
47168         are generated and should not be added to table iterated over for
47169         get*ent calls.
47170         * nss/nss_db/db-initgroups.c: New file.
47171
47172         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47173         interface.
47174
47175         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47176         (internal_getgrouplist): Adjust to name change.
47177         Update use_initgroups_entry if this is not the first call.
47178         * nss/databases.def: Add initgroups entry.
47179
47180         * nss/makedb.c (compute_tables): Check result of multiple hash table
47181         sizes to minimize maximum chain length.
47182
47183 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47184
47185         * Versions.def: Add entry for libnss_db.
47186         * shlib-versions: Likewise.
47187         * nss/Makefile: Add rules to build libnss_db.
47188         * nss/Versions: Add libnss_db information.  Organize libnss_files
47189         entries better.
47190         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47191         makedb progra.  Some minor improvements to generate smaller files.
47192         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47193         here from...
47194         * nss/makedb.c: ...here.
47195         Improve database format to be smaller and require less memory at
47196         runtime.
47197         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47198         db anymore.
47199         * nss/nss_db/db-netgrp.c: Likewise.
47200         * nss/nss_db/db-open.c: Likewise.
47201         * nss/nss_files/flies-XXX.x: Adjust comments.
47202         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47203         * nss/nss_files/files-grp.c: Likewise.
47204         * nss/nss_files/files-hosts.c: Likewise.
47205         * nss/nss_files/files-network.c: Likewise.
47206         * nss/nss_files/files-proto.c: Likewise.
47207         * nss/nss_files/files-pwd.c: Likewise.
47208         * nss/nss_files/files-rpc.c: Likewise.
47209         * nss/nss_files/files-service.c: Likewise.
47210         * nss/nss_files/files-sgrp.c: Likewise.
47211         * nss/nss_files/files-spwd.c: Likewise.
47212         * nss/nss_db/db-alias.c: Removed.
47213         * nss/nss_db/dummy-db.h: Removed.
47214
47215 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47216
47217         * nss/makedb.c: Rewritten to not use database library.
47218         * nss/Makefile: Update to build new makedb program.
47219
47220 2011-06-14  Andreas Jaeger  <aj@suse.de>
47221
47222         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47223         memset declaration.
47224
47225 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47226
47227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47228         tmpbuf.
47229
47230 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47231
47232         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47233         * elf/Makefile ($(objpfx)ld.so): Likewise.
47234
47235         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47236         Don't list ld.so twice in dependencies.
47237
47238         * posix/bug-regex31.c: Include <stdlib.h>.
47239
47240         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47241
47242         * nis/nss_compat/compat-spwd.c
47243         (getspent_next_nss_netgr): Remove unused variable.
47244         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47245
47246         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47247         nonmembers" output to use the right array.
47248
47249         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47250
47251         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47252
47253         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47254         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47255         * catgets/gencat.c (read_input_file): Likewise.
47256         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47257
47258         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47259         variable definition inside #if's controlling its use.
47260
47261         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47262
47263         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47264
47265         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47266
47267         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47268         unreachable code.
47269
47270         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47271
47272         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47273         * configure: Regenerated.
47274
47275         * Makerules: Revert last change.
47276         * elf/Makefile: Likewise.
47277
47278 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47279
47280         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47281         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47282         (reloc-link): Likewise.
47283
47284 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47285
47286         * elf/Makefile: Add rules to build pldd.
47287         * elf/pldd.c: New file.
47288         * elf/pldd-xx.c: New file.
47289
47290 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47291
47292         * version.h: Update for 2.15 development version.
47293
47294 2011-06-07  David S. Miller  <davem@davemloft.net>
47295
47296         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47297         ifuncs.
47298         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47299         elf_machine_lazy_rel): Likewise.
47300         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47301         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47302         elf_machine_lazy_rel): Likewise.
47303         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47304         dl_hwcap via passed in argument.
47305         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47306         Likewise.
47307
47308 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47309
47310         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47311
47312 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47313
47314         [BZ #12849]
47315         * manual/fdl-1.1.texi: New file, verbatim from:
47316         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47317         * manual/lgpl-2.1.texi: New file, verbatim from:
47318         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47319         * manual/Makefile (licenses): New variable, list those new file names.
47320         (texis): Use it.
47321         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47322
47323         * manual/fdl.texi: File removed.
47324         * manual/lesser.texi: File removed.
47325         * manual/libc.texinfo (Copying, Documentation License):
47326         Use new @include file names, put @appendix directive before @include.
47327
47328 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47329
47330         [BZ #12841]
47331         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47332         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47333         (mq_open): Add __NTH.
47334
47335 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47336
47337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47338         Assume Intel Core i3/i5/i7 processor if AVX is available.
47339
47340 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47341
47342         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47343         typo.
47344
47345 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47346
47347         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47348         memory.  Use alloca_account.  Fix memory leak when retrying.
47349
47350 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47351
47352         * version.h (RELEASE): Bump for 2.14 release.
47353         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47354
47355         * config.make.in (RANLIB): Remove entry.
47356
47357 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47358
47359         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47360         (libc.pot): Work around missing support for .ksh extension in xgettext.
47361
47362         [BZ #12684]
47363         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47364         if both request failed.
47365         (send_dg): In case of server errors clear resplen or *resplen2.
47366
47367         [BZ #12454]
47368         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47369         when there are multiple maps.
47370         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47371         (_dl_fini): Remove test here.
47372
47373         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47374
47375 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47376
47377         [BZ #12350]
47378         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47379         bit from old_res_options.
47380         (gaih_inet): Likewise.
47381
47382         [BZ #11099]
47383         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47384         as signed.
47385
47386         * resolv/res_init.c (res_setoptions): Make the code more compact.
47387
47388         [BZ #11558]
47389         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47390         set RES_USEVC.
47391
47392         [BZ #11634]
47393         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47394
47395         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47396
47397         [BZ #11781]
47398         * malloc/malloc.h: Declare malloc hook variables as volatile.
47399
47400         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47401         in last patch.
47402
47403         [BZ #11799]
47404         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47405         raise in the comment.
47406         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47407         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47408         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47409
47410 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47411
47412         [BZ #12811]
47413         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47414         grow the buffers more if it already has to be sufficient.
47415         (build_wcs_upper_buffer): Likewise.
47416         * posix/regexec.c (check_matching): Likewise.
47417         (clean_state_log_if_needed): Likewise.
47418         (extend_buffers): Don't enlarge buffers beyond size of the input
47419         buffer.
47420         Patches mostly by Emil Wojak <emil@wojak.eu>.
47421         * posix/bug-regex32.c: New file.
47422         * posix/Makefile (tests): Add bug-regex32.
47423
47424         * locale/findlocale.c (_nl_find_locale): Return right away if
47425         _nl_explode_name failed.
47426         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47427
47428         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47429
47430         * debug/xtrace.sh: Unify messages.
47431         * malloc/memusage.sh: Likewise.
47432
47433         [BZ #12813]
47434         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47435         time symbol from vDSO.  Substitute with vsyscall if not available.
47436         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47437         __vdso_time.
47438
47439         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47440         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47441         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47442         Add sendmmsg and internal_sendmmsg.
47443         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47444         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47445         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47446
47447         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47448         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47449         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47450
47451 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47452
47453         [BZ #12813]
47454         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47455         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47456         available.
47457         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47458         __vdso_getcpu.
47459
47460         [BZ #12814]
47461         * iconvdata/Makefile (tests): Add bug-iconv9.
47462         * iconvdata/bug-iconv9.c: New file.
47463
47464 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47465
47466         [BZ #12814]
47467         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47468
47469 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47470
47471         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47472         (struct user_regs_struct): Change intcs field back to cs.
47473
47474 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47475
47476         * po/ja.po: Update from translation team.
47477
47478 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47479
47480         [BZ #12795]
47481         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47482         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47483
47484 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47485
47486         * stdlib/longlong.h: Update from GCC.
47487
47488 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47489
47490         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47491         parameter name.
47492         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47493         Add parameter name.
47494         (__sysconf): Pass it down.
47495
47496 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47497
47498         [BZ #12671]
47499         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47500         some situations.
47501         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47502         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47503         add in in __libc_use_alloca calls.  Adjust callers.
47504         (glob): Use malloc in some situations.
47505
47506         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47507         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47508         pltexit.
47509
47510 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47511
47512         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47513         and CLOCK_BOOTTIME_ALARM.
47514
47515         [BZ #12782]
47516         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47517         is returned.
47518
47519         * string/_strerror.c (__strerror_r): Print negative errors as signed
47520         numbers.
47521
47522         [BZ #12777]
47523         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47524         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47525         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47526
47527         * configure.in: Fix typo in redirection and correct removal of test
47528         files in two cases.
47529
47530         [BZ #12788]
47531         * locale/setlocale.c (new_composite_name): Fix test to check for
47532         identical name of all categories.
47533
47534         [BZ #12792]
47535         * libio/filedoalloc.c (local_isatty): New function.
47536         (_IO_file_doallocate): Use local_isatty.
47537         * stdio-common/perror.c (perror): In case a new stream is used
47538         forward the stream error.
47539         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47540         error flag.
47541
47542 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47543
47544         [BZ #11869]
47545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47546         alloca.
47547         * include/alloca.h (extend_alloca_account): Define.
47548
47549         [BZ #11857]
47550         * posix/regex.h: Fix comments with documentation of user-accessible
47551         fields after compilation and describe correct free'ing of pattern
47552         after re_compile_pattern.
47553         Patch by Reuben Thomas <rrt@sc3d.org>.
47554
47555 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47556
47557         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47558         and -mno-altivec to prevent the compiler from using Altivec and/or
47559         VSX instructions when the corresponding registers are not available.
47560
47561 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47562
47563         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47564
47565 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47566
47567         * libio/freopen.c (freopen): Use __dup2, not dup2.
47568         * libio/freopen64.c (freopen64): Likewise.
47569
47570 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47571
47572         [BZ #12775]
47573         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47574         * math/Makefile (tests): Add test-powl.
47575         (CFLAGS-test-powl.c): Define.
47576         * math/test-powl.c: New file.
47577
47578 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47579
47580         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47581
47582 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47583
47584         [BZ #11837]
47585         * iconvdata/gb18030.c: Update to GB18020-2005.
47586
47587 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47588
47589         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47590         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47591         Patch by Aharon Robbins <arnold@skeeve.com>.
47592
47593         [BZ #11892]
47594         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47595         on the stack.
47596
47597         [BZ #11895]
47598         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47599         through underflows.
47600
47601         [BZ #12766]
47602         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47603         point to strings before performing equality test for error_one_per_line
47604         mode.
47605
47606         [BZ #11697]
47607         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47608
47609         [BZ #11820]
47610         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47611         (struct user_fpregs_struct): Avoid __uint*_t types.
47612
47613         [BZ #6420]
47614         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47615         symbol info.  Use it instead of calling _dl_addr locally.
47616         (lock_and_info): New function.
47617         (tr_freehook): Call lock_and_info and pass symbol info as additional
47618         parameter to tr_where.
47619         (tr_mallochook): Likewise.
47620         (tr_reallochook): Likewise.
47621         (tr_memalignhook): Likewise.
47622
47623         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47624         used and couldn't be at all thread-safe.
47625
47626 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47627
47628         * libio/freopen.c (freopen): Don't close old file descriptor
47629         before the new one is opened.  Instead dup the new file descriptor
47630         to the old one after the new stream is created.
47631         * libio/freopen64.c (freopen64): Likewise.
47632         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47633         * libio/fileops.c (_IO_new_file_close_it): Handle new
47634         _IO_FLAGS2_NOCLOSE flag.
47635         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47636         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47637         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47638         _IO_FLAGS2_NOCLOSE flag.
47639         * include/unistd.h: Add hidden_proto for dup3.
47640         Define __have_dup3.
47641         * io/dup3.c: Define hidden symbol.
47642         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47643
47644         [BZ #7101]
47645         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47646         when an incomplete long option is used.
47647         * posix/tst-getopt_long1.c: New file.
47648         * posix/Makefile (tests): Add tst-getopt_long1.
47649
47650         [BZ #10138]
47651         * scripts/config.guess: Update from autoconf-2.68.
47652         * scripts/config.sub: Likewise.
47653
47654         [BZ #10157]
47655         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47656         tests into ...
47657         (has_cpuclock): ...this.  New function.
47658         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47659         macro here based on has_cpuclock code.
47660
47661         [BZ #10149]
47662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47663         First byte (not low byte) is now always NUL.
47664         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47665
47666         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47667         Use non-cancelable interfaces.
47668
47669         [BZ #9809]
47670         * locale/iso-639.def: Add entry for Sorani.
47671
47672         [BZ #11901]
47673         * include/stdlib.h: Move include protection to the right place.
47674         Define abort_msg_s.  Declare __abort_msg with it.
47675         * stdlib/abort.c (__abort_msg): Adjust type.
47676         * assert/assert.c (__assert_fail_base): New function.  Majority
47677         of code from __assert_fail.  Allocate memory for __abort_msg with
47678         mmap.
47679         (__assert_fail): Now call __assert_fail_base.
47680         * assert/assert-perr.c: Remove bulk of implementation.  Use
47681         __assert_fail_base.
47682         * include/assert.hL Declare __assert_fail_base.
47683         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47684         mmap.
47685         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47686
47687 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47688
47689         [BZ #11952]
47690         [BZ #12453]
47691         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47692         until all modules are registered in the DTV.
47693         * elf/Makefile: Add rules to build and run tst-tls19.
47694         * elf/tst-tls19.c: New file.
47695         * elf/tst-tls19mod1.c: New file.
47696         * elf/tst-tls19mod2.c: New file.
47697         * elf/tst-tls19mod3.c: New file.
47698         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47699
47700         [BZ #12083]
47701         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47702         correctly.
47703
47704         [BZ #12601]
47705         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47706         two-byte sequence errors.
47707         * iconvdata/Makefile (tests): Add bug-iconv8.
47708         * iconvdata/bug-iconv8.c: New file.
47709
47710         [BZ #12626]
47711         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47712         buf2 definition.
47713
47714         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47715
47716         [BZ #12432]
47717         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47718         (dummy_getcfa): New function.
47719         (init): Get _Unwind_GetCFA address, use dummy if not found.
47720         (backtrace_helper): In recursion check, also check whether CFA changes.
47721         (__backtrace): Completely initialize arg.
47722
47723         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47724         storing incomplete byte sequence in state object.  Avoid testing for
47725         guaranteed too small input if we know there is enough data available.
47726
47727 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47728
47729         * Makeconfig (+link-pie): Indent.
47730         * Rules (binaries-pie): Define if $(have-fpie) and
47731         $(build-shared).
47732         (binaries-shared): Also filter out $(binaries-pie).
47733         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47734         * nscd/Makefile (others-pie): Add nscd.
47735         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47736         ($(objpfx)nscd): Remove command override.
47737         * login/Makefile (others-pie): Add pt_chown.
47738         ($(objpfx)pt_chown): Remove command override.
47739         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47740         remove command overrides.
47741
47742 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47743
47744         * libio/tst_putwc.c: Fix error messages.
47745
47746         [BZ #12724]
47747         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47748         currently writing and seek to current position when not.
47749         * libio/Makefile (tests): Add bug-fclose1.
47750         * libio/bug-fclose1.c: New file.
47751
47752 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47753
47754         [BZ #12511]
47755         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47756         don't set DF_1_NODELETE here.
47757         (do_lookup_x): When entering new entry test for copy relocation
47758         and if necessary set DF_1_NODELETE flag.
47759         * elf/tst-unique4.cc: New file.
47760         * elf/tst-unique4.h: New file.
47761         * elf/tst-unique4lib.cc: New file.
47762         * elf/Makefile: Add rules to build and run tst-unique4.
47763         Patch by Piotr Bury <pbury@goahead.com>.
47764
47765 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47766
47767         [BZ #12052]
47768         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47769
47770         [BZ #12625]
47771         * misc/mntent_r.c (addmntent): Flush the stream after the output
47772
47773         [BZ #12393]
47774         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47775         (is_trusted_path_normalize): Skip initial colon.  Append slash
47776         to empty buffer.  Duplicate is_trusted_path code but allow
47777         constructed patch to be prefix.
47778         (is_dst): Allow $ORIGIN followed by /.
47779         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47780         Correct testing of result of is_trusted_path_normalize
47781         (decompose_rpath): Fix warning.
47782
47783 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47784
47785         [BZ #11257]
47786         * grp/initgroups.c (internal_getgrouplist): When we found the service
47787         list through the initgroups entry in nsswitch.conf do not always
47788         continue on a successful lookup.  Don't always use the
47789         __nss_group_database value if it is set.
47790         * nss/nsswitch.conf (initgroups): Change action for successful db
47791         lookup to continue for compatibility.
47792
47793 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47794
47795         [BZ #11532]
47796         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47797         and CP774 modules.
47798         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47799         and CP774 modules.
47800         * iconvdata/tst-tables.sh: Likewise.
47801         * iconvdata/cp770.c: New file.
47802         * iconvdata/cp771.c: New file.
47803         * iconvdata/cp772.c: New file.
47804         * iconvdata/cp773.c: New file.
47805         * iconvdata/cp774.c: New file.
47806         * iconvdata/testdata/CP770: New file.
47807         * iconvdata/testdata/CP770..UTF8: New file.
47808         * iconvdata/testdata/CP771: New file.
47809         * iconvdata/testdata/CP771..UTF8: New file.
47810         * iconvdata/testdata/CP772: New file.
47811         * iconvdata/testdata/CP772..UTF8: New file.
47812         * iconvdata/testdata/CP773: New file.
47813         * iconvdata/testdata/CP773..UTF8: New file.
47814         * iconvdata/testdata/CP774: New file.
47815         * iconvdata/testdata/CP774..UTF8: New file.
47816
47817         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47818         END CHARMAP line.
47819         * iconvdata/gen-8bit-gap.sh: Likewise.
47820         * iconvdata/gen-8bit.sh: Likewise.
47821
47822         * locale/iso-639.def: Add ary entry.
47823
47824         [BZ #11258]
47825         * locale/C-translit.h.in: Add U20A1 transliteration.
47826
47827         [BZ #12178]
47828         * locale/iso-639.def: Add wae entry.
47829         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47830
47831         [BZ #12545]
47832         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47833         for n.
47834
47835         [BZ #12711]
47836         * locale/C-translit.h.in: Add entry for U20B9.
47837         Patch by pravin.d.s@gmail.com.
47838
47839 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47840
47841         [BZ #12713]
47842         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47843         ENAMETOOLONG use generic getcwd.
47844         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47845         in rtld.  Use *stat64.
47846         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47847         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47848         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47849         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47850         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47851         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47852         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47853         __fstatat64 macros.
47854         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47855         * dirent/rewinddir.c: Add libc_hidden_def.
47856         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47857         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47858
47859         * include/dirent.h (__alloc_dir): Add flags parameter.
47860         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47861         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47862         __alloc_dir.
47863         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47864         from fdopendir if O_CLOEXEC is already set.
47865
47866 2011-03-15  Alan Modra  <amodra@gmail.com>
47867
47868         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47869         l_tls_firstbyte_offset non-zero.  Save padding offset in
47870         l_tls_firstbyte_offset for later use.
47871         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47872         freeing static tls block.
47873
47874 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47875
47876         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47877         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47878         being defined by the kernel headers.
47879
47880 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47881
47882         [BZ #12734]
47883         * resolv/resolv.h: Define RES_NOTLDQUERY.
47884         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47885         no-tld-query and set RES_NOTLDQUERY.
47886         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47887         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47888         modern BIND to search name as TLD unless forbidden.
47889
47890 2011-05-07  Petr Baudis  <pasky@suse.cz>
47891             Ulrich Drepper  <drepper@gmail.com>
47892
47893         [BZ #12393]
47894         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47895         (is_trusted_path): ...to here.
47896         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47897         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47898         using is_trusted_path_normalize() in setuid scripts.
47899
47900 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47901
47902         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47903         __BEGIN/__END_DECLS.
47904
47905 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47906
47907         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47908         NSS_STATUS_NOTFOUND if no record was found.
47909
47910 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47911
47912         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47913         (headers-not-in-tirpc): Remove rpc/netdb.h
47914         * resolv/netdb.h: Revert last change.
47915
47916 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47917
47918         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47919         circular dependency between libgcc.a and libc.a.
47920
47921 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47922
47923         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47924         * nis/Makefile: Don't install rpcsvc/*.
47925         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47926         instead of <rpc/types.h>.
47927         (MAXHOSTNAMELEN): Define.
47928
47929 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47930
47931         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47932
47933 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47934
47935         [BZ #12714]
47936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47937         gethostbyname4_r when IPv6 results are possible.
47938
47939 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47940
47941         [BZ #12723]
47942         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47943         _PC_PIPE_BUF handling.
47944
47945 2011-04-30  Bruno Haible  <bruno@clisp.org>
47946
47947         [BZ #12717]
47948         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47949         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47950         to 'int'.
47951         * inet/getnameinfo.c (getnameinfo): Likewise.
47952
47953 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47954
47955         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47956         to groups setting in database lookup.
47957         * nss/nsswitch.conf: Add initgroups entry.
47958
47959 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47960
47961         [BZ #12685]
47962         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47963         mode string.
47964         Patch by Eric Blake <eblake@redhat.com>.
47965
47966 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47967
47968         * sunrpc/Makefile (need-export-routines): Add svc_run.
47969         (routines): Remove svc_run.
47970         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47971         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47972         * sunrpc/svc_run.c (svc_run): Likewise.
47973         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47974
47975 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47976
47977         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47978         problem in reallocation in last patch.
47979
47980 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47981
47982         * sunrpc/Makefile: Move inclusion of Rules.
47983
47984 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47985
47986         * nss/nss_files/files-initgroups.c: New file.
47987         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47988         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47989         _nss_files_initgroups_dyn.
47990
47991 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47992
47993         * elf/elf.h (R_ARM_IRELATIVE): Define.
47994
47995 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47996
47997         * po/ru.po: Update from translation team.
47998
47999 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48000
48001         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48002         dependencies.
48003
48004 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48005
48006         [BZ #12653]
48007         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48008         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48009         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48011         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48012
48013 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48014
48015         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48016         differing bytes.
48017         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48018         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48019         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48020
48021 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48022
48023         [BZ #12420]
48024         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48025         storing it.
48026         * stdlib/bug-getcontext.c: New file.
48027         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48028
48029 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48030
48031         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48032         instructions into .machine "z9-109".
48033         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48034         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48035
48036 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48037
48038         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48039         between environment variables and auxiliary vector.
48040
48041 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48042
48043         * Makefile: Add rules to build linkobj/libc.so.
48044         * include/libc-symbols.h: Define libc_hidden_nolink.
48045         * include/rpc/auth.h: Mark functions which are to be hidden.
48046         * include/rpc/auth_des.h: Likewise.
48047         * include/rpc/auth_unix.h: Likewise.
48048         * include/rpc/clnt.h: Likewise.
48049         * include/rpc/des_crypt.h: Likewise.
48050         * include/rpc/key_prot.h: Likewise.
48051         * include/rpc/pmap_clnt.h: Likewise.
48052         * include/rpc/pmap_prot.h: Likewise.
48053         * include/rpc/pmap_rmt.h: Likewise.
48054         * include/rpc/rpc_msg.h: Likewise.
48055         * include/rpc/svc.h: Likewise.
48056         * include/rpc/svc_auth.h: Likewise.
48057         * include/rpc/xdr.h: Likewise.
48058         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48059         * nss/Makefile: Likewise.
48060         * sunrpc/Makefile: Don't install headers.  Build library with normal
48061         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48062         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48063         for the compat linking library.  Remove use of INTDEF/INTUSE.
48064         * sunrpc/auth_none.c: Likewise.
48065         * sunrpc/auth_unix.c: Likewise.
48066         * sunrpc/authdes_prot.c: Likewise.
48067         * sunrpc/authuxprot.c: Likewise.
48068         * sunrpc/clnt_gen.c: Likewise.
48069         * sunrpc/clnt_perr.c: Likewise.
48070         * sunrpc/clnt_raw.c: Likewise.
48071         * sunrpc/clnt_simp.c: Likewise.
48072         * sunrpc/clnt_tcp.c: Likewise.
48073         * sunrpc/clnt_udp.c: Likewise.
48074         * sunrpc/clnt_unix.c: Likewise.
48075         * sunrpc/des_crypt.c: Likewise.
48076         * sunrpc/des_soft.c: Likewise.
48077         * sunrpc/get_myaddr.c: Likewise.
48078         * sunrpc/key_call.c: Likewise.
48079         * sunrpc/key_prot.c: Likewise.
48080         * sunrpc/netname.c: Likewise.
48081         * sunrpc/pm_getmaps.c: Likewise.
48082         * sunrpc/pm_getport.c: Likewise.
48083         * sunrpc/pmap_clnt.c: Likewise.
48084         * sunrpc/pmap_prot.c: Likewise.
48085         * sunrpc/pmap_prot2.c: Likewise.
48086         * sunrpc/pmap_rmt.c: Likewise.
48087         * sunrpc/publickey.c: Likewise.
48088         * sunrpc/rpc_cmsg.c: Likewise.
48089         * sunrpc/rpc_common.c: Likewise.
48090         * sunrpc/rpc_dtable.c: Likewise.
48091         * sunrpc/rpc_prot.c: Likewise.
48092         * sunrpc/rpc_thread.c: Likewise.
48093         * sunrpc/rtime.c: Likewise.
48094         * sunrpc/svc.c: Likewise.
48095         * sunrpc/svc_auth.c: Likewise.
48096         * sunrpc/svc_authux.c: Likewise.
48097         * sunrpc/svc_raw.c: Likewise.
48098         * sunrpc/svc_run.c: Likewise.
48099         * sunrpc/svc_simple.c: Likewise.
48100         * sunrpc/svc_tcp.c: Likewise.
48101         * sunrpc/svc_udp.c: Likewise.
48102         * sunrpc/svc_unix.c: Likewise.
48103         * sunrpc/svcauth_des.c: Likewise.
48104         * sunrpc/xcrypt.c: Likewise.
48105         * sunrpc/xdr.c: Likewise.
48106         * sunrpc/xdr_array.c: Likewise.
48107         * sunrpc/xdr_float.c: Likewise.
48108         * sunrpc/xdr_intXX_t.c: Likewise.
48109         * sunrpc/xdr_mem.c: Likewise.
48110         * sunrpc/xdr_rec.c: Likewise.
48111         * sunrpc/xdr_ref.c: Likewise.
48112         * sunrpc/xdr_sizeof.c: Likewise.
48113         * sunrpc/xdr_stdio.c: Likewise.
48114
48115 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48116
48117         [BZ #12650]
48118         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48119         * sysdeps/ia64/dl-tls.h: Likewise.
48120         * sysdeps/powerpc/dl-tls.h: Likewise.
48121         * sysdeps/s390/dl-tls.h: Likewise.
48122         * sysdeps/sh/dl-tls.h: Likewise.
48123         * sysdeps/sparc/dl-tls.h: Likewise.
48124         * sysdeps/x86_64/dl-tls.h: Likewise.
48125         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48126
48127 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48128
48129         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48130         rpath element also skip the following colon.
48131         (expand_dynamic_string_token): Add is_path parameter and pass
48132         down to DL_DST_REQUIRED and _dl_dst_substitute.
48133         (decompose_rpath): Call expand_dynamic_string_token with
48134         non-zero is_path.  Ignore empty rpaths.
48135         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48136         with zero is_path.
48137
48138 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48139
48140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48141         Make cancelable.
48142
48143 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48144
48145         [BZ #12655]
48146         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48147         Patch by Filipe David Manana <fdmanana@apache.org>.
48148
48149 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48150
48151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48152         Maintain aligned stack.
48153         (CHECK_RSP): Remove unused macro.
48154
48155 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48156
48157         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48158         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48159
48160 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48161
48162         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48163
48164         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48165
48166 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48167
48168         [BZ #12518]
48169         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48170         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48171         * sysdeps/x86_64/memmove.c: New file.
48172         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48173         (memcpy): Renamed to ...
48174         (__new_memcpy): This.
48175         (memcpy): Provide GLIBC_2_14 memcpy.
48176         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48177         (memcpy): Provide GLIBC_2_2_5 memcpy.
48178
48179 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48180
48181         [BZ #12631]
48182         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48183
48184 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48185
48186         * misc/syncfs.c: New file.
48187         * misc/Makefile (routines): Add syncfs.
48188         * posix/unistd.h: Declare syncfs.
48189         * sysdeps/unix/syscalls.list: Add syncfs.
48190
48191 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48192
48193         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48194         open_by_handle_at.
48195         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48196         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48197         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48198         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48199         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48200         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48201         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48202
48203 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48204
48205         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48206         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48207         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48208         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48209         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48210         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48211         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48212
48213         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48214         sync_file_range.c with -fexceptions.
48215         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48216         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48217         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48218         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48219         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48220         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48221         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48222         sync_file_range as cancellation point
48223         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48224         now a wrapper around __call_sync_file_range with cancellation handling.
48225         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48226         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48227         function name to __call_sync_file_range.
48228         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48229         Add call_sync_file_range.
48230
48231 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48232
48233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48234         bits/timex.h.
48235
48236 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48237
48238         * iconv/iconv.h: Fix typo in comment.
48239         * io/fcntl.h: Likewise.
48240         * libio/stdio.h: Likewise.
48241         * posix/spawn.h: Likewise.
48242         * posix/unistd.h: Likewise.
48243         * stdlib/stdlib.h: Likewise.
48244         * time/time.h: Likewise.
48245         * wcsmbs/wchar.h: Likewise.
48246
48247         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48248         open_by_handle): Add.
48249         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48250         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48251         Augment a few comments.
48252         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48253         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48254         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48255         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48256         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48257         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48258         open_by_handle.
48259
48260         * io/fcntl.h (AT_EMPTY_PATH): Define.
48261
48262 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48263
48264         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48265         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48266         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48267         to...
48268         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48269         * Versions.def: Add GLIBC_2.14.
48270         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48271         Export.
48272
48273 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48274
48275         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48276         round counter.
48277         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48278
48279 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48280
48281         [BZ #12597]
48282         * string/test-strncmp.c (do_page_test): New function.
48283         (check2): Likewise.
48284         (test_main): Call check2.
48285         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48286
48287 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48288
48289         [BZ #12587]
48290         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48291         Handle cache information in CPU leaf 4.
48292         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48293
48294 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48295
48296         [BZ #12583]
48297         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48298         character representation.
48299         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48300
48301 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48302
48303         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48304         END(__isnan) to END(__isnanf) to match function entry point/label
48305         EALIGN(__isnanf,...).
48306
48307 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48308
48309         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48310
48311 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48312
48313         [BZ #12510]
48314         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48315         copy from the symbol referenced in the relocation to initialize the
48316         used variable.
48317         Patch by Piotr Bury <pbury@goahead.com>.
48318         * elf/Makefile: Add rules to build and tst-unique3.
48319         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48320         * elf/tst-unique3.cc: New file.
48321         * elf/tst-unique3.h: New file.
48322         * elf/tst-unique3lib.cc: New file.
48323         * elf/tst-unique3lib2.cc: New file.
48324
48325         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48326
48327 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48328
48329         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48330         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48331         to _start.
48332
48333 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48334
48335         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48336         to-be-loaded object along a path to loader is ld.so.
48337
48338 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48339             Ulrich Drepper  <drepper@gmail.com>
48340
48341         * sysdeps/x86_64/memset.S: After aligning destination, code
48342         branches to different locations depending on the value of
48343         misalignment, when multiarch is enabled. Fix this.
48344
48345 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48346
48347         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48348         Set _x86_64_preferred_memory_instruction for AMD processsors.
48349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48350         Set bit_Prefer_SSE_for_memop for AMD processors.
48351
48352 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48353
48354         * libio/fmemopen.c (fmemopen): Optimize a bit.
48355
48356 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48357
48358         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48359
48360 2011-03-03  Roland McGrath  <roland@redhat.com>
48361
48362         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48363
48364 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48365
48366         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48367         __bzero_ultra1 instead of __memset_ultra1.
48368
48369 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48370             Ulrich Drepper  <drepper@gmail.com>
48371
48372         [BZ #12509]
48373         * include/link.h (struct link_map): Add l_orig_initfini.
48374         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48375         returning unsuccessfully.
48376         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48377         close of a file loaded at startup, restore the original l_initfini
48378         list.
48379         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48380         list, store the pointer.
48381         * elf/Makefile ($(objpfx)noload-mem): New rule.
48382         (noload-ENV): Define.
48383         (tests): Add $(objpfx)noload-mem.
48384         * elf/noload.c: Include <memcheck.h>.
48385         (main): Call mtrace.  Close all opened handles.
48386
48387 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48388
48389         [BZ #12454]
48390         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48391         dependencies are missing.
48392
48393 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48394
48395         Fix __if_freereq crash: Unlike the generic version which uses free,
48396         Hurd needs munmap.
48397         * sysdeps/mach/hurd/ifreq.h: New file.
48398
48399 2011-01-27  Petr Baudis  <pasky@suse.cz>
48400             Ulrich Drepper  <drepper@gmail.com>
48401
48402         [BZ 12445]#
48403         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48404         to extend_alloca().
48405         * stdio-common/bug23.c: New file.
48406         * stdio-common/Makefile (tests): Add bug23.
48407
48408 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48409             Ulrich Drepper  <drepper@gmail.com>
48410
48411         [BZ #12489]
48412         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48413         before performing relro protection.  At old place add assertion
48414         to make sure nothing changed.
48415
48416 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48417             Glauber de Oliveira Costa  <glommer@gmail.com>
48418
48419         * elf/elf.h: Add new ARM TLS relocs.
48420
48421 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48422
48423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48424         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48425         cast from r3.
48426         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48427         'tests' variable.
48428         * sysdeps/wordsize-64/tst-writev.c: New file.
48429
48430 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48431
48432         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48433         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48434         insns in _dl_start to prevent a TOC reference before relocs are
48435         resolved.
48436
48437 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48438
48439         [BZ #12469]
48440         * Makeconfig: Remove RANLIB definition.
48441         * Makerules: Don't use RANLIB.
48442         * aclocal.m4: Remove ranlib test.
48443         * configure.in: No need to check for ranlib.
48444         * elf/rtld-Rules: Don't use RANLIB.
48445
48446 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48447
48448         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48449         protection macro.
48450         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48451         inclusion protection macro.
48452
48453         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48454         SIGRTMIN and SIGRTMAX and print information in that case only when
48455         SIGRTMIN is defined.
48456
48457 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48458
48459         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48460         arginfo fn returning -1.
48461
48462         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48463         and thousands string is zero terminated.
48464
48465 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48466
48467         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48468         sysdeps/unix/sysv/linux/bits/socket.h.
48469
48470 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48471
48472         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48473         (__CPU_COUNT): Remove old macros.
48474         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48475         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48476         (__CPU_ALLOC, __CPU_FREE): Add macros.
48477         (__sched_cpualloc, __sched_cpufree): Add declarations.
48478
48479 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48480
48481         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48482         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48483         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48484         (readdhstai): Return value of addhstaiX call.
48485         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48486         (addgrbyX): Return value returned by cache_addgr.
48487         (readdgrbyname): Return value returned by addgrbyX.
48488         (readdgrbygid): Likewise.
48489         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48490         (addpwbyX): Return value returned by cache_addpw.
48491         (readdpwbyname): Return value returned by addhstbyX.
48492         (readdpwbyuid): Likewise.
48493         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48494         (addservbyX): Return value returned by cache_addserv.
48495         (readdservbyname): Return value returned by addservbyX:
48496         (readdservbyport): Likewise.
48497         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48498         (addhstbyX): Return value returned by cache_addhst.
48499         (readdhstbyname): Return value returned by addhstbyX.
48500         (readdhstbyaddr): Likewise.
48501         (readdhstbynamev6): Likewise.
48502         (readdhstbyaddrv6): Likewise.
48503         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48504         (readdinitgroups): Return value returned by addinitgroupsX.
48505         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48506         (prune_cache): Keep track of timeout value of re-added entries.
48507         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48508         * nscd/nscd.h: Adjust prototypes of readd* functions.
48509
48510 2011-02-04  Roland McGrath  <roland@redhat.com>
48511
48512         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48513         (nis_stats): Likewise.
48514         * nis/nis_modify.c (nis_modify): Likewise.
48515         * nis/nis_remove.c (nis_remove): Likewise.
48516         * nis/nis_add.c (nis_add): Likewise.
48517
48518         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48519
48520         * posix/fnmatch_loop.c: Add some consts.
48521
48522         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48523
48524 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48525
48526         [BZ #12460]
48527         * config.make.in (config-cflags-novzeroupper): Define.
48528         * configure.in: Substitute libc_cv_cc_novzeroupper.
48529         * elf/Makefile (AVX-CFLAGS): Define.
48530         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48531         (CFLAGS-tst-auditmod4a.c): Likewise.
48532         (CFLAGS-tst-auditmod4b.c): Likewise.
48533         (CFLAGS-tst-auditmod6b.c): Likewise.
48534         (CFLAGS-tst-auditmod6c.c): Likewise.
48535         (CFLAGS-tst-auditmod7b.c): Likewise.
48536         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48537
48538 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48539
48540         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48541         function to the callback.
48542         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48543
48544 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48545
48546         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48547         of errno.
48548
48549 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48550
48551         [BZ #11724]
48552         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48553         of constructors.
48554         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48555         of destructors.
48556         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48557
48558         [BZ #11724]
48559         * elf/Makefile: Add rules to build and run new test.
48560         * elf/tst-initorder.c: New file.
48561         * elf/tst-initorder.exp: New file.
48562         * elf/tst-initordera1.c: New file.
48563         * elf/tst-initordera2.c: New file.
48564         * elf/tst-initordera3.c: New file.
48565         * elf/tst-initordera4.c: New file.
48566         * elf/tst-initorderb1.c: New file.
48567         * elf/tst-initorderb2.c: New file.
48568         * elf/tst-order-a1.c: New file.
48569         * elf/tst-order-a2.c: New file.
48570         * elf/tst-order-a3.c: New file.
48571         * elf/tst-order-a4.c: New file.
48572         * elf/tst-order-b1.c: New file.
48573         * elf/tst-order-b2.c: New file.
48574         * elf/tst-order-main.c: New file.
48575         New test case by George Gensure <werkt0@gmail.com>.
48576
48577 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48578
48579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48580         decoding ACE if AI_CANONIDN.
48581
48582 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48583
48584         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48585
48586 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48587
48588         * version.h (RELEASE): Bump for 2.13 release.
48589         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48590
48591         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48592
48593         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48594         MADV_NOHUGEPAGE.
48595         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48596         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48597         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48598         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48599         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48600         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48601
48602         * posix/getconf.c: Update copyright year.
48603         * catgets/gencat.c: Likewise.
48604         * csu/version.c: Likewise.
48605         * debug/catchsegv.sh: Likewise.
48606         * debug/xtrace.sh: Likewise.
48607         * elf/ldconfig.c: Likewise.
48608         * elf/ldd.bash.in: Likewise.
48609         * elf/sprof.c (print_version): Likewise.
48610         * iconv/iconv_prog.c: Likewise.
48611         * iconv/iconvconfig.c: Likewise.
48612         * locale/programs/locale.c: Likewise.
48613         * locale/programs/localedef.c: Likewise.
48614         * malloc/memusage.sh: Likewise.
48615         * malloc/mtrace.pl: Likewise.
48616         * nscd/nscd.c (print_version): Likewise.
48617         * nss/getent.c: Likewise.
48618
48619         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48620         PF_CAIF, and PF_ALG.
48621         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48622
48623 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48624
48625         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48626         (modules-names): Use them.
48627         (ifunc-test-modules, ifunc-pie-tests): Define.
48628         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48629         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48630         (test-extras): Likewise.
48631         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48632         $(compile-command.c).
48633         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48634         (all-built-dso): Define.
48635         (check-textrel.out, check-execstack.out): Depend on it.
48636
48637         * configure.in: Don't override --enable-multi-arch.
48638
48639 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48640
48641         [BZ #6812]
48642         * nscd/hstcache.c (tryagain): Define.
48643         (cache_addhst): Return tryagain not notfound for temporary errors.
48644         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48645         failed.
48646
48647 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48648
48649         [BZ #10563]
48650         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48651         to make the syscall.
48652         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48653
48654         [BZ #12378]
48655         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48656         and fall back to matching as normal character if the string ends before
48657         the matching ']' is found.  This is what POSIX requires.
48658         * posix/testfnm.c: Adjust test result.
48659         * posix/globtest.sh: Adjust test result.  Add new test.
48660         * posix/tst-fnmatch.input: Likewise.
48661         * posix/tst-fnmatch2.c: Add new test.
48662
48663 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48664
48665         * elf/Makefile (check-execstack): Revert last change.  Depend on
48666         check-execstack.h.
48667         (check-execstack.h): New target.
48668         (generated): Add check-execstack.h.
48669         * elf/check-execstack.c: Include "check-execstack.h".
48670         (main): Revert last change.
48671         (handle_file): Return zero if GNU_STACK is absent and
48672         DEFAULT_STACK_PERMS doesn't include PF_X.
48673
48674 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48675
48676         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48677         in child fails because the descriptor is already closed.
48678         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48679         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48680         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48681
48682         [BZ #12397]
48683         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48684         syscall.
48685
48686         [BZ #10484]
48687         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48688         temporary buffer used to handle multi lookups locally.
48689         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48690
48691 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48692
48693         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48694         loader is ld.so.
48695
48696 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48697
48698         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48699         alignment for SSE2.
48700
48701 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48702
48703         [BZ #12394]
48704         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48705         characters.  When rounding increased number of integer digits recompute
48706         number of groups.
48707         * stdio-common/tst-grouping.c: New file.
48708         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48709
48710 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48711
48712         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48713         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48714
48715         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48716         void.
48717         * bits/select.h: Likewise.
48718
48719 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48720
48721         * po/ja.po: Update from translation team.
48722
48723 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48724
48725         [BZ #11155]
48726         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48727         implementation just like for lxstat, fxstatat, et al.
48728
48729 2010-12-27  Jim Meyering  <meyering@redhat.com>
48730
48731         [BZ #12348]
48732         * posix/regexec.c (build_trtable): Return failure indication upon
48733         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48734
48735 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48736
48737         [BZ #12201]
48738         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48739         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48740         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48741         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48742
48743         [BZ #12207]
48744         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48745
48746         [BZ #12204]
48747         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48748         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48749
48750 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48751
48752         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48753         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48754         script has SORT_BY_INIT_PRIORITY.
48755         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48756         NO_CTORS_DTORS_SECTIONS is defined.
48757         * elf/soinit.c: Likewise.
48758         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48759         NO_CTORS_DTORS_SECTIONS is defined.
48760         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48761         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48762         * sysdeps/sh/init-first.c: Likewise.
48763         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48764
48765 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48766
48767         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48768         always use the slow path.
48769
48770 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48771
48772         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48773         similar rule which adds the sysdep directories to the header search in
48774         order to pick up the correct platform stackinfo.h.
48775         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48776         perform test if it is, otherwise return successfully without testing.
48777         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48778         DEFAULT_STACK_PERMS define in stackinfo.h.
48779         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48780         defined in stackinfo.h.
48781         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48782         DEFAULT_STACK_PERMS defined in stackinfo.h.
48783         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48784         * sysdeps/ia64/stackinfo.h: Likewise.
48785         * sysdeps/s390/stackinfo.h: Likewise.
48786         * sysdeps/sh/stackinfo.h: Likewise.
48787         * sysdeps/sparc/stackinfo.h: Likewise.
48788         * sysdeps/x86_64/stackinfo.h: Likewise.
48789         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48790         PF_X for powerpc64.  Retain PF_X for powerpc32.
48791
48792 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48793
48794         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48795         accurately.
48796         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48797         GETDENTS_64BIT_ALIGNED.
48798
48799 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48800
48801         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48802
48803 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48804
48805         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48806         _GNU_SOURCE.
48807
48808         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48809         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48810         Remove __restrict.
48811         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48812         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48813
48814 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48815
48816         [BZ #11655]
48817         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48818         are initialized.
48819
48820 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48821
48822         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48823
48824 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48825
48826         * po/it.po: Update from translation team.
48827
48828 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48829
48830         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48831         unused codes.
48832
48833 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48834
48835         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48836
48837 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48838
48839         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48840         specially.
48841         (gaih_getanswer_slice): Likewise.
48842
48843 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48844
48845         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48846
48847 2010-05-31  Petr Baudis  <pasky@suse.cz>
48848
48849         [BZ #11149]
48850         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48851         silently even in the chroot mode.
48852
48853 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48854
48855         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48856         last patch a bit.  Pretty printing
48857
48858 2010-05-31  Petr Baudis <pasky@suse.cz>
48859
48860         [BZ #10085]
48861         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48862         initialization of skip_initgroups_dyn.
48863
48864 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48865
48866         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48867         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48868
48869 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48870
48871         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48872
48873 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48874
48875         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48876         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48877         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48878         ($(objpfx)tst-fnmatch-mem): New rule.
48879         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48880         * posix/tst-fnmatch.c (main): Call mtrace.
48881
48882 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48883
48884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48885         Support Intel processor model 6 and model 0x2c.
48886
48887 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48888
48889         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48890           signed comparison.
48891
48892 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48893
48894         [BZ #12205]
48895         * string/test-strncasecmp.c (check_result): New function.
48896         (do_one_test): Use it.
48897         (check1): New function.
48898         (test_main): Use it.
48899         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48900         Support strcasecmp and strncasecmp.
48901
48902 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48903
48904         [BZ #12194]
48905         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48906         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48907
48908 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48909
48910         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48911         IFUNC support.
48912         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48913         memset-x86-64.
48914         * sysdeps/x86_64/multiarch/bzero.S: New file.
48915         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48916         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48917         * sysdeps/x86_64/multiarch/memset.S: New file.
48918         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48920         Set bit_Prefer_SSE_for_memop for Intel processors.
48921         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48922         Define.
48923         (index_Prefer_SSE_for_memop): Define.
48924         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48925
48926 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48927
48928         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48929         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48930
48931 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48932
48933         [BZ #12191]
48934         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48935         (__x86_64_raw_data_cache_size_half): Likewise.
48936         (__x86_64_raw_shared_cache_size): Likewise.
48937         (__x86_64_raw_shared_cache_size_half): Likewise.
48938
48939         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48940         (__x86_64_raw_data_cache_size_half): Likewise.
48941         (__x86_64_raw_shared_cache_size): Likewise.
48942         (__x86_64_raw_shared_cache_size_half): Likewise.
48943         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48944         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48945         and __x86_64_raw_shared_cache_size_half.  Round
48946         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48947         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48948         to multiple of 256 bytes.
48949
48950 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48951
48952         [BZ #12167]
48953         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48954         of inacessible symlinks.  Verify result of symlink before returning it.
48955         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48956         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48957
48958 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48959
48960         * math/math.h (isinf): Fix typo in comment.
48961
48962 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48963
48964         * po/da.po: Update from translation team.
48965
48966 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48967
48968         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48969         is added to the list.
48970
48971 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48972             Ulrich Drepper  <drepper@gmail.com>
48973
48974         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48975         the global list here.  Move code to...
48976         (_dl_add_to_namespace_list): ...here.  New function.
48977         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48978         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48979         * elf/dl-load.c (lose): Don't remove the element from the list.
48980         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48981         (_dl_map_object): Likewise.
48982
48983 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48984
48985         [BZ #12159]
48986         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48987         into all bytes of SSE register.
48988         Patch by Richard Li <richardpku@gmail.com>.
48989
48990 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48991
48992         [BZ #12140]
48993         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48994         perturbing.
48995
48996 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48997
48998         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48999         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49000         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49001         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49003         submachine.
49004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49005
49006 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49007
49008         * include/dlfcn.h (__RTLD_SECURE): Define.
49009         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49010         mode & __RTLD_SECURE instead.
49011         (open_path): Rename preloaded parameter to secure.
49012         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49013         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49014         * elf/dl-deps.c (openaux): Likewise.
49015         * elf/rtld.c (struct map_args): Remove is_preloaded.
49016         (map_doit): Don't use it.
49017         (dl_main): Likewise.
49018         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49019         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49020
49021 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49022
49023         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49024         (sysd-rules-targets): Remove duplicates.
49025         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49026         rtld-%.$o dependency.
49027
49028 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49029
49030         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49031         _dl_map_object do it.
49032
49033 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49034
49035         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49036         fast fma builtins, define the macros in the C99 standard.
49037         (FP_FAST_FMAF): Likewise.
49038         (FP_FAST_FMAL): Likewise.
49039         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49040
49041         * bits/mathdef.h: Update copyright year.
49042         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49043
49044 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49045
49046         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49047         builtins, define the macros in the C99 standard.
49048         (FP_FAST_FMAF): Likewise.
49049         (FP_FAST_FMAL): Likewise.
49050         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49051         multiply/add.
49052         (FP_FAST_FMAF): Likewise.
49053
49054 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49055
49056         [BZ #3268]
49057         * math/libm-test.inc (fma_test): Some new testcases.
49058         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49059         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49060         y and infinite z.  Do multiplication by C already in long double.
49061         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49063         y and infinite z.  Do bitwise or of inexact bit into u.d.
49064         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49065         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49066         * sysdeps/i386/fpu/s_fma.S: Removed.
49067         * sysdeps/i386/fpu/s_fmal.S: Removed.
49068
49069 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49070
49071         [BZ #3268]
49072         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49074         computation is not scheduled after fetestexcept.  Fix value
49075         of minimum denormal long double.
49076
49077 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49078
49079         [BZ #3268]
49080         * math/libm-test.inc (fma_test): Add some more tests.
49081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49082         correctly.
49083
49084 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49085
49086         * scripts/data/localplt-s390-linux-gnu.data: New file.
49087         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49088
49089 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49090
49091         [BZ #3268]
49092         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49093         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49094         instead of dbl-64.
49095         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49096         inlines.
49097         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49099         if one of x and y is very large and the other is subnormal.
49100         * sysdeps/s390/fpu/s_fmaf.c: New file.
49101         * sysdeps/s390/fpu/s_fma.c: New file.
49102         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49103         * sysdeps/powerpc/fpu/s_fma.S: New file.
49104         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49105         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49106         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49107
49108 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49109
49110         [BZ #3268]
49111         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49112         fma tests.
49113         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49114         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49115         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49116         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49117         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49118         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49119         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49120
49121 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49122
49123         [BZ #12078]
49124         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49125         * posix/bug-regex31.input: Add test case.
49126
49127 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49128
49129         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49130         * posix/bug-regex31.input: New file.
49131
49132         [BZ #12078]
49133         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49134         (parse_sub_exp): Fix last change, use postorder.
49135
49136         * posix/bug-regex31.c: New file.
49137         * posix/Makefile: Add rules to build and run bug-regex31.
49138
49139         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49140
49141         [BZ #12078]
49142         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49143
49144         [BZ #12108]
49145         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49146         to have entries in sys_siglist.
49147
49148         [BZ #12093]
49149         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49150         be NULL.
49151
49152 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49153
49154         [BZ #3268]
49155         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49156         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49157         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49158         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49159         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49160         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49161         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49162         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49163         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49164         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49165         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49166         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49167         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49168         * math/ftestexcept.c (fetestexcept): Likewise.
49169         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49170         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49171         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49172         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49173         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49174         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49175         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49176
49177 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49178
49179         [BZ #12107]
49180         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49181         newline.
49182
49183 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49184
49185         * string/bug-strstr1.c: New file.
49186         * string/Makefile: Add rules to build and run bug-strstr1.
49187
49188 2010-10-05  Eric Blake  <eblake@redhat.com>
49189
49190         [BZ #12092]
49191         * string/str-two-way.h (two_way_long_needle): Always clear memory
49192         when skipping input due to the shift table.
49193
49194 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49195
49196         [BZ #12005]
49197         * malloc/mcheck.c: Handle large requests.
49198
49199         [BZ #12077]
49200         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49201         for strncmp and strncasecmp.
49202         * string/stratcliff.c: Add tests for strcmp and strncmp.
49203         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49204
49205 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49206
49207         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49208         __set_fpscr.
49209
49210 2010-09-30  Andreas Jaeger  <aj@suse.de>
49211
49212         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49213         (CGROUP_SUPER_MAGIC): Define.
49214         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49215         Handle btrfs and cgroup file systems.
49216         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49217         Likewise.
49218
49219 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49220
49221         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49222         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49223
49224 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49225
49226         [BZ #12067]
49227         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49228         trying to locate the ELF header.
49229
49230 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49231
49232         [BZ #11611]
49233         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49234         Mask out sign-bit copies when constructing f_fsid.
49235
49236 2010-09-24  Petr Baudis <pasky@suse.cz>
49237
49238         * debug/stack_chk_fail_local.c: Add missing licence exception.
49239         * debug/warning-nop.c: Likewise.
49240
49241 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49242
49243         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49244         implementing getdents64 using getdents syscall, set d_type if
49245         __ASSUME_GETDENTS32_D_TYPE.
49246
49247 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49248
49249         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49250         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49251
49252 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49253
49254         [BZ #12037]
49255         * posix/unistd.h: Undo change of feature selection for ftruncate from
49256         2010-01-11.
49257
49258 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49259
49260         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49261         detection.
49262
49263 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49264
49265         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49266         fanotify_mark.
49267         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49268
49269 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49270
49271         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49272         variables after CHECK_SP call.
49273         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49274
49275 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49276             Ulrich Drepper  <drepper@redhat.com>
49277
49278         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49279         re-relocationg ld.so.
49280         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49281         _dl_init_paths call.
49282         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49283         here anymore.
49284
49285 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49286
49287         * resolv/res_init.c (__res_vinit): Count the default server we added.
49288
49289 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49290             Ulrich Drepper  <drepper@redhat.com>
49291
49292         [BZ #11968]
49293         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49294         (____longjmp_chk): Use %ebx for saving value across system call.
49295         Add unwind info.
49296
49297 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49298
49299         * manual/Makefile: Don't mix pattern rules with normal rules.
49300
49301 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49302
49303         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49304         operation.
49305         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49306         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49307         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49308         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49309         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49310         Likewise.
49311
49312 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49313
49314         [BZ #11979]
49315         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49316         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49317
49318 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49319
49320         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49321         * sysdeps/x86_64/addmul_1.S: Likewise.
49322         * sysdeps/x86_64/lshift.S: Likewise.
49323         * sysdeps/x86_64/mul_1.S: Likewise.
49324         * sysdeps/x86_64/rshift.S: Likewise.
49325         * sysdeps/x86_64/sub_n.S: Likewise.
49326         * sysdeps/x86_64/submul_1.S: Likewise.
49327
49328 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49329
49330         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49331         Define __sched_param instead of SCHED_* and sched_param when
49332         <bits/sched.h> is included with __need_schedparam defined.
49333         * bits/sched.h [__need_schedparam]
49334         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49335         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49336         (__defined_schedparam): Define to 1.
49337         (__sched_param): New structure, identical to sched_param.
49338         (__need_schedparam): Undefine.
49339
49340 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49341
49342         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49343         (epoll_create1): Declare.
49344
49345         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49346
49347 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49348
49349         [BZ #7066]
49350         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49351         shifting retval into place.
49352
49353 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49354
49355         * nis/rpcsvc/nis.h: Update copyright notice.
49356         * nis/rpcsvc/nis.x: Likewise.
49357         * nis/rpcsvc/nis_callback.h: Likewise.
49358         * nis/rpcsvc/nis_callback.x: Likewise.
49359         * nis/rpcsvc/nis_object.x: Likewise.
49360         * nis/rpcsvc/nis_tags.h: Likewise.
49361         * nis/rpcsvc/yp.h: Likewise.
49362         * nis/rpcsvc/yp.x: Likewise.
49363         * nis/rpcsvc/ypupd.h: Likewise.
49364         * nis/yp_xdr.c: Likewise.
49365         * nis/ypupdate_xdr.c: Likewise.
49366
49367         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49368         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49369         (pmap_getport): Use __libc_rpc_getport.
49370         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49371         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49372         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49373
49374 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49375
49376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49377         fanotify_mark.
49378
49379 2010-08-27  Roland McGrath  <roland@redhat.com>
49380
49381         * sysdeps/i386/i686/multiarch/Makefile
49382         (CFLAGS-varshift.c): New variable.
49383
49384 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49385
49386         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49387         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49388
49389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49390
49391         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49392
49393 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49394
49395         * sysdeps/x86_64/strlen.S: Unroll the loop.
49396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49397         strlen-sse2 strlen-sse2-bsf.
49398         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49399         __strlen_no_bsf if bit_Slow_BSF is set.
49400         (__strlen_sse42): Removed.
49401         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49402         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49403
49404 2010-08-25  Roland McGrath  <roland@redhat.com>
49405
49406         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49407         * sysdeps/x86_64/multiarch/varshift.c: New file.
49408         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49409         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49410         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49411         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49412
49413 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49414
49415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49416         strlen-sse2 strlen-sse2-bsf.
49417         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49418         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49419         (__strlen_sse2): Removed.
49420         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49421         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49423         bit_Slow_BSF for Atom.
49424         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49425         (index_Slow_BSF): Define.
49426         (HAS_SLOW_BSF): Define.
49427
49428 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49429
49430         [BZ #10851]
49431         * resolv/res_init.c (__res_vinit): When no server address at all
49432         is given default to loopback.
49433
49434 2010-08-24  Roland McGrath  <roland@redhat.com>
49435
49436         * configure.in: Remove config-name.h generation.
49437         * configure: Regenerated.
49438         * config-name.in: File removed.
49439         * scripts/config-uname.sh: New file.
49440         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49441         ($(objdir)config-name.h): New target.
49442
49443         * sunrpc/rpc_parse.h: Avoid nested comment.
49444
49445 2010-08-24  Richard Henderson  <rth@redhat.com>
49446             Ulrich Drepper  <drepper@redhat.com>
49447             H.J. Lu  <hongjiu.lu@intel.com>
49448
49449         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49451         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49452         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49453         _mm_alignr_epi8 with _mm_loadu_si128.
49454         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49455         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49456         (__m128i_shift_right): Removed.
49457         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49458         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49459         * sysdeps/x86_64/multiarch/varshift.h: New file.
49460         * sysdeps/x86_64/multiarch/varshift.S: New file.
49461
49462 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49463
49464         * configure.in: Move assembler checks to before sysdep dir checking.
49465
49466 2010-08-20  Petr Baudis  <pasky@suse.cz>
49467
49468         * LICENSES: Sync the sunrpc license.
49469
49470 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49471
49472         * sunrpc/auth_des.c: Update copyright notice once again.
49473         * sunrpc/auth_none.c: Likewise.
49474         * sunrpc/auth_unix.c: Likewise.
49475         * sunrpc/authdes_prot.c: Likewise.
49476         * sunrpc/authuxprot.c: Likewise.
49477         * sunrpc/bindrsvprt.c: Likewise.
49478         * sunrpc/clnt_gen.c: Likewise.
49479         * sunrpc/clnt_perr.c: Likewise.
49480         * sunrpc/clnt_raw.c: Likewise.
49481         * sunrpc/clnt_simp.c: Likewise.
49482         * sunrpc/clnt_tcp.c: Likewise.
49483         * sunrpc/clnt_udp.c: Likewise.
49484         * sunrpc/clnt_unix.c: Likewise.
49485         * sunrpc/des_crypt.c: Likewise.
49486         * sunrpc/des_soft.c: Likewise.
49487         * sunrpc/get_myaddr.c: Likewise.
49488         * sunrpc/getrpcport.c: Likewise.
49489         * sunrpc/key_call.c: Likewise.
49490         * sunrpc/key_prot.c: Likewise.
49491         * sunrpc/openchild.c: Likewise.
49492         * sunrpc/pm_getmaps.c: Likewise.
49493         * sunrpc/pm_getport.c: Likewise.
49494         * sunrpc/pmap_clnt.c: Likewise.
49495         * sunrpc/pmap_prot.c: Likewise.
49496         * sunrpc/pmap_prot2.c: Likewise.
49497         * sunrpc/pmap_rmt.c: Likewise.
49498         * sunrpc/rpc/auth.h: Likewise.
49499         * sunrpc/rpc/auth_unix.h: Likewise.
49500         * sunrpc/rpc/clnt.h: Likewise.
49501         * sunrpc/rpc/des_crypt.h: Likewise.
49502         * sunrpc/rpc/key_prot.h: Likewise.
49503         * sunrpc/rpc/netdb.h: Likewise.
49504         * sunrpc/rpc/pmap_clnt.h: Likewise.
49505         * sunrpc/rpc/pmap_prot.h: Likewise.
49506         * sunrpc/rpc/pmap_rmt.h: Likewise.
49507         * sunrpc/rpc/rpc.h: Likewise.
49508         * sunrpc/rpc/rpc_des.h: Likewise.
49509         * sunrpc/rpc/rpc_msg.h: Likewise.
49510         * sunrpc/rpc/svc.h: Likewise.
49511         * sunrpc/rpc/svc_auth.h: Likewise.
49512         * sunrpc/rpc/types.h: Likewise.
49513         * sunrpc/rpc/xdr.h: Likewise.
49514         * sunrpc/rpc_clntout.c: Likewise.
49515         * sunrpc/rpc_cmsg.c: Likewise.
49516         * sunrpc/rpc_common.c: Likewise.
49517         * sunrpc/rpc_cout.c: Likewise.
49518         * sunrpc/rpc_dtable.c: Likewise.
49519         * sunrpc/rpc_hout.c: Likewise.
49520         * sunrpc/rpc_main.c: Likewise.
49521         * sunrpc/rpc_parse.c: Likewise.
49522         * sunrpc/rpc_parse.h: Likewise.
49523         * sunrpc/rpc_prot.c: Likewise.
49524         * sunrpc/rpc_sample.c: Likewise.
49525         * sunrpc/rpc_scan.c: Likewise.
49526         * sunrpc/rpc_scan.h: Likewise.
49527         * sunrpc/rpc_svcout.c: Likewise.
49528         * sunrpc/rpc_tblout.c: Likewise.
49529         * sunrpc/rpc_util.c: Likewise.
49530         * sunrpc/rpc_util.h: Likewise.
49531         * sunrpc/rpcinfo.c: Likewise.
49532         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49533         * sunrpc/rpcsvc/key_prot.x: Likewise.
49534         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49535         * sunrpc/rpcsvc/mount.x: Likewise.
49536         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49537         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49538         * sunrpc/rpcsvc/rex.x: Likewise.
49539         * sunrpc/rpcsvc/rstat.x: Likewise.
49540         * sunrpc/rpcsvc/rusers.x: Likewise.
49541         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49542         * sunrpc/rpcsvc/spray.x: Likewise.
49543         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49544         * sunrpc/rtime.c: Likewise.
49545         * sunrpc/svc.c: Likewise.
49546         * sunrpc/svc_auth.c: Likewise.
49547         * sunrpc/svc_authux.c: Likewise.
49548         * sunrpc/svc_raw.c: Likewise.
49549         * sunrpc/svc_run.c: Likewise.
49550         * sunrpc/svc_simple.c: Likewise.
49551         * sunrpc/svc_tcp.c: Likewise.
49552         * sunrpc/svc_udp.c: Likewise.
49553         * sunrpc/svc_unix.c: Likewise.
49554         * sunrpc/svcauth_des.c: Likewise.
49555         * sunrpc/xcrypt.c: Likewise.
49556         * sunrpc/xdr.c: Likewise.
49557         * sunrpc/xdr_array.c: Likewise.
49558         * sunrpc/xdr_float.c: Likewise.
49559         * sunrpc/xdr_mem.c: Likewise.
49560         * sunrpc/xdr_rec.c: Likewise.
49561         * sunrpc/xdr_ref.c: Likewise.
49562         * sunrpc/xdr_sizeof.c: Likewise.
49563         * sunrpc/xdr_stdio.c: Likewise.
49564
49565         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49566         handling.
49567
49568 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49569
49570         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49571
49572 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49573
49574         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49575         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49576         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49577         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49578         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49579         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49580         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49581         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49582         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49583         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49584         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49585         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49586         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49587         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49588
49589 2010-07-26  Anton Blanchard  <anton@samba.org>
49590
49591         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49592         * malloc/arena.c (heap_trim): Likewise.
49593
49594 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49595
49596         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49597         here.  Not...
49598         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49599         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49600
49601 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49602
49603         * sysdeps/i386/elf/Makefile: New file.
49604
49605 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49606
49607         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49608         from fanotify_init.
49609         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49610         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49611
49612 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49613
49614         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49615         of strncasecmp_l.
49616         * sysdeps/multiarch/strcmp.S: Likewise.
49617
49618 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49619
49620         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49621         strncase_l-nonascii.
49622         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49623         Add strncase_l-ssse3.
49624         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49625         * sysdeps/x86_64/strcmp.S: Likewise.
49626         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49627         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49628         * sysdeps/x86_64/strncase.S: New file.
49629         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49630         * sysdeps/x86_64/strncase_l.S: New file.
49631         * string/Makefile (strop-tests): Add strncasecmp.
49632         * string/test-strncasecmp.c: New file.
49633
49634         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49635         warning.
49636
49637         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49638         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49639
49640 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49641
49642         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49643
49644 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49645
49646         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49647         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49648         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49649
49650 2010-05-01  Alan Modra  <amodra@gmail.com>
49651
49652         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49653         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49654         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49655         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49656         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49657         tidying.  Don't tail-call __sigjmp_save for static lib.
49658         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49659         save location.
49660         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49661         (CALL_MCOUNT): Add eh info, and nop after bl.
49662         (TAIL_CALL_SYSCALL_ERROR): New macro.
49663         (PSEUDO_RET): Use it.
49664         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49665         Correct save location of integer regs and cr.
49666         (_dl_profile_resolve): Correct cr save location.  Delete nops
49667         after bl when SHARED.  Reduce cfi size a little by better
49668         placement of cfi directives.
49669         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49670         make a stack frame.  Instead use parm save area as a temp.
49671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49672         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49674         Don't make a stack frame for parent, use parm save area.
49675         Increase child stack frame to 112 bytes.  Don't save unused reg,
49676         and adjust reg usage.  Set up cfi on error recovery and
49677         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49679         (__makecontext): Add dummy nop after jump to exit.
49680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49681         Use correct parm save area and cr save, reduce stack frame.
49682         Correct cfi for possible PSEUDO_RET frame setup.
49683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49684         Branch to local label emitted by PSEUDO_RET rather than
49685         __syscall_error.
49686
49687 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49688
49689         [BZ #11904]
49690         * locale/programs/locale.c (print_assignment): New function.
49691         (show_locale_vars): Use it.
49692
49693 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49694
49695         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49696         field.
49697         (struct statfs64): Likewise.
49698         (_STATFS_F_FLAGS): Define.
49699         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49700         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49701         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49702         (ST_VALID): Define locally.
49703         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49704         __statvfs_getflags, use the provided value.
49705         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49706         __ASSUME_STATFS_F_FLAGS.
49707
49708         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49709
49710         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49711         Add sys/fanotify.h.
49712         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49713         fanotify_mask for GLIBC_2.13.
49714         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49715         fanotify_init and fanotify_mark.
49716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49717         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49718
49719         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49720         Add prlimit.
49721         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49722         prlimit64 for GLIBC_2.13.
49723         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49724         prlimit64.
49725         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49726         syscall.
49727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49728         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49729         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49730         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49731         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49732         add prlimit alias.
49733         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49734
49735         [BZ #11903]
49736         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49737         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49738
49739         * nss/Makefile: Add rules to build and run tst-nss-test1.
49740         * shlib-versions: Add entry for libnss_test1.
49741         * nss/nss_test1.c: New file.
49742         * nss/tst-nss-test1.c: New file.
49743
49744         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49745         (__nss_configure_lookup): Set appropriate entry in
49746         __nss_configure_lookup to true.
49747         * nss/nsswitch.h: Define enum with indeces of databases in
49748         databases and __nss_database_custom arrays.  Declare
49749         __nss_database_custom.
49750         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49751         to avoid using nscd when custom rules are installed.
49752         * nss/getXXbyYY_r.c: Likewise.
49753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49754
49755         * nss/nss_files/files-parse.c: Whitespace fixes.
49756
49757 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49758
49759         [BZ #11883]
49760         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49761         * posix/fnmatch_loop.c: Likewise.
49762
49763 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49764
49765         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49766         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49767         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49768         * Versions.def [GLIBC_2.13]: Add.
49769
49770 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49771
49772         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49773         Also fail if tpwd after pwuid call is NULL.
49774
49775 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49776
49777         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49778         when converting to ms.
49779
49780 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49781
49782         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49783         EOPNOTSUPP errors with ENOTTY.
49784         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49785         EOPNOTSUPP errors with ENOTTY.
49786
49787 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49788
49789         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49790         Add strcasecmp_l-ssse3.
49791         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49792         strcasecmp.
49793         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49794         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49795         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49796
49797 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49798
49799         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49800
49801         * string/Makefile (strop-tests): Add strcasecmp.
49802         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49803         strcasecmp_l-nonascii.
49804         (gen-as-const-headers): Add locale-defines.sym.
49805         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49806         * sysdeps/x86_64/strcasecmp.S: New file.
49807         * sysdeps/x86_64/strcasecmp_l.S: New file.
49808         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49809         * sysdeps/x86_64/locale-defines.sym: New file.
49810         * string/test-strcasecmp.c: New file.
49811
49812         * string/test-strcasestr.c: Test both ends of the range of characters.
49813         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49814
49815 2010-07-29  Roland McGrath  <roland@redhat.com>
49816
49817         [BZ #11856]
49818         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49819
49820 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49821
49822         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49823         for ld.so.
49824
49825 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49826
49827         * manual/memory.texi (Malloc Tunable Parameters): Document
49828         M_PERTURB.
49829
49830 2010-07-26  Roland McGrath  <roland@redhat.com>
49831
49832         [BZ #11840]
49833         * configure.in (-fgnu89-inline check): Set and substitute
49834         gnu89_inline, not libc_cv_gnu89_inline.
49835         * configure: Regenerated.
49836         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49837
49838 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49839
49840         * string/test-strnlen.c: New file.
49841         * string/Makefile (strop-tests): Add strnlen.
49842         * string/tester.c (test_strnlen): Add a few more test cases.
49843         * string/tst-strlen.c: Better error reporting.
49844
49845         * sysdeps/x86_64/strnlen.S: New file.
49846
49847 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49848
49849         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49850         lower-latency instructions.
49851
49852 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49853
49854         * string/test-strcasestr.c: New file.
49855         * string/test-strstr.c: New file.
49856         * string/Makefile (strop-tests): Add strstr and strcasestr.
49857         * string/str-two-way.h: Don't undefine MAX.
49858         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49859
49860 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49861
49862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49863         strcasestr-nonascii.
49864         (CFLAGS-strcasestr-nonascii.c): Define.
49865         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49866         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49867         Remove unused attribute.
49868
49869 2010-07-20  Roland McGrath  <roland@redhat.com>
49870
49871         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49872         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49873         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49874         like LD_HWCAP_MASK can disable hwcaps.
49875
49876 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49877
49878         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49879
49880 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49881
49882         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49883         call in strcasestr.
49884         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49885         __strcasestr_sse42_nonascii.
49886         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49887         strcasestr-nonascii.c.
49888         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49889
49890 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49891
49892         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49893         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49894         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49895         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49896
49897 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49898
49899         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49900         fcntl.
49901
49902 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49903
49904         [BZ #11577]
49905         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49906         dl_signal_cerror.
49907
49908 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49909
49910         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49911         _PC_PIPE_BUF using F_GETPIPE_SZ.
49912
49913 2010-07-05  Roland McGrath  <roland@redhat.com>
49914
49915         * manual/arith.texi (Rounding Functions): Fix rint description
49916         implicit in round description.
49917
49918 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49919
49920         * elf/Makefile: Fix linking for a few tests to make recent linker
49921         happy.
49922
49923 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49924
49925         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49926         $(common-objpfx)libc_nonshared.a.
49927
49928 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49929
49930         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49931         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49932         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49933         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49934         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49935         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49936         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49937         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49952         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49953         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49954         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49955         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49956         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49957         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49958         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49959         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49960         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49961         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49962         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49963         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49978
49979 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49980
49981         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49982         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49983         * string/memmove.c (memmove): Renamed to ...
49984         (MEMMOVE): ...this.  Default to memmove.
49985         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49986         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49987         (END_CHK): Define.
49988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49989         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49990         mempcpy-ssse3-back memmove-ssse3-back.
49991         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49992         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49993         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49994         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49995         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49996         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49997         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49998         * sysdeps/x86_64/multiarch/memmove.c: New file.
49999         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50000         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50001         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50002         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50003         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50004         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50005         Define.
50006         (index_Fast_Copy_Backward): Define.
50007         (HAS_ARCH_FEATURE): Define.
50008         (HAS_FAST_REP_STRING): Define.
50009         (HAS_FAST_COPY_BACKWARD): Define.
50010
50011 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50012
50013         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50014         Restore proper fallback handling.
50015
50016 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50017
50018         [BZ #11701]
50019         * posix/group_member.c (__group_member): Correct checking loop.
50020
50021         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50022         OOM in getpwuid_r correctly.  Return error number when the caller
50023         should return, otherwise -1.
50024         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50025         call returning > 0 value.
50026         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50027
50028 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50029
50030         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50031         libc_nonshared.a from targets in modules-names.
50032
50033 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50034
50035         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50036         requires it.
50037
50038 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50039
50040         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50041         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50042         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50043         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50044
50045 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50046
50047         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50048
50049 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50050
50051         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50052         and F_GETPIPE_SZ.
50053         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50054         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50055         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50057         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50058         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50059
50060 2010-06-14  Roland McGrath  <roland@redhat.com>
50061
50062         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50063
50064 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50065
50066         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50067         __REDIRECT followed by __THROW.
50068         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50069         * posix/getopt.h (getopt): Likewise.
50070
50071 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50072
50073         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50074         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50075         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50076         in AT_FLAGS.
50077         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50078         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50079
50080 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50081
50082         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50083
50084 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50085
50086         [BZ #11640]
50087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50088         Properly check family and model.
50089
50090 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50091
50092         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50093
50094 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50095
50096         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50097
50098 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50099
50100         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50101         symbol reference.
50102
50103 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50104
50105         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50106         symbol reference.
50107
50108 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50109
50110         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50111         and internal_recvmmsg.
50112         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50113         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50114         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50115         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50116
50117         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50118         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50119         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50120
50121 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50122
50123         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50124
50125 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50126
50127         POWER7 optimizations.
50128         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50129         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50130
50131 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50132
50133         * version.h: Update for 2.13 development version.
50134
50135 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50136
50137         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50138         exceptions.  Return 0.
50139
50140 2010-05-07  Roland McGrath  <roland@redhat.com>
50141
50142         * elf/ldconfig.c (main): Add a const.
50143
50144 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50145
50146         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50147         (args_options): Add no-idn option.
50148         (ahosts_keys_int): Add idn_flags to ai_flags.
50149         (parse_option): Handle 'i' option to clear idn_flags.
50150
50151         * malloc/malloc.c (_int_free): Possible race in the most recently
50152         added check.  Only act on the data if no current modification
50153         happened.
50154
50155 See ChangeLog.17 for earlier changes.