Add new Linux 3.16 constants to netinet/udp.h.
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4         (UDP_NO_CHECK6_RX): Likewise.
5
6 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7
8         * sysdeps/posix/sysconf.c (__sysconf): Spell
9         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10
11 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12
13         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14         loading.
15         * iconv/Versions (__gconv_transliterate): Export for use from
16         gconv modules.
17         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
18         (struct __gconv_trans_data, __gconv_trans_fct,
19         __gconv_trans_context_fct, __gconv_trans_query_fct,
20         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21         definitions.
22         (struct __gconv_step_data): Remove __trans member.
23         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24         longer hidden.  Remove unused trans_data argument.
25         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26         (__gconv_translit_find): Remove declaration.
27         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28         prototype.
29         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31         trans_data argument.  Add hidden definition.
32         (__gconv_translit_find): Remove.
33         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
34         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35         * iconv/skeleton.c: Remove transliteration initialization.
36         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
37         __gconv_step_data initialization.
38         * libio/iofwide.c (__libio_translit_): Remove.
39         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40         * wcsmbs/btowc.c (__btowc): Likewise.
41         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
47         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
48         * wcsmbs/wctob.c (wctob): Likewise.
49
50 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51
52         [BZ #16194]
53         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
54         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
55         register usage.
56         * sysdeps/x86/Makefile: Adjust.
57
58 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
59             Roland McGrath  <roland@hack.frob.com>
60
61         * locale/weight.h: Add include guard.
62         (findidx): Make static rather than auto; take new parameters
63         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
64         * locale/weightwc.h: Likewise.
65         * posix/fnmatch_loop.c
66         (FCT): Change type of EXTRA from int32_t to wint_t.
67         Don't include either header inside the function.
68         Call FINDIDX rather than findidx, and pass new arguments.
69         #undef FINDIDX at the end of the file.
70         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
71         FINDIDX before including fnmatch_loop.c for the non-wide version.
72         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
73         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
74         for the wide version.
75         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
76         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
77         Pass new arguments to findidx.
78         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
79         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
80         Don't #include it inside the function.  Pass new arguments to findidx.
81         * posix/regex_internal.h
82         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
83         (re_string_elem_size_at): Don't #include it inside the function.
84         Pass new arguments to findidx.
85         * string/strcoll_l.c: #include WEIGHT_H at top level.
86         (get_next_seq): Don't #include it inside the function.
87         Pass new arguments to findidx.
88         (get_next_seq_nocache): Likewise.
89         * string/strxfrm_l.c: #include WEIGHT_H at top level.
90         (STRXFRM): Don't #include it inside the function.
91         Pass new arguments to findidx.
92
93 2014-09-11  Florian Weimer  <fweimer@redhat.com>
94
95         [BZ #17344]
96         * malloc/malloc.c (unlink): Turn asserts into a call to
97         malloc_printerr.
98
99 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
100
101         [BZ #17370]
102         * libio/wfileops (do_ftell_wide): Free OUT.
103
104 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
105
106         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
107
108 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
109
110         [BZ #17363]
111         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
112         group if the current group is empty.
113
114 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
115
116         * benchtests/bench-memset.c (test_main): Add more test from size
117         from 32 to 512 bytes.
118         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
119         Add POWER8 memset object.
120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
121         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
122         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
123         implementation.
124         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
125         Likewise.
126         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
127         multiarch POWER8 memset optimization.
128         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
129         POWER8 memset optimization.
130
131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
132         Remove bzero multiarch objects.
133         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
134         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
135         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
136         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
137         Remove define.
138         [__bzero]: Redefine to specific name.
139         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
140         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
141         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
142         define.
143         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
144         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
145
146 2014-09-10  Florian Weimer  <fweimer@redhat.com>
147
148         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
149         warnings into errors.
150
151         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
152         __cxa_thread_atexit_impl prototype.
153
154 2014-09-09  Steve Ellcey  <sellcey@mips.com>
155
156         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
157         Fix capitalization of error message.
158
159 2014-09-09  Steve Ellcey  <sellcey@mips.com>
160
161         * sysdeps/mips/preconfigure: Modify ABI tests.
162
163 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
164
165         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
166
167 2014-09-07  Roland McGrath  <roland@hack.frob.com>
168             Carlos O'Donell  <carlos@systemhalted.org>
169
170         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
171         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
172         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
173         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
174         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
175         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
176         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
177         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
178         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
179         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
181         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
183         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
185         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
187         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
191         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
192         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
193         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
194         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
195         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
196         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
197         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
198         Deconditionalize the code that was previously under [RESET_PID].
199         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
200         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
201         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
202         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
203         include sysdep.h.
204
205 2014-09-08  Allan McRae  <allan@archlinux.org>
206
207         * version.h (RELEASE): Set to "development".
208         (VERSION): Set to "2.20.90"
209
210 2014-09-07  Allan McRae  <allan@archlinux.org
211
212         * version.h (RELEASE): Set to "stable".
213         (VERSION): Set to "2.20"
214         * include/features.h (__GLIBC_MINOR__): Set to 20.
215
216         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
217         Liebler.
218
219         * po/ko.po: Update Korean translation from translation project.
220
221 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
222
223         [BZ #17354]
224         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
225         macro for handling signed relocations.
226
227 2014-09-03  Florian Weimer  <fweimer@redhat.com>
228
229         [BZ #17325]
230         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
231         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
232         assert.
233         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
234         * iconvdata/ibm935.c (BODY): Likewise.
235         * iconvdata/ibm937.c (BODY): Likewise.
236         * iconvdata/ibm939.c (BODY): Likewise.
237         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
238         assert.
239         * iconvdata/Makefile (iconv-test.out): Pass module list to test
240         script.
241         * iconvdata/run-iconv-test.sh: New test loop for checking for
242         decoder crashers.
243
244 2014-09-02  Khem Raj  <raj.khem@gmail.com>
245
246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
247         libm_hidden_ver.
248
249 2014-09-01  Allan McRae  <allan@archlinux.org>
250
251         * po/eo.po: Update Esperanto translation from translation project.
252
253         * po/ca.po: Update Catalan translation from translation project.
254
255 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
256
257         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
258         __proc_dostop call.
259
260 2014-08-27  Mark Wielaard  <mjw@redhat.com>
261
262         [BZ #17319]
263         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
264         to call set_thread_area instead of hand written asm.
265         (__NR_set_thread_area): Removed define.
266         (TLS_FLAG_WRITABLE): Likewise.
267         (__ASSUME_SET_THREAD_AREA): Remove check.
268         (TLS_EBX_ARG): Remove define.
269         (TLS_LOAD_EBX): Likewise.
270
271 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
272
273         Simplify atomicity of socket creation in bind.
274
275         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
276         looking up the name after linking the file.
277
278 2014-08-27  Allan McRae  <allan@archlinux.org>
279
280         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
281
282 2014-08-26  Florian Weimer  <fweimer@redhat.com>
283
284         [BZ #17187]
285         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
286         trans_compare, open_translit, __gconv_translit_find):
287         Remove module loading code.
288
289 2014-08-26  Allan McRae  <allan@archlinux.org>
290
291         * po/vi.po: Update Vietnamese translation from translation project.
292
293         * po/uk.po: Update Ukrainian translation from translation project.
294
295         * po/fr.po: Update French translation from translation project.
296
297         * po/ru.po: Update Russian translation from translation project.
298
299         * po/pl.po: Update Polish translation from translation project.
300
301         * po/cs.po: Update Czech translation from translation project.
302
303         * po/de.po: Update German translation from translation project.
304
305         * po/bg.po: Update Bulgarian translation from translation project.
306
307         * po/sv.po: Update Sweedish translation from translation project.
308
309         * po/nl.po: Update Dutch translation from translation project.
310
311         * po/es.po: Update Spanish translation from translation project.
312
313 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
314
315         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
316
317         * catgets/Makefile (CPPFLAGS-gencat): Remove.
318         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
319         (CPPFLAGS-iconvconfig): Likewise.
320         * timezone/Makefile (CPPFLAGS-zic): Likewise.
321
322         * include/libc-symbols.h: Remove unnecessary check for
323         NOT_IN_libc.
324         * nptl/pthreadP.h: Likewise.
325         * sysdeps/aarch64/setjmp.S: Likewise.
326         * sysdeps/alpha/setjmp.S: Likewise.
327         * sysdeps/arm/sysdep.h: Likewise.
328         * sysdeps/i386/setjmp.S: Likewise.
329         * sysdeps/m68k/setjmp.c: Likewise.
330         * sysdeps/posix/getcwd.c: Likewise.
331         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
332         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
333         * sysdeps/s390/s390-32/setjmp.S: Likewise.
334         * sysdeps/s390/s390-64/setjmp.S: Likewise.
335         * sysdeps/sh/sh3/setjmp.S: Likewise.
336         * sysdeps/sh/sh4/setjmp.S: Likewise.
337         * sysdeps/unix/alpha/sysdep.h: Likewise.
338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
339         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
340         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
341         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
346         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
347         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
349         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
351         * sysdeps/x86_64/setjmp.S: Likewise.
352
353 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
354
355         [BZ #17263]
356         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
357         <stdint.h>.
358         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
359         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
360
361 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
362
363         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
364
365         [BZ #17262]
366         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
367         and __x86_64__ when disabling x87 inline functions.
368
369 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
370
371         [BZ #17259]
372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
373         asm statement with __cpuid_count.
374
375 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
376
377         * configure.ac: Change __ehdr_start code to dereference the struct.
378         Run readelf on the output to look for relocations.
379         * configure: Regenerated.
380
381 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
382
383         [BZ #17261]
384         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
385         value to 0.
386         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
387
388 2014-08-12  Roland McGrath  <roland@hack.frob.com>
389
390         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
391
392 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
393
394         [BZ #16892]
395         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
396         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
397
398 2014-08-12  Sean Anderson  <seanga2@gmail.com>
399
400         * malloc/malloc.c: Fix typo in comment.
401
402 2014-08-09  Allan McRae  <allan@archlinux.org>
403
404         * Regenerate libc.po.
405
406 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
407
408         * intl/tst-gettext2.sh: Check every lang file for creation.
409
410 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
411
412         * sysdeps/aarch64/fpu/math_private.h
413         (libc_feholdsetround_noex_aarch64_ctx): New function.
414
415 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
416
417         * sysdeps/arm/armv6/strcpy.S (strcpy):
418         Fix performance issue in misaligned cases.
419
420 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
421
422         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
423         Move definition from termios.h.
424         (struct termio): Likewise.
425         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
426         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
427         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
428         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
429         Likewise.
430         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
431         Move definition to ioctl-types.h
432         (struct termio): Likewise.
433         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
434         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
435         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
436         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
437         Likewise.
438
439 2014-08-05  Richard Henderson  <rth@redhat.com>
440
441         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
442         exceptions.
443         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
444         Add fraiseexcpt.
445         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
446         Use __feraiseexcept.
447         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
448         Protect libm symbols with IS_IN_libm.
449
450         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
451
452 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
453
454         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
455
456 2014-08-04  Will Newton  <will.newton@linaro.org>
457
458         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
459         file.
460
461 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
462
463         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
464         variants for each function.
465
466 2014-08-04  Roland McGrath  <roland@hack.frob.com>
467
468         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
469         appended ...
470         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
471         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
472         appended ...
473         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
474         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
475         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
476         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
477         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
478         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
479         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
480         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
481         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
482         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
483         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
484         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
485         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
486         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
487         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
488         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
489         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
490         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
491         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
492         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
493         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
494         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
495         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
496         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
497         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
498         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
499         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
500         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
501         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
502         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
503         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
504         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
505         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
506         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
507         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
508         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
509         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
510         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
511         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
512         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
513         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
514         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
515         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
516         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
517         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
519         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
520         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
521         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
522         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
523         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
524         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
525         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
526         Update #include.
527         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
528         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
529
530 2014-08-04  Roland McGrath  <roland@hack.frob.com>
531
532         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
533         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
534         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
535         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
536         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
537         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
538
539 2014-08-04  Roland McGrath  <roland@hack.frob.com>
540
541         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
542         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
543         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
544         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
545
546 2014-08-04  Roland McGrath  <roland@hack.frob.com>
547
548         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
549         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
550         (__libc_vfork): Define function under this name.
551         (__vfork): Define as an alias.
552         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
553         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
554
555 2014-08-04  Roland McGrath  <roland@hack.frob.com>
556
557         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
558         that was previously under [RESET_PID].
559         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
560
561 2014-08-04  Andreas Schwab  <schwab@suse.de>
562
563         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
564
565 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
566
567         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
568         (main): Likewise.
569
570 2014-08-01  Roland McGrath  <roland@hack.frob.com>
571
572         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
573
574 2014-08-01  Richard Henderon  <rth@redhat.com>
575
576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
577         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
578         typo in exact zero test.
579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
580         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
581         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
582
583 2014-08-01  Roland McGrath  <roland@hack.frob.com>
584
585         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
586         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
587         * sysdeps/arm/sysdep.h: ... here.
588         [!__ASSEMBLER__]: Include <stdint.h>.
589
590 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
591
592         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
593         (HAVE_WCTYPE_H): Likewise.
594         (HAVE_ISWCTYPE): Likewise.
595         (ENABLE_NLS): Likewise.
596         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
597         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
598
599         * posix/regex_internal.c: Check if DEBUG is defined and is
600         set.
601
602         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
603         (HAVE_MBSRTOWCS): Likewise.
604         * posix/fnmatch.c: Include string.h unconditionally.
605
606 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
607
608         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
609         reversal.
610
611 2014-07-31  Roland McGrath  <roland@hack.frob.com>
612
613         * sysdeps/generic/safe-fatal.h: New file.
614         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
615         * nptl/forward.c: Include it.
616         (__pthread_unwind): Use __safe_fatal as default action, rather
617         than a bogus use of INTERNAL_SYSCALL that could never work.
618
619         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
620         * configure.ac (libc_cv_builtin_trap): New test.
621         * configure: Regenerated.
622         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
623         (ABORT_INSTRUCTION): Define using __builtin_trap.
624
625         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
626         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
627         * sysdeps/nptl/nptl-signals.h: New file.
628         * nptl/pthreadP.h: Include <nptl-signals.h>.
629
630 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
631
632         * sysdeps/s390/s390-64/utf16-utf32-z9.c
633         (ONE_DIRECTION): Define.
634         * sysdeps/s390/s390-64/utf8-utf16-z9.c
635         (ONE_DIRECTION): Define.
636         * sysdeps/s390/s390-64/utf8-utf32-z9.c
637         (ONE_DIRECTION): Define.
638
639 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
640
641         * sysdeps/s390/Makefile: Delete file.
642         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
643         * sysdeps/s390/__longjmp.c: Delete file.
644         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
645         Remove fields __flags and __reserved.
646         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
647         and add versioning.
648         * sysdeps/s390/rtld-__longjmp.c: Delete file.
649         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
650         * sysdeps/s390/rtld-setjmp.S: Likewise.
651         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
652         * sysdeps/s390/s390-32/__longjmp.c: ... here.
653         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
654         * sysdeps/s390/s390-32/setjmp.S: ... here.
655         Add versioning.
656         (__sigsetjmp): Remove setting __flags field.
657         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
658         * sysdeps/s390/s390-64/__longjmp.c: ... here.
659         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
660         * sysdeps/s390/s390-64/setjmp.S: ... here.
661         Add versioning.
662         (__sigsetjmp): Remove setting __flags field.
663         * sysdeps/s390/setjmp.S: Delete file.
664         * sysdeps/s390/sigjmp.c: Likewise.
665         * sysdeps/s390/v1-longjmp.c: Likewise.
666         * sysdeps/s390/v1-setjmp.h: Likewise.
667         * sysdeps/s390/v1-sigjmp.c: Likewise.
668         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
669         Remove v1-longjmp_chk.
670         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
671         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
672         Include debug/longjmp_chk.c and add versioning.
673         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
674         Include nptl/pt-longjmp.c and add versioning.
675         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
676         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
677         Include __longjmp.c.
678         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
679         Move to ...
680         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
681         (__getcontext): Remove setting __flags field.
682         Add versioning.
683         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
684         Don't restore upper high grps.
685         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
686         Likewise.
687         (__swapcontext): Remove setting uc_flags field.
688         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
689         Delete file.
690         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
691         Include __longjmp.c.
692         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
693         Move to ...
694         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
695         (__getcontext): Remove setting __flags field.
696         Add versioning.
697         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
698         (__swapcontext): Remove setting uc_flags field.
699         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
700         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
701         Remove fields uc_high_gprs and __reserved.
702         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
703         New file with reverted content.
704         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
705         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
706         Regenerated.
707         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
708         Regenerated.
709
710 2014-07-31  Andreas Schwab  <schwab@suse.de>
711
712         * config.h.in (HAVE_IFUNC): Define to 0.
713         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
714         definedness.
715
716 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
717
718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
719         memmove-avx-unaligned, memcpy-avx-unaligned and
720         mempcpy-avx-unaligned.
721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
722         Add tests for AVX memcpy functions.
723         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
724         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
725         memcpy_chk.
726         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
727         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
728         memmove_chk.
729         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
730         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
731         mempcpy_chk.
732         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
733         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
734         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
735
736 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
737
738         [BZ #17213]
739         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
740         powerpc64le.
741
742 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
743
744         [BZ #16839]
745         * manual/llio.texi: Add section about open file description locks.
746         * manual/examples/ofdlocks.c: Example of open file description
747         lock usage.
748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
749         F_OFD_SETLK, and F_OFD_SETLKW.
750
751 2014-07-23  Allan McRae  <allan@archlinux.org>
752
753         * po/es.po: Update Spanish translation from translation project.
754
755 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
756
757         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
758
759 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
760
761         [BZ #17078]
762         * sysdeps/arm/dl-machine.h (elf_machine_rela)
763         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
764         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
765
766 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
767
768         [BZ #17088]
769         * math/fesetenv.c (__fesetenv)
770         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
771         * math/feupdateenv.c (__feupdateenv)
772         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
773
774         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
775         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
776         (__ASSUME_SOCKETCALL): Do not define.
777
778         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
779         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
780         (__ASSUME_SOCKETCALL): Do not define.
781         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
782         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
783         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
784         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
786         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
788         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
789
790         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
791         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
792         (__ASSUME_SOCKETCALL): Do not define.
793         (__ASSUME_IPC64): Define unconditionally.
794         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
795         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
796         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
797         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
798         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
799         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
800         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
801         Likewise.
802
803         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
804         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
805         (__ASSUME_SOCKETCALL): Do not define.
806         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
807         (__ASSUME_FUTEX_LOCK_PI): Likewise.
808         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
809         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
810         (__ASSUME_REQUEUE_PI): Define unconditionally.
811         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
812         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
813         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
814         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
816         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
817
818         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
819         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
820         (__ASSUME_SOCKETCALL): Do not define.
821         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
822         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
823         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
824         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
826         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
827
828         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
829         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
830         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
831         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
833         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
835         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
836         (__ASSUME_GETCPU_SYSCALL): Likewise.
837
838         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
839         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
840         cases for individual architectures.
841         * sysdeps/gnu/configure: Regenerated.
842         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
843         LIBC_SLIBDIR_RTLDDIR.
844         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
845         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
846         LIBC_SLIBDIR_RTLDDIR.
847         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
849         LIBC_SLIBDIR_RTLDDIR.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
851         Regenerated.
852         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
853         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
854         file.
855         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
856         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
857         file.
858         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
859         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
860         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
861         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
862
863         * sysdeps/aarch64/shlib-versions: Move to ...
864         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
865         * sysdeps/alpha/shlib-versions: Move to ...
866         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
867         * sysdeps/arm/shlib-versions: Move to ...
868         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
869         * sysdeps/hppa/shlib-versions: Move all contents except for
870         libgcc_s entry to ...
871         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
872         entry from ...
873         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
874         * sysdeps/ia64/shlib-versions: Move to ...
875         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
876         entry from ...
877         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
878         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
879         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
880         * sysdeps/microblaze/shlib-versions: Move to ...
881         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
882         * sysdeps/mips/shlib-versions: Move to ...
883         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
884         entry from ...
885         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
886         * sysdeps/tile/shlib-versions: Move to ...
887         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
888         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
889         from ...
890         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
891         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
892         entry from ...
893         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
894
895 2014-07-17  Will Newton  <will.newton@linaro.org>
896
897         * sysdeps/arm/bits/atomic.h
898         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
899         (__arch_compare_and_exchange_bool_16_int): Likewise.
900         (__arch_compare_and_exchange_bool_64_int): Likewise.
901
902         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
903         into an #else block.
904
905 2014-07-16  Roland McGrath  <roland@hack.frob.com>
906
907         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
908         just Linux configurations.  Test empirically that the compiler sets
909         __ARM_EABI__, rather than using the tuple to decide.
910         * sysdeps/arm/preconfigure: Regenerated.
911         * sysdeps/unix/sysv/linux/arm/configure: File removed.
912         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
913         contents appended ...
914         * sysdeps/arm/configure.ac: ... here.
915         * sysdeps/arm/configure: Regenerated.
916
917 2014-07-15  Roland McGrath  <roland@hack.frob.com>
918
919         * nptl/pthread_kill.c: New file.
920         * nptl/pthread_sigmask.c: New file.
921         * nptl/pthread_sigqueue.c: New file.
922
923         * sysdeps/nptl/lowlevellock.h: New file.
924         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
925         * sysdeps/nptl/lowlevellock-futex.h: New file.
926
927         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
928         Remove dead declarations.
929
930 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
931
932         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
933         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
934         config-cflags-avx2.
935         * sysdeps/x86_64/configure.ac: Likewise.
936         * sysdeps/i386/configure: Regenerated.
937         * sysdeps/x86_64/configure: Likewise.
938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
939         memset-avx2 only if config-cflags-avx2 is yes.
940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
941         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
942         defined.
943         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
944         only if HAVE_AVX2_SUPPORT is defined.
945         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
946
947 2014-07-14  Alan Modra  <amodra@gmail.com>
948
949         [BZ #17153]
950         * elf/elf.h (DT_PPC64_NUM): Correct value.
951         * NEWS: Add to fixed bug list.
952
953 2014-07-13  Jim Meyering  <meyering@fb.com>
954
955         [BZ 17150]
956         regex: don't deref NULL upon heap allocation failure
957         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
958         failure in one more place.
959         To trigger the segfault, configure grep -with-included-regex,
960         build it, and run these commands:
961         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
962
963 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
964
965         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
966
967 2014-07-11  Richard Henderson  <rth@redhat.com>
968
969         * sysdeps/aarch64/libm-test-ulps: Update.
970
971 2014-07-10  Florian Weimer  <fweimer@redhat.com>
972
973         [BZ #17135]
974         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
975         * nptl/allocatestack.c (__nptl_setxid_error): New function.
976         (__nptl_setxid): Initialize error member.  Call
977         __nptl_setxid_error.
978         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
979         * nptl/descr.h (struct xid_command): Add error member.
980         * nptl/tst-setuid3.c: New file.
981         * nptl/Makefile (tests): Add it.
982
983 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
984
985         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
986         New define.
987         (__lll_trylock): Use __lll_base_trylock.
988         (__lll_cond_trylock): Likewise.
989
990 2014-07-10  Roland McGrath  <roland@hack.frob.com>
991
992         * nptl/pthread_create.c (start_thread): Use atomic_or and
993         lll_futex_wake directly rather than lll_robust_dead.
994         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
995         (lll_robust_dead): Macro removed.
996         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
997         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
998         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
999         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1000         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1001         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1002         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1003         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1004         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1005         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1006         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1007         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1008         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1009         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1010         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1011
1012         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1013         Use atomic_compare_and_exchange_val_acq directly rather than
1014         lll_robust_trylock.
1015         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1016         (__lll_robust_trylock, lll_robust_trylock): Removed.
1017         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1018         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1019         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1020         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1021         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1022         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1023         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1024         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1025         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1026         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1027         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1028         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1029         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1030         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1031
1032 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1033
1034         * manual/locale.texi (Locale Names): New section documenting
1035         locale name syntax.  Adjust menu and node chaining accordingly.
1036         (Choosing Locale): Reference Locale Names, Locale Categories.
1037         Mention setting LC_ALL=C.  Reflect that name syntax is now
1038         documented.
1039         (Locale Categories): New section title.  Reference Locale Names.
1040         LC_ALL is an environment variable, but not a category.
1041         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1042         description, now in Locale Name.  Reference that section.  Locale
1043         name syntax is now documented.
1044
1045 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1046
1047         [BZ #17137]
1048         * locale/findlocale.c (name_present, valid_locale_name): New
1049         functions.
1050         (_nl_find_locale): Use the loc_name variable to store name
1051         candidates.  Call name_present and valid_locale_name to check and
1052         validate locale names.  Return an error if the locale is invalid.
1053
1054 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1055
1056         * locale/setlocale.c (setlocale): Use strdup for allocating
1057         composite name copy.
1058
1059 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1060
1061         Sync up with gnulib.
1062         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1063         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1064         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1065         and _GL_ARG_NONNULL.
1066         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1067         [!_LIBC]: Include code for Windows and Cygwin.
1068         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1069         Include prototype for int strerror_r.
1070         [!_LIBC] (is_open): New function.
1071         (flush_stdout): New function.
1072         (print_errno_message): Use it.
1073         (error): Likewise.
1074         (error_at_line): Likewise.
1075         (error_tail) Add function attribute macros.  Use
1076         __builtin_expect.
1077
1078         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1079
1080         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1081
1082         * io/ftw.c: Include sys/param.h unconditionally.
1083
1084         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1085
1086         [BZ #17125]
1087         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1088         libc_freeres_ptr.
1089         (freecache): New function to free CACHE on exit.
1090
1091         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1092         initialization.
1093
1094 2014-07-09  David S. Miller  <davem@davemloft.net>
1095
1096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1097
1098         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1099         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1100         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1101         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1102         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1103         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1104         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1105         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1106         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1107         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1108         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1109         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1110         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1111
1112 2014-07-09  Andreas Schwab  <schwab@suse.de>
1113
1114         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1115         output.
1116         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1117         (do_test): Likewise.
1118
1119         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1120
1121 2014-07-09  Will Newton  <will.newton@linaro.org>
1122
1123         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1124         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1125         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1126         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1127         * sysdeps/hppa/start.S (_start): Likewise.
1128
1129 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1130
1131         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1132
1133         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1134         defined.
1135
1136 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1137
1138         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1139         after checking that it is non-NULL.
1140
1141         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1142
1143 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1144
1145         * sysdeps/powerpc/memmove.c: Remove file.
1146         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1147         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1148         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1149         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1150         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1151         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1152         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1153         string memmove instead of removed powerpc one.
1154
1155         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1156         [weak_alias]: Fix compiler warning due trailing data.
1157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1158         [weak_alias]: Likewise.
1159         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1160         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1161
1162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1163         (__libc_ifunc_impl_list): Add memmove functions.
1164
1165 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1166
1167         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1168         Remove code.
1169         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1170         Likewise
1171         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1172         Likewise
1173         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1174         Likewise
1175         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1176         Likewise
1177         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1178         Likewise
1179         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1180         Likewise
1181         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1182         Likewise
1183         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1184         Likewise
1185         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1186         Likewise
1187         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1188         Likewise
1189         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1190         Likewise
1191         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1192         Likewise
1193         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1194         Likewise
1195         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1196         Likewise
1197         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1198         Likewise
1199         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1200         Likewise
1201
1202 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1203
1204         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1205         to avoid alignment traps in non-cacheable memory.
1206         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1207
1208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1209         multiarch objects.
1210         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1211         file: multiarch power7 memmove.
1212         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1213         multiarch default memmove.
1214         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1215         multiarch memove for powerpc32/power4.
1216
1217         * string/bcopy.c: Use full path to include memmove.c.
1218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1219         multiarch objects.
1220         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1221         bcopy for powerpc64.
1222         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1223         bcopy for powerpc64.
1224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1225         and memmove implementations.
1226         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1227         optimized multiarch memmove for POWER7/powerpc64.
1228         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1229         default multiarch memmove for powerpc64.
1230         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1231         multiarch for powerpc64.
1232         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1233         for POWER7/powerpc64.
1234         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1235         memmove for POWER7/powerpc64.
1236
1237         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1238         glibc default one.
1239
1240         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1241         __ELF_NATIVE_CLASS equal to 64.
1242
1243 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1244
1245         * sysdeps/nptl/lowlevellock.h: File removed.
1246
1247         * NEWS: NPTL is no longer an add-on!
1248         * nptl/internaltypes.h: Moved ...
1249         * sysdeps/nptl/internaltypes.h: ... here.
1250         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1251         * sysdeps/nptl/fork.c: Likewise.
1252         * sysdeps/nptl/gai_misc.h: Likewise.
1253         * sysdeps/nptl/librt-cancellation.c: Likewise.
1254         * sysdeps/nptl/jmp-unwind.c: Likewise.
1255         * sysdeps/nptl/setxid.h: Likewise.
1256         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1257         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1258         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1259         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1260         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1261         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1262         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1263         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1264         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1265         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1266         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1267         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1268         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1269         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1270         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1271         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1272         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1273         * nptl/Makeconfig: Moved ...
1274         * sysdeps/nptl/Makeconfig: ... here.
1275         * nptl/configure: File removed.
1276         * nptl/ANNOUNCE: File removed.
1277         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1278         * sysdeps/unix/sysv/linux/configure: Regenerated.
1279
1280         * nptl/Makefile (routines): Add libc_pthread_init,
1281         libc_multiple_threads, register-atfork and unregister-atfork.
1282         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1283         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1284         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1285         pthread-pi-defines.sym, structsem.sym.
1286         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1287         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1288         [$(subdir) = nptl] (tests): Add tst-setgetname.
1289         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1290         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1291         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1292         [!LIBC_SIGACTION]: Remove aliases.
1293         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1294         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1295         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1296         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1297         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1298         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1299         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1300         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1301         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1302         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1303         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1304         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1305         __libc_allocate_rtsig_private.
1306         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1307         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1308         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1309         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1310         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1311         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1312         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1313         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1314         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1315         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1316         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1317         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1318         * nptl/internaltypes.h: ... here.
1319         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1320         * sysdeps/nptl/jmp-unwind.c: ... here.
1321         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1322         * nptl/libc-lowlevellock.c: ... here.
1323         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1324         * nptl/libc_multiple_threads.c: ... here.
1325         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1326         * nptl/libc_pthread_init.c: ... here.
1327         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1328         * nptl/lowlevelbarrier.sym: ... here.
1329         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1330         * nptl/lowlevelcond.sym: ... here.
1331         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1332         * nptl/lowlevellock.c: ... here.
1333         * nptl/lowlevellock.h: Moved ...
1334         * sysdeps/nptl/lowlevellock.h: ... here.
1335         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1336         * nptl/lowlevelrobustlock.c: ... here.
1337         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1338         * nptl/lowlevelrobustlock.sym: ... here.
1339         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1340         * nptl/lowlevelrwlock.sym: ... here.
1341         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1342         * nptl/pt-fork.c: ... here.
1343         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1344         * nptl/pthread-pi-defines.sym: ... here.
1345         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1346         * nptl/pthread_attr_getaffinity.c: ... here.
1347         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1348         * nptl/pthread_attr_setaffinity.c: ... here.
1349         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1350         * nptl/pthread_mutex_cond_lock.c: ... here.
1351         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1352         Update #include.
1353         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1354         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1355         * nptl/pthread_once.c: ... here, replacing old file.
1356         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1357         * nptl/pthread_yield.c: ... here.
1358         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1359         * nptl/register-atfork.c: ... here.
1360         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1361         * nptl/sem_post.c: ... here.
1362         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1363         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1364         * nptl/sem_timedwait.c: ... here.
1365         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1366         * nptl/sem_trywait.c: ... here.
1367         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1368         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1369         * nptl/sem_wait.c: ... here.
1370         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1371         * nptl/structsem.sym: ... here.
1372         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1373         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1374         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1375         * nptl/unregister-atfork.c: ... here.
1376         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1377         * nptl/unwindbuf.sym: ... here.
1378         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1379         * sysdeps/nptl/fork.c: ... here.
1380         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1381         * sysdeps/nptl/fork.h: ... here.
1382         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1383         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1384         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1385         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1386         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1387         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1388         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1390         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1391         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1392         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1393         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1394         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1396         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1397         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1398         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1400         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1402         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1404         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1406         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1408         * sysdeps/unix/sysv/linux/raise.c: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1410         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1412         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1413         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1414         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1415         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1416         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1417         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1418         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1420         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1421         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1422         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1423         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1424
1425 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1426
1427         * sysdeps/generic/memcopy.h: Add comment for
1428         MEMCPY_OK_FOR_FWD_MEMMOVE.
1429
1430 2014-07-04  Will Newton  <will.newton@linaro.org>
1431
1432         * string/memchr.c: Merge from gnulib.
1433         [_LIBC]: Remove conditionals.
1434         (__ptr_t): Remove define.
1435         (LONG_MAX_32_BITS): Likewise.
1436         (LONG_MAX): Likewise.
1437         (MEMCHR): Use ANSI prototype and optimize algorithm.
1438
1439         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1440
1441 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1442
1443         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1444         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1445
1446         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1447         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1448         in a bare environment with no <stdlib.h> installed.
1449         * sysdeps/nptl/configure: Regenerated.
1450
1451         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1452
1453         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1454         AC_EGREP_CPP for kernel header checks, so they only succeed if
1455         including <linux/version.h> actually works right.
1456         * sysdeps/unix/sysv/linux/configure: Regenerated.
1457
1458         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1459         value so it's not diagnosed as unused.
1460
1461         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1462         thing) with "ifeq ($(subdir),rt)".
1463
1464 2014-07-03  Richard Henderson  <rth@redhat.com>
1465
1466         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1467         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1468         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1469
1470         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1471         (math_force_eval): New.
1472
1473         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1474         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1475
1476         * sysdeps/alpha/fpu/s_round.c: Remove file.
1477         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1478
1479         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1480         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1481         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1482         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1483         (_dl_start, print_statistics): Likewise.
1484         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1485         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1486
1487         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1488         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1489         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1490         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1491         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1492         (HP_SMALL_TIMING_AVAIL): Define.
1493         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1494         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1495         (HP_SMALL_TIMING_AVAIL): Define.
1496         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1497         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1498
1499         * sysdeps/aarch64/hp-timing.h: New file.
1500
1501         * sysdeps/generic/hp-timing.h: Remove dead comment.
1502         * sysdeps/generic/hp-timing-common.h: New file.
1503         * sysdeps/alpha/hp-timing.h: Include it.
1504         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1505         * sysdeps/i386/i686/hp-timing.h: Likewise.
1506         * sysdeps/ia64/hp-timing.h: Likewise.
1507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1508         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1509         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1510         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1511         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1512         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1513         (hp_timing_t): New.
1514
1515         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1516         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1517         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1518         * elf/rtld.c (_dl_start_final): Likewise.
1519         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1520         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1521         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1522         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1523         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1524         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1525         (HP_TIMING_DIFF_INIT): Remove.
1526         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1527         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1528         (HP_TIMING_DIFF_INIT): Remove.
1529         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1530         * sysdeps/i386/i686/hp-timing.c: Remove file.
1531         * sysdeps/x86_64/hp-timing.c: Remove file.
1532         * sysdeps/ia64/hp-timing.c: Remove file.
1533         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1534         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1536         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1537
1538         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1539         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1540         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1541         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1543         (HP_TIMING_ACCUM): Remove.
1544         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1546         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1547
1548         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1549         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1550         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1551         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1552         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1553         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1554         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1555         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1556
1557         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1558
1559 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1560
1561         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1562
1563 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1564
1565         Sync up with gettext.
1566         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1567         [_MSC_VER]: Include malloc.h
1568         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1569         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1570         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1571         TEMP_FAILURE_RETRY.  Cast return of alloca.
1572         [!_LIBC] Call gl_rwlock_init.
1573         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1574
1575 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1576
1577         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1578         before checking its value.
1579
1580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1581
1582         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1583
1584         * debug/memcpy_chk.c: Don't include pagecopy.h.
1585         * debug/mempcpy_chk.c: Likewise.
1586         * string/memcpy.c: Likewise.
1587         * string/memmove.c: Likewise.
1588         * sysdeps/powerpc/memmove.c: Likewise.
1589         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1590         definition of PAGE_COPY_FWD_MAYBE here...
1591         * sysdeps/generic/pagecopy.h: ... from here.
1592         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1593
1594 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1595             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1596
1597         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1599         optimizations.
1600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1601         (__libc_ifunc_impl_list): Likewise.
1602         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1603         multiarch strcat for PPC64.
1604         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1605         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1606
1607 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1608
1609         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1610
1611 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1612
1613         * intl/loadmsgcat.c: Remove declaration of
1614         get_sysdep_segment_value.
1615         (get_sysdep_segment_value): Use ISO C style.
1616         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1617         semicolon.  Fix typo and formatting in comment.
1618         (_nl_unload_domain): Use ISO C style.
1619
1620         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1621
1622 2014-07-02  Will Newton  <will.newton@linaro.org>
1623
1624         * malloc/obstack.c: Merge from gnulib master.
1625         [HAVE_CONFIG_H]: Remove conditional code.
1626         [!_LIBC]: Include config.h.
1627         [!ELIDE_CODE]: Don't include inttypes.h, include
1628         stdint.h unconditionally.
1629         (print_and_abort): Mark as _Noreturn.
1630         (_obstack_allocated_p): Mark as __attribute_pure__.
1631         (obstack_free): Rename to __obstack_free.
1632         [!__attribute__]: Remove conditional code.
1633         * malloc/obstack.h: Merge from gnulib master.
1634         [__cplusplus]: Move conditional down.
1635         [!__attribute_pure__]: Define __attribute_pure__ here
1636         if it is not already defined.
1637         (_obstack_memory_used): Mark as __attribute_pure__.
1638         [!__obstack_free]: Define as obstack_free.
1639         [__GNUC__]: Remove check for ancient NeXT gcc.
1640
1641 2014-07-02  Will Newton  <will.newton@linaro.org>
1642             Paul Eggert  <eggert@cs.ucla.edu>
1643
1644         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1645
1646 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1647
1648         * resolv/gethnamaddr.c: Add comment warning that the file is
1649         not maintained.
1650
1651 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1652
1653         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1654         entries.
1655
1656         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1657         entry for aio_cancel and aio_cancel64.
1658         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1659         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1660         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1661         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1662         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1663         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1664         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1665         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1666         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1667         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1668         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1669         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1670         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1671
1672 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1673
1674         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1675         * nptl/pthread_mutex_lock.c: Likewise.
1676         * nptl/pthread_mutex_timedlock.c: Likewise.
1677         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1678
1679 2014-07-01  Richard henderson  <rth@redhat.com>
1680
1681         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1682         (__isnan, __isnanl): Remove.
1683         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1684
1685         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1686
1687 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1688
1689         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1690
1691 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1692
1693         * resolv/nss_dns/dns-host.c (getanswer_r)
1694         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1695
1696 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1697
1698         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1699         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1700         undefine.
1701         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1702         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1703
1704 2014-07-01  Roland McGrath <roland@hack.frob.com>
1705
1706         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1707         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1708
1709         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1710         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1711
1712         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1713         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1714         ... here.
1715         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1716         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1717
1718         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1719         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1720         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1721         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1722
1723         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1724         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1725         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1726         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1727         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1728         Moved ...
1729         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1730         ... here.
1731         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1732         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1733         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1734         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1735         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1736         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1737         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1738         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1739         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1740         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1741         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1742         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1743         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1744         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1745         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1746         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1747         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1748         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1749         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1750         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1751         ... here.
1752         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1753         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1754         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1755         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1756         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1757         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1758         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1759         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1760
1761 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1762
1763         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1764         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1765         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1766         Add sysdep.
1767
1768 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1769
1770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1771
1772 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1773
1774         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1775         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1776
1777         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1778
1779         * sysdeps/arm/libm-test-ulps: Regenerated.
1780
1781 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1782             Roland McGrath <roland@hack.frob.com>
1783
1784         * test-skeleton.c (signal_handler): Kill the whole process group
1785         before killing the child individually.
1786         (main): Report any failure on `setpgid'.
1787
1788 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1789
1790         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1791         from _TLS_H to _ARM_NPTL_TLS_H.
1792         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1793         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1794
1795 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1796
1797         [BZ #16539]
1798         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1799         (__expm1l): Return argument unchanged when small but not
1800         subnormal.
1801
1802         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1803         include macro name.
1804         (_FP_UNPACK_RAW_1_P): Likewise.
1805         (_FP_PACK_RAW_1): Likewise.
1806         (_FP_PACK_RAW_1_P): Likewise.
1807         (_FP_MUL_MEAT_1_wide): Likewise.
1808         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1809         (_FP_MUL_MEAT_1_hard): Likewise.
1810         (_FP_DIV_MEAT_1_imm): Likewise.
1811         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1812         (_FP_DIV_MEAT_1_udiv): Likewise.
1813         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1814         (_FP_UNPACK_RAW_2): Likewise.
1815         (_FP_UNPACK_RAW_2_P): Likewise.
1816         (_FP_PACK_RAW_2): Likewise.
1817         (_FP_PACK_RAW_2_P): Likewise.
1818         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1819         (_FP_MUL_MEAT_2_wide): Likewise.
1820         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1821         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1822         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1823         (_FP_MUL_MEAT_2_gmp): Likewise.
1824         (_FP_DIV_MEAT_2_udiv): Likewise.
1825         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1826         (_FP_FRAC_SRL_4): Likewise.
1827         (_FP_FRAC_SRST_4): Likewise.
1828         (_FP_FRAC_SRS_4): Likewise.
1829         (_FP_UNPACK_RAW_4): Likewise.
1830         (_FP_UNPACK_RAW_4_P): Likewise.
1831         (_FP_PACK_RAW_4): Likewise.
1832         (_FP_PACK_RAW_4_P): Likewise.
1833         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1834         (_FP_MUL_MEAT_4_wide): Likewise.
1835         (_FP_MUL_MEAT_4_gmp): Likewise.
1836         (umul_ppppmnnn): Likewise.
1837         (_FP_DIV_MEAT_4_udiv): Likewise.
1838         (__FP_FRAC_ADD_4): Likewise.
1839         (__FP_FRAC_SUB_3): Likewise.
1840         (__FP_FRAC_SUB_4): Likewise.
1841         (__FP_FRAC_DEC_3): Likewise.
1842         (__FP_FRAC_DEC_4): Likewise.
1843         (__FP_FRAC_ADDI_4): Likewise.
1844         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1845         (_FP_FRAC_SRL_8): Likewise.
1846         (_FP_FRAC_SRS_8): Likewise.
1847
1848         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1849         include macro name.
1850         (FP_UNPACK_RAW_EP): Likewise.
1851         (FP_PACK_RAW_E): Likewise.
1852         (FP_PACK_RAW_EP): Likewise.
1853         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1854         (_FP_ISSIGNAN): Likewise.
1855         (_FP_ADD_INTERNAL): Likewise.
1856         (_FP_FMA): Likewise.
1857         (_FP_CMP): Likewise.
1858         (_FP_SQRT): Likewise.
1859         (_FP_TO_INT): Likewise.
1860         (_FP_FROM_INT): Likewise.
1861         (FP_EXTEND): Likewise.
1862         (_FP_DIV_MEAT_N_loop): Likewise.
1863
1864 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1865
1866         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1867         throughout.
1868
1869 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1870
1871         [BZ #17097]
1872         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1873         result with correct sign in case of exponents that produce
1874         overflow except for X very close to 1.
1875
1876 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1877
1878         mktime: merge #if/#ifdef usage from glibc
1879         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1880         as that works with both Glibc's and Gnulib's style.
1881         See thread starting at Siddhesh Poyarekar's bug report at:
1882         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1883
1884 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1885
1886         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1887         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1888         * sysdeps/tile/tilegx/memmove.c: Remove file.
1889
1890 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1891
1892         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1893         abi-name definition.
1894         * scripts/soversions.awk: Do not handle or generate ABI lines.
1895         * shlib-versions: Remove ABI entries.
1896         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1897         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1898
1899 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1900
1901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1902         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1903         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1904         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1906         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1908         Moved ...
1909         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1910         ... here.
1911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1912         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1914         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1916         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1918         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1920         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1922         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1924         Moved ...
1925         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1927         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1929         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1931         Moved ...
1932         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1934         Moved ...
1935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1937         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1939         Moved ...
1940         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1942         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1944         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1948         Moved ...
1949         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1951         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1952         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1953         Moved ...
1954         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1956         Moved ...
1957         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1959         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1961         Moved ...
1962         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1963         ... here.
1964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1965         Identical file removed.
1966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1967         Moved ...
1968         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1970         Identical file removed.
1971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1974         Moved ...
1975         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1977         Identical file removed.
1978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1979         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1981         Identical file removed.
1982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1983         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1985         Identical file removed.
1986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1987         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1989         Identical file removed.
1990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1991         Moved ...
1992         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1994         Identical file removed.
1995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1996         Moved ...
1997         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1999         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2001         Identical file removed.
2002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2003         Moved ...
2004         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2005         ... here.
2006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2007         Identical file removed.
2008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2009         Moved ...
2010         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2012         Identical file removed.
2013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2014         Moved ...
2015         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2017         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2019         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2021         Moved ...
2022         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2024         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2025
2026         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2027         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2028         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2029         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2030         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2031
2032 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2033
2034         [BZ #17092]
2035         * nscd/nscd.c (monitor_child): Return exit status of child
2036         instead of return value from wait syscall.
2037
2038 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2039
2040         * configure.ac (libc_commonpagesize): Remove variable.
2041         (libc_relro_required): Likewise.
2042         (libc_cv_z_relro): Remove configure test.
2043         * configure: Regenerated.
2044         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2045         variable.
2046         (libc_relro_required): Likewise.
2047         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2048         (libc_relro_required): Likewise.
2049         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2050         (libc_relro_required): Likewise.
2051         * sysdeps/arm/preconfigure: Regenerated.
2052         * sysdeps/ia64/preconfigure: Remove file.
2053         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2054         variable.
2055         (libc_relro_required): Likewise.
2056
2057         [BZ #16561]
2058         [BZ #16562]
2059         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2060         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2061         recompute overflowing results in original rounding mode.
2062         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2063         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2064         recompute overflowing results in original rounding mode.
2065         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2066         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2067         recompute overflowing results in original rounding mode.
2068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2069         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2070         recompute overflowing results in original rounding mode.
2071         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2072         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2073         recompute overflowing results in original rounding mode.
2074         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2075         (libc_feholdsetround_ctx): New macro.
2076         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2077         * sysdeps/i386/fpu/libm-test-ulps: Update.
2078         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2079
2080 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2081
2082         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2083         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2084         corresponding .cpsetup call.
2085
2086 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2087
2088         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2089         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2090         * sysdeps/arm/Makefile [$(subdir) = csu]
2091         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2092         (static-only-routines): Add aeabi_read_tp here.
2093         (shared-only-routines): Add libc-aeabi_read_tp here.
2094         (CFLAGS-libc-start.c): Add -fexceptions here.
2095         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2096         (sysdep_routines, static-only-routines, shared-only-routines):
2097         Don't add to these here.
2098         (CFLAGS-libc-start.c): Likewise.
2099
2100         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2101         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2102         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2103         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2104         * sysdeps/arm/Makefile [$(subdir) = rt]
2105         (librt-sysdep_routines, librt-shared-only-routines):
2106         Append rt-aeabi_unwind_cpp_pr1 here.
2107         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2108         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2109         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2110         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2111         Append nptl-aeabi_unwind_cpp_pr1 here.
2112         (tests): Filter out tst-cleanupx4 here.
2113         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2114         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2115         Don't do those here.
2116
2117 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2118
2119         * scripts/list-sources.sh: Do not handle ports specially.
2120
2121 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2122
2123         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2124         * sysdeps/arm/feupdateenv.c: Likewise.
2125
2126         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2127
2128 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2129
2130         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2131         trailing whitespace removed.
2132         * scripts/config.guess: Update to version 2014-03-23.
2133         * scripts/config.sub: Update to version 2014-05-01
2134         * scripts/install-sh: Update to version 2013-12-25.23.
2135         * scripts/move-if-change: Update from gnulib.
2136
2137 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2138
2139         * debug/memmove_chk.c: Remove pagecopy.h include.
2140
2141 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2142
2143         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2144         identical to gnulib mktime.
2145
2146 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2147
2148         * configure.ac: Do not test for machine being rs6000.  Do not test
2149         for powerpc*-*soft.
2150         * configure: Regenerated.
2151
2152         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2153         test.
2154         * configure: Regenerated.
2155         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2156         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2157         Remove configure test.
2158         * sysdeps/arm/configure: Regenerated.
2159         * sysdeps/nptl/configure.ac: Do not check
2160         libc_cv_asm_cfi_directives.
2161         * sysdeps/nptl/configure: Regenerated.
2162         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2163         * sysdeps/x86_64/nptl/configure: Remove generated file.
2164         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2165         unconditional.
2166         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2167
2168 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2169
2170         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2171         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2172         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2173         it is defined.
2174
2175         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2176         instead of whether it is defined.
2177         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2178         * sysdeps/hppa/dl-machine.h: Likewise.
2179         * sysdeps/ia64/dl-machine.h: Likewise.
2180         * sysdeps/m68k/dl-machine.h: Likewise.
2181         * sysdeps/microblaze/dl-machine.h: Likewise.
2182         * sysdeps/mips/dl-machine.: Likewise.
2183         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2184         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2185         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2186         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2187         * sysdeps/sh/dl-machine.h: Likewise.
2188         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2189         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2190         * sysdeps/tile/dl-machine.h: Likewise.
2191         * sysdeps/x86_64/dl-machine.h: Likewise.
2192
2193         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2194         code.
2195         (verify_persistent_db): Likewise.
2196
2197 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2198
2199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2200         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2202         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2204         Moved ...
2205         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2206         ... here.
2207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2208         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2210         Identical file removed.
2211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2212         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2214         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2216         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2218         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2220         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2222         Moved ...
2223         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2225         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2227         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2229         Moved ...
2230         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2232         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2234         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2236         Identical file removed.
2237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2238         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2240         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2242         Moved ...
2243         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2244         ... here.
2245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2246         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2248         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2250         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2252         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2254         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2256         Moved ...
2257         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2259         Moved ...
2260         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2262         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2264         Moved ...
2265         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2267         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2268
2269         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2270         folded into ...
2271         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2272         * sysdeps/unix/sysv/linux/s390/Versions
2273         (libpthread: GLIBC_2.19): New version set.
2274         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2275         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2276         (librt: GLIBC_2.3.3): New version set.
2277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2278         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2279         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2280         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2281         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2282         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2283         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2284         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2285         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2286         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2287         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2288         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2289         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2290         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2291         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2292         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2293         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2294         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2295         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2296         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2297         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2298         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2299         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2300         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2301         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2302         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2303         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2304         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2305         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2306         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2307         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2308         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2310         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2313         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2315         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2316         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2317         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2319         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2321         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2322
2323         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2324         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2325         (__libc_vfork): Define the function under this name.
2326         [!NOT_IN_libc] (__vfork): Make this an alias.
2327         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2328         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2329         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2330         (__libc_vfork): Define the function under this name.
2331         [!NOT_IN_libc] (__vfork): Make this an alias.
2332         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2333         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2334         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2336         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2337         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2338
2339         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2340         code that was previously under [RESET_PID].
2341         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2342         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2344
2345         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2346         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2347         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2348         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2349         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2350         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2351         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2352         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2353         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2354         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2355         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2356         Moved ...
2357         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2359         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2360         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2365         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2366         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2367         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2371         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2375         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2379         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2380         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2381         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2382         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2383         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2385         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2386
2387 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2388
2389         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2390         that was previously under [RESET_PID].
2391         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2392
2393 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2394
2395         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2396         not undefine and redefine.
2397         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2398         [O_CLOEXEC]: Make code unconditional.
2399         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2400         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2401         <kernel-features.h>.
2402         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2403         conditional variable definition.
2404         (shm_open) [O_CLOEXEC]: Make code unconditional.
2405         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2406         code.
2407
2408         * configure.ac (USE_REGPARMS): Don't define here.
2409         * configure: Regenerated.
2410         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2411         * sysdeps/i386/configure: Regenerated.
2412
2413         * nptl/createthread.c: Don't include kernel-features.h.
2414         * nptl/pthread_cancel.c: Likewise.
2415         * nptl/pthread_condattr_setclock.c: Likewise.
2416         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2417         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2418         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2419         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2420         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2421         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2422         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2425         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2426         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2427         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2428         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2429         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2430         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2431         * nscd/gai.c: Likewise.
2432         * nss/nss_db/db-open.c: Likewise.
2433         * sysdeps/generic/ldsodefs.h: Likewise.
2434         * sysdeps/sh/nptl/tls.h: Likewise.
2435         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2436         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2437         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2438         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2439         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2440         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2441         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2442         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2443         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2444         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2445         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2446         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2447         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2448         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2449         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2450         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2451         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2452         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2453         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2454         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2455         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2457         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2458         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2459         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2463         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2464         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2465         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2466         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2467         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2468         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2469         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2470         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2471         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2472         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2473         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2474         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2475         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2476         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2477         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2478         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2479         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2480         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2481         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2482         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2483         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2484         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2485         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2486         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2487         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2488         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2489         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2490         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2491         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2492         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2515         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2516         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2517         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2518         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2519         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2520         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2521         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2522         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2523         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2524         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2525         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2526         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2527         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2528         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2529         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2530         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2531         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2532         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2533         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2534         * sysdeps/unix/sysv/linux/system.c: Likewise.
2535         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2536         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2537         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2538         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2539         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2540         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2541         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2542
2543         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2544         * configure: Regenerated.
2545         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2546
2547         * configure.ac (base_machine): Do not set specially for particular
2548         machines here.
2549         * configure: Regenerated.
2550         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2551         settings from configure.ac.
2552         * sysdeps/i386/preconfigure: New file.
2553         * sysdeps/s390/preconfigure: Likewise.
2554         * sysdeps/sh/preconfigure: Likewise.
2555         * sysdeps/sparc/preconfigure: Likewise.
2556
2557 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2558
2559         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2560         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2561         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2562         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2563         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2564         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2565         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2566         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2567         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2568         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2569         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2570         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2571         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2572         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2573         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2574         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2575         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2576         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2577         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2578
2579         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2580         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2581         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2582         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2583         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2584         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2585         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2586         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2587         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2588         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2589         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2590         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2591         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2592         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2593         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2594         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2595         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2596         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2597         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2598         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2599         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2600         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2601         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2602         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2603         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2604         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2605         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2606         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2607         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2608         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2609         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2610         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2611         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2612         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2613         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2614         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2615         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2616         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2617
2618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2619         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2621         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2623         Moved ...
2624         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2625         ... here.
2626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2627         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2629         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2631         Moved ...
2632         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2634         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2636         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2638         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2640         Moved ...
2641         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2643         Moved ...
2644         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2646         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2648         Moved ...
2649         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2651         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2653         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2655         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2657         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2659         Moved ...
2660         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2661         ... here.
2662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2663         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2665         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2667         Moved ...
2668         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2670         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2672         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2674         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2676         Moved ...
2677         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2679         Moved ...
2680         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2682         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2684         Moved ...
2685         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2687         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2689         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2690
2691 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2692
2693         * timezone/checktab.awk: Update from tzcode 2014e.
2694         * timezone/private.h: Likewise.
2695         * timezone/tzfile.h: Likewise.
2696         * timezone/zdump.c: Likewise.
2697         * timezone/zic.c: Likewise.
2698
2699         * sysdeps/unix/sysv/linux/kernel-features.h
2700         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2701         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2702         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2703         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2704         Remove conditional code.
2705
2706 2014-06-25  Will Newton  <will.newton@linaro.org>
2707
2708         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2709         (_dl_arm_cap_flags): Add HWCAP2 values.
2710         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2711         (_DL_HWCAP_COUNT): Increase to 37.
2712         (_DL_HWCAP_LAST): New define.
2713         (_DL_HWCAP2_LAST): New define.
2714         (_dl_procinfo): Add support for printing
2715         AT_HWCAP2 entries.
2716         (_dl_string_hwcap): Use _dl_hwcap_string.
2717
2718 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2719
2720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2721
2722 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2723
2724         * README: Do not mention ports directory.
2725
2726         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2727         Remove macro.
2728         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2729         <kernel-features.h>.
2730         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2731         conditional variable definition.
2732         (__futimes): Update comment.
2733         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2734         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2735
2736         [BZ #16560]
2737         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2738         arguments close to 0.
2739         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2740         Likewise.
2741         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2742         Likewise.
2743         * math/auto-libm-test-in: Add more tests of exp10.
2744         * math/auto-libm-test-out: Regenerated.
2745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2746
2747         * sysdeps/unix/sysv/linux/kernel-features.h
2748         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2749         * sysdeps/unix/sysv/linux/readv.c: Do not include
2750         <kernel-features.h>.
2751         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2752         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2753         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2754         unconditional.
2755         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2756         conditional code.
2757         * sysdeps/unix/sysv/linux/writev.c: Do not include
2758         <kernel-features.h>.
2759         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2760         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2761         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2762         unconditional.
2763         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2764         conditional code.
2765
2766 2014-06-25  Will Newton  <will.newton@linaro.org>
2767
2768         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2769         comment changes throughout the file.  Remove checks
2770         for HAVE_*_H definitions that are not required.
2771         (__gen_tempname): Call abort if an unknown kind value is
2772         passed.
2773
2774 2014-06-25  Andreas Schwab  <schwab@suse.de>
2775
2776         [BZ #17086]
2777         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2778         scalbln, scalblnf, scalblnl in libc.
2779
2780 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2781
2782         [BZ #17086]
2783         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2784         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2785         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2786
2787 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2788
2789         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2790         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2791         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2792         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2793         Update #include.
2794         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2795         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2796         Update #include.
2797         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2798         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2799         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2800         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2801         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2802         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2803         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2804         * sysdeps/x86/bits/semaphore.h: ... here.
2805         * sysdeps/x86/nptl/elide.h: Moved ...
2806         * sysdeps/x86/elide.h: ... here.
2807         * sysdeps/x86_64/nptl/Implies: File removed.
2808         * sysdeps/i386/nptl/Implies: File removed.
2809
2810 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2811
2812         [BZ #16539]
2813         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2814         return the argument for normal arguments with exponent below -64.
2815         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2816         Likewise.
2817         * math/auto-libm-test-in: Add another test of expm1.
2818         * math/auto-libm-test-out: Regenerated.
2819
2820         [BZ #16287]
2821         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2822         calling __erfcl for arguments at least 16.
2823         * math/auto-libm-test-in: Add more tests of erf.
2824         * math/auto-libm-test-out: Regenerated.
2825
2826         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2827         individual architectures.
2828         * sysdeps/unix/sysv/linux/configure: Regenerated.
2829         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2830         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2831         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2832         (ldd_rewrite_script): Define variable.
2833         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2835         file.
2836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2837         generated file.
2838         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2839         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2840         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2841         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2842         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2843         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2844         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2845         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2846
2847 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2848
2849         [BZ #17084]
2850         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2851         Rename member __data.d to __data.__elision_data.
2852
2853 2014-06-24  Wilco  <wdijkstr@arm.com>
2854
2855         * NEWS: Add 16918 to fixed bug list.
2856
2857 2014-06-24  Wilco  <wdijkstr@arm.com>
2858
2859         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2860
2861 2014-06-24  Wilco  <wdijkstr@arm.com>
2862
2863         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2864         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2865         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2866         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2867         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2868         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2869         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2870         Use _FPU_MASK_RM.
2871
2872 2014-06-24  Wilco  <wdijkstr@arm.com>
2873
2874         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2875
2876 2014-06-24  Wilco  <wdijkstr@arm.com>
2877
2878         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2879         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2880         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2881         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2882
2883 2014-06-24  Wilco  <wdijkstr@arm.com>
2884
2885         [BZ #16918]
2886         * sysdeps/arm/feupdateenv.c (feupdateenv):
2887         Rewrite to reduce FPSCR accesses and fix return value.
2888
2889 2014-06-24  Wilco  <wdijkstr@arm.com>
2890
2891         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2892         Optimize to avoid unnecessary FPSCR writes.
2893         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2894         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2895         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2896         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2897
2898 2014-06-24  Wilco  <wdijkstr@arm.com>
2899
2900         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2901         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2902         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2903         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2904         Call libc_fetestexcept_vfp.
2905         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2906         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2907         __SOFTFP__ ifdef so that they can be built for softfp.
2908
2909 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2910
2911         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2912         argument type signed char.
2913
2914         * Makerules (check-abi): Dump diff of symlist if the test
2915         fails.
2916
2917 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2918
2919         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2920         using abort.
2921
2922         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2923         Remove unused variable ST.
2924
2925 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2926
2927         [BZ #16354]
2928         [BZ #17061]
2929         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2930         small arguments before calling __expm1.
2931         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2932         small arguments before calling __expm1f.
2933         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2934         small arguments before calling __expm1l.
2935         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2936         Likewise.
2937         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2938         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2939         spurious underflow for some cosh tests.
2940         * math/auto-libm-test-out: Regenerated.
2941         * sysdeps/i386/fpu/libm-test-ulps: Update.
2942
2943         [BZ #17050]
2944         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2945         (__ieee754_y1): Set errno if return value overflows.
2946         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2947         (__ieee754_y1f): Set errno if return value overflows.
2948         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2949         (__ieee754_y1l): Set errno if return value overflows.
2950         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2951         (__ieee754_y1l): Set errno if return value overflows.
2952         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2953         * math/auto-libm-test-out: Regenerated.
2954
2955         * math/gen-auto-libm-tests.c: Document use of
2956         ignore-zero-inf-sign.
2957         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2958         (input_flags): Add ignore-zero-inf-sign.
2959         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2960         * math/gen-libm-test.pl (generate_testfile): Handle
2961         ignore-zero-inf-sign.
2962         * math/auto-libm-test-in: Mark some cpow tests with
2963         ignore-zero-inf-sign and some with xfail-rounding.
2964         * math/auto-libm-test-out: Regenerated.
2965         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2966         * sysdeps/i386/fpu/libm-test-ulps: Update.
2967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2968
2969         [BZ #16315]
2970         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2971         overflowing or underflowing operations take place with sign of
2972         result.
2973         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2974         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2975         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2976         (__ieee754_pow): Recompute overflowing and underflowing results in
2977         original rounding mode.
2978         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2979         (__powl_helper): Allow negative argument X and scale negated value
2980         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2981         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2982         overflowing or underflowing operations take place with sign of
2983         result.
2984         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2985         Include <math.h>.
2986         * math/auto-libm-test-in: Add more tests of pow.
2987         * math/auto-libm-test-out: Regenerated.
2988         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2989         (pow_tonearest_test_data): Remove.
2990         (pow_test_tonearest): Likewise.
2991         (pow_towardzero_test_data): Likewise.
2992         (pow_test_towardzero): Likewise.
2993         (pow_downward_test_data): Likewise.
2994         (pow_test_downward): Likewise.
2995         (pow_upward_test_data): Likewise.
2996         (pow_test_upward): Likewise.
2997         (main): Don't call removed functions.
2998         * sysdeps/i386/fpu/libm-test-ulps: Update.
2999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3000
3001 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3002
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3004         Moved ...
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3007         Moved ...
3008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3010         Moved ...
3011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3013         Moved ...
3014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3016         File removed.
3017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3018         File removed.
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3020         File removed.
3021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3022         File removed.
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3024         File removed.
3025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3026         File removed.
3027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3028         File removed.
3029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3030         File removed.
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3032         File removed.
3033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3034         File removed.
3035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3036         File removed.
3037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3038         File removed.
3039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3040         Moved ...
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3043         Moved ...
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3045         ... here.
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3047         Moved ...
3048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3050         Moved ...
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3053         Moved ...
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3056         Moved ...
3057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3059         Moved ...
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3062         Moved ...
3063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3065         Moved ...
3066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3069         ... here.
3070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3071         Moved ...
3072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3074         Moved ...
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3076         ... here.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3078         Moved ...
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3080         ... here.
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3082         Moved ...
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3084         ... here.
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3086         Moved ...
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3089         Moved ...
3090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3094         Moved ...
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3096         ... here.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3098         Moved ...
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3100         ... here.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3102         Moved ...
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3105         Moved ...
3106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3108         Moved ...
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3111         Moved ...
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3114         Moved ...
3115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3116         ... here.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3118         Moved ...
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3121         Moved ...
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3124         Moved ...
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3127         Moved ...
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3135         Moved ...
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3138         Moved ...
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3140         ... here.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3142         Moved ...
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3144         ... here.
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3146         Moved ...
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3148         ... here.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3150         Moved ...
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3153         Moved ...
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3156         Moved ...
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3159         Moved ...
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3161         ... here.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3163         Moved ...
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3165         ... here.
3166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3167         Moved ...
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3169         ... here.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3171         Moved ...
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3174         Moved ...
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3176
3177 2014-06-23  Will Newton  <will.newton@linaro.org>
3178             Wilco  <wdijkstr@arm.com>
3179
3180         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3181         implementation.  Include get-rounding-mode.h.
3182         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3183         [!libc_feholdsetround_noex_ctx]: Define
3184         libc_feholdsetround_noex_ctx.
3185         [!libc_feholdsetround_noexf_ctx]: Define
3186         libc_feholdsetround_noexf_ctx.
3187         [!libc_feholdsetround_noexl_ctx]: Define
3188         libc_feholdsetround_noexl_ctx.
3189         (libc_feholdsetround_ctx): New function.
3190         (libc_feresetround_ctx): New function.
3191         (libc_feholdsetround_noex_ctx): New function.
3192         (libc_feresetround_noex_ctx): New function.
3193
3194 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3195
3196         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3197         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3198         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3199         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3200         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3201         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3202
3203         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3204         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3205         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3206         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3207         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3208         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3209         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3210         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3211         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3212         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3213         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3214         Moved ...
3215         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3216         ... here.
3217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3218         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3219         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3220         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3221         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3222         Moved ...
3223         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3224         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3225         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3226         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3227         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3228         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3229         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3230         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3231         Moved ...
3232         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3233         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3234         Moved ...
3235         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3237         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3239         Moved ...
3240         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3241         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3242         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3244         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3245         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3246         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3248         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3249         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3250         Moved ...
3251         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3252         ... here.
3253         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3254         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3255         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3256         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3257         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3258         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3259         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3260         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3261         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3262         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3263         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3264         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3265         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3266         Moved ...
3267         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3269         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3270         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3271         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3273         Moved ...
3274         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3276         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3277         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3278         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3279
3280         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3281         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3282         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3283         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3284         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3285         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3286         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3287         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3288         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3289         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3290         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3291         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3292         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3293         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3295         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3296         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3297         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3298         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3299         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3300         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3301         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3302         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3303         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3304         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3305         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3306         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3307         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3308
3309 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3310
3311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3312         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3313         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3314         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3315         (IPV6_PMTUDISC_INTERFACE): Likewise.
3316         (IPV6_PMTUDISC_OMIT): Likewise.
3317
3318 2014-06-23  Andreas Schwab  <schwab@suse.de>
3319
3320         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3321         Remove unused errout label.
3322
3323 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3324
3325         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3326         macro: hardware supports Vector Crypto instructions.
3327
3328 2014-06-23  Will Newton  <will.newton@linaro.org>
3329
3330         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3331         rather than __builtin_expect.
3332
3333         * elf/dl-lookup.c (undefined_msg): Remove variable.
3334         (_dl_lookup_symbol_x): Replace undefined_msg with string
3335         literal.
3336
3337         * elf/dl-lookup.c (do_lookup_unique): New function.
3338         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3339         to a separate function.
3340
3341 2014-06-23  Andreas Schwab  <schwab@suse.de>
3342
3343         [BZ #17079]
3344         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3345         before reading the next line.
3346
3347 2014-06-23  Will Newton  <will.newton@linaro.org>
3348
3349         * test-skeleton.c (signal_handler): Use printf and %m
3350         rather than perror.  Use printf rather than fprintf to
3351         stderr.  Use puts rather than fputs to stderr.
3352         (main): Likewise.
3353
3354 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3355
3356         * nscd/nscd.c (thread_info_t): Remove typedef.
3357         (thread_info): Remove variable.
3358
3359 2014-06-21  Allan McRae  <allan@archlinux.org>
3360
3361         * NEWS: Mention CVE-2014-4043.
3362
3363 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3364
3365         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3366         * nptl/smp.h: ... here.
3367
3368         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3369
3370         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3371         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3372         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3373         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3374
3375         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3376         * nptl/stack-aliasing.h: New file.
3377         * sysdeps/i386/i686/stack-aliasing.h: New file.
3378         * sysdeps/i386/i686/nptl/Makefile: File removed.
3379         * sysdeps/x86_64/stack-aliasing.h: New file.
3380         * sysdeps/x86_64/nptl/Makefile
3381         (CFLAGS-pthread_create.c): Variable removed.
3382
3383         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3384         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3385         old file.
3386         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3387         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3388         old file.
3389
3390 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3391
3392         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3393         (__ASSUME_SIGFRAME_V2): Remove macro.
3394         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3395         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3396         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3397         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3398         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3399         Declare as function.  Remove conditional macro definitions.
3400         (__default_rt_sa_restorer): Likewise.
3401         (__default_sa_restorer_v1): Remove declaration.
3402         (__default_sa_restorer_v2): Likewise.
3403         (__default_rt_sa_restorer_v1): Likewise.
3404         (__default_rt_sa_restorer_v2): Likewise.
3405         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3406         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3407         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3408
3409 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3410
3411         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3412         (libpthread-routines): Add sysdep.
3413         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3414         * sysdeps/unix/sysv/linux/sparc/Versions
3415         (libpthread: GLIBC_2.3.3): New version set.
3416         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3417         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3418         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3419         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3420         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3421         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3422         Moved ...
3423         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3424         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3425         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3426         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3427         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3428         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3429         * sysdeps/sparc/nptl/sem_init.c: ... here.
3430         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3431         * sysdeps/sparc/nptl/sem_post.c: ... here.
3432         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3433         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3434         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3435         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3436         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3437         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3438         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3439         (libpthread-routines): Add cpu_relax.
3440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3441         File removed.
3442         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3443         (librt: GLIBC_2.3.3): New version set.
3444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3445         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3446         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3447         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3450         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3452         Moved ...
3453         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3455         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3457         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3459         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3461         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3463         Moved ...
3464         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3465         Update #include.
3466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3467         Moved ...
3468         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3469         Update #include.
3470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3471         Moved ...
3472         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3473         Update #include.
3474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3475         Moved ...
3476         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3477         Update #include.
3478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3479         Moved ...
3480         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3481         Update #include.
3482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3483         Moved ...
3484         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3485         Update #include.
3486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3487         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3489         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3491         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3493         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3495         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3497         Moved ...
3498         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3500         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3502         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3503
3504 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3505
3506         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3507         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3508         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3509         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3510         * nscd/nscd.c: Likewise.
3511         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3512         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3513         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3514         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3515
3516         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3517         <kernel-features.h>.
3518         (init_mq_netlink): Remove conditional have_sock_cloexec
3519         definitions.  Remove code conditional on have_sock_cloexec < 0.
3520         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3521         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3522         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3523         <kernel-features.h>.
3524         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3525         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3526
3527 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3528
3529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3530         Add tests for memset_chk and memset.
3531
3532         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3533         with AVX2_Usable.
3534
3535 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3536
3537         [BZ #16046]
3538         * elf/tst-dl-iter-static.c: New file.
3539         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3540
3541         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3542         error.
3543
3544 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3545
3546         * sysdeps/unix/sysv/linux/kernel-features.h
3547         (__ASSUME_F_GETOWN_EX): Remove macro.
3548         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3549         <kernel-features.h>.
3550         (miss_F_GETOWN_EX): Remove variable or macro.
3551         (do_fcntl): Do not check miss_F_GETOWN_EX.
3552         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3553
3554         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3555         Remove macro.
3556         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3557         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3558         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3559
3560         * sysdeps/unix/sysv/linux/kernel-features.h
3561         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3562         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3563         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3564         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3565
3566 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3567
3568         [BZ #17075]
3569         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3570         Fix calculation of the symbol's value.
3571         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3572         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3573         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3574         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3575         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3576         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3577         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3578         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3579         (modules-names): Add `tst-armtlsdescmod',
3580         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3581         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3582         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3583         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3584         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3585         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3586         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3587         ($(objpfx)tst-armtlsdescloc): New dependency.
3588         ($(objpfx)tst-armtlsdescextnow): Likewise.
3589         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3590         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3591         TLS scheme support.
3592         * sysdeps/arm/configure: Regenerate.
3593
3594 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3595
3596         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3597         (__atfct_seterrno_2): Likewise.
3598         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3599         <kernel-features.h>.
3600         (__ASSUME_ATFCTS): Do not undefine and redefine.
3601         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3602         (__have_atfcts): Remove conditional definition.
3603         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3604         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3605         unreachable if [__ASSUME_ATFCTS].
3606         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3607         not undefine and redefine.
3608         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3609         <kernel-features.h>.
3610         (faccessat) [__NR_faccessat]: Make code unconditional.
3611         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3612         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3613         <kernel-features.h>.
3614         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3615         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3616         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3617         <kernel-features.h>.
3618         (fchownat) [__NR_fchownat]: Make code unconditional.
3619         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3620         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3621         <kernel-features.h>.
3622         (futimesat) [__NR_futimesat]: Make code unconditional.
3623         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3624         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3625         <kernel-features.h>.
3626         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3627         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3628         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3629         <kernel-features.h>.
3630         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3631         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3632         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3633         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3634         <kernel-features.h>.
3635         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3636         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3637         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3638         <kernel-features.h>.
3639         (linkat) [__NR_linkat]: Make code unconditional.
3640         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3641         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3642         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3643         <kernel-features.h>.
3644         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3645         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3646         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3647         <kernel-features.h>.
3648         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3649         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3650         * sysdeps/unix/sysv/linux/openat.c: Do not include
3651         <kernel-features.h>.
3652         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3653         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3654         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3655         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3656         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3657         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3658         <kernel-features.h>.
3659         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3660         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3661         result of INLINE_SYSCALL directly, not via int variable.
3662         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3663         <kernel-features.h>.
3664         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3665         (renameat) [__NR_renameat]: Make code unconditional.
3666         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3667         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3668         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3669         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3670         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3671         (__ASSUME_ATFCTS): Do not undefine and redefine.
3672         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3673         <kernel-features.h>.
3674         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3675         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3676         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3677         <kernel-features.h>.
3678         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3679         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3680         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3681         (__ASSUME_ATFCTS): Do not undefine and redefine.
3682         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3683         <kernel-features.h>.
3684         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3685         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3686         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3687         <kernel-features.h>.
3688         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3689         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3690
3691 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3692
3693         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3694
3695 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3696
3697         [BZ #17069]
3698         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3699         constructed tree before returning error.
3700         * posix/bug-regexp36.c: Expand test case.
3701
3702 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3703
3704         [BZ #6803]
3705         * math/libm-test.inc (scalbln_test_date):
3706         Add errno expectations.
3707         * math/w_scalblnf.c: New File.
3708         Add wrapper which checks for setting errno to ERANGE.
3709         Add weak_alias for corresponding scalbln function.
3710         * math/w_scalbln.c: Likewise.
3711         * math/w_scalblnl.c: Likewise.
3712         * math/Makefile (libm-calls): Add w_scalbln.
3713         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3714         Remove weak_alias for corresponding scalbln function.
3715         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3716         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3717         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3718         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3719         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3720         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3721         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3722         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3723         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3724         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3725         Remove long_double_symbol for scalblnl function in libm, libc.
3726         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3727         Add wrapper which checks for setting errno to ERANGE.
3728         Add long_double_symbol for scalblnl function in libm, libc.
3729         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3730         Remove long_double_symbol for scalblnl in libm.
3731         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3732         Add wrapper which checks for setting errno to ERANGE.
3733         Add long_double_symbol for scalblnl function in libm.
3734         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3735         Do not use wrapper because of own implementation.
3736
3737 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3738
3739         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3740         3 bytes for __pad1 for x32.
3741         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3742
3743 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3744             H.J. Lu  <hongjiu.lu@intel.com>
3745
3746         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3747         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3748         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3749         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3750         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3751
3752 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3753
3754         [BZ #17069]
3755         * posix/regcomp.c (parse_expression): Deallocate partially
3756         constructed tree before returning error.
3757         * posix/Makefile.c (tests): Add bug-regex36.
3758         (generated): Add bug-regex36.mtrace.
3759         (tests-special): Add $(objpfx)bug-regex36-mem.out
3760         (bug-regex36-ENV): New variable.
3761         ($(objpfx)bug-regex36-mem.out): New rule.
3762         * posix/bug-regex36.c: New file.
3763
3764 2014-06-19  Will Newton  <will.newton@linaro.org>
3765
3766         * malloc/malloc.c (systrim): If extra is zero then return
3767         early.
3768
3769 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770
3771         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3772
3773 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3774
3775         * sysdeps/aarch64/strchr.S: New file.
3776
3777 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3778
3779         [BZ #17022]
3780         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3781         from arguments -2 or below.
3782         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3783         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3784
3785 2014-06-18  Andreas Schwab  <schwab@suse.de>
3786
3787         [BZ #17062]
3788         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3789         of a bracket expr not to run off the end of the string.
3790         * posix/Makefile (tests): Add tst-fnmatch3.
3791         * posix/tst-fnmatch3.c: New file.
3792
3793 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3794
3795         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3796         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3797         [$(cross-compiling) = no]: Likewise.
3798         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3799         [$(cross-compiling) = no]: Likewise.
3800
3801 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3802
3803         [BZ #17031]
3804         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3805         double, adjusted for any remainder from the high double.
3806         * math/libm-test.inc (nearbyint): Add tests.
3807         (rint): Likewise.
3808
3809 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3810
3811         * nptl/sysdeps/powerpc/Makefile: Moved ...
3812         * sysdeps/powerpc/nptl/Makefile: ... here.
3813         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3814         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3815         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3816         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3817         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3818         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3819         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3820         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3821         * nptl/sysdeps/powerpc/tls.h: Moved ...
3822         * sysdeps/powerpc/nptl/tls.h: ... here.
3823
3824 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3825
3826         [BZ #16681]
3827         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3828         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3829         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3830         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3831         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3832         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3833         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3834         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3835         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3836
3837 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3838
3839         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3840
3841 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3842
3843         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3844         defined operator.
3845
3846         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3847         $TIMEOUTFACTOR.
3848
3849 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3850
3851         [BZ #17058]
3852         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3853         non-executed part of the test.
3854
3855 2014-06-16  Andreas Schwab  <schwab@suse.de>
3856
3857         * string/bits/string2.h (strdup, strndup): Update feature guard.
3858
3859 2014-06-14  David S. Miller  <davem@davemloft.net>
3860
3861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3862
3863 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3864
3865         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3866         that was previously under [RESET_PID].
3867         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3868
3869         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3870         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3871         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3872         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3873         (__libc_vfork): New strong alias.
3874         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3875
3876 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3877
3878         * sysdeps/generic/elide.h: New file.
3879
3880 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3881
3882         * Makefile (installed-headers): Adjust path of pthread.h header.
3883
3884 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3885
3886         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3887         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3888         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3889         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3890
3891         * nptl/sysdeps/s390/Makefile: Moved ...
3892         * sysdeps/s390/nptl/Makefile: ... here.
3893         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3894         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3895         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3896         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3897         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3898         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3899         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3900         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3901         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3902         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3903         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3904         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3905         * nptl/sysdeps/s390/tls.h: Moved ...
3906         * sysdeps/s390/nptl/tls.h: ... here.
3907
3908         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3909         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3910
3911 2014-06-13  David S. Miller  <davem@davemloft.net>
3912
3913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3916         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3920         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3921         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3922         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3923         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3924         Remove RESET_PID cpp guards.
3925         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3926         Remove RESET_PID cpp guards.
3927         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3928
3929 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3930
3931         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3932         __sp to uintptr_t.
3933
3934 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3935
3936         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3938         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3939         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3941         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3942         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3943         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3945         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3946         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3947         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3949         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3950         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3952         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3953         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3954         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3956
3957         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3958         (pthread_rwlock_rdlock): Add elision.
3959         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3960         (pthread_rwlock_wrlock): Add elision.
3961         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3962         (pthread_rwlock_trywrlock): Add elision.
3963         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3964         (pthread_rwlock_tryrdlock): Add elision.
3965         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3966         (pthread_rwlock_tryrdlock): Add elision unlock.
3967         * nptl/sysdeps/pthread/pthread.h:
3968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3969         (PTHREAD_RWLOCK_INITIALIZER,
3970         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3971         Handle new elision field.
3972         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3973         * sysdeps/arm/nptl/bits/pthreadtypes.h
3974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3975         * sysdeps/sh/nptl/bits/pthreadtypes.h
3976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3977         * sysdeps/tile/nptl/bits/pthreadtypes.h
3978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3979         * sysdeps/a/nptl/bits/pthreadtypes.h
3980         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3981         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3982         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3983         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3985         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3987         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3988         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3989         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3991         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3992         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3993         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3995         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3997         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3998         (elision_init): Set try_xbegin to zero when no RTM.
3999         * sysdeps/x86/nptl/bits/pthreadtypes.h
4000         (pthread_rwlock_t): Change __pad1 to __rwelision.
4001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4002
4003 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4004
4005         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4006         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4007         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4008         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4009
4010 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4011
4012         [BZ #16996]
4013         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4014         that the cached result has been set before returning it.
4015
4016 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4017
4018         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4019         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4020         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4021         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4022         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4023         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4024
4025         * nptl/sysdeps/sparc/Makefile: Moved ...
4026         * sysdeps/sparc/nptl/Makefile: ... here.
4027         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4028         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4029         * nptl/sysdeps/sparc/tls.h: Moved ...
4030         * sysdeps/sparc/nptl/tls.h: ... here.
4031         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4032         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4033         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4034         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4035         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4036         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4037         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4038         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4039         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4040         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4041         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4042         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4043         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4044         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4045         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4046         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4047         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4048         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4049         Update #include.
4050         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4051         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4052         Update #include.
4053         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4054         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4055         Update #include.
4056         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4057         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4058         Update #include.
4059
4060         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4061
4062         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4063         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4064
4065         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4066         (struct list_links): Type removed.
4067         (struct thread_node, struct timer_node): Replace struct list_links
4068         with struct list_head.
4069         (list_unlink_ip): Likewise.
4070         * sysdeps/pthread/timer_routines.c
4071         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4072         (list_append, list_insbefore): Likewise.
4073         (list_init): Function removed.
4074         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4075         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4076         * sysdeps/pthread/Makefile: ... here, new file.
4077
4078         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4079         * sysdeps/nptl/Implies: ... here.
4080         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4081         * nptl/sysdeps/pthread/list.h: Moved ...
4082         * include/list.h: ... here.
4083         * nptl/sysdeps/pthread/createthread.c: Moved ...
4084         * nptl/createthread.c: ... here.
4085         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4086         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4087         * nptl/pt-longjmp.c: ... here.
4088         * nptl/sysdeps/pthread/Makefile: Moved ...
4089         * sysdeps/nptl/Makefile: ... here.
4090         * nptl/sysdeps/pthread/Subdirs: Moved ...
4091         * sysdeps/nptl/Subdirs: ... here.
4092         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4093         * sysdeps/nptl/aio_misc.h: ... here.
4094         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4095         * sysdeps/nptl/bits/libc-lock.h: ... here.
4096         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4097         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4098         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4099         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4100         * nptl/sysdeps/pthread/configure: Moved ...
4101         * sysdeps/nptl/configure: ... here.
4102         * nptl/sysdeps/pthread/configure.ac: Moved ...
4103         * sysdeps/nptl/configure.ac: ... here.
4104         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4105         * sysdeps/nptl/gai_misc.h: ... here.
4106         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4107         * sysdeps/nptl/librt-cancellation.c: ... here.
4108         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4109         * sysdeps/nptl/malloc-machine.h: ... here.
4110         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4111         * sysdeps/nptl/pthread-functions.h: ... here.
4112         * nptl/sysdeps/pthread/pthread.h: Moved ...
4113         * sysdeps/nptl/pthread.h: ... here.
4114         * nptl/sysdeps/pthread/setxid.h: Moved ...
4115         * sysdeps/nptl/setxid.h: ... here.
4116         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4117         * sysdeps/nptl/sigfillset.c: ... here.
4118         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4119         * sysdeps/nptl/tcb-offsets.h: ... here.
4120         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4121         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4122         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4123         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4124         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4125         * sysdeps/pthread/allocalim.h: ... here.
4126         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4127         * sysdeps/pthread/bits/sigthread.h: ... here.
4128         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4129         * sysdeps/pthread/flockfile.c: ... here.
4130         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4131         * sysdeps/pthread/ftrylockfile.c: ... here.
4132         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4133         * sysdeps/pthread/funlockfile.c: ... here.
4134         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4135         * sysdeps/pthread/posix-timer.h: ... here.
4136         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4137         * sysdeps/pthread/timer_create.c: ... here.
4138         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4139         * sysdeps/pthread/timer_delete.c: ... here.
4140         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4141         * sysdeps/pthread/timer_getoverr.c: ... here.
4142         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4143         * sysdeps/pthread/timer_gettime.c: ... here.
4144         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4145         * sysdeps/pthread/timer_routines.c: ... here.
4146         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4147         * sysdeps/pthread/timer_settime.c: ... here.
4148         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4149         * sysdeps/pthread/tst-timer.c: ... here.
4150         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4151         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4152
4153         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4154         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4155
4156         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4157         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4158         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4159         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4160         Update #include target.
4161         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4162         * sysdeps/i386/i686/nptl/Makefile: ... here.
4163         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4164         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4165         Update #include target.
4166         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4167         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4168         * nptl/sysdeps/i386/Makefile: Moved ...
4169         * sysdeps/i386/nptl/Makefile: ... here.
4170         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4171         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4172         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4173         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4174         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4175         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4176         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4177         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4178         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4179         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4180         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4181         * nptl/sysdeps/i386/tls.h: Moved ...
4182         * sysdeps/i386/nptl/tls.h: ... here.
4183
4184         * sysdeps/sh/Makefile [$(subdir) = csu]
4185         (gen-as-const-headers): Add tcb-offsets.sym.
4186         * nptl/sysdeps/sh/Makefile: File removed.
4187         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4188         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4189         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4190         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4191         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4192         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4193         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4194         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4195         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4196         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4197         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4198         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4199         * nptl/sysdeps/sh/tls.h: Moved ...
4200         * sysdeps/sh/nptl/tls.h: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4202         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4203         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4204         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4205         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4206         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4207         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4208         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4210         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4212         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4214         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4216         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4217         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4218         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4220         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4221         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4222         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4224         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4225         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4226         Moved ...
4227         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4228         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4229         Moved ...
4230         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4231         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4232         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4234         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4235         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4236         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4237         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4238         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4239         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4240         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4241         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4242         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4243         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4244         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4245         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4246         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4247         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4248         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4249
4250 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4251
4252         * posix/spawn_faction_addopen.c: Include string.h.
4253
4254 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4255
4256         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4257         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4258         * nptl/sysdeps/x86_64/Makefile: Moved ...
4259         * sysdeps/x86_64/nptl/Makefile: ... here.
4260         * nptl/sysdeps/x86_64/configure: Moved ...
4261         * sysdeps/x86_64/nptl/configure: ... here.
4262         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4263         * sysdeps/x86_64/nptl/configure.ac: ... here.
4264         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4265         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4266         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4267         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4268         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4269         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4270         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4271         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4272         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4273         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4274         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4275         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4276         * nptl/sysdeps/x86_64/tls.h: Moved ...
4277         * sysdeps/x86_64/nptl/tls.h: ... here.
4278         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4279         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4280         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4281         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4282
4283         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4284
4285 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4286
4287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4288
4289 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4290
4291         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4292         type.
4293         [POSIX] (off_t): Likewise.
4294         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4295         [POSIX] (S_ISBLK): Require macro.
4296         [POSIX] (S_ISCHR): Likewise.
4297         [POSIX] (S_ISDIR): Likewise.
4298         [POSIX] (S_ISFIFO): Likewise.
4299         [POSIX] (S_ISREG): Likewise.
4300         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4301         optional-macro.
4302         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4303         type.
4304         [POSIX] (time_t): Likewise.
4305         [POSIX] (timer_t): Likewise.
4306
4307 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4308
4309         [BZ #17048]
4310         * posix/spawn_int.h (struct __spawn_action): Make the path string
4311         non-const to support deallocation.
4312         * posix/spawn_faction_addopen.c
4313         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4314         * posix/spawn_faction_destroy.c
4315         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4316         path in all spawn_do_open actions.
4317         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4318         posix_spawn_file_actions_addopen.
4319
4320 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4321
4322         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4323         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4324         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4325         conditional code always true.
4326         (__libc_vfork): New alias.
4327
4328 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4329
4330         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4331         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4332
4333         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4334
4335         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4336         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4337
4338         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4339         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4340
4341         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4342         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4343
4344 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4345
4346         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4347         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4348         multiarch strcmp for PPC64.
4349         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4350         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4352         multiarch optimizations.
4353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4354         (__libc_ifunc_impl_list): Likewise.
4355
4356 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4357
4358         * benchtests/scripts/validate_benchout.py: New script.
4359         * benchtests/Makefile (bench-func): Call it.
4360         * benchtests/scripts/benchout.schema.json: New file.
4361
4362 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4363
4364         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4365         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4366         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4367         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4368         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4369         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4370         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4371         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4372         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4373         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4374         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4375         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4376         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4377         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4378         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4379         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4381         Moved ...
4382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4383         ... here.
4384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4385         Moved ...
4386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4388         Moved ...
4389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4390         ... here.
4391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4392         Moved ...
4393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4394         ... here.
4395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4396         Moved ...
4397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4399         Moved ...
4400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4401         ... here.
4402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4403         Moved ...
4404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4405         ... here.
4406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4407         Moved ...
4408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4410         Moved ...
4411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4412         ... here.
4413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4414         Moved ...
4415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4416         ... here.
4417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4418         Moved ...
4419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4420         ... here.
4421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4422         Moved ...
4423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4425         Moved ...
4426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4427         ... here.
4428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4429         Moved ...
4430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4431         ... here.
4432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4433         Moved ...
4434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4435         ... here.
4436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4437         Moved ...
4438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4440         Moved ...
4441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4442         ... here.
4443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4444         Moved ...
4445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4446         ... here.
4447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4448         Moved ...
4449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4451         Moved ...
4452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4453         ... here.
4454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4455         Moved ...
4456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4461         Moved ...
4462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4463         ... here.
4464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4465         Moved ...
4466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4467         ... here.
4468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4469         Moved ...
4470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4471         ... here.
4472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4473         Moved ...
4474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4476         Moved ...
4477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4478         ... here.
4479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4480         Moved ...
4481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4482         ... here.
4483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4484         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4486         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4487         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4488         Moved ...
4489         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4490         ... here.
4491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4492         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4494         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4495         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4496         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4497         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4498         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4500         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4501         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4502         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4503         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4504         Moved ...
4505         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4506         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4507         Moved ...
4508         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4510         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4512         Moved ...
4513         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4515         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4516         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4517         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4518         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4519         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4520
4521 2014-06-10  Wilco  <wdijkstr@arm.com>
4522
4523         * math/test-fenv-return.c: New file.
4524         * math/Makefile: Add new test test-fenv-return.
4525
4526 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4527
4528         [BZ #17042]
4529         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4530         when x - 1 is zero.
4531         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4532         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4533         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4534         0.0L for an argument of 1.0L.
4535         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4536         Likewise.
4537         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4538         value when x - 1 is zero.
4539         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4540         * sysdeps/i386/fpu/libm-test-ulps: Update.
4541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4542
4543 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4544
4545         [BZ #15119]
4546         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4547
4548 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4549
4550         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4551         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4552
4553 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4554
4555         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4556         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4557
4558         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4559         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4560
4561         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4562         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4563
4564         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4565         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4566
4567         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4568         if not already defined.
4569         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4570         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4571         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4572         (TLS_INIT_TP): Use it.
4573         (TLS_DEFINE_INIT_TP): New macro.
4574         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4575
4576 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4577
4578         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4579         constant.
4580         [POSIX] (IXANY): Likewise.
4581         [POSIX] (OLCUC): Likewise.
4582         [POSIX || POSIX2008] (CBAUD): Do not allow.
4583         [POSIX || POSIX2008] (DEFECHO): Likewise.
4584         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4585         [POSIX || POSIX2008] (ECHOKE): Likewise.
4586         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4587         [POSIX || POSIX2008] (EXTA): Likewise.
4588         [POSIX || POSIX2008] (EXTB): Likewise.
4589         [POSIX || POSIX2008] (FLUSHO): Likewise.
4590         [POSIX || POSIX2008] (LOBLK): Likewise.
4591         [POSIX || POSIX2008] (PENDIN): Likewise.
4592         [POSIX || POSIX2008] (SWTCH): Likewise.
4593         [POSIX || POSIX2008] (VDISCARD): Likewise.
4594         [POSIX || POSIX2008] (VDSUSP): Likewise.
4595         [POSIX || POSIX2008] (VLNEXT): Likewise.
4596         [POSIX || POSIX2008] (VREPRINT): Likewise.
4597         [POSIX || POSIX2008] (VSTATUS): Likewise.
4598         [POSIX || POSIX2008] (VWERASE): Likewise.
4599         (B*): Change to B[0123456789]*.
4600         * conform/data/time.h-data [POSIX || UNIX98]
4601         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4602         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4603         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4604         [POSIX] (tm_*): Do not allow.
4605
4606 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4607
4608         * Makefile (install): Don't set LANGUAGE.
4609         * Makefile.in (install): Likewise.
4610         * assert/Makefile (test-assert-ENV): Remove variable.
4611         (test-assert-perr-ENV): Likewise.
4612         * elf/Makefile (neededtest4-ENV): Likewise.
4613         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4614         [$(cross-compiling) = no]: Don't set LANGUAGE.
4615         * io/ftwtest-sh (LANG): Remove variable.
4616         * libio/Makefile (tst-widetext-ENV): Likewise.
4617         * manual/install.texi (Running make install): Don't refer to
4618         environment settings for make install.
4619         * INSTALL: Regenerated.
4620         * nptl/tst-tls6.sh: Don't set LANG.
4621         * posix/globtest.sh (LANG): Remove variable.
4622         * string/Makefile (tester-ENV): Likewise.
4623         (inl-tester-ENV): Likewise.
4624         (noinl-tester-ENV): Likewise.
4625         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4626         [$(cross-compiling) = no]: Don't set LANGUAGE.
4627         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4628         without explicit environment settings.
4629
4630 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4631
4632         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4633         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4634         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4635         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4636
4637 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4638
4639         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4640         other files in the crypt directory.
4641         * crypt/crypt.c: Remove duplicate includes.
4642         * crypt/crypt-entry.c: Likewise.
4643         * crypt/crypt_util.c: Likewise.
4644
4645 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4646
4647         * Makeconfig (run-program-env): New variable.
4648         (run-program-prefix-before-env): Likewise.
4649         (run-program-prefix-after-env): Likewise.
4650         (run-program-prefix): Define in terms of new variables.
4651         (built-program-cmd-before-env): New variable.
4652         (built-program-cmd-after-env): Likewise.
4653         (built-program-cmd): Define in terms of new variables.
4654         (test-program-prefix-before-env): New variable.
4655         (test-program-prefix-after-env): Likewise.
4656         (test-program-prefix): Define in terms of new variables.
4657         (test-program-cmd-before-env): New variable.
4658         (test-program-cmd-after-env): Likewise.
4659         (test-program-cmd): Define in terms of new variables.
4660         * Rules (make-test-out): Use $(run-program-env).
4661         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4662         (help): Do not mention environment variables.  Mention
4663         --timeoutfactor option.
4664         (timeoutfactor): New variable.
4665         (blacklist_exports): Remove function.
4666         (exports): Remove variable.
4667         (command): Do not include ${exports}.
4668         * manual/install.texi (Configuring and compiling): Do not mention
4669         test wrappers preserving environment variables.  Mention that last
4670         assignment to a variable must take precedence.
4671         * INSTALL: Regenerated.
4672         * benchtests/Makefile (run-bench): Use $(run-program-env).
4673         * catgets/Makefile ($(objpfx)test1.cat): Use
4674         $(built-program-cmd-before-env), $(run-program-env) and
4675         $(built-program-cmd-after-env).
4676         ($(objpfx)test2.cat): Do not specify environment variables
4677         explicitly.
4678         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4679         $(run-program-env) and $(built-program-cmd-after-env).
4680         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4681         $(run-program-env) and $(test-program-cmd-after-env).
4682         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4683         explicitly.
4684         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4685         run_program_env and test_program_cmd_after_env arguments.
4686         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4687         * elf/tst-pathopt.sh: Use run_program_env argument.
4688         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4689         $(test-wrapper-env) and $(run-program-env).
4690         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4691         run_program_env arguments.
4692         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4693         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4694         $(test-program-prefix-before-env), $(run-program-env) and
4695         $(test-program-prefix-after-env).
4696         ($(objpfx)tst-gettext2.out): Likewise.
4697         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4698         run_program_env and test_program_prefix_after_env arguments.
4699         * intl/tst-gettext2.sh: Likewise.
4700         * intl/tst-gettext4.sh: Do not set environment variables
4701         explicitly.
4702         * intl/tst-gettext6.sh: Likewise.
4703         * intl/tst-translit.sh: Likewise.
4704         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4705         $(test-program-prefix-before-env), $(run-program-env) and
4706         $(test-program-prefix-after-env).
4707         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4708         run_program_env and test_program_prefix_after_env arguments.
4709         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4710         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4711         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4712         explicitly with each use of ${test_wrapper_env}.
4713         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4714         $(test-program-prefix-before-env), $(run-program-env) and
4715         $(test-program-prefix-after-env).
4716         * posix/tst-getconf.sh: Do not set environment variables
4717         explicitly.
4718         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4719         run_program_env and test_program_prefix_after_env arguments.
4720         * stdio-common/tst-printf.sh: Do not set environment variables
4721         explicitly.
4722         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4723         $(test-program-prefix-before-env), $(run-program-env) and
4724         $(test-program-prefix-after-env).
4725         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4726         run_program_env and test_program_prefix_after_env arguments.
4727         Split $test calls into $test_pre and $test.
4728         * timezone/Makefile (build-testdata): Use
4729         $(built-program-cmd-before-env), $(run-program-env) and
4730         $(built-program-cmd-after-env).
4731
4732 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4733
4734         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4735         strlen for non SHARED builds.
4736
4737 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4738
4739         * nptl/allocatestack.c (check_list): Inlined function...
4740         (__reclaim_stacks): ... here.
4741
4742 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4743
4744         [BZ #15698]
4745         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4746         memory overrun.
4747
4748 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4749
4750         * Rules (make-test-out): Include
4751         LOCPATH=$(common-objpfx)localedata in default environment.
4752         * debug/Makefile (tst-chk1-ENV): Remove variable.
4753         (tst-chk2-ENV): Likewise.
4754         (tst-chk3-ENV): Likewise.
4755         (tst-chk4-ENV): Likewise.
4756         (tst-chk5-ENV): Likewise.
4757         (tst-chk6-ENV): Likewise.
4758         (tst-lfschk1-ENV): Likewise.
4759         (tst-lfschk2-ENV): Likewise.
4760         (tst-lfschk3-ENV): Likewise.
4761         (tst-lfschk4-ENV): Likewise.
4762         (tst-lfschk5-ENV): Likewise.
4763         (tst-lfschk6-ENV): Likewise.
4764         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4765         (tst-iconv7-ENV): Likewise.
4766         * intl/Makefile (LOCPATH-ENV): Likewise.
4767         (tst-codeset-ENV): Likewise.
4768         (tst-gettext3-ENV): Likewise.
4769         (tst-gettext5-ENV): Likewise.
4770         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4771         (tst-fopenloc-ENV): Likewise.
4772         (tst-fgetws-ENV): Remove variable.
4773         (tst-ungetwc1-ENV): Likewise.
4774         (tst-ungetwc2-ENV): Likewise.
4775         (bug-ungetwc2-ENV): Likewise.
4776         (tst-swscanf-ENV): Likewise.
4777         (bug-ftell-ENV): Likewise.
4778         (tst-fgetwc-ENV): Likewise.
4779         (tst-fseek-ENV): Likewise.
4780         (tst-ftell-partial-wide-ENV): Likewise.
4781         (tst-ftell-active-handler-ENV): Likewise.
4782         (tst-ftell-append-ENV): Likewise.
4783         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4784         (tst-regexloc-ENV): Likewise.
4785         (bug-regex1-ENV): Likewise.
4786         (tst-regex-ENV): Likewise.
4787         (tst-regex2-ENV): Likewise.
4788         (bug-regex5-ENV): Likewise.
4789         (bug-regex6-ENV): Likewise.
4790         (bug-regex17-ENV): Likewise.
4791         (bug-regex18-ENV): Likewise.
4792         (bug-regex19-ENV): Likewise.
4793         (bug-regex20-ENV): Likewise.
4794         (bug-regex22-ENV): Likewise.
4795         (bug-regex23-ENV): Likewise.
4796         (bug-regex25-ENV): Likewise.
4797         (bug-regex26-ENV): Likewise.
4798         (bug-regex30-ENV): Likewise.
4799         (bug-regex32-ENV): Likewise.
4800         (bug-regex33-ENV): Likewise.
4801         (bug-regex34-ENV): Likewise.
4802         (bug-regex35-ENV): Likewise.
4803         (tst-rxspencer-ENV): Likewise.
4804         (tst-rxspencer-no-utf8-ENV): Likewise.
4805         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4806         (tst-sscanf-ENV): Likewise.
4807         (tst-swprintf-ENV): Likewise.
4808         (tst-swscanf-ENV): Likewise.
4809         (test-vfprintf-ENV): Likewise.
4810         (scanf13-ENV): Likewise.
4811         (bug14-ENV): Likewise.
4812         (tst-grouping-ENV): Likewise.
4813         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4814         (tst-strtod3-ENV): Likewise.
4815         (tst-strtod4-ENV): Likewise.
4816         (tst-strtod5-ENV): Likewise.
4817         (testmb2-ENV): Likewise./
4818         * string/Makefile (tst-strxfrm-ENV): Likewise.
4819         (tst-strxfrm2-ENV): Likewise.
4820         (bug-strcoll1-ENV): Likewise.
4821         (test-strcasecmp-ENV): Likewise.
4822         (test-strncasecmp-ENV): Likewise.
4823         * time/Makefile (tst-strptime-ENV): Likewise.
4824         (tst-ftime_l-ENV): Likewise.
4825         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4826         (tst-mbrtowc-ENV): Likewise.
4827         (tst-wcrtomb-ENV): Likewise.
4828         (tst-mbrtowc2-ENV): Likewise.
4829         (tst-c16c32-1-ENV): Likewise.
4830         (tst-mbsnrtowcs-ENV): Likewise.
4831
4832 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4833
4834         * manual/resource.texi (How to get information about the memory
4835         subsystem?): Fix typo.
4836         Reported by Peon de la Parra Ivan <peon@keba.com>
4837
4838 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4839
4840         [BZ #16882]
4841         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4842         (pthread_spin_lock): Branch out of spin loop to proper location.
4843         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4844         (pthread_spin_lock): Likewise.
4845
4846         * nptl/tst-spin4.c: New test.
4847         * nptl/Makefile (tests): Add tst-spin4.
4848
4849 2014-06-03  Andreas Schwab  <schwab@suse.de>
4850
4851         [BZ #15946]
4852         * resolv/res_send.c (send_dg): Reload file descriptor after
4853         calling reopen.
4854
4855 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4856
4857         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4858
4859 2014-06-03  Richard Henderson  <rth@redhat.com>
4860
4861         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4862         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4863         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4864         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4865         in the SAVE_PID block.
4866         (__libc_vfork): New alias.
4867         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4868
4869         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4870         child in registers, not on the stack.  Remove RESET_PID conditionals.
4871         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4872
4873 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4874
4875         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4876
4877 2014-06-03  Wilco  <wdijkstr@arm.com>
4878
4879         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4880         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4881         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4882         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4883         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4884         Likewise.
4885
4886 2014-06-03  Wilco  <wdijkstr@arm.com>
4887
4888         * sysdeps/aarch64/fpu/math_private.h
4889         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4890         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4891         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4892         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4893         Fix declarations.
4894
4895 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4896
4897         * crypt/crypt-private.h: Include ufc-crypt.h.
4898         (__b64_from_24bit): Declare extern.
4899         * crypt/crypt_util.c(__b64_from_24bit): New function.
4900         (b64t): New static const variable.
4901         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4902         (b64t): Remove variable.
4903         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4904         * crypt/sha256-crypt.c: Include crypt-private.h.
4905         (b64t): Remove variable.
4906         (__sha256_crypt_r): Remove b64_from_24bit and replace
4907         with __b64_from_24bit.
4908         * crypt/sha512-crypt.c: Likewise.
4909
4910 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4911
4912         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4913         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4914         Label the code __libc_vfork rather than __vfork.
4915         [!NOT_IN_libc] (vfork): Define as weak alias.
4916         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4917         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4918         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4919
4920 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4921
4922         * malloc/malloc.c (malloc_info): Fix format specifier for
4923         n_mmaps.
4924
4925 2014-06-02  Wilco  <wdijkstr@arm.com>
4926
4927         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4928         FPCR write.
4929
4930 2014-06-02  Wilco  <wdijkstr@arm.com>
4931
4932         [BZ #17009]
4933         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4934         Rewrite to reduce FPCR/FPSR accesses.
4935
4936 2014-06-01  David S. Miller  <davem@davemloft.net>
4937
4938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4939
4940 2014-05-31  David S. Miller  <davem@davemloft.net>
4941
4942         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4943         to occur in round to nearest mode when |x| >= 2.0
4944
4945 2014-05-30  Richard Henderson  <rth@twiddle.net>
4946
4947         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4948         (PSEUDO_RET_NOERRNO): Remove.
4949         (ret): Don't redefine.
4950         (ret_NOERRNO): Define in terms of ret.
4951         (ret_ERRVAL): Likewise.
4952
4953         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4954         use of PSEUDO_RET; perform the error check directly.
4955
4956 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4957
4958         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4959         with __int128_t.
4960
4961 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4962
4963         * malloc/malloc (malloc_info): Fix formatting.
4964
4965 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4966             Roland McGrath  <roland@hack.frob.com>
4967
4968         * malloc/malloc (malloc_info): Also print mmapped statistics.
4969
4970 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4971
4972         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4973         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4974
4975 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4976
4977         * malloc/malloc.c (malloc_info): Inline mi_arena.
4978
4979 2014-05-29  Richard Henderson  <rth@twiddle.net>
4980
4981         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4982         Remove comma before expanding ASM_ARGS_##nr.
4983         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4984         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4985         of ASM_ARGS_##nr.
4986         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4987         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4988         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4989         (ASM_ARGS_1): Add leading comma.
4990
4991         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4992         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4993         to __errno_location.
4994         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4995         Remove the expected plt for __errno_location.
4996
4997         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4998         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4999         call to __read_tp.
5000
5001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5002         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5003         it and break it down.
5004         (DOCARGS_0, DOCARGS_1): Do nothing.
5005         (DOCARGS_2): Update to store into the new stack frame.
5006         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5007         (UNDOCARGS_1): Update to restore from the new stack frame.
5008         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5009         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5010
5011         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5012         (SINGLE_THREAD_P): New parameter for result regno.
5013         (PSEUDO): Update to match; use cbz instead of beq.
5014
5015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5016         Use ENTRY to define the _nocancel entry point.  Share the syscall
5017         and syscall error check paths with the cancel path.
5018         (PSEUDO_END): New.
5019
5020         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5021         whitespace; tabs before and after asm mnemonics.
5022
5023 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5024
5025         [BZ #15132]
5026         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5027         Call fstat64 or stat64 internally, depending on arguments passed.
5028         Replace stat buffer argument with file descriptor argument.
5029         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5030         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5031         Pass fd to __internal_statvfs instead of calling fstat64.
5032         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5033         Pass fd to __internal_statvfs64 instead of calling fstat64.
5034         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5035         Pass -1 to __internal_statvfs instead of calling stat64.
5036         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5037         Pass -1 to __internal_statvfs64 instead of calling stat64.
5038
5039 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5040
5041         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5042         that was previously under [RESET_PID].
5043         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5044
5045         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5046         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5047
5048 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5049
5050         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5051
5052         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5053         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5054
5055 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5056
5057         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5058
5059 2014-05-27  Andreas Schwab  <schwab@suse.de>
5060
5061         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5062         TLS_INIT_TP macro.
5063         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5064         * elf/rtld.c (init_tls, dl_main): Likewise.
5065         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5066         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5067         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5068         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5069         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5070         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5071         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5072         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5073         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5074         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5075         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5076         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5077         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5078         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5079         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5080         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5081         * sysdeps/generic/tls.h: Update description.
5082
5083 2014-05-27  Will Newton  <will.newton@linaro.org>
5084
5085         [BZ #16990]
5086         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5087         and restore r2 rather than just restoring.
5088
5089 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5090
5091         [BZ #16724]
5092         * libio/tst-ftell-append.c: New test case.
5093         * libio/Makefile (tests): Add test case.
5094         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5095         append mode.
5096         * libio/wfileops.c (do_ftell_wide): Likewise.
5097
5098 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5099
5100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5101
5102         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5103         ...
5104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5106         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5107         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5108         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5109         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5110         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5111         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5113         Moved ...
5114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5115         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5116         Moved ...
5117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5118         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5119         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5120         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5121         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5122         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5123         ...
5124         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5125         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5126         Moved ...
5127         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5128         here.
5129         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5130         ...
5131         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5132         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5133         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5134
5135         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5136         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5137         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5138         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5139
5140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5141         merge into ...
5142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5143         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5144         ...
5145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5147         ...
5148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5150         Moved ...
5151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5152         here.
5153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5154         Moved ...
5155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5157         Moved ...
5158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5159
5160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5161         conditional [RESET_PID].
5162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5164         removed.
5165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5166         removed.
5167
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5169         <tcb-offsets.h>.
5170         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5171         (__libc_vfork): New strong alias.
5172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5173         removed.
5174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5175         Removed.
5176
5177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5178         <tcb-offsets.h>.
5179         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5180         (__libc_vfork): New strong alias.
5181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5182         removed.
5183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5184         removed.
5185
5186 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5187
5188         * malloc/malloc.c (mi_arena): New function.
5189         (malloc_info): Remove nested function mi_arena. Call non-nosted
5190         function mi_arena.
5191
5192 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5193
5194         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5195         by insrwi.
5196         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5197         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5198         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5199         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5200         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5201         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5202         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5203
5204 2014-05-26  Andreas Schwab  <schwab@suse.de>
5205
5206         [BZ #16984]
5207         * locale/programs/repertoire.c (repertoire_read): Add slash
5208         between I18NPATH element and file name.
5209         * locale/programs/locfile.c (locfile_read): Likewise.
5210
5211 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5212
5213         * nptl/pthread_mutexattr_settype.c
5214         (__pthread_mutexattr_settype):
5215         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5216
5217 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5218
5219         * nptl/tst-mutex5 (do_test):
5220         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5221
5222 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5223
5224         * benchtests/README: Document 'init' directive.
5225         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5226         BENCH_INIT.
5227         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5228         (parse_file): Recognize 'init' directive.
5229
5230 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5231
5232         [BZ #16796]
5233         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5234         alignment of struct pthread.
5235
5236 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5237
5238         [BZ #16878]
5239         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5240         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5241         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5242         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5243
5244 2014-05-25  Richard Henderson  <rth@twiddle.net>
5245
5246         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5247         (SINGLE_THREAD_P_PIC): Remove.
5248         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5249         (SINGLE_THREAD_P_PIC): Remove.
5250
5251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5252         branch to syscall error ...
5253         (PSEUDO): ... here.
5254         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5255         from __local_syscall_error to .Lsyscall_error.
5256         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5257         (SYSCALL_ERROR): Update label name.
5258
5259         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5260         Do not use DOARGS/UNDOARGS.
5261         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5262         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5263         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5264         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5265         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5266
5267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5268         block comment.
5269
5270         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5271         define if !NOT_IN_libc.
5272         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5273         define with non-default symbol versions.
5274
5275 2014-05-23  Richard Henderson  <rth@twiddle.net>
5276
5277         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5278         (vfork, __vfork): Define via compat_symbol.
5279
5280         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5281         [!HAVE_IFUNC] (vfork_compat): Remove.
5282         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5283
5284 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5285
5286         [BZ #16978]
5287         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5288         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5289         variable.
5290
5291 2014-05-23  Richard Henderson  <rth@twiddle.net>
5292
5293         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5294         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5295         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5296         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5297
5298         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5299         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5300         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5301         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5302         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5303         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5304         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5305         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5306         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5307         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5308         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5309         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5310         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5311         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5312         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5313         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5314         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5315         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5316         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5317         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5318         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5319         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5320         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5321         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5322         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5323         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5324         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5325         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5327         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5328         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5329         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5330         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5331         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5332         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5333         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5334         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5335         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5336         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5337         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5338         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5339         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5340         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5341         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5342         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5343         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5344         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5345         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5346         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5347         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5349         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5350         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5351         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5352         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5353         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5354
5355         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5356         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5357         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5358         before exiting on error.
5359         (__libc_vfork): New strong alias.
5360         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5361         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5362
5363         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5364         that was previously under [RESET_PID].
5365         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5366
5367         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5368
5369 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5370
5371         [BZ #16977]
5372         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5373         value when x - 1 is zero.
5374         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5375         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5376         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5377         0.0L for an argument of 1.0L.
5378         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5379         Likewise.
5380         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5381         value when x - 1 is zero.
5382         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5383         * sysdeps/i386/fpu/libm-test-ulps: Update.
5384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5385
5386 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5387
5388         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5389         alphasort and versionsort.
5390
5391 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5392
5393         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5394         macro.
5395         [copysignf]: Likewise.
5396
5397 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5398
5399         * crypt/md5-crypt.c: Fix formatting.
5400
5401 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5402
5403         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5404         (b64_from_24bit): New function.
5405
5406 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5407
5408         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5409         libc_hidden_builtin_def to ifunc.
5410         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5411         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5412
5413 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5414
5415         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5416         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5417
5418 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5419
5420         * nscd/Depend (linuxthreads): Remove.
5421         (nptl): Add.
5422         * resolv/Depend (linuxthreads): Remove.
5423         * rt/Depend (linuxthreads): Remove.
5424
5425         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5426         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5427         $(common-objpfx)elf/.
5428         (link-libc-before-gnulib): Likewise.
5429         (elfobjdir): Remove variable.
5430         * Makefile (install): Use $(elf-objpfx) instead of
5431         $(common-objpfx)elf/.
5432         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5433         $(elfobjdir)/.
5434         (link-libc-deps): Likewise.
5435         ($(common-objpfx)libc.so): Likewise.
5436         ($(common-objpfx)linkobj/libc.so): Likewise.
5437         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5438         instead of $(common-objpfx)elf/.
5439         (symbolic-link-list): Likewise.
5440         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5441         [$(cross-compiling) = no]: Likewise.
5442         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5443         $(elfobjdir)/.
5444         (static-gnulib-arch): Likewise.
5445         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5446         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5447         $(common-objpfx)elf/.
5448
5449 2014-05-21  Richard Henderson  <rth@redhat.com>
5450
5451         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5452         (SINGLE_THREAD_P): Use the correct width load.  Fold
5453         into the ldr offset.
5454
5455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5456         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5457
5458 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5459
5460         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5461         (libgcc_s_resume): Use __attribute_used__.
5462         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5463         Likewise.
5464
5465 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5466
5467         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5468         optimization when used with float constants.
5469
5470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5471
5472 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5473
5474         [BZ #16915]
5475         * locale/nl_langinfo_l.c: Make direct reference to every
5476         _nl_current_CATEGORY symbol.
5477         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5478         (tests-static): Add tst-langinfo-static.
5479         (tests-special): Add tst-langinfo-static.out.
5480         ($(objpfx)tst-langinfo.out): Redirect output.
5481         ($(objpfx)tst-langinfo-static.out): New.
5482         * localedata/tst-langinfo.sh: Send output to stdout.
5483         * localedata/tst-langinfo-static.c: New file.
5484
5485         [BZ #16965]
5486         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5487         when the shift amount is modulo the limb size.
5488
5489 2014-05-20  Richard Henderson  <rth@redhat.com>
5490
5491         [BZ #16967]
5492         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5493         Change type of sa_flags from unsigned int to int.
5494
5495         [BZ #16966]
5496         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5497
5498         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5499
5500 2014-05-20  Will Newton  <will.newton@linaro.org>
5501
5502         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5503         Test the return value of the system call in the nocancel case.
5504
5505 2014-05-20  Will Newton  <will.newton@linaro.org>
5506             Yvan Roux  <yvan.roux@linaro.org>
5507
5508         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5509         #include of asm/ptrace.h.
5510         (PTRACE_GET_THREAD_AREA): Remove #undef.
5511         (PTRACE_GETHBPREGS): Likewise.
5512         (PTRACE_SETHBPREGS): Likewise.
5513         (struct user_regs_struct): New structure.
5514         (struct user_fpsimd_struct): New structure.
5515         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5516         #include of asm/ptrace.h and second #include of sys/user.h.
5517         (PTRACE_GET_THREAD_AREA): Remove #undef.
5518         (PTRACE_GETHBPREGS): Likewise.
5519         (PTRACE_SETHBPREGS): Likewise.
5520         (ELF_NGREG): Use new struct user_regs_struct.
5521         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5522
5523 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5524
5525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5527
5528 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5529
5530         [BZ #16958]
5531         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5532         membar to avoid block loads/stores to overlap previous stores.
5533
5534 2014-05-17  Richard Henderson  <rth@redhat.com>
5535
5536         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5537         Create the __##syscall_name##_nocancel entry point.
5538         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5539         Remove; let the sysdep-cancel.h code create it.
5540
5541 2014-05-17  David S. Miller  <davem@davemloft.net>
5542
5543         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5544         Protect with __USE_GNU.
5545         (TIOCSET_TEMPT): Likewise.
5546         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5547         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5548         these are already provided in bits/ioctl-types.h
5549
5550 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5551
5552         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5553         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5554
5555         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5556         Use wait4 regardless of [__NR_waitpid].
5557
5558 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5559
5560         PR libgcc/60166
5561         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5562         (_FP_NANSIGN_Q): Set the quiet bit.
5563
5564 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5565
5566         * benchtests/Makefile
5567         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5568         not $(common-objpfx)math/libm.so.
5569         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5570         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5571         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5572         $(common-objpfx)dlfcn/libdl.so.
5573         ($(objpfx)tst-audit8): Depend on $(libm), not
5574         $(common-objpfx)math/libm.so.
5575         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5576         not $(common-objpfx)dlfcn/libdl.so.
5577         * math/Makefile
5578         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5579         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5580         [$(build-shared) = yes].
5581         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5582         $(common-objpfx)nptl/libpthread.so.
5583         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5584         $(common-objpfx)math/libm.so$(libm.so-version) or
5585         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5586         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5587         $(common-objpfx)dlfcn/libdl.so.
5588         * setjmp/Makefile (link-libm): Remove variable.
5589         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5590         * stdio-common/Makefile (link-libm): Remove variable.
5591         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5592         * stdlib/Makefile (link-libm): Remove variable.
5593         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5594         ($(objpfx)tst-strtod-round): Likewise.
5595         ($(objpfx)tst-tininess): Likewise.
5596         ($(objpfx)tst-strtod-underflow): Likewise.
5597         ($(objpfx)tst-strtod6): Likewise.
5598         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5599         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5600         $(common-objpfx)dlfcn/libdl.so.
5601
5602 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5603
5604         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5605         BSD terminal modes definitions.
5606
5607 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5608
5609         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5610         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5611
5612         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5613         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5614         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5615         Don't do #include_next.
5616         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5617         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5618         Don't do #include_next.
5619         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5620         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5621         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5622         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5623
5624 2014-05-16  Allan McRae  <allan@archlinux.org>
5625
5626         * po/sv.po: Update Swedish translation from translation project.
5627
5628         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5629         in sed expression.
5630
5631 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5632
5633         [BZ #16917]
5634         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5635         errno if the TIOCGPTN ioctl fails with an error different than
5636         EINVAL.
5637         * login/tst-ptsname.c: New file.
5638         * login/Makefile (tests): Add tst-ptsname.
5639
5640         [BZ #16943]
5641         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5642         and prlimit64.
5643
5644 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5645
5646         [BZ #16849]
5647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5648         herrno to return EAI_AGAIN.
5649
5650 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5651
5652         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5653         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5654         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5655         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5656         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5657         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5658         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5659         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5660         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5661         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5662         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5663         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5664         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5665         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5666         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5667         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5668         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5669         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5670         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5671         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5672         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5673         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5674         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5675         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5676         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5677         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5678         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5679         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5680         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5681         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5683         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5685         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5687         Moved ...
5688         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5690         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5692         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5694         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5696         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5698         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5700         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5702         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5704         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5706         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5708         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5710         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5712         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5714         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5716         Moved ...
5717         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5719         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5721         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5723         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5725         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5727         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5729         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5731         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5733         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5735         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5737         Moved ...
5738         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5740         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5741
5742         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5743         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5744         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5745         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5746         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5747         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5748         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5749         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5750         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5751         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5752         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5753         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5754         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5755         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5756         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5757         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5758         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5759         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5760         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5761         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5762         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5763         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5764         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5765         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5766         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5767         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5768         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5769         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5770         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5771         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5772         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5773
5774         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5775         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5776
5777         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5778         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5779         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5780         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5781         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5783         Moved ...
5784         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5785         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5786         Moved ...
5787         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5788         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5789         Moved ...
5790         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5791         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5792         Moved ...
5793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5794         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5795         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5796         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5797         Moved ...
5798         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5799         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5800         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5801         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5802         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5803         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5804         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5806         Moved ...
5807         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5808         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5809         Moved ...
5810         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5811         ... here.
5812         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5813         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5814         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5815         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5816         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5817         Moved ...
5818         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5819         ... here.
5820         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5821         Moved ...
5822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5824         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5826         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5827         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5828         Moved ...
5829         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5830         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5831         Moved ...
5832         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5834         Moved ...
5835         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5836         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5837         Moved ...
5838         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5839         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5840         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5841         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5842         Moved ...
5843         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5844         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5845         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5847         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5848         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5849         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5851         Moved ...
5852         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5853         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5854         Moved ...
5855         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5856         ... here.
5857         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5858         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5859         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5860         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5861         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5862         Moved ...
5863         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5864         ... here.
5865         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5866         Moved ...
5867         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5868         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5869         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5870         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5871         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5872         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5873         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5874         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5875         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5876         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5877         Moved ...
5878         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5879         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5880         Moved ...
5881         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5882         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5883         Moved ...
5884         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5886         Moved ...
5887         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5888         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5889         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5890         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5891         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5892         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5893         Moved ...
5894         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5896         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5898         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5899         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5900         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5901         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5902         Moved ...
5903         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5904         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5905         Moved ...
5906         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5907         ... here.
5908         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5909         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5910         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5911         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5912         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5913         Moved ...
5914         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5915         ... here.
5916         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5917         Moved ...
5918         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5919         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5920         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5921         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5922         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5923         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5924         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5925         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5926         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5927         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5928         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5929
5930         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5931         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5932
5933         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5934         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5935
5936         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5937         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5938         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5939         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5940         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5941         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5942         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5944         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5945         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5946         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5947         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5948         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5950         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5951         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5952         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5953         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5954         Moved ...
5955         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5957         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5958         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5959         Moved ...
5960         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5962         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5964         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5966         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5968         Moved ...
5969         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5971         Moved ...
5972         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5974         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5976         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5978         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5979         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5980         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5981         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5982         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5983         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5984         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5985         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5986         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5987         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5988         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5989
5990         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5991         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5992         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5993         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5994         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5995
5996         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5997         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5998         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5999         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6000         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6001         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6002         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6003         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6004         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6005         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6006
6007         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6008         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6009
6010         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6011         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6012         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6013         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6014         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6015         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6016         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6017         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6018         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6019         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6020         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6021         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6022         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6023         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6025         Update #include.
6026         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6027         Likewise.
6028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6029         Likewise.
6030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6031         Likewise.
6032         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6033         Likewise.
6034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6035         Likewise.
6036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6037         Likewise.
6038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6039         Likewise.
6040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6041         Likewise.
6042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6043         Likewise.
6044         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6045         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6047         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6049         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6050         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6051         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6052         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6054         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6055         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6056         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6057         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6058         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6059
6060         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6061         that was previously under [RESET_PID].
6062         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6063         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6064         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6065
6066         * sysdeps/i386/nptl/Implies: New file.
6067         * sysdeps/x86_64/nptl/Implies: New file.
6068         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6069         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6070         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6071         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6072
6073         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6074         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6075         (__libc_vfork): New strong alias.
6076         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6077         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6078
6079         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6080         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6081         (__libc_vfork): New strong alias.
6082         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6083         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6084
6085         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6086         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6087         (__libc_vfork): New strong alias.
6088         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6089         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6090         * nptl/pt-vfork.c: New file.
6091         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6092         (libpthread: GLIBC_2.20): New version set (empty).
6093
6094 2014-05-14  Will Newton  <will.newton@linaro.org>
6095
6096         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6097         rather than #if.
6098
6099 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6100
6101         [BZ #16564]
6102         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6103         arguments with exponent 65 or above.
6104         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6105         arguments 0x1p113L or above.
6106         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6107         to arguments 0x1p107L or above.
6108         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6109         positive arguments with exponent 65 or above.
6110         * math/auto-libm-test-in: Add more tests of log1p.
6111         * math/auto-libm-test-out: Regenerated.
6112
6113         [BZ #16928]
6114         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6115         non-finite arguments is +0.
6116         * math/s_cacosf.c (__cacosf): Likewise.
6117         * math/s_cacosl.c (__cacosl): Likewise.
6118         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6119         * sysdeps/i386/fpu/libm-test-ulps: Update.
6120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6121
6122         [BZ #16927]
6123         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6124         value.
6125         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6126         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6127         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6128         for explicit high bit of mantissa when testing for argument equal
6129         to 1.
6130         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6131         * sysdeps/i386/fpu/libm-test-ulps: Update.
6132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6133
6134         [BZ #16516]
6135         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6136         (__erf): Scale by 16 instead of 8 in potentially underflowing
6137         case.  Ensure exception if result actually underflows.
6138         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6139         (__erff): Scale by 16 instead of 8 in potentially underflowing
6140         case.  Ensure exception if result actually underflows.
6141         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6142         (efx8): Remove variable.
6143         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6144         case.  Ensure exception if result actually underflows.
6145         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6146         (efx8): Remove variable.
6147         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6148         case.  Ensure exception if result actually underflows.
6149         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6150         (efx8): Remove variable.
6151         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6152         case.  Ensure exception if result actually underflows.
6153         * math/auto-libm-test-in: Add more tests of erf.
6154         * math/auto-libm-test-out: Regenerated.
6155
6156 2014-05-14  Andreas Schwab  <schwab@suse.de>
6157
6158         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6159         Remove code conditionalized on USE___THREAD.
6160
6161         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6162         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6163         not definedness.
6164
6165 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6166
6167         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6168         Define unconditionally.
6169         (__ASSUME_O_CLOEXEC): Likewise.
6170         (__ASSUME_SOCK_CLOEXEC): Likewise.
6171         (__ASSUME_IN_NONBLOCK): Likewise.
6172         (__ASSUME_PIPE2): Likewise.
6173         (__ASSUME_EVENTFD2): Likewise.
6174         (__ASSUME_SIGNALFD4): Likewise.
6175         (__ASSUME_DUP3): Likewise.
6176         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6177         (__ASSUME_DUP3): Do not define.
6178         (__ASSUME_EVENTFD2): Likewise.
6179         (__ASSUME_IN_NONBLOCK): Likewise.
6180         (__ASSUME_O_CLOEXEC): Likewise.
6181         (__ASSUME_PIPE2): Likewise.
6182         (__ASSUME_SIGNALFD4): Likewise.
6183         (__ASSUME_SOCK_CLOEXEC): Likewise.
6184         (__ASSUME_UTIMES): Undefine.
6185         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6186         (__ASSUME_UTIMES): Do not define.
6187         (__ASSUME_O_CLOEXEC): Likewise.
6188         (__ASSUME_SOCK_CLOEXEC): Likewise.
6189         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6190         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6191         0x020621].
6192         (__ASSUME_PIPE2): Likewise.
6193         (__ASSUME_EVENTFD2): Likewise.
6194         (__ASSUME_SIGNALFD4): Likewise.
6195         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6196         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6197         Do not define.
6198         (__ASSUME_EVENTFD2): Likewise.
6199         (__ASSUME_SIGNALFD4): Likewise.
6200         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6201         (__ASSUME_32BITUIDS): Likewise.
6202         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6203         (__ASSUME_IPC64): Likewise.
6204         (__ASSUME_ST_INO_64_BIT): Likewise.
6205         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6206         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6207         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6208         (__ASSUME_UTIMES): Do not define.
6209         (__ASSUME_PSELECT): Likewise.
6210         (__ASSUME_PPOLL): Likewise.
6211         (__ASSUME_O_CLOEXEC): Likewise.
6212         (__ASSUME_SOCK_CLOEXEC): Likewise.
6213         (__ASSUME_IN_NONBLOCK): Likewise.
6214         (__ASSUME_PIPE2): Likewise.
6215         (__ASSUME_EVENTFD2): Likewise.
6216         (__ASSUME_SIGNALFD4): Likewise.
6217         (__ASSUME_DUP3): Likewise.
6218         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6219         (__ASSUME_UTIMES): Likewise.
6220         (__ASSUME_O_CLOEXEC): Likewise.
6221         (__ASSUME_SOCK_CLOEXEC): Likewise.
6222         (__ASSUME_IN_NONBLOCK): Likewise.
6223         (__ASSUME_PIPE2): Likewise.
6224         (__ASSUME_EVENTFD2): Likewise.
6225         (__ASSUME_SIGNALFD4): Likewise.
6226         (__ASSUME_DUP3): Likewise.
6227         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6228         (__ASSUME_UTIMES): Likewise.
6229         (__ASSUME_O_CLOEXEC): Likewise.
6230         (__ASSUME_SOCK_CLOEXEC): Likewise.
6231         (__ASSUME_IN_NONBLOCK): Likewise.
6232         (__ASSUME_PIPE2): Likewise.
6233         (__ASSUME_EVENTFD2): Likewise.
6234         (__ASSUME_SIGNALFD4): Likewise.
6235         (__ASSUME_DUP3): Likewise.
6236         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6237         Likewise.
6238         (__ASSUME_UTIMES): Likewise.
6239         (__ASSUME_EVENTFD2): Likewise.
6240         (__ASSUME_SIGNALFD4): Likewise.
6241         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6242         (__ASSUME_O_CLOEXEC): Likewise.
6243         (__ASSUME_SOCK_CLOEXEC): Likewise.
6244         (__ASSUME_IN_NONBLOCK): Likewise.
6245         (__ASSUME_PIPE2): Likewise.
6246         (__ASSUME_EVENTFD2): Likewise.
6247         (__ASSUME_SIGNALFD4): Likewise.
6248         (__ASSUME_DUP3): Likewise.
6249         (__ASSUME_UTIMES): Undefine.
6250
6251         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6252         feclearexcept.  Remove symbol versioning code.
6253         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6254         symbol versioning code.
6255         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6256         symbol versioning code.
6257         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6258         feupdateenv.  Remove symbol versioning code.
6259         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6260         fegetexceptflag.  Remove symbol versioning code.
6261         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6262         fesetexceptflag.  Remove symbol versioning code.
6263         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6264         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6265         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6266         (__posix_fadvise64_l32): Remove prototype.
6267         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6268         code.
6269
6270 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6271
6272         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6273         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6274         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6275         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6276
6277 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6278
6279         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6280         current working directory
6281
6282 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6283
6284         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6285         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6286         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6287         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6288         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6289         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6290         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6291         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6292         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6293         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6294         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6295         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6296         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6297         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6298         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6299         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6300         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6301         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6303         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6304         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6305         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6306         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6307         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6308         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6309         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6310         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6311         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6312         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6313         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6314         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6315         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6316         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6317         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6318         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6319         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6320         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6321         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6322         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6323         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6324         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6325         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6326
6327         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6328         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6329
6330         * sysdeps/unix/sysv/linux/arm/Makefile
6331         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6332         Add rt-aeabi_unwind_cpp_pr1.
6333         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6334         Add nptl-aeabi_unwind_cpp_pr1.
6335         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6336         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6337         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6338         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6339         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6340         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6341
6342         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6343         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6344         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6345         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6346
6347         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6348         Deconditionalize the code that was previously under [RESET_PID].
6349         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6350
6351         * sysdeps/generic/exit-thread.h: New file.
6352         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6353         * include/unistd.h (__exit_thread): Remove declaration.
6354         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6355         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6356         * csu/libc-start.c: Include <exit-thread.h>.
6357         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6358         * nptl/pthread_create.c: Include <exit-thread.h>.
6359         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6360         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6361         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6362         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6363         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6364         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6365         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6366         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6367         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6368         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6369         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6370         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6371         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6372         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6373         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6374         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6375         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6376
6377 2014-05-13  Andreas Schwab  <schwab@suse.de>
6378
6379         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6380
6381 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6382
6383         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6384         (__ASSUME_UTIMES): Do not condition on kernel version.
6385         (__ASSUME_PSELECT): Define unconditionally.
6386         (__ASSUME_PPOLL): Likewise.
6387         (__ASSUME_ATFCTS): Likewise.
6388         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6389         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6390         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6391         (__ASSUME_UTIMENSAT): Define unconditionally.
6392         (__ASSUME_PRIVATE_FUTEX): Likewise.
6393         (__ASSUME_FALLOCATE): Likewise.
6394         (__ASSUME_O_CLOEXEC): Likewise.
6395         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6396         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6397         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6398         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6399         (__ASSUME_IN_NONBLOCK): Likewise.
6400         (__ASSUME_PIPE2): Likewise.
6401         (__ASSUME_EVENTFD2): Likewise.
6402         (__ASSUME_SIGNALFD4): Likewise.
6403         (__ASSUME_DUP3): Likewise.
6404         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6405         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6406         (__ASSUME_AT_RANDOM): Likewise.
6407         (__ASSUME_PREADV): Likewise.
6408         (__ASSUME_PWRITEV): Likewise.
6409         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6410         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6411         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6412         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6413         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6414         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6415         (__ASSUME_O_CLOEXEC): Define unconditionally.
6416         (__ASSUME_PSELECT): Do not undefine conditionally.
6417         (__ASSUME_PPOLL): Likewise.
6418         (__ASSUME_ATFCTS): Likewise.
6419         (__ASSUME_SET_ROBUST_LIST): Likewise.
6420         (__ASSUME_UTIMENSAT): Likewise.
6421         (__ASSUME_FDATASYNC): Define unconditionally.
6422         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6423         (__ASSUME_SIGFRAME_V2): Likewise.
6424         )__ASSUME_EVENTFD2): Likewise.
6425         (__ASSUME_SIGNALFD4): Likewise.
6426         (__ASSUME_PSELECT): Do not undefine conditionally.
6427         (__ASSUME_PPOLL): Likewise.
6428         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6429         (__ASSUME_PSELECT): Define unconditionally.
6430         (__ASSUME_PPOLL): Likewise.
6431         (__ASSUME_O_CLOEXEC): Likewise.
6432         (__ASSUME_SOCK_CLOEXEC): Likewise.
6433         (__ASSUME_IN_NONBLOCK): Likewise.
6434         (__ASSUME_PIPE2): Likewise.
6435         (__ASSUME_EVENTFD2): Likewise.
6436         (__ASSUME_SIGNALFD4): Likewise.
6437         (__ASSUME_DUP3): Likewise.
6438         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6439         (__ASSUME_O_CLOEXEC): Likewise.
6440         (__ASSUME_SOCK_CLOEXEC): Likewise.
6441         (__ASSUME_IN_NONBLOCK): Likewise.
6442         (__ASSUME_PIPE2): Likewise.
6443         (__ASSUME_EVENTFD2): Likewise.
6444         (__ASSUME_SIGNALFD4): Likewise.
6445         (__ASSUME_DUP3): Likewise.
6446         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6447         (__ASSUME_EVENTFD2): Likewise.
6448         (__ASSUME_SIGNALFD4): Likewise.
6449         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6450
6451 2014-05-12  Andreas Schwab  <schwab@suse.de>
6452
6453         [BZ #16932]
6454         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6455         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6456         than maximum RPC packet size.
6457         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6458         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6459         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6460         (_nss_nis_getservbyport_r): Likewise.
6461
6462 2014-05-12  Will Newton  <will.newton@linaro.org>
6463
6464         * malloc/Makefile (tests): Add tst-mallopt.
6465         * malloc/tst-mallopt.c: New file.
6466
6467 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6468
6469         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6470         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6471
6472 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6473
6474         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6475         (tst-tlsmod6.so): Likewise.
6476
6477 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6478
6479         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6480
6481 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6482
6483         [BZ #16064]
6484         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6485         and <dl-procinfo.h>.
6486         (__fegetenv): Save SSE state in envp->__eip if supported.
6487         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6488         envp->__eip if supported.
6489         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6490         and <dl-procinfo.h>.
6491         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6492         __data_offset and __data_selector in environment to 0.  Set SSE
6493         state if supported.
6494         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6495         test-fenv-sse.
6496         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6497         -mfpmath=sse.
6498         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6499
6500 2014-05-09  Will Newton  <will.newton@linaro.org>
6501
6502         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6503         and libc_relro_required for ARM.
6504         * sysdeps/arm/preconfigure: Regenerate.
6505
6506 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6507             Stefan Liebler  <stli@linux.vnet.ibm.com>
6508
6509         * config.make.in (enable-lock-elision): New Makefile variable.
6510         * configure.ac: Likewise.
6511         * configure: Regenerate.
6512         * sysdeps/s390/configure.ac:
6513         Add check for gcc transactions support.
6514         * sysdeps/s390/configure: Regenerate.
6515         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6516         Build elision files if enabled.
6517         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6518         Add lock elision support for s390.
6519         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6520         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6521         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6522         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6523         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6524         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6525         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6526         Likewise.
6527         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6528         Likewise.
6529         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6530         Likewise.
6531         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6532         Likewise.
6533         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6534         (__lll_timedlock_elision, __lll_lock_elision)
6535         (__lll_unlock_elision, __lll_trylock_elision)
6536         (lll_timedlock_elision, lll_lock_elision)
6537         (lll_unlock_elision, lll_trylock_elision): Add.
6538         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6539         (pthread_mutex_t): Add lock elision support for s390.
6540
6541 2014-05-14  Wilco  <wdijkstr@arm.com>
6542
6543         * sysdeps/arm/fclrexcpt.c: Cleanup.
6544         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6545         * sysdeps/arm/feenablxcpt.c: Cleanup.
6546         * sysdeps/arm/fegetenv.c: Cleanup.
6547         * sysdeps/arm/fegetexcept.c: Cleanup.
6548         * sysdeps/arm/fegetround.c: Cleanup.
6549         * sysdeps/arm/feholdexcpt.c: Cleanup.
6550         * sysdeps/arm/fesetenv.c: Cleanup.
6551         * sysdeps/arm/fesetround.c: Cleanup.
6552         * sysdeps/arm/feupdateenv.c: Cleanup.
6553         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6554         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6555         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6556         * sysdeps/arm/ftestexcept.c: Cleanup.
6557         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6558         * sysdeps/arm/setfpucw.c: Cleanup.
6559
6560 2014-05-09  Will Newton  <will.newton@linaro.org>
6561
6562         * sysdeps/arm/armv7/strcmp.S: New file.
6563         * NEWS: Mention addition of ARMv7 optimized strcmp.
6564
6565 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6566
6567         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6568         look for %.ac rather than %.in.
6569
6570         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6571         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6572         * sysdeps/mach/hurd/configure: Regenerated.
6573         * sysdeps/unix/sysv/linux/configure: Regenerated.
6574
6575         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6576
6577 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6578
6579         [BZ# 16922]
6580         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6581         (LONG_SUB): Ditto.
6582         (PTR_SUB): Ditto.
6583
6584 2014-05-07  Andreas Schwab  <schwab@suse.de>
6585
6586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6587         when skipping over non-matching result from nscd.
6588
6589 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6590
6591         [BZ #16876]
6592         * nptl/sockperf.c (client): Check socket return value.
6593
6594         [BZ #16877]
6595         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6596         nscd security class.
6597
6598 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6599
6600         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6601         * sysdeps/arm/unwind.h: ... here.
6602
6603 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6604
6605         [BZ# 16916]
6606         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6607         Define.
6608
6609 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6610
6611         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6612         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6613         multiarch strncpy for PPC64.
6614         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6615         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6617         multiarch optimizations.
6618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6619         (__libc_ifunc_impl_list): Likewise.
6620         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6621         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6622         multiarch stpncpy for PPC64.
6623         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6624         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6625
6626 2014-05-06  Andreas Schwab  <schwab@suse.de>
6627
6628         [BZ #16912]
6629         * gmon/mcount.c (_MCOUNT_DECL): Use
6630         atomic_compare_and_exchange_bool_acq instead of
6631         catomic_compare_and_exchange_bool_acq.
6632
6633 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6634
6635         * elf/Makefile (others, install-bin): Remove pldd.
6636         (pldd-modules): Variable removed.
6637         ($(objpfx)pldd): Target removed.
6638         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6639         (others, install-bin): Append pldd here.
6640         ($(objpfx)pldd): New target.
6641
6642         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6643         to 0, so the first #if test emitted later doesn't see it undefined.
6644         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6645         * sysdeps/gnu/errlist.c: Regenerated.
6646
6647 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6648
6649         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6650         [libc_hidden_builtin_def]: Define to empty value.
6651         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6652         [libc_hidden_builtin_def]: Likewise.
6653         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6654         [libc_hidden_builtin_def]: Likewise.
6655         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6656         [libc_hidden_builtin_def]: Likewise.
6657         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6658         __redirect_memcpy and define ifunc as default hidden symbol.
6659         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6660         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6661
6662 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6663
6664         * locale/iso-4217.def: Reintroduce XDR currency.
6665
6666 2014-05-04  Allan McRae  <allan@archlinux.org>
6667
6668         * po/eo.po: Update Esperanto translation from translation project.
6669
6670 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6671
6672         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6673         and FEATURE_INDEX_MAX to 1.
6674         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6675
6676 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6677
6678         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6679         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6680         * iconvdata/big5.c (ONE_DIRECTION): Define.
6681         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6682         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6683         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6684         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6685         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6686         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6687         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6688         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6689         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6690         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6691         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6692         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6693         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6694         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6695         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6696         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6697         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6698         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6699         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6700         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6701         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6702         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6703         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6704         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6705         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6706         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6707         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6708         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6709         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6710         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6711         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6712         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6713         * iconvdata/johab.c (ONE_DIRECTION): Define.
6714         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6715         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6716         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6717         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6718         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6719         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6720         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6721         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6722         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6723         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6724
6725 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6726
6727         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6728         (_IO_JUMPS_OFFSET): Define to 0.
6729
6730         * nptl/sysdeps/pthread/bits/libc-lock.h
6731         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6732         (__libc_lock_define_initialized_recursive): Always define using
6733         initializer.  Modern compilers treat uninitialized (implicit zero) and
6734         explicit zero initializers the same (i.e. put the datum in bss).
6735
6736 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6737
6738         * nscd/nscd-client.h: Include <string.h>.
6739
6740 2014-05-01  David S. Miller  <davem@davemloft.net>
6741
6742         [BZ #16885]
6743         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6744         multiple zero bytes exist at the end of a string.
6745         Reported by Aurelien Jarno <aurelien@aurel32.net>
6746
6747         * string/test-strcmp.c (check): Add explicit test for situations where
6748         there are multiple zero bytes after the first.
6749
6750 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6751
6752         [BZ #16890]
6753         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6754         when compiling wprintf.
6755         * stdio-common/tstdiomisc.c (t3): New function.
6756         (main): Call it.
6757
6758 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6759
6760         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6761         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6762         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6763         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6764
6765 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6766
6767         * stdlib/longlong.h: Updated from GCC.
6768
6769 2014-05-01  Will Newton  <will.newton@linaro.org>
6770             Bernard Ogden  <bernie.ogden@linaro.org>
6771
6772         * NEWS: Update fixed bug list.
6773
6774         [BZ #15119]
6775         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6776
6777 2014-04-30  David S. Miller  <davem@davemloft.net>
6778
6779         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6780         (libc_feholdexcept_setround_sparc_ctx): New function.
6781         (libc_fesetenv_sparc_ctx): Likewise.
6782         (libc_feupdateenv_sparc_ctx): Likewise.
6783         (libc_feholdsetround_sparc_ctx): Likewise.
6784         (libc_feholdexcept_setround_ctx): Define.
6785         (libc_feholdexcept_setroundf_ctx): Likewise.
6786         (libc_feholdexcept_setroundl_ctx): Likewise.
6787         (libc_fesetenv_ctx): Likewise.
6788         (libc_fesetenvf_ctx): Likewise.
6789         (libc_fesetenvl_ctx): Likewise.
6790         (libc_feupdateenv_ctx): Likewise.
6791         (libc_feupdateenvf_ctx): Likewise.
6792         (libc_feupdateenvl_ctx): Likewise.
6793         (libc_feresetround_ctx): Likewise.
6794         (libc_feresetroundf_ctx): Likewise.
6795         (libc_feresetroundl_ctx): Likewise.
6796         (libc_feholdsetround_ctx): Likewise.
6797         (libc_feholdsetroundf_ctx): Likewise.
6798         (libc_feholdsetroundl_ctx): Likewise.
6799
6800         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6801         with __USE_GNU instead of XOPEN cpp guards.
6802
6803         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6804         0.
6805
6806         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6807         with XOPEN cpp guards.
6808
6809 2014-04-30  Julian Brown  <julian@codesourcery.com>
6810
6811         [BZ #16888]
6812         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6813         handling.
6814
6815 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6816
6817         [BZ #9894]
6818         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6819         Change to 2.6.32.
6820         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6821         * sysdeps/unix/sysv/linux/configure: Regenerated.
6822         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6823         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6824         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6825         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6826         * README: Update reference to required Linux kernel version.
6827         * manual/install.texi (Linux): Update reference to required Linux
6828         kernel headers version.
6829         * INSTALL: Regenerated.
6830
6831         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6832         header inclusion.
6833         [POSIX] (limits.h): Likewise.
6834         [POSIX] (math.h): Likewise.
6835         [POSIX] (sys/wait.h): Likewise.
6836         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6837         function.
6838         [POSIX] (stddef.h): Do not allow header inclusion.
6839
6840 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6841
6842         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6843
6844 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6845
6846         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6847         Return immediately after lll_futex_wake.
6848
6849 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6850
6851         [BZ #16791]
6852         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6853         structure.
6854         (datahead_init_pos): Call datahead_init_common early.
6855         (datahead_init_neg): Likewise.
6856
6857         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6858         datahead_init_neg): New functions.
6859         * nscd/aicache.c (addhstaiX): Use them.
6860         * nscd/grpcache.c (cache_addgr): Likewise.
6861         * nscd/hstcache.c (cache_addhst): Likewise.
6862         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6863         * nscd/netgroupcache.c (do_notfound): Likewise.
6864         (addgetnetgrentX): Likewise.
6865         (addinnetgrX): Likewise.
6866         * nscd/pwdcache.c (cache_addpw): Likewise.
6867         * nscd/servicescache.c (cache_addserv): Likewise.
6868
6869 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6870             Atsushi Onoe  <atsushi@onoe.org>
6871
6872         [BZ #14308]
6873         [BZ #12994]
6874         [BZ #13651]
6875         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6876         one response is valid.
6877         * resolv/res_send.c (send_dg): Check for validity of other
6878         response if the current response is a referral.
6879
6880 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6881
6882         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6883
6884 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6885
6886         [BZ #16823]
6887         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6888         Always divide by positive zero when computing -Inf result.
6889         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6890         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6891
6892 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6893
6894         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6895         FPSCR if value do not change.
6896         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6897         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6898         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6899         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6900         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6901         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6902         function.
6903
6904 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6905
6906         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6907         * sysdeps/unix/sysv/linux/hppa: Move directory from
6908         ports/systeps/unix/sysv/linux/hppa.
6909         * README: Update listing for hppa-*-linux-gnu.
6910
6911 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6912
6913         [BZ #16754]
6914         * manual/stdio.texi (Hook functions): Fix types of stream hook
6915         functions.
6916         [BZ #16854]
6917         * socket/sys/socket.h: Fix typo in comment.
6918
6919 2014-04-28  Wilco  <wdijkstr@arm.com>
6920
6921         * sysdeps/arm/fenv_private.h: New file.
6922         * sysdeps/arm/math_private.h: New file.
6923         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6924
6925 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6926
6927         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6928         with __int128_t.
6929         (La_x86_64_retval): Likewise.
6930
6931 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6932
6933         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6934         fpsr if value didn't change.
6935         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6936         to fpcr if value didn't change.
6937         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6938         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6939         fpsr or fpcr if value didn't change.
6940         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6941         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6942         fpcr if value didn't change.
6943         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6944         to fpsr if value didn't change.
6945
6946 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6947
6948         * nptl/tst-sem3.c: Use test-skeleton.c
6949         (main): Rename to do_test.  Use return instead of
6950         exit.
6951         * nptl/tst-sem4.c: Use test-skeleton.c
6952         (main): Rename to do_test.
6953
6954 2014-04-22  David S. Miller  <davem@davemloft.net>
6955
6956         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6957         (struct sigaction): New struct member __glibc_reserved0, change
6958         type of sa_flags to int.
6959
6960 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6961
6962         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6963         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6964
6965 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6966
6967         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6968         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6969
6970 2014-04-22  Will Newton  <will.newton@linaro.org>
6971             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6972
6973         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6974         (__longjmp): Add longjmp and longjmp_target SystemTap
6975         probes.
6976         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6977         (__sigsetjmp): Add setjmp SystemTap probe.
6978
6979 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6980
6981         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6982         match manual order.
6983
6984 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6985
6986         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6987
6988         * sysdeps/powerpc/fpu/fenv_private.h
6989         (libc_feholdexcept_setroundl_ctx): Define to
6990         libc_feholdexcept_setround_ppc_ctx.
6991         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6992         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6993         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6994         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6995
6996 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6997
6998         * sysdeps/aarch64/math-tests.h: New file.
6999
7000 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7001
7002         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7003         New.
7004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7005         Check and set bit_AVX2_Usable.
7006         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7007         macro.
7008         (bit_AVX2): Likewise.
7009         (index_AVX2_Usable): Likewise.
7010         (CPUID_AVX2): Likewise.
7011         (HAS_AVX2): Likewise.
7012
7013 2014-04-17  Will Newton  <will.newton@linaro.org>
7014
7015         * manual/setjmp.texi (System V contexts): Add note that
7016         calling setcontext on a context created by a call to a
7017         signal handler is undefined.  Update text to note that
7018         setcontext from a signal handler is possible but not
7019         recommended.
7020
7021         [BZ #16629]
7022         * stdlib/tst-setcontext.c: Include signal.h.
7023         (main): Check that the signal stack before and
7024         after swapcontext is the same.
7025
7026         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7027         Re-implement to restore registers in user code and avoid
7028         rt_sigreturn system call.
7029
7030 2014-04-17  Wilco  <wdijkstr@arm.com>
7031
7032         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7033         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7034         * math/test-fenv.c: Skip exception trap tests on targets which only
7035         support non-stop mode.
7036
7037 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7038             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7039
7040         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7041         (libc_feholdsetround_aarch64_ctx)
7042         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7043         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7044         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7045         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7046         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7047         (libc_feresetround_noexl_ctx): Define.
7048
7049 2014-04-16  Richard Henderson  <rth@redhat.com>
7050
7051         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7052
7053         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7054         unwind tables.
7055
7056         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7057         const from the non-libc, non-ldso copy.
7058
7059         * sysdeps/alpha/libm-test-ulps: Regenerate.
7060
7061 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7062             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7063
7064         * sysdeps/aarch64/fpu/math_private.h: New file.
7065
7066 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7067
7068         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7069
7070 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7071
7072         [BZ #16275]
7073         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7074         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7075         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7076         Intel MPX bound registers before _dl_profile_fixup.
7077         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7078         registers after _dl_profile_fixup.  Save and restore bound
7079         registers bnd0/bnd1 when calling _dl_call_pltexit.
7080         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7081         (LR_BND_OFFSET): Likewise.
7082         (LRV_BND0_OFFSET): Likewise.
7083         (LRV_BND1_OFFSET): Likewise.
7084
7085 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7086
7087         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7088         to...
7089         * sysdeps/mach/hurd/i386/tls.h: ... here.
7090         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7091         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7092         fields.
7093
7094 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7095
7096         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7097
7098 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7099
7100         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7101
7102 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7103
7104         [BZ #14770]
7105         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7106         * sysdeps/s390/configure: Regenerate.
7107
7108         [BZ #16824]
7109         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7110         Set round-to-nearest internally to reduce error accumulation.
7111
7112 2014-04-16  Alan Modra  <amodra@gmail.com>
7113
7114         [BZ #16740]
7115         [BZ #16619]
7116         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7117         * math/libm-test.inc (frexp_test_data): Add tests.
7118         * NEWS: Update fixed bug list.
7119
7120 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7121
7122         * benchtests/Makefile: Depend on libraries in build directory.
7123         (bench-math): Separate out math tests.
7124         (bench-pthread): Separate out pthread tests.
7125         (bench): Include math and pthread tests.
7126
7127 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7128
7129         [BZ #16831]
7130         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7131         _dl_debug_initialize.
7132
7133         * configure.ac: Remove SELinux header check.
7134         * configure: Regenerate.
7135         * nscd/selinux.c (perms): Array of const char* to permission names.
7136         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7137         default policy. Call string_to_security_class and string_to_av_perm to
7138         translate strings. Enforce default policy and call avs_has_perm with
7139         results of translated strings.
7140
7141 2014-04-13  David S. Miller  <davem@davemloft.net>
7142
7143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7144
7145 2014-04-12  Allan McRae  <allan@archlinux.org>
7146
7147         [BZ #16838]
7148         * manual/string.texi (Collation Functions): Fix qsort argument
7149         order in example.
7150         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7151
7152 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7153
7154         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7155         Make the test a no-op if there are no exceptions defined.
7156
7157 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7158
7159         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7160         enable-hardcoded-path-in-tests
7161
7162 2014-04-11  Will Newton  <will.newton@linaro.org>
7163
7164         * benchtests/Makefile (extra-objs): Add json-lib.o.
7165         (bench-func): Tidy up JSON output.
7166         * benchtests/bench-skeleton.c: Include json-lib.h.
7167         (main): Use JSON library functions to do output of
7168         benchmark results.
7169         * benchtests/bench-timing-type.c (main): Output the
7170         timing type simply, leaving formatting to the user.
7171         * benchtests/json-lib.c: New file.
7172         * benchtests/json-lib.h: Likewise.
7173
7174 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7175
7176         [BZ #15215]
7177         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7178         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7179         memory barriers.  Add comments.
7180         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7181         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7182         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7183         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7184         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7185         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7186
7187 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7188
7189         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7190         * sysdeps/s390/s390-64/configure.ac: ... this ...
7191         * sysdeps/s390/configure.ac: ... to here.
7192         * sysdeps/s390/s390-32/configure: Delete file.
7193         * sysdeps/s390/s390-64/configure: Delete file.
7194         * sysdeps/s390/configure: Regenerate.
7195
7196 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7197
7198         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7199
7200 2014-04-11  Will Newton  <will.newton@linaro.org>
7201
7202         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7203         to zero if it is not defined elsewhere.  (mtrim): Test
7204         the value of MALLOC_DEBUG with #if rather than #ifdef.
7205
7206 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7207
7208         * benchtests/pthread_once-inputs: New file.
7209         * benchtests/pthread_once-source.c: New file.
7210         * benchtests/README: Update documentation.
7211
7212 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7213             H.J. Lu  <hongjiu.lu@intel.com>
7214
7215         [BZ #16275]
7216         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7217         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7218         * sysdeps/x86_64/configure: Regenerated.
7219         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7220         macro.
7221         (REGISTER_SAVE_RAX): Likewise.
7222         (REGISTER_SAVE_RCX): Likewise.
7223         (REGISTER_SAVE_RDX): Likewise.
7224         (REGISTER_SAVE_RSI): Likewise.
7225         (REGISTER_SAVE_RDI): Likewise.
7226         (REGISTER_SAVE_R8): Likewise.
7227         (REGISTER_SAVE_R9): Likewise.
7228         (REGISTER_SAVE_BND0): Likewise.
7229         (REGISTER_SAVE_BND1): Likewise.
7230         (REGISTER_SAVE_BND2): Likewise.
7231         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7232         bound registers when calling _dl_fixup.
7233
7234 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235
7236         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7237         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7238         of its definition.
7239         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7240         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7241         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7242         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7243         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7244         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7245         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7246
7247 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7248
7249         [BZ #15514]
7250         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7251         pathconf(_PC_NAME_MAX).
7252
7253 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7254
7255         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7256         Remove macro usage.
7257         (__PTHREAD_SPINS): Move definition to ...
7258         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7259         (__PTHREAD_SPINS): ... here.
7260         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7261         (__PTHREAD_SPIN): Likewise.
7262         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7263         (__PTHREAD_SPIN): Likewise.
7264         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7265         (__PTHREAD_SPIN): Likewise.
7266         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7267         (__PTHREAD_SPIN): Likewise.
7268         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7269         (__PTHREAD_SPIN): Likewise.
7270         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7271         (__PTHREAD_SPIN): Likewise.
7272         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7273         (__PTHREAD_SPIN): Likewise.
7274         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7275         (__PTHREAD_SPIN): Likewise.
7276         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7277         (__PTHREAD_SPIN): Likewise.
7278         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7279         (__PTHREAD_SPIN): Likewise.
7280         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7281         (__PTHREAD_SPIN): Likewise.
7282         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7283         (__PTHREAD_SPIN): Likewise.
7284
7285         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7286         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7287         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7288         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7289         imply folder.
7290         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7291         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7292         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7293         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7294         correct imply path.
7295         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7296         strlen symbol for non multi-arch builds.
7297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7298         missing hidden_def and weak_alias.
7299
7300 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7301
7302         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7303
7304 2014-04-07  Will Newton  <will.newton@linaro.org>
7305
7306         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7307         and contents.  [!_LIBC] Remove #ifndef and contents.
7308         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7309         * string/memccpy.c (__memccpy): Use ANSI prototype.
7310         * string/memfrob.c (memfrob): Likewise.
7311         * string/strcoll.c (STRCOLL): Likewise.
7312         * string/strlen.c (strlen): Likewise.
7313         * string/strtok.c (STRTOK): Likewise.
7314         * string/strcat.c: Remove unused #include of memcopy.h.
7315         (strcat): Use ANSI prototype.
7316         * string/strchr.c: Remove unused #include of memcopy.h.
7317         (strchr): Use ANSI prototype.
7318         * string/strcmp.c: Remove unused #include of memcopy.h.
7319         (strcmp): Use ANSI prototype.
7320         * string/strcpy.c: Remove unused #include of memcopy.h.
7321         (strcpy): Use ANSI prototype.
7322
7323 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7324
7325         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7326         * config.make.in (config-extra-cppflags): Set it from
7327         libc_extra_cppflags.
7328         * configure.ac (libc_extra_cflags): Make it accumulate over
7329         configure fragments.
7330         (libc_extra_cppflags): New flag.
7331         * configure. Regenerate.
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7333         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7334         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7336
7337         [BZ #16815]
7338         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7339         result for FE_DOWNWARD rounding mode.
7340         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7341         Likewise.
7342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7343
7344 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7345
7346         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7347         in function argument name.
7348
7349 2014-04-03  David Svoboda  <svoboda@cert.org>
7350
7351         [BZ #5666]
7352         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7353         explicitly.
7354
7355 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7356
7357         * elf/dl-unmap-segments.h: New file.
7358         * sysdeps/generic/ldsodefs.h
7359         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7360         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7361         * elf/dl-fptr.c: Likewise.
7362         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7363         * sysdeps/aarch64/tlsdesc.c: Likewise.
7364         * sysdeps/arm/tlsdesc.c: Likewise.
7365         * sysdeps/i386/tlsdesc.c: Likewise.
7366         * sysdeps/tile/dl-runtime.c: Likewise.
7367         * sysdeps/x86_64/tlsdesc.c: Likewise.
7368         * elf/dl-load.h: New file.
7369         * elf/dl-load.c: Include it.
7370         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7371         Macros moved to dl-load.h.
7372         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7373         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7374         Use _dl_unmap_segments in place of __munmap.
7375         Break out segment-mapping loop into ...
7376         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7377
7378 2014-04-03  Will Newton  <will.newton@linaro.org>
7379
7380         * elf/dl-lookup.c (do_lookup_x): Remove comment
7381         referring to nested function and move variable
7382         declarations down to before first use.
7383
7384 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7385
7386         [BZ #16799]
7387         [BZ #16800]
7388         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7389         with 0 numerator.
7390         * math/s_catanf.c (__catanf): Likewise.
7391         * math/s_catanh.c (__catanh): Likewise.
7392         * math/s_catanhf.c (__catanhf): Likewise.
7393         * math/s_catanhl.c (__catanhl): Likewise.
7394         * math/s_catanl.c (__catanl): Likewise.
7395         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7396         by positive zero when computing -Inf result.
7397         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7398         (catanh_test): Likewise.
7399         * sysdeps/i386/fpu/libm-test-ulps: Update.
7400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401
7402         [BZ #16789]
7403         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7404         instead of using underflowing value in computing result.
7405         * math/s_clog10.c (__clog10): Likewise.
7406         * math/s_clog10f.c (__clog10f): Likewise.
7407         * math/s_clog10l.c (__clog10l): Likewise.
7408         * math/s_clogf.c (__clogf): Likewise.
7409         * math/s_clogl.c (__clogl): Likewise.
7410         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7411         (clog10_test): Likewise.
7412         * sysdeps/i386/fpu/libm-test-ulps: Update.
7413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7414
7415 2014-04-02  Alan Modra  <amodra@gmail.com>
7416
7417         [BZ #16739]
7418         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7419         output when value is near a power of two.  Use int64_t for lx and
7420         remove casts.  Use decimal rather than hex exponent constants.
7421         Don't use long double multiplication when double will suffice.
7422         * math/libm-test.inc (nextafter_test_data): Add tests.
7423         * NEWS: Add 16739 and 16786 to bug list.
7424
7425         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7426
7427         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7428
7429 2014-04-01  Will Newton  <will.newton@linaro.org>
7430
7431         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7432         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7433
7434 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7435
7436         [BZ #13347]
7437         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7438         * nptl/tst-setuid2.c: New file.
7439         * nptl/Makefile (xtests): Add tst-setuid2.
7440
7441 2014-04-01  Alan Modra  <amodra@gmail.com>
7442
7443         [BZ #16786]
7444         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7445
7446 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7447
7448         [BZ #6803]
7449         [BZ #6804]
7450         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7451         set errno as appropriate.
7452         * math/w_scalbf.c (__scalbf): Likewise.
7453         * math/w_scalbl.c (__scalbl): Likewise.
7454         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7455         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7456         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7457         Add more NaN tests.
7458
7459         [BZ #16349]
7460         * math/w_atan2.c: Include <errno.h>.
7461         (__atan2): Set errno for result underflowing to zero.
7462         * math/w_atan2f.c: Include <errno.h>.
7463         (__atan2f): Set errno for result underflowing to zero.
7464         * math/w_atan2l.c: Include <errno.h>.
7465         (__atan2l): Set errno for result underflowing to zero.
7466         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7467         tests.
7468         * math/auto-libm-test-out: Regenerated.
7469
7470 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7471
7472         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7473         Encode instruction correctly in little endian.
7474         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7475         Likewise.
7476         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7477         Likewise.
7478         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7479         Likewise.
7480         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7481         Likewise.
7482
7483 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7484
7485         [BZ #9894]
7486         * sysdeps/unix/sysv/linux/kernel-features.h
7487         [__sparc__ && !__arch64__ && !__sparc_v9__]
7488         (__ASSUME_SET_ROBUST_LIST): Do not define.
7489         [__sparc__ && !__arch64__ && !__sparc_v9__]
7490         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7491         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7492         Likewise.
7493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7494         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7495         (__ASSUME_REQUEUE_PI): Likewise.
7496         (__ASSUME_SET_ROBUST_LIST): Likewise.
7497         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7498         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7499         Undefine.
7500         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7501         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7502         Likewise.
7503         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7504         Likewise.
7505         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7506         Likewise.
7507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7508         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7509         Undefine.
7510         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7511         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7512         Likewise.
7513
7514         [BZ #16648]
7515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7516         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7517         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7518
7519 2014-03-31  Will Newton  <will.newton@linaro.org>
7520
7521         * benchtests/Makefile (bench): Add ffs and ffsll to list
7522         of tests.
7523         * benchtests/ffs-inputs: New file.
7524         * benchtests/ffsll-inputs: Likewise.
7525
7526 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7527
7528         [BZ #16770]
7529         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7530         too large before casting to int.
7531         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7532         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7533         * math/libm-test.inc (scalb_test_data): Add more tests.
7534
7535 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7536
7537         * benchtests/Makefile (DETAILED_OPT): New make option.
7538         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7539         set.
7540         * benchtests/bench-skeleton.c: Include stdbool.h.
7541         (main): Store and print timings per input.
7542         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7543         member to each argument value.
7544         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7545         (_print_arg_data): Initialize per-input timing to 0.
7546
7547         * benchtests/Makefile (timing-type): New binary.
7548         (bench-clean): Also remove bench-timing-type.
7549         (bench): New target for timing-type.
7550         (bench-func): Print output in JSON format.
7551         * benchtests/bench-skeleton.c (main): Print output in JSON
7552         format.
7553         * benchtests/bench-timing-type.c: New file.
7554         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7555         (TIMING_PRINT_STATS): Remove.
7556         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7557         name separately.
7558
7559         * benchtests/bench-modf.c: Remove.
7560         * benchtests/modf-inputs: New inputs file.
7561
7562 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7563
7564         [BZ #16362]
7565         * math/s_clog10.c (M_PI_LOG10E): New macro.
7566         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7567         imaginary parts are 0.
7568         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7569         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7570         imaginary parts are 0.
7571         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7572         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7573         imaginary parts are 0.
7574         * math/libm-test.inc (clog10_test_data): Update expected results
7575         for when real and imaginary parts are 0.
7576
7577 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7578
7579         * elf/dl-load.c: Finish conversion of __builtin_expect into
7580         __glibc_{un}likely.
7581
7582 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7583
7584         [BZ #16348]
7585         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7586         1+x for argument with exponent below -67.
7587         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7588         Likewise.
7589         * math/auto-libm-test-in: Add more tests of exp.
7590         * math/auto-libm-test-out: Regenerated.
7591
7592 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7593
7594         [BZ #16759]
7595         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7596         (nscd_getnetgrent): Use it.
7597
7598         [BZ #16760]
7599         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7600         of stpcpy.
7601
7602 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7603
7604         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7605         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7606         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7607         (lll_robust_unlock): Remove out of line section. Use cfi
7608         intrinsics.
7609         (LLL_STUB_UNWIND_INFO*): Remove.
7610         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7611         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7612         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7613         (lll_robust_unlock): Remove out of line section. Use cfi
7614         intrinsics.
7615         (LLL_STUB_UNWIND_INFO*): Remove.
7616
7617 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7618
7619         [BZ #16758]
7620         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7621         blank values.
7622
7623 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7624
7625         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7626
7627 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7628
7629         [BZ #16198]
7630         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7631         fnstenv.
7632         * math/test-fenv-preserve.c: New file.
7633         * math/Makefile (tests): Add test-fenv-preserve.
7634
7635 2014-03-26  Will Newton <will.newton@linaro.org>
7636
7637         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7638
7639 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7640
7641         * scripts/versionlist.awk: Partition the version sets and emit all
7642         GLIBC_* (sorted) before all others (sorted).
7643
7644 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7645
7646         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7647         GLIBC_2.2.5 version.
7648
7649 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7650
7651         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7652         calls.
7653
7654         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7655         previous change.
7656
7657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7658
7659 2014-03-25  Andreas Schwab  <schwab@suse.de>
7660
7661         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7662         label to be used after in6ailist is initialized.
7663
7664 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7665
7666         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7667         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7668
7669 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7670
7671         [BZ #16357]
7672         [BZ #16599]
7673         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7674         min_plus_half.
7675         (fp_formats): Update initializers.
7676         (init_fp_formats): Initialize new field.
7677         (output_for_one_input_case): Allow underflow for results up to
7678         min_plus_half.
7679         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7680         * math/auto-libm-test-in: Don't mark some underflows from asin and
7681         atanh as spurious.
7682         * math/auto-libm-test-out: Regenerated.
7683         * sysdeps/i386/fpu/libm-test-ulps: Update.
7684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7685
7686 2014-03-25  Andreas Schwab  <schwab@suse.de>
7687
7688         * libio/Makefile (tst-ftell-partial-wide-ENV)
7689         (tst-ftell-active-handler-ENV): Define.
7690
7691 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7692
7693         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7694
7695 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7696
7697         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7698
7699 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7700
7701         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7702         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7703         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7704
7705 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7706
7707         [BZ #16634]
7708         * elf/dl-load.c (open_verify): Add mode parameter.
7709         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7710         (open_path): Change from boolean 'secure' to complete flag 'mode'
7711         (_dl_map_object): Adjust.
7712         * elf/Makefile (tests): Add tst-dlopen-aout.
7713         * elf/tst-dlopen-aout.c: New test.
7714
7715 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7716
7717         [BZ #16714]
7718         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7719         (struct stat): Rename member pad0 to __glibc_reserved0.
7720
7721         [BZ #16712]
7722         * sysdeps/s390/s390-32/bits/wordsize.h
7723         (__WORDSIZE32_SIZE_ULONG): New define.
7724         * sysdeps/s390/s390-64/bits/wordsize.h
7725         (__WORDSIZE32_SIZE_ULONG): Likewise.
7726         * sysdeps/generic/stdint.h (SIZE_MAX):
7727         Define as UL if __WORDSIZE32_SIZE_ULONG.
7728
7729         [BZ #16713]
7730         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7731         (__glibc_reserved0): New variable.
7732         (sa_flags): Change type to int.
7733
7734         * posix/Makefile (before-compile): Use += before-compile instead
7735         of a :=.
7736
7737         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7738         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7739
7740 2014-03-20  Andreas Schwab  <schwab@suse.de>
7741
7742         [BZ #16743]
7743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7744         non-matching result from nscd.
7745
7746 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7747
7748         * scripts/bench.py: Moved to ...
7749         * benchtests/scripts/bench.py: ... here.
7750         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7751
7752 2014-03-24  Andreas Schwab  <schwab@suse.de>
7753
7754         [BZ #16002]
7755         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7756         alloca_account and account alloca use for struct in6ailist.
7757
7758 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7759
7760         [BZ #16284]
7761         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7762         rounding mode to recompute results that overflow to infinity or
7763         underflow to zero.
7764         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7765         bug 16284.
7766         * math/auto-libm-test-out: Regenerated.
7767         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7768         (ccosh_test): Likewise.
7769         (csin_test_data): Use plus_oflow.
7770         (csin_test): Use ALL_RM_TEST.
7771         (csinh_test_data): Use plus_oflow.
7772         (csinh_test): Use ALL_RM_TEST.
7773         * sysdeps/i386/fpu/libm-test-ulps: Update.
7774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7775
7776 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7777
7778         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7779         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7780         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7781
7782         [BZ #16731]
7783         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7784         when x - 1 is zero.
7785         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7786         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7787         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7788         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7789         argument is 1.
7790         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7791         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7792         zero.
7793         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7794         * sysdeps/i386/fpu/libm-test-ulps: Update.
7795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7796
7797 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7798
7799         * scripts/bench.pl: Remove file.
7800         * scripts/bench.py: New benchmark script.
7801         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7802         * benchtests/README: Mention python dependency.
7803         * scripts/pylintrc: New file.
7804         * scripts/pylint: New file.
7805
7806         * bits/mathdef.h: Use #ifdef instead of #if.
7807         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7808         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7809         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7810         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7811         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7812         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7813
7814 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7815             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7816
7817         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7819         and strpbrk-ppc64 objects.
7820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7821         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7822         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7823         multiarch strpbrk for POWER7.
7824         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7825         multiarch strpbrk for PPC64.
7826         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7827         ifunc selector.
7828         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7829         strpbrk for POWER7.
7830
7831 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7832
7833         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7834         (atan_test): Likewise.
7835         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7836         (atanh_test): Use ALL_RM_TEST.
7837         (atan2_test_data): Likewise.
7838         (cabs_test): Likewise.
7839         (cacosh_test): Likewise.
7840         (carg_test): Likewise.
7841         (casin_test): Likewise.
7842         (casinh_test): Likewise.
7843         (cbrt_test): Likewise.
7844         (csqrt_test): Likewise.
7845         (erf_test): Likewise.
7846         (erfc_test): Likewise.
7847         (pow10_test): Likewise.
7848         (exp2_test): Likewise.
7849         (hypot_test): Likewise.
7850         (j0_test): Likewise.
7851         (j1_test): Likewise.
7852         (lgamma_test): Likewise.
7853         (gamma_test): Likewise.
7854         (sincos_test): Likewise.
7855         (tanh_test): Likewise.
7856         (y0_test): Likewise.
7857         (y1_test): Likewise.
7858         * sysdeps/i386/fpu/libm-test-ulps: Update.
7859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7860
7861 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7862
7863         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7865         and strcspn-ppc64 objects.
7866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7867         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7868         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7869         multiarch strcspn for POWER7.
7870         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7871         multiarch strcspn for PPC64.
7872         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7873         ifunc selector.
7874         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7875         strcspn for POWER7.
7876
7877 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7878
7879         * math/gen-libm-test.pl (generate_testfile): Expect only function
7880         name as argument to AUTO_TESTS_* and pass results for all rounding
7881         modes to parse_args.
7882         (parse_auto_input): Separate inputs of automatic tests from
7883         outputs before storing in %auto_tests.
7884         * math/libm-test.inc (acos_test_data): Update call to
7885         AUTO_TESTS_f_f.
7886         (acos_test): Use ALL_RM_TEST.
7887         (acos_tonearest_test_data): Remove.
7888         (acos_test_tonearest): Likewise.
7889         (acos_towardzero_test_data): Likewise.
7890         (acos_test_towardzero): Likewise.
7891         (acos_downward_test_data): Likewise.
7892         (acos_test_downward): Likewise.
7893         (acos_upward_test_data): Likewise.
7894         (acos_test_upward): Likewise.
7895         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7896         (asin_test_data): Likewise.
7897         (asin_test): Use ALL_RM_TEST.
7898         (asin_tonearest_test_data): Remove.
7899         (asin_test_tonearest): Likewise.
7900         (asin_towardzero_test_data): Likewise.
7901         (asin_test_towardzero): Likewise.
7902         (asin_downward_test_data): Likewise.
7903         (asin_test_downward): Likewise.
7904         (asin_upward_test_data): Likewise.
7905         (asin_test_upward): Likewise.
7906         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7907         (atan_test_data): Likewise.
7908         (atanh_test_data): Likewise.
7909         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7910         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7911         (carg_test_data): Likewise.
7912         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7913         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7914         (ccosh_test_data): Likewise.
7915         (cexp_test_data): Likewise.
7916         (clog_test_data): Likewise.
7917         (clog10_test_data): Likewise.
7918         (cos_test_data): Update call to AUTO_TESTS_f_f.
7919         (cos_test): Use ALL_RM_TEST.
7920         (cos_tonearest_test_data): Remove.
7921         (cos_test_tonearest): Likewise.
7922         (cos_towardzero_test_data): Likewise.
7923         (cos_test_towardzero): Likewise.
7924         (cos_downward_test_data): Likewise.
7925         (cos_test_downward): Likewise.
7926         (cos_upward_test_data): Likewise.
7927         (cos_test_upward): Likewise.
7928         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7929         (cosh_test): Use ALL_RM_TEST.
7930         (cosh_tonearest_test_data): Remove.
7931         (cosh_test_tonearest): Likewise.
7932         (cosh_towardzero_test_data): Likewise.
7933         (cosh_test_towardzero): Likewise.
7934         (cosh_downward_test_data): Likewise.
7935         (cosh_test_downward): Likewise.
7936         (cosh_upward_test_data): Likewise.
7937         (cosh_test_upward): Likewise.
7938         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7939         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7940         (ctan_test_data): Likewise.
7941         (ctan_test): Use ALL_RM_TEST.
7942         (ctan_tonearest_test_data): Remove.
7943         (ctan_test_tonearest): Likewise.
7944         (ctan_towardzero_test_data): Likewise.
7945         (ctan_test_towardzero): Likewise.
7946         (ctan_downward_test_data): Likewise.
7947         (ctan_test_downward): Likewise.
7948         (ctan_upward_test_data): Likewise.
7949         (ctan_test_upward): Likewise.
7950         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7951         (ctanh_test): Use ALL_RM_TEST.
7952         (ctanh_tonearest_test_data): Remove.
7953         (ctanh_test_tonearest): Likewise.
7954         (ctanh_towardzero_test_data): Likewise.
7955         (ctanh_test_towardzero): Likewise.
7956         (ctanh_downward_test_data): Likewise.
7957         (ctanh_test_downward): Likewise.
7958         (ctanh_upward_test_data): Likewise.
7959         (ctanh_test_upward): Likewise.
7960         (erf_test_data): Update call to AUTO_TESTS_f_f.
7961         (erfc_test_data): Likewise.
7962         (exp_test_data): Likewise.
7963         (exp_test): Use ALL_RM_TEST.
7964         (exp_tonearest_test_data): Remove.
7965         (exp_test_tonearest): Likewise.
7966         (exp_towardzero_test_data): Likewise.
7967         (exp_test_towardzero): Likewise.
7968         (exp_downward_test_data): Likewise.
7969         (exp_test_downward): Likewise.
7970         (exp_upward_test_data): Likewise.
7971         (exp_test_upward): Likewise.
7972         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7973         (exp10_test): Use ALL_RM_TEST.
7974         (exp10_tonearest_test_data): Remove.
7975         (exp10_test_tonearest): Likewise.
7976         (exp10_towardzero_test_data): Likewise.
7977         (exp10_test_towardzero): Likewise.
7978         (exp10_downward_test_data): Likewise.
7979         (exp10_test_downward): Likewise.
7980         (exp10_upward_test_data): Likewise.
7981         (exp10_test_upward): Likewise.
7982         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7983         (expm1_test_data): Likewise.
7984         (expm1_test): Use ALL_RM_TEST.
7985         (expm1_tonearest_test_data): Remove.
7986         (expm1_test_tonearest): Likewise.
7987         (expm1_towardzero_test_data): Likewise.
7988         (expm1_test_towardzero): Likewise.
7989         (expm1_downward_test_data): Likewise.
7990         (expm1_test_downward): Likewise.
7991         (expm1_upward_test_data): Likewise.
7992         (expm1_test_upward): Likewise.
7993         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7994         (fma_test): Use ALL_RM_TEST.
7995         (fma_towardzero_test_data): Remove.
7996         (fma_test_towardzero): Likewise.
7997         (fma_downward_test_data): Likewise.
7998         (fma_test_downward): Likewise.
7999         (fma_upward_test_data): Likewise.
8000         (fma_test_upward): Likewise.
8001         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8002         (j0_test_data): Update call to AUTO_TESTS_f_f.
8003         (j1_test_data): Likewise.
8004         (jn_test_data): Update call to AUTO_TESTS_if_f.
8005         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8006         (log_test_data): Update call to AUTO_TESTS_f_f.
8007         (log10_test_data): Likewise.
8008         (log1p_test_data): Likewise.
8009         (log2_test_data): Likewise.
8010         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8011         (pow_tonearest_test_data): Likewise.
8012         (sin_test_data): Update call to AUTO_TESTS_f_f.
8013         (sin_test): Use ALL_RM_TEST.
8014         (sin_tonearest_test_data): Remove.
8015         (sin_test_tonearest): Likewise.
8016         (sin_towardzero_test_data): Likewise.
8017         (sin_test_towardzero): Likewise.
8018         (sin_downward_test_data): Likewise.
8019         (sin_test_downward): Likewise.
8020         (sin_upward_test_data): Likewise.
8021         (sin_test_upward): Likewise.
8022         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8023         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8024         (sinh_test): Use ALL_RM_TEST.
8025         (sinh_tonearest_test_data): Remove.
8026         (sinh_test_tonearest): Likewise.
8027         (sinh_towardzero_test_data): Likewise.
8028         (sinh_test_towardzero): Likewise.
8029         (sinh_downward_test_data): Likewise.
8030         (sinh_test_downward): Likewise.
8031         (sinh_upward_test_data): Likewise.
8032         (sinh_test_upward): Likewise.
8033         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8034         (sqrt_test): Use ALL_RM_TEST.
8035         (sqrt_tonearest_test_data): Remove.
8036         (sqrt_test_tonearest): Likewise.
8037         (sqrt_towardzero_test_data): Likewise.
8038         (sqrt_test_towardzero): Likewise.
8039         (sqrt_downward_test_data): Likewise.
8040         (sqrt_test_downward): Likewise.
8041         (sqrt_upward_test_data): Likewise.
8042         (sqrt_test_upward): Likewise.
8043         (tan_test_data): Update call to AUTO_TESTS_f_f.
8044         (tan_test): Use ALL_RM_TEST.
8045         (tan_tonearest_test_data): Remove.
8046         (tan_test_tonearest): Likewise.
8047         (tan_towardzero_test_data): Likewise.
8048         (tan_test_towardzero): Likewise.
8049         (tan_downward_test_data): Likewise.
8050         (tan_test_downward): Likewise.
8051         (tan_upward_test_data): Likewise.
8052         (tan_test_upward): Likewise.
8053         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8054         (tgamma_test_data): Likewise.
8055         (y0_test_data): Likewise.
8056         (y1_test_data): Likewise.
8057         (yn_test_data): Update call to AUTO_TESTS_if_f.
8058         (main): Do not call removed functions.
8059
8060 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8061
8062         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8063         (ldexp_test_data): Remove.
8064         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8065         scalbn_test_data.
8066         (scalb_test): Use ALL_RM_TEST.
8067
8068 2014-03-19  Andreas Schwab  <schwab@suse.de>
8069
8070         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8071
8072 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8073
8074         [BZ #16649]
8075         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8076         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8077         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8078         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8079         (__ASSUME_PREADV): Undefine.
8080         (__ASSUME_PWRITEV): Likewise.
8081
8082 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8083
8084         * bits/mman-linux.h: Add comment about non-Linux use.
8085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8086         bits/mman-linux.h resting place.
8087
8088         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8089         * bits/mman-linux.h: ... here.
8090
8091 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8092
8093         * conform/conformtest.pl: Add standard definition when calling C
8094         preprocessor on data files.
8095         (checknamespace): Remove unused variable.
8096
8097 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8098
8099         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8100         minus_oflow, plus_uflow and minus_uflow in expected results.
8101         * math/libm-test.inc (scalbn_test_data): Add more tests of
8102         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8103         minus_uflow.
8104         (scalbn_test): Use ALL_RM_TEST.
8105         (scalbln_test_data): Add more tests of negative arguments.  Use
8106         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8107         (scalbln_test): Use ALL_RM_TEST.
8108
8109 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8110
8111         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8112
8113 2014-03-18  Will Newton  <will.newton@linaro.org>
8114
8115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8116         inaccurate comment.
8117
8118 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8119
8120         * Makerules [!subdir] (check-abi): Exit with error status if a
8121         test failed.
8122
8123 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8124
8125         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8126         for rint.  Include results for all rounding modes.
8127         (nearbyint_test): Use ALL_RM_TEST.
8128         (rint_test_data): Include all tests used for nearbyint.
8129
8130 2014-03-17  Will Newton  <will.newton@linaro.org>
8131
8132         * nptl/sysdeps/pthread/pthread.h: Revert previous
8133         change.
8134
8135         * sysdeps/generic/ldsodefs.h: Revert previous
8136         change.
8137
8138         * libio/genops.c: Revert previous change.
8139         * libio/libioP.h: Likewise.
8140         * stdio-common/vfprintf.c: Likewise.
8141
8142         * sysdeps/generic/math_private.h: Revert previous
8143         change.
8144
8145         * sysdeps/generic/math_private.h: Check whether
8146         HAVE_RM_CTX is defined with #ifdef rather
8147         than #if.
8148
8149         * argp/argp-fmtstream.h: Check whether
8150         __STRICT_ANSI__ is defined with #ifdef rather
8151         than #if.
8152         * argp/argp.h: Likewise.
8153
8154         * libio/genops.c: Check whether
8155         _IO_JUMPS_OFFSET is defined with #ifdef rather
8156         than #if.
8157         * libio/libioP.h: Likewise.
8158         * stdio-common/vfprintf.c: Likewise.
8159
8160         * sysdeps/generic/ldsodefs.h: Check whether
8161         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8162         than #if.
8163
8164         * nptl/sysdeps/pthread/pthread.h: Check
8165         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8166         its value.
8167
8168 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8169
8170         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8171         setting O_APPEND.
8172         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8173         test case.
8174
8175         [BZ #16680]
8176         * libio/fileops.c (_IO_file_open): Seek to end of file but
8177         don't cache the offset.
8178         (get_file_offset): Remove function.
8179         (do_ftell): Use cached offset when available.
8180         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8181         don't cache the offset.
8182         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8183         case.
8184         (do_one_test): Call it.
8185         (do_ftell_test): Fix up expected old offset for a+ mode.
8186         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8187         available.
8188
8189         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8190         up test status with function return status.
8191         (do_write_test): Likewise.
8192         (do_append_test): Likewise.
8193
8194         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8195         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8196         Remove.
8197
8198 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8199
8200         * math/gen-libm-test.pl (parse_args): Handle results specified for
8201         each rounding mode separately.
8202         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8203         tests and results from lrint_tonearest_test_data,
8204         lrint_towardzero_test_data, lrint_downward_test_data and
8205         lrint_upward_test_data.
8206         (lrint_test): Use ALL_RM_TEST.
8207         (lrint_tonearest_test_data): Remove.
8208         (lrint_test_tonearest): Likewise.
8209         (lrint_towardzero_test_data): Likewise.
8210         (lrint_test_towardzero): Likewise.
8211         (lrint_downward_test_data): Likewise.
8212         (lrint_test_downward): Likewise.
8213         (lrint_upward_test_data): Likewise.
8214         (lrint_test_upward): Likewise.
8215         (llrint_test_data): Merge in per-rounding-mode tests and results
8216         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8217         llrint_downward_test_data and llrint_upward_test_data.
8218         (llrint_test): Use ALL_RM_TEST.
8219         (llrint_tonearest_test_data): Remove.
8220         (llrint_test_tonearest): Likewise.
8221         (llrint_towardzero_test_data): Likewise.
8222         (llrint_test_towardzero): Likewise.
8223         (llrint_downward_test_data): Likewise.
8224         (llrint_test_downward): Likewise.
8225         (llrint_upward_test_data): Likewise.
8226         (llrint_test_upward): Likewise.
8227         (rint_test_data): Merge in per-rounding-mode tests and results
8228         from rint_tonearest_test_data, rint_towardzero_test_data,
8229         rint_downward_test_data and rint_upward_test_data.  Add
8230         per-rounding-mode results for tests not in those arrays.
8231         (rint_test): Use ALL_RM_TEST.
8232         (rint_tonearest_test_data): Remove.
8233         (rint_test_tonearest): Likewise.
8234         (rint_towardzero_test_data): Likewise.
8235         (rint_test_towardzero): Likewise.
8236         (rint_downward_test_data): Likewise.
8237         (rint_test_downward): Likewise.
8238         (rint_upward_test_data): Likewise.
8239         (rint_test_upward): Likewise.
8240         (main): Don't call removed functions.
8241
8242 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8243
8244         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8245         "Compiled on ..." crapola.  It is anti-useful.
8246
8247 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8248
8249         * scripts/evaluate-test.sh: Handle fourth argument to determine
8250         whether test run should stop on failure.
8251         * Makeconfig (stop-on-test-failure): New variable.
8252         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8253         $(stop-on-test-failure).
8254         * Makefile (tests): Give a summary of results from testing and
8255         exit with failure status if they include an ERROR or FAIL.
8256         (xtests): Likewise.
8257         * manual/install.texi (Configuring and compiling): Mention
8258         stop-on-test-failure=y.
8259         * INSTALL: Regenerated.
8260
8261 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8262
8263         * scripts/versionlist.awk: New file.
8264         * Makerules [$(build-shared) = yes]
8265         (postclean-generated): Add Versions.def, not Versions.def.v and
8266         Versions.def.v.i.
8267         ($(common-objpfx)Versions.def.v.i): Target removed.
8268         ($(common-objpfx)Versions.def): New target.
8269         ($(common-objpfx)Versions.all): Depend on that rather that
8270         $(common-objpfx)Versions.def.v.
8271         * Versions.def: File removed.
8272
8273         * Makeconfig (+gccwarn): Add -Wundef.
8274         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8275         a dl-sysdep.h breaking its contract.
8276         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8277         * include/stackinfo.h: New file.
8278         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8279         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8280         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8281         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8282         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8283         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8284         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8285         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8286         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8287         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8288         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8289         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8290         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8291         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8292         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8293
8294 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8295
8296         [BZ #16707]
8297         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8298         implementation.
8299         * math/libm-test.inc (round_test_data): Add more tests.
8300
8301         [BZ #16706]
8302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8303         implementation.
8304         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8305
8306         [BZ #16701]
8307         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8308         implementation.
8309         * math/libm-test.inc (ceil_test_data): Add more tests.
8310
8311         * math/libm-test.inc (trunc_test_data): Add more tests related to
8312         BZ#16414.
8313
8314 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8315
8316         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8317         with #if rather than #ifdef.
8318         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8319
8320 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8321
8322         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8323         first.  Disable AVX-512 GCC support if assembler doesn't support
8324         it.
8325         * sysdeps/x86_64/configure: Regenerated.
8326
8327 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8328
8329         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8330         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8331         (__old_pthread_attr_setstack): Likewise.
8332         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8333         [!_STACK_GROWS_DOWN]: Likewise.
8334
8335 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8336
8337         * config.make.in (have-bash2): Delete.
8338         * configure.ac (libc_cv_have_bash2): Delete.
8339         * configure: Regenerate.
8340         * elf/Makefile (common-ldd-rewrite): Rename to ...
8341         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8342         (sh-ldd-rewrite): Delete.
8343         (bash-ldd-rewrite): Delete.
8344         (have-bash2): Delete checks.
8345         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8346         ldd-rewrite.
8347
8348         * config.make.in (have-ksh): Delete.
8349         (KSH): Delete.
8350         * configure.ac (libc_cv_have_ksh): Delete.
8351         * configure: Regenerate.
8352
8353         * elf/Makefile: Delete $(have-ksh) check.
8354         ($(objpfx)sotruss): Change KSH to BASH.
8355         * elf/sotruss.ksh: Rename to ...
8356         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8357         function style to match POSIX.  Drop ksh vim mode setting.
8358
8359         * manual/time.texi (Specifying the Time Zone with TZ): Change
8360         Tuesday to Thursday.
8361
8362         * debug/tst-longjmp_chk2.c: Update header comment.
8363         (stackoverflow_handler): Add comment.  Call assert on pass value.
8364
8365 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8366
8367         [BZ #16194]
8368         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8369         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8370         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8371         (La_x86_64_vector): Add zmm.
8372         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8373         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8374         ($(objpfx)tst-audit10): New target.
8375         ($(objpfx)tst-audit10.out): Likewise.
8376         (tst-audit10-ENV): New.
8377         (AVX512-CFLAGS): Likewise.
8378         (CFLAGS-tst-audit10.c): Likewise.
8379         (CFLAGS-tst-auditmod10a.c): Likewise.
8380         (CFLAGS-tst-auditmod10b.c): Likewise.
8381         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8382         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8383         * sysdeps/x86_64/configure: Regenerated.
8384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8385         AVX-512 zmm register support.
8386         (_dl_x86_64_save_sse): Likewise.
8387         (_dl_x86_64_restore_sse): Likewise.
8388         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8389         size vector registers.
8390         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8391         (ZMM_SIZE): Likewise.
8392         * sysdeps/x86_64/tst-audit10.c: New file.
8393         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8394         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8395
8396 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8397
8398         * configure.ac (HAVE_EHDR_START): New check.
8399         * configure: Regenerated.
8400         * config.h.in (HAVE_EHDR_START): New #undef.
8401         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8402         assuming the lowest-addressed segment maps the start of the file.
8403
8404 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8405
8406         * INSTALL: Regenerated.
8407
8408 2014-03-13  Will Newton  <will.newton@linaro.org>
8409
8410         * manual/setjmp.texi (System V contexts): Improve
8411         clarity and grammar of documentation.
8412
8413 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8414
8415         [BZ #16381]
8416         * elf/Makefile (tests): Add tst-pie2.
8417         (tests-pie): Add tst-pie2.
8418         * elf/tst-pie2.c: New file.
8419         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8420         for ET_EXEC.
8421         * elf/rtld.c (map_doit): Load executable as lt_executable.
8422         (dl_main): Likewise.
8423
8424 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8425
8426         [BZ #16642]
8427         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8428         (__ASSUME_PSELECT): Undefine.
8429
8430 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8431
8432         [BZ #16689]
8433         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8434         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8435         static build.
8436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8437         selector for static builds.
8438
8439 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8440
8441         [BZ #16695]
8442         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8443         key in the buffer.
8444
8445 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8446
8447         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8448         IFUNC selector for static builds.
8449
8450 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8451
8452         * sysdeps/mips/math_private.h [__mips_hard_float]
8453         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8454         libc_feresetround_mips_ctx.
8455         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8456         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8457         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8458
8459         [BZ #16677]
8460         * math/s_nextafter.c (__nextafter): Do not return value from
8461         overflowing computation.
8462         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8463         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8464         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8465         Likewise.
8466         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8467         Likewise.
8468         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8469         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8470
8471 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8472
8473         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8474         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8475         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8476         the new mov targetting sp.
8477
8478 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8479
8480         [BZ #16683]
8481         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8482         Define it for static builds as well.
8483         (NO_BZERO_IMPL): Likewise.
8484
8485 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8486
8487         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8488         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8489         multiarch strspn for PPC64.
8490         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8491         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8493         (__libc_ifunc_impl_list): Likewise.
8494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8495         multiarch optimizations
8496         * string/strspn.c (strspn): Using macro to redefine symbol name.
8497
8498 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8499             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8500
8501         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8502         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8503         multiarch strncat for PPC64.
8504         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8505         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8507         (__libc_ifunc_impl_list): Likewise.
8508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8509         multiarch optimizations
8510
8511 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8512
8513         [BZ #16639]
8514         * nscd/nscd.service: Make service type forking.
8515
8516 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8517
8518         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8519         sign in non default rounding modes.
8520         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8521
8522 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8523
8524         * math/libm-test.inc (ALL_RM_TEST): New macro.
8525         (ceil_test): Use ALL_RM_TEST.
8526         (cimag_test): Likewise.
8527         (conj_test): Likewise.
8528         (copysign_test): Likewise.
8529         (cproj_test): Likewise.
8530         (creal_test): Likewise.
8531         (fabs_test): Likewise.
8532         (floor_test): Likewise.
8533         (fmax_test): Likewise.
8534         (fmin_test): Likewise.
8535         (fmod_test): Likewise.
8536         (fpclassify_test): Likewise.
8537         (frexp_test): Likewise.
8538         (ilogb_test): Likewise.
8539         (isfinite_test): Likewise.
8540         (finite_test): Likewise.
8541         (isgreater_test): Likewise.
8542         (isgreaterequal_test): Likewise.
8543         (isinf_test): Likewise.
8544         (isless_test): Likewise.
8545         (islessequal_test): Likewise.
8546         (islessgreater_test): Likewise.
8547         (isnan_test): Likewise.
8548         (isnormal_test): Likewise.
8549         (issignaling_test): Likewise.
8550         (isunordered_test): Likewise.
8551         (logb_test): Likewise.
8552         (logb_downward_test_data): Remove.
8553         (logb_test_downward): Likewise.
8554         (lround_test): Use ALL_RM_TEST.
8555         (llround_test): Likewise.
8556         (modf_test): Likewise.
8557         (nexttoward_test): Likewise.
8558         (remainder_test): Likewise.
8559         (drem_test): Likewise.
8560         (remainder_tonearest_test_data): Likewise.
8561         (remainder_test_tonearest): Likewise.
8562         (drem_test_tonearest): Likewise.
8563         (remainder_towardzero_test_data): Likewise.
8564         (remainder_test_towardzero): Likewise.
8565         (drem_test_towardzero): Likewise.
8566         (remainder_downward_test_data): Likewise.
8567         (remainder_test_downward): Likewise.
8568         (drem_test_downward): Likewise.
8569         (remainder_upward_test_data): Likewise.
8570         (remainder_test_upward): Likewise.
8571         (drem_test_upward): Likewise.
8572         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8573         (round_test): Use ALL_RM_TEST.
8574         (signbit_test): Likewise.
8575         (trunc_test): Likewise.
8576         (significand_test): Likewise.
8577         (main): Don't call removed functions.
8578
8579 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8580
8581         [BZ #16674]
8582         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8583         || __USE_XOPEN2K8].
8584         (ILL_ILLOPN): Likewise.
8585         (ILL_ILLADR): Likewise.
8586         (ILL_ILLTRP): Likewise.
8587         (ILL_PRVOPC): Likewise.
8588         (ILL_PRVREG): Likewise.
8589         (ILL_COPROC): Likewise.
8590         (ILL_BADSTK): Likewise.
8591         (FPE_INTDIV): Likewise.
8592         (FPE_INTOVF): Likewise.
8593         (FPE_FLTDIV): Likewise.
8594         (FPE_FLTOVF): Likewise.
8595         (FPE_FLTUND): Likewise.
8596         (FPE_FLTRES): Likewise.
8597         (FPE_FLTINV): Likewise.
8598         (FPE_FLTSUB): Likewise.
8599         (SEGV_MAPERR): Likewise.
8600         (SEGV_ACCERR): Likewise.
8601         (BUS_ADRALN): Likewise.
8602         (BUS_ADRERR): Likewise.
8603         (BUS_OBJERR): Likewise.
8604         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8605         (TRAP_TRACE): Likewise.
8606         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8607         __USE_XOPEN2K8].
8608         (CLD_KILLED): Likewise.
8609         (CLD_DUMPED): Likewise.
8610         (CLD_TRAPPED): Likewise.
8611         (CLD_STOPPED): Likewise.
8612         (CLD_CONTINUED): Likewise.
8613         (POLL_IN): Likewise.
8614         (POLL_OUT): Likewise.
8615         (POLL_MSG): Likewise.
8616         (POLL_ERR): Likewise.
8617         (POLL_PRI): Likewise.
8618         (POLL_HUP): Likewise.
8619         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8620         Likewise.
8621         (ILL_ILLOPN): Likewise.
8622         (ILL_ILLADR): Likewise.
8623         (ILL_ILLTRP): Likewise.
8624         (ILL_PRVOPC): Likewise.
8625         (ILL_PRVREG): Likewise.
8626         (ILL_COPROC): Likewise.
8627         (ILL_BADSTK): Likewise.
8628         (FPE_INTDIV): Likewise.
8629         (FPE_INTOVF): Likewise.
8630         (FPE_FLTDIV): Likewise.
8631         (FPE_FLTOVF): Likewise.
8632         (FPE_FLTUND): Likewise.
8633         (FPE_FLTRES): Likewise.
8634         (FPE_FLTINV): Likewise.
8635         (FPE_FLTSUB): Likewise.
8636         (SEGV_MAPERR): Likewise.
8637         (SEGV_ACCERR): Likewise.
8638         (BUS_ADRALN): Likewise.
8639         (BUS_ADRERR): Likewise.
8640         (BUS_OBJERR): Likewise.
8641         (BUS_MCEERR_AR): Likewise.
8642         (BUS_MCEERR_AO): Likewise.
8643         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8644         (TRAP_TRACE): Likewise.
8645         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8646         __USE_XOPEN2K8].
8647         (CLD_KILLED): Likewise.
8648         (CLD_DUMPED): Likewise.
8649         (CLD_TRAPPED): Likewise.
8650         (CLD_STOPPED): Likewise.
8651         (CLD_CONTINUED): Likewise.
8652         (POLL_IN): Likewise.
8653         (POLL_OUT): Likewise.
8654         (POLL_MSG): Likewise.
8655         (POLL_ERR): Likewise.
8656         (POLL_PRI): Likewise.
8657         (POLL_HUP): Likewise.
8658         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8659         (ILL_ILLOPN): Likewise.
8660         (ILL_ILLADR): Likewise.
8661         (ILL_ILLTRP): Likewise.
8662         (ILL_PRVOPC): Likewise.
8663         (ILL_PRVREG): Likewise.
8664         (ILL_COPROC): Likewise.
8665         (ILL_BADSTK): Likewise.
8666         (FPE_INTDIV): Likewise.
8667         (FPE_INTOVF): Likewise.
8668         (FPE_FLTDIV): Likewise.
8669         (FPE_FLTOVF): Likewise.
8670         (FPE_FLTUND): Likewise.
8671         (FPE_FLTRES): Likewise.
8672         (FPE_FLTINV): Likewise.
8673         (FPE_FLTSUB): Likewise.
8674         (SEGV_MAPERR): Likewise.
8675         (SEGV_ACCERR): Likewise.
8676         (BUS_ADRALN): Likewise.
8677         (BUS_ADRERR): Likewise.
8678         (BUS_OBJERR): Likewise.
8679         (BUS_MCEERR_AR): Likewise.
8680         (BUS_MCEERR_AO): Likewise.
8681         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8682         (TRAP_TRACE): Likewise.
8683         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8684         __USE_XOPEN2K8].
8685         (CLD_KILLED): Likewise.
8686         (CLD_DUMPED): Likewise.
8687         (CLD_TRAPPED): Likewise.
8688         (CLD_STOPPED): Likewise.
8689         (CLD_CONTINUED): Likewise.
8690         (POLL_IN): Likewise.
8691         (POLL_OUT): Likewise.
8692         (POLL_MSG): Likewise.
8693         (POLL_ERR): Likewise.
8694         (POLL_PRI): Likewise.
8695         (POLL_HUP): Likewise.
8696         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8697         Likewise.
8698         (ILL_ILLOPN): Likewise.
8699         (ILL_ILLADR): Likewise.
8700         (ILL_ILLTRP): Likewise.
8701         (ILL_PRVOPC): Likewise.
8702         (ILL_PRVREG): Likewise.
8703         (ILL_COPROC): Likewise.
8704         (ILL_BADSTK): Likewise.
8705         (ILL_BADIADDR): Likewise.
8706         (ILL_BREAK): Likewise.
8707         (FPE_INTDIV): Likewise.
8708         (FPE_INTOVF): Likewise.
8709         (FPE_FLTDIV): Likewise.
8710         (FPE_FLTOVF): Likewise.
8711         (FPE_FLTUND): Likewise.
8712         (FPE_FLTRES): Likewise.
8713         (FPE_FLTINV): Likewise.
8714         (FPE_FLTSUB): Likewise.
8715         (FPE_DECOVF): Likewise.
8716         (FPE_DECDIV): Likewise.
8717         (FPE_DECERR): Likewise.
8718         (FPE_INVASC): Likewise.
8719         (FPE_INVDEC): Likewise.
8720         (SEGV_MAPERR): Likewise.
8721         (SEGV_ACCERR): Likewise.
8722         (SEGV_PSTKOVF): Likewise.
8723         (BUS_ADRALN): Likewise.
8724         (BUS_ADRERR): Likewise.
8725         (BUS_OBJERR): Likewise.
8726         (BUS_MCEERR_AR): Likewise.
8727         (BUS_MCEERR_AO): Likewise.
8728         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8729         (TRAP_TRACE): Likewise.
8730         (TRAP_BRANCH): Likewise.
8731         (TRAP_HWBKPT): Likewise.
8732         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8733         __USE_XOPEN2K8].
8734         (CLD_KILLED): Likewise.
8735         (CLD_DUMPED): Likewise.
8736         (CLD_TRAPPED): Likewise.
8737         (CLD_STOPPED): Likewise.
8738         (CLD_CONTINUED): Likewise.
8739         (POLL_IN): Likewise.
8740         (POLL_OUT): Likewise.
8741         (POLL_MSG): Likewise.
8742         (POLL_ERR): Likewise.
8743         (POLL_PRI): Likewise.
8744         (POLL_HUP): Likewise.
8745         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8746         (ILL_ILLOPN): Likewise.
8747         (ILL_ILLADR): Likewise.
8748         (ILL_ILLTRP): Likewise.
8749         (ILL_PRVOPC): Likewise.
8750         (ILL_PRVREG): Likewise.
8751         (ILL_COPROC): Likewise.
8752         (ILL_BADSTK): Likewise.
8753         (FPE_INTDIV): Likewise.
8754         (FPE_INTOVF): Likewise.
8755         (FPE_FLTDIV): Likewise.
8756         (FPE_FLTOVF): Likewise.
8757         (FPE_FLTUND): Likewise.
8758         (FPE_FLTRES): Likewise.
8759         (FPE_FLTINV): Likewise.
8760         (FPE_FLTSUB): Likewise.
8761         (SEGV_MAPERR): Likewise.
8762         (SEGV_ACCERR): Likewise.
8763         (BUS_ADRALN): Likewise.
8764         (BUS_ADRERR): Likewise.
8765         (BUS_OBJERR): Likewise.
8766         (BUS_MCEERR_AR): Likewise.
8767         (BUS_MCEERR_AO): Likewise.
8768         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8769         (TRAP_TRACE): Likewise.
8770         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8771         __USE_XOPEN2K8].
8772         (CLD_KILLED): Likewise.
8773         (CLD_DUMPED): Likewise.
8774         (CLD_TRAPPED): Likewise.
8775         (CLD_STOPPED): Likewise.
8776         (CLD_CONTINUED): Likewise.
8777         (POLL_IN): Likewise.
8778         (POLL_OUT): Likewise.
8779         (POLL_MSG): Likewise.
8780         (POLL_ERR): Likewise.
8781         (POLL_PRI): Likewise.
8782         (POLL_HUP): Likewise.
8783         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8784         (ILL_ILLOPN): Likewise.
8785         (ILL_ILLADR): Likewise.
8786         (ILL_ILLTRP): Likewise.
8787         (ILL_PRVOPC): Likewise.
8788         (ILL_PRVREG): Likewise.
8789         (ILL_COPROC): Likewise.
8790         (ILL_BADSTK): Likewise.
8791         (FPE_INTDIV): Likewise.
8792         (FPE_INTOVF): Likewise.
8793         (FPE_FLTDIV): Likewise.
8794         (FPE_FLTOVF): Likewise.
8795         (FPE_FLTUND): Likewise.
8796         (FPE_FLTRES): Likewise.
8797         (FPE_FLTINV): Likewise.
8798         (FPE_FLTSUB): Likewise.
8799         (SEGV_MAPERR): Likewise.
8800         (SEGV_ACCERR): Likewise.
8801         (BUS_ADRALN): Likewise.
8802         (BUS_ADRERR): Likewise.
8803         (BUS_OBJERR): Likewise.
8804         (BUS_MCEERR_AR): Likewise.
8805         (BUS_MCEERR_AO): Likewise.
8806         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8807         (TRAP_TRACE): Likewise.
8808         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8809         __USE_XOPEN2K8].
8810         (CLD_KILLED): Likewise.
8811         (CLD_DUMPED): Likewise.
8812         (CLD_TRAPPED): Likewise.
8813         (CLD_STOPPED): Likewise.
8814         (CLD_CONTINUED): Likewise.
8815         (POLL_IN): Likewise.
8816         (POLL_OUT): Likewise.
8817         (POLL_MSG): Likewise.
8818         (POLL_ERR): Likewise.
8819         (POLL_PRI): Likewise.
8820         (POLL_HUP): Likewise.
8821         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8822         (ILL_ILLOPN): Likewise.
8823         (ILL_ILLADR): Likewise.
8824         (ILL_ILLTRP): Likewise.
8825         (ILL_PRVOPC): Likewise.
8826         (ILL_PRVREG): Likewise.
8827         (ILL_COPROC): Likewise.
8828         (ILL_BADSTK): Likewise.
8829         (FPE_INTDIV): Likewise.
8830         (FPE_INTOVF): Likewise.
8831         (FPE_FLTDIV): Likewise.
8832         (FPE_FLTOVF): Likewise.
8833         (FPE_FLTUND): Likewise.
8834         (FPE_FLTRES): Likewise.
8835         (FPE_FLTINV): Likewise.
8836         (FPE_FLTSUB): Likewise.
8837         (SEGV_MAPERR): Likewise.
8838         (SEGV_ACCERR): Likewise.
8839         (BUS_ADRALN): Likewise.
8840         (BUS_ADRERR): Likewise.
8841         (BUS_OBJERR): Likewise.
8842         (BUS_MCEERR_AR): Likewise.
8843         (BUS_MCEERR_AO): Likewise.
8844         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8845         (TRAP_TRACE): Likewise.
8846         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8847         __USE_XOPEN2K8].
8848         (CLD_KILLED): Likewise.
8849         (CLD_DUMPED): Likewise.
8850         (CLD_TRAPPED): Likewise.
8851         (CLD_STOPPED): Likewise.
8852         (CLD_CONTINUED): Likewise.
8853         (POLL_IN): Likewise.
8854         (POLL_OUT): Likewise.
8855         (POLL_MSG): Likewise.
8856         (POLL_ERR): Likewise.
8857         (POLL_PRI): Likewise.
8858         (POLL_HUP): Likewise.
8859         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8860         (ILL_ILLOPN): Likewise.
8861         (ILL_ILLADR): Likewise.
8862         (ILL_ILLTRP): Likewise.
8863         (ILL_PRVOPC): Likewise.
8864         (ILL_PRVREG): Likewise.
8865         (ILL_COPROC): Likewise.
8866         (ILL_BADSTK): Likewise.
8867         (ILL_DBLFLT): Likewise.
8868         (ILL_HARDWALL): Likewise.
8869         (FPE_INTDIV): Likewise.
8870         (FPE_INTOVF): Likewise.
8871         (FPE_FLTDIV): Likewise.
8872         (FPE_FLTOVF): Likewise.
8873         (FPE_FLTUND): Likewise.
8874         (FPE_FLTRES): Likewise.
8875         (FPE_FLTINV): Likewise.
8876         (FPE_FLTSUB): Likewise.
8877         (SEGV_MAPERR): Likewise.
8878         (SEGV_ACCERR): Likewise.
8879         (BUS_ADRALN): Likewise.
8880         (BUS_ADRERR): Likewise.
8881         (BUS_OBJERR): Likewise.
8882         (BUS_MCEERR_AR): Likewise.
8883         (BUS_MCEERR_AO): Likewise.
8884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8885         (TRAP_TRACE): Likewise.
8886         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8887         __USE_XOPEN2K8].
8888         (CLD_KILLED): Likewise.
8889         (CLD_DUMPED): Likewise.
8890         (CLD_TRAPPED): Likewise.
8891         (CLD_STOPPED): Likewise.
8892         (CLD_CONTINUED): Likewise.
8893         (POLL_IN): Likewise.
8894         (POLL_OUT): Likewise.
8895         (POLL_MSG): Likewise.
8896         (POLL_ERR): Likewise.
8897         (POLL_PRI): Likewise.
8898         (POLL_HUP): Likewise.
8899         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8900         (ILL_ILLOPN): Likewise.
8901         (ILL_ILLADR): Likewise.
8902         (ILL_ILLTRP): Likewise.
8903         (ILL_PRVOPC): Likewise.
8904         (ILL_PRVREG): Likewise.
8905         (ILL_COPROC): Likewise.
8906         (ILL_BADSTK): Likewise.
8907         (FPE_INTDIV): Likewise.
8908         (FPE_INTOVF): Likewise.
8909         (FPE_FLTDIV): Likewise.
8910         (FPE_FLTOVF): Likewise.
8911         (FPE_FLTUND): Likewise.
8912         (FPE_FLTRES): Likewise.
8913         (FPE_FLTINV): Likewise.
8914         (FPE_FLTSUB): Likewise.
8915         (SEGV_MAPERR): Likewise.
8916         (SEGV_ACCERR): Likewise.
8917         (BUS_ADRALN): Likewise.
8918         (BUS_ADRERR): Likewise.
8919         (BUS_OBJERR): Likewise.
8920         (BUS_MCEERR_AR): Likewise.
8921         (BUS_MCEERR_AO): Likewise.
8922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8923         (TRAP_TRACE): Likewise.
8924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8925         __USE_XOPEN2K8].
8926         (CLD_KILLED): Likewise.
8927         (CLD_DUMPED): Likewise.
8928         (CLD_TRAPPED): Likewise.
8929         (CLD_STOPPED): Likewise.
8930         (CLD_CONTINUED): Likewise.
8931         (POLL_IN): Likewise.
8932         (POLL_OUT): Likewise.
8933         (POLL_MSG): Likewise.
8934         (POLL_ERR): Likewise.
8935         (POLL_PRI): Likewise.
8936         (POLL_HUP): Likewise.
8937         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8938         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8939
8940         [BZ #16670]
8941         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8942         before #include of <time.h>.
8943         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8944         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8945         (test-xfail-UNIX98/sched.h/conform): Likewise.
8946
8947 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8948
8949         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8950         error absence of trapping exception support.
8951         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8952
8953 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8954
8955         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8956         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8957         * timezone/Makefile (testdata): Move definition above include of
8958         Rules.
8959         (test-zones): New variable.
8960         (tests-special): Add zone files.
8961         (build-testdata): Use $(evaluate-test).
8962
8963         * elf/Makefile (tests-special): Rename tests to end with .out.
8964         ($(objpfx)noload-mem): Likewise.
8965         ($(objpfx)tst-leaks1-mem): Likewise.
8966         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8967         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8968         $(objpfx)test-iconvconfig.out.
8969         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8970         set -e inside subshell and redirect output to file.
8971         * iconvdata/Makefile (generated): Rename tests to end with .out.
8972         Correct type.
8973         (tests-special): Rename tests to end with .out.
8974         ($(objpfx)mtrace-tst-loading): Likewise.
8975         * intl/Makefile (generated): Likewise.
8976         (tests-special): Likewise.
8977         ($(objpfx)mtrace-tst-gettext): Likewise.
8978         * misc/Makefile (generated): Likewise.
8979         (tests-special): Likewise.
8980         ($(objpfx)tst-error1-mem): Likewise.
8981         * nptl/Makefile (tests-special): Likewise.
8982         ($(objpfx)tst-stack3-mem): Likewise.
8983         (generated): Likewise.
8984         * posix/Makefile (generated): Likewise.
8985         (tests-special): Likewise.
8986         (xtests-special): Likewise.
8987         ($(objpfx)tst-fnmatch-mem): Likewise.
8988         ($(objpfx)bug-regex2-mem): Likewise.
8989         ($(objpfx)bug-regex14-mem): Likewise.
8990         ($(objpfx)bug-regex21-mem): Likewise.
8991         ($(objpfx)bug-regex31-mem): Likewise.
8992         ($(objpfx)tst-vfork3-mem): Likewise.
8993         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8994         ($(objpfx)tst-pcre-mem): Likewise.
8995         ($(objpfx)tst-boost-mem): Likewise.
8996         ($(objpfx)bug-ga2-mem): Likewise.
8997         ($(objpfx)bug-glob2-mem): Likewise.
8998         * resolv/Makefile (generate): Likewise.
8999         (tests-special): Likewise.
9000         (xtests-special): Likewise.
9001         (generated): Likewise.
9002         ($(objpfx)mtrace-tst-leaks): Likewise.
9003         ($(objpfx)mtrace-tst-leaks2): Likewise.
9004
9005         * scripts/merge-test-results.sh: New file.
9006         * Makefile (tests-special-notdir): New variable.
9007         (tests): Run merge-test-results.sh.
9008         (xtests): Likewise.
9009         * Rules (tests-special-notdir): New variable.
9010         (xtests-special-notdir): Likewise.
9011         (tests): Run merge-test-results.sh
9012         (xtests): Likewise.
9013
9014         * Makeconfig (test-xfail-name): New variable.
9015         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9016         compute variable name for expected failures.
9017         * conform/Makefile (conformtest-headers-data): New variable.
9018         (conformtest-standards): Likewise.
9019         (conformtest-headers-ISO): Likewise.
9020         (conformtest-headers-ISO99): Likewise.
9021         (conformtest-headers-ISO11): Likewise.
9022         (conformtest-headers-POSIX): Likewise.
9023         (conformtest-headers-XPG3): Likewise.
9024         (conformtest-headers-XPG4): Likewise.
9025         (conformtest-headers-UNIX98): Likewise.
9026         (conformtest-headers-XOPEN2K): Likewise.
9027         (conformtest-headers-POSIX2008): Likewise.
9028         (conformtest-headers-XOPEN2K8): Likewise.
9029         (conformtest-header-list-base): Likewise.
9030         (conformtest-header-list-tests): Likewise.
9031         (conformtest-header-base): Likewise.
9032         (conformtest-header-tests): Likewise.
9033         (tests-special): Add $(conformtest-header-list-tests).  If
9034         [$(fast-check) && !$(cross-compiling)], add
9035         $(conformtest-header-tests) instead of
9036         $(objpfx)run-conformtest.out.
9037         (generated): Add $(conformtest-header-list-base).  If
9038         [$(fast-check) && !$(cross-compiling)], add
9039         $(conformtest-header-base).  Remove previous setting.
9040         ($(conformtest-header-list-tests)): New target.
9041         (test-xfail-run-conformtest): Remove variable.
9042         ($(objpfx)run-conformtest.out): Remove target.
9043         (test-xfail-ISO11/complex.h/conform): New variable.
9044         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9045         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9046         (test-xfail-XPG3/varargs.h/conform): Likewise.
9047         (test-xfail-XPG4/varargs.h/conform): Likewise.
9048         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9049         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9050         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9051         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9052         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9053         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9054         (test-xfail-XPG3/ftw.h/conform): Likewise.
9055         (test-xfail-XPG3/grp.h/conform): Likewise.
9056         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9057         (test-xfail-XPG3/limits.h/conform): Likewise.
9058         (test-xfail-XPG3/pwd.h/conform): Likewise.
9059         (test-xfail-XPG3/search.h/conform): Likewise.
9060         (test-xfail-XPG3/signal.h/conform): Likewise.
9061         (test-xfail-XPG3/stdio.h/conform): Likewise.
9062         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9063         (test-xfail-XPG3/string.h/conform): Likewise.
9064         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9065         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9066         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9067         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9068         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9069         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9070         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9071         (test-xfail-XPG3/termios.h/conform): Likewise.
9072         (test-xfail-XPG3/time.h/conform): Likewise.
9073         (test-xfail-XPG3/unistd.h/conform): Likewise.
9074         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9075         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9076         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9077         (test-xfail-XPG4/netdb.h/conform): Likewise.
9078         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9079         (test-xfail-XPG4/signal.h/conform): Likewise.
9080         (test-xfail-XPG4/stdio.h/conform): Likewise.
9081         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9082         (test-xfail-XPG4/stropts.h/conform): Likewise.
9083         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9084         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9085         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9086         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9087         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9088         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9089         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9090         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9091         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9092         (test-xfail-XPG4/termios.h/conform): Likewise.
9093         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9094         (test-xfail-XPG4/unistd.h/conform): Likewise.
9095         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9096         (test-xfail-POSIX/sched.h/conform): Likewise.
9097         (test-xfail-POSIX/signal.h/conform): Likewise.
9098         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9099         (test-xfail-POSIX/tar.h/conform): Likewise.
9100         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9101         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9102         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9103         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9104         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9105         (test-xfail-UNIX98/sched.h/conform): Likewise.
9106         (test-xfail-UNIX98/signal.h/conform): Likewise.
9107         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9108         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9109         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9110         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9111         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9112         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9113         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9114         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9115         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9116         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9117         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9118         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9119         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9120         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9121         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9122         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9123         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9124         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9125         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9126         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9127         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9128         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9129         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9130         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9131         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9132         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9133         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9134         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9135         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9136         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9137         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9138         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9139         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9140         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9141         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9142         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9143         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9144         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9145         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9146         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9147         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9148         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9149         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9150         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9151         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9152         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9153         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9154         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9155         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9156         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9157         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9158         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9159         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9160         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9161         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9162         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9163         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9164         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9165         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9166         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9167         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9168         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9169         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9170         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9171         (conformtest-cc-flags): Likewise.
9172         ($(conformtest-header-tests): New target.
9173         * conform/check-header-lists.sh: New file.
9174         * conform/run-conformtest.sh: Remove.
9175
9176         * conform/conformtest.pl: Allow ' and \ in values given for
9177         constants.
9178         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9179         inclusion.
9180         [POSIX] (sys/types.h): Likewise.
9181         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9182         inclusion.
9183         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9184         inclusion.
9185         * conform/data/signal.h-data (SIGIO): Remove expectation.
9186         [XPG3] (SIGBUS): Do not expect.
9187         [POSIX || XPG3] (SIGPOLL): Likewise.
9188         [POSIX || XPG3] (SIGPROF): Likewise.
9189         [POSIX || XPG3] (SIGSYS): Likewise.
9190         [XPG3] (SIGTRAP): Likewise.
9191         [POSIX || XPG3] (SIGURG): Likewise.
9192         [POSIX || XPG3] (SIGVTALRM): Likewise.
9193         [POSIX || XPG3] (SIGXCPU): Likewise.
9194         [POSIX || XPG3] (SIGXFSZ): Likewise.
9195         [POSIX] (SA_SIGINFO): Expect.
9196         [XPG3] (siginfo_t): Do not expect type or contents.
9197         [POSIX] (si_pid): Do not expect element.
9198         [POSIX] (si_uid): Likewise.
9199         [POSIX] (si_addr): Likewise.
9200         [POSIX] (si_status): Likewise.
9201         [POSIX] (si_band): Likewise.
9202         [XPG4] (si_value): Likewise.
9203         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9204         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9205         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9206         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9207         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9208         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9209         [POSIX || XPG3] (ILL_COPROC): Likewise.
9210         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9211         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9212         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9213         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9214         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9215         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9216         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9217         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9218         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9219         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9220         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9221         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9222         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9223         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9224         [POSIX || XPG3] (CLD_EXITED): Likewise.
9225         [POSIX || XPG3] (CLD_KILLED): Likewise.
9226         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9227         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9228         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9229         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9230         [POSIX || XPG3] (POLL_IN): Likewise.
9231         [POSIX || XPG3] (POLL_OUT): Likewise.
9232         [POSIX || XPG3] (POLL_MSG): Likewise.
9233         [POSIX || XPG3] (POLL_ERR): Likewise.
9234         [POSIX || XPG3] (POLL_PRI): Likewise.
9235         [POSIX || XPG3] (POLL_HUP): Likewise.
9236         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9237         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9238         (SIG*): Do not allow.
9239         [XPG3] (si_*): Likewise.
9240         [XPG3] (SI_*): Likewise.
9241         [XPG3 || XPG4] (sigev_*): Likewise.
9242         [XPG3 || XPG4] (SIGEV_*): Likewise.
9243         [XPG3 || XPG4] (sival_*): Likewise.
9244         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9245         [POSIX || XPG3] (BUS_*): Likewise.
9246         [POSIX || XPG3] (CLD_*): Likewise.
9247         [POSIX || XPG3] (FPE_*): Likewise.
9248         [POSIX || XPG3] (ILL_*): Likewise.
9249         [POSIX || XPG3] (POLL_*): Likewise.
9250         [POSIX || XPG3] (SEGV_*): Likewise.
9251         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9252         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9253         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9254         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9255         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9256         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9257         Specify type and value.
9258         (TVERSLEN): Likewise.
9259         (REGTYPE): Likewise.
9260         (AREGTYPE): Likewise.
9261         (LNKTYPE): Likewise.
9262         (SYMTYPE): Likewise.
9263         (CHRTYPE): Likewise.
9264         (BLKTYPE): Likewise.
9265         (DIRTYPE): Likewise.
9266         (FIFOTYPE): Likewise.
9267         (CONTTYPE): Likewise.
9268         (TSUID): Likewise.
9269         (TSGID): Likewise.
9270         (TSVTX): Likewise.
9271         (TUREAD): Likewise.
9272         (TUWRITE): Likewise.
9273         (TUEXEC): Likewise.
9274         (TGREAD): Likewise.
9275         (TGWRITE): Likewise.
9276         (TGEXEC): Likewise.
9277         (TOREAD): Likewise.
9278         (TOWRITE): Likewise.
9279         (TOEXEC): Likewise.
9280         [POSIX] (TSVTX): Expect constant.
9281
9282 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9283
9284         * Makefile (tests): Change dependencies to ....
9285         (tests-special): ... additions to this variable.
9286         (tests): Depend on $(tests-special).
9287         * Makerules (check-abi-list): New variable.
9288         (check-abi): Depend on $(check-abi-list).
9289         [$(subdir) = elf] (tests-special): Add
9290         $(objpfx)check-abi-libc.out.
9291         [$(build-shared) = yes && subdir] (tests-special): Add
9292         $(check-abi-list).
9293         [$(build-shared) = yes && subdir] (tests): Do not depend on
9294         check-abi.
9295         * Rules (tests): Depend on $(tests-special).
9296         (xtests): Depend on $(xtests-special).
9297         * catgets/Makefile (tests): Change dependencies to ....
9298         (tests-special): ... additions to this variable.
9299         * conform/Makefile (tests): Change dependencies to ....
9300         (tests-special): ... additions to this variable.
9301         * elf/Makefile (tests): Change dependencies to ....
9302         (tests-special): ... additions to this variable.
9303         * grp/Makefile (tests): Change dependencies to ....
9304         (tests-special): ... additions to this variable.
9305         * iconv/Makefile (xtests): Change dependencies to ....
9306         (xtests-special): ... additions to this variable.
9307         * iconvdata/Makefile (tests): Change dependencies to ....
9308         (tests-special): ... additions to this variable.
9309         * intl/Makefile (tests): Change dependencies to ....
9310         (tests-special): ... additions to this variable.  Also add
9311         $(objpfx)tst-gettext.out.
9312         * io/Makefile (tests): Change dependencies to ....
9313         (tests-special): ... additions to this variable.
9314         * libio/Makefile (tests): Change dependencies to ....
9315         (tests-special): ... additions to this variable.
9316         * malloc/Makefile (tests): Change dependencies to ....
9317         (tests-special): ... additions to this variable.
9318         * misc/Makefile (tests): Change dependencies to ....
9319         (tests-special): ... additions to this variable.
9320         * nptl/Makefile (tests): Change dependencies to ....
9321         (tests-special): ... additions to this variable.
9322         * nptl_db/Makefile (tests): Change dependencies to ....
9323         (tests-special): ... additions to this variable.
9324         * posix/Makefile (tests): Change dependencies to ....
9325         (tests-special): ... additions to this variable.
9326         (xtests): Change dependencies to ....
9327         (xtests-special): ... additions to this variable.
9328         * resolv/Makefile (tests): Change dependencies to ....
9329         (tests-special): ... additions to this variable.
9330         (xtests): Change dependencies to ....
9331         (xtests-special): ... additions to this variable.
9332         * stdio-common/Makefile (tests): Change dependencies to ....
9333         (tests-special): ... additions to this variable.
9334         (do-tst-unbputc): Remove target.
9335         (do-tst-printf): Likewise.
9336         * stdlib/Makefile (tests): Change dependencies to ....
9337         (tests-special): ... additions to this variable.
9338         * string/Makefile (tests): Change dependencies to ....
9339         (tests-special): ... additions to this variable.
9340         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9341         (tests-special): ... additions to this variable.
9342
9343         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9344         whole file.
9345         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9346         whole file.
9347         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9348         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9349
9350         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9351         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9352         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9353         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9354         * conform/data/libgen.h-data [XPG3]: Likewise.
9355         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9356         * conform/data/ndbm.h-data [XPG3]: Likewise.
9357         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9358         * conform/data/netdb.h-data [XPG3]: Likewise.
9359         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9360         * conform/data/poll.h-data [XPG3]: Likewise.
9361         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9362         * conform/data/strings.h-data [XPG3]: Likewise.
9363         * conform/data/stropts.h-data [XPG3]: Likewise.
9364         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9365         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9366         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9367         Likewise.
9368         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9369         * conform/data/sys/time.h-data [XPG3]: Likewise.
9370         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9371         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9372         * conform/data/sys/un.h-data [XPG3]: Likewise.
9373         * conform/data/syslog.h-data [XPG3]: Likewise.
9374         * conform/data/ucontext.h-data [XPG3]: Likewise.
9375         * conform/data/utmpx.h-data [XPG3]: Likewise.
9376         * conform/data/varargs.h-data [UNIX98]: Enable file.
9377
9378         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9379
9380         * math/libm-test.inc (struct test_f_f_data): Move expected results
9381         into structure for each rounding mode.
9382         (struct test_ff_f_data): Likewise.
9383         (struct test_ff_f_data_nexttoward): Likewise.
9384         (struct test_fi_f_data): Likewise.
9385         (struct test_fl_f_data): Likewise.
9386         (struct test_if_f_data): Likewise.
9387         (struct test_fff_f_data): Likewise.
9388         (struct test_c_f_data): Likewise.
9389         (struct test_f_f1_data): Likewise.
9390         (struct test_fF_f1_data): Likewise.
9391         (struct test_ffI_f1_data): Likewise.
9392         (struct test_c_c_data): Likewise.
9393         (struct test_cc_c_data): Likewise.
9394         (struct test_f_i_data): Likewise.
9395         (struct test_ff_i_data): Likewise.
9396         (struct test_f_l_data): Likewise.
9397         (struct test_f_L_data): Likewise.
9398         (struct test_fFF_11_data): Likewise.
9399         (RM_): New macro.
9400         (RM_FE_DOWNWARD): Likewise.
9401         (RM_FE_TONEAREST): Likewise.
9402         (RM_FE_TOWARDZERO): Likewise.
9403         (RM_FE_UPWARD): Likewise.
9404         (RUN_TEST_LOOP_f_f): Update references to expected results.
9405         (RUN_TEST_LOOP_2_f): Likewise.
9406         (RUN_TEST_LOOP_fff_f): Likewise.
9407         (RUN_TEST_LOOP_c_f): Likewise.
9408         (RUN_TEST_LOOP_f_f1): Likewise.
9409         (RUN_TEST_LOOP_fF_f1): Likewise.
9410         (RUN_TEST_LOOP_fI_f1): Likewise.
9411         (RUN_TEST_LOOP_ffI_f1): Likewise.
9412         (RUN_TEST_LOOP_c_c): Likewise.
9413         (RUN_TEST_LOOP_cc_c): Likewise.
9414         (RUN_TEST_LOOP_f_i): Likewise.
9415         (RUN_TEST_LOOP_f_i_tg): Likewise.
9416         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9417         (RUN_TEST_LOOP_f_b): Likewise.
9418         (RUN_TEST_LOOP_f_b_tg): Likewise.
9419         (RUN_TEST_LOOP_f_l): Likewise.
9420         (RUN_TEST_LOOP_f_L): Likewise.
9421         (RUN_TEST_LOOP_fFF_11): Likewise.
9422         * math/gen-libm-test.pl (parse_args): Output four copies of
9423         expected results for each test.
9424
9425         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9426         (__ASSUME_UTIMES): Remove.
9427         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9428         (__ASSUME_UTIMES): Likewise.
9429
9430         * math/gen-auto-libm-tests.c: Update comment on output format.
9431         (output_for_one_input_case): Generate before-rounding and
9432         after-rounding information as conditions on output flags not
9433         floating-point format.
9434         * math/auto-libm-test-out: Regenerated.
9435         * math/gen-libm-test.pl (cond_value): New function.
9436         (or_cond_value): Use cond_value.
9437         (generate_testfile): Handle conditional exceptions.
9438
9439 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9440
9441         * math/libm-test.inc (max_valid_error): New variable.
9442         (init_max_error): Take new argument specifying whether function
9443         results are exactly determined.  Set max_valid_error and bound
9444         other variables for errors based on this argument.
9445         (set_max_error): Do not record results above max_valid_error.
9446         (check_float_internal): Only accept errors of up to 0.5ulps if
9447         also at most max_valid_error.
9448         (START): Take new argument EXACT and pass it to init_max_error.
9449         (acos_test): Update call to START.
9450         (acos_test_tonearest): Likewise.
9451         (acos_test_towardzero): Likewise.
9452         (acos_test_downward): Likewise.
9453         (acos_test_upward): Likewise.
9454         (acosh_test): Likewise.
9455         (asin_test): Likewise.
9456         (asin_test_tonearest): Likewise.
9457         (asin_test_towardzero): Likewise.
9458         (asin_test_downward): Likewise.
9459         (asin_test_upward): Likewise.
9460         (asinh_test): Likewise.
9461         (atan_test): Likewise.
9462         (atanh_test): Likewise.
9463         (atan2_test): Likewise.
9464         (cabs_test): Likewise.
9465         (cacos_test): Likewise.
9466         (cacosh_test): Likewise.
9467         (carg_test): Likewise.
9468         (casin_test): Likewise.
9469         (casinh_test): Likewise.
9470         (catan_test): Likewise.
9471         (catanh_test): Likewise.
9472         (cbrt_test): Likewise.
9473         (ccos_test): Likewise.
9474         (ccosh_test): Likewise.
9475         (ceil_test): Likewise.
9476         (cexp_test): Likewise.
9477         (cimag_test): Likewise.
9478         (clog_test): Likewise.
9479         (clog10_test): Likewise.
9480         (conj_test): Likewise.
9481         (copysign_test): Likewise.
9482         (cos_test): Likewise.
9483         (cos_test_tonearest): Likewise.
9484         (cos_test_towardzero): Likewise.
9485         (cos_test_downward): Likewise.
9486         (cos_test_upward): Likewise.
9487         (cosh_test): Likewise.
9488         (cosh_test_tonearest): Likewise.
9489         (cosh_test_towardzero): Likewise.
9490         (cosh_test_downward): Likewise.
9491         (cosh_test_upward): Likewise.
9492         (cpow_test): Likewise.
9493         (cproj_test): Likewise.
9494         (creal_test): Likewise.
9495         (csin_test): Likewise.
9496         (csinh_test): Likewise.
9497         (csqrt_test): Likewise.
9498         (ctan_test): Likewise.
9499         (ctan_test_tonearest): Likewise.
9500         (ctan_test_towardzero): Likewise.
9501         (ctan_test_downward): Likewise.
9502         (ctan_test_upward): Likewise.
9503         (ctanh_test): Likewise.
9504         (ctanh_test_tonearest): Likewise.
9505         (ctanh_test_towardzero): Likewise.
9506         (ctanh_test_downward): Likewise.
9507         (ctanh_test_upward): Likewise.
9508         (erf_test): Likewise.
9509         (erfc_test): Likewise.
9510         (exp_test): Likewise.
9511         (exp_test_tonearest): Likewise.
9512         (exp_test_towardzero): Likewise.
9513         (exp_test_downward): Likewise.
9514         (exp_test_upward): Likewise.
9515         (exp10_test): Likewise.
9516         (exp10_test_tonearest): Likewise.
9517         (exp10_test_towardzero): Likewise.
9518         (exp10_test_downward): Likewise.
9519         (exp10_test_upward): Likewise.
9520         (pow10_test): Likewise.
9521         (exp2_test): Likewise.
9522         (expm1_test): Likewise.
9523         (expm1_test_tonearest): Likewise.
9524         (expm1_test_towardzero): Likewise.
9525         (expm1_test_downward): Likewise.
9526         (expm1_test_upward): Likewise.
9527         (fabs_test): Likewise.
9528         (fdim_test): Likewise.
9529         (floor_test): Likewise.
9530         (fma_test): Likewise.
9531         (fma_test_towardzero): Likewise.
9532         (fma_test_downward): Likewise.
9533         (fma_test_upward): Likewise.
9534         (fmax_test): Likewise.
9535         (fmin_test): Likewise.
9536         (fmod_test): Likewise.
9537         (fpclassify_test): Likewise.
9538         (frexp_test): Likewise.
9539         (hypot_test): Likewise.
9540         (ilogb_test): Likewise.
9541         (isfinite_test): Likewise.
9542         (finite_test): Likewise.
9543         (isgreater_test): Likewise.
9544         (isgreaterequal_test): Likewise.
9545         (isinf_test): Likewise.
9546         (isless_test): Likewise.
9547         (islessequal_test): Likewise.
9548         (islessgreater_test): Likewise.
9549         (isnan_test): Likewise.
9550         (isnormal_test): Likewise.
9551         (issignaling_test): Likewise.
9552         (isunordered_test): Likewise.
9553         (j0_test): Likewise.
9554         (j1_test): Likewise.
9555         (jn_test): Likewise.
9556         (ldexp_test): Likewise.
9557         (lgamma_test): Likewise.
9558         (gamma_test): Likewise.
9559         (lrint_test): Likewise.
9560         (lrint_test_tonearest): Likewise.
9561         (lrint_test_towardzero): Likewise.
9562         (lrint_test_downward): Likewise.
9563         (lrint_test_upward): Likewise.
9564         (llrint_test): Likewise.
9565         (llrint_test_tonearest): Likewise.
9566         (llrint_test_towardzero): Likewise.
9567         (llrint_test_downward): Likewise.
9568         (llrint_test_upward): Likewise.
9569         (log_test): Likewise.
9570         (log10_test): Likewise.
9571         (log1p_test): Likewise.
9572         (log2_test): Likewise.
9573         (logb_test): Likewise.
9574         (logb_test_downward): Likewise.
9575         (lround_test): Likewise.
9576         (llround_test): Likewise.
9577         (modf_test): Likewise.
9578         (nearbyint_test): Likewise.
9579         (nextafter_test): Likewise.
9580         (nexttoward_test): Likewise.
9581         (pow_test): Likewise.
9582         (pow_test_tonearest): Likewise.
9583         (pow_test_towardzero): Likewise.
9584         (pow_test_downward): Likewise.
9585         (pow_test_upward): Likewise.
9586         (remainder_test): Likewise.
9587         (drem_test): Likewise.
9588         (remainder_test_tonearest): Likewise.
9589         (drem_test_tonearest): Likewise.
9590         (remainder_test_towardzero): Likewise.
9591         (drem_test_towardzero): Likewise.
9592         (remainder_test_downward): Likewise.
9593         (drem_test_downward): Likewise.
9594         (remainder_test_upward): Likewise.
9595         (drem_test_upward): Likewise.
9596         (remquo_test): Likewise.
9597         (rint_test): Likewise.
9598         (rint_test_tonearest): Likewise.
9599         (rint_test_towardzero): Likewise.
9600         (rint_test_downward): Likewise.
9601         (rint_test_upward): Likewise.
9602         (round_test): Likewise.
9603         (scalb_test): Likewise.
9604         (scalbn_test): Likewise.
9605         (scalbln_test): Likewise.
9606         (signbit_test): Likewise.
9607         (sin_test): Likewise.
9608         (sin_test_tonearest): Likewise.
9609         (sin_test_towardzero): Likewise.
9610         (sin_test_downward): Likewise.
9611         (sin_test_upward): Likewise.
9612         (sincos_test): Likewise.
9613         (sinh_test): Likewise.
9614         (sinh_test_tonearest): Likewise.
9615         (sinh_test_towardzero): Likewise.
9616         (sinh_test_downward): Likewise.
9617         (sinh_test_upward): Likewise.
9618         (sqrt_test): Likewise.
9619         (sqrt_test_tonearest): Likewise.
9620         (sqrt_test_towardzero): Likewise.
9621         (sqrt_test_downward): Likewise.
9622         (sqrt_test_upward): Likewise.
9623         (tan_test): Likewise.
9624         (tan_test_tonearest): Likewise.
9625         (tan_test_towardzero): Likewise.
9626         (tan_test_downward): Likewise.
9627         (tan_test_upward): Likewise.
9628         (tanh_test): Likewise.
9629         (tgamma_test): Likewise.
9630         (trunc_test): Likewise.
9631         (y0_test): Likewise.
9632         (y1_test): Likewise.
9633         (yn_test): Likewise.
9634         (significand_test): Likewise.
9635
9636         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9637         individual tests in comment.
9638         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9639         (prev_max_error): New variable.
9640         (prev_real_max_error): Likewise.
9641         (prev_imag_max_error): Likewise.
9642         (compare_ulp_data): Don't refer to test names in comment.
9643         (find_test_ulps): Remove function.
9644         (find_function_ulps): Likewise.
9645         (find_complex_function_ulps): Likewise.
9646         (init_max_error): Take function name as argument.  Look up ulps
9647         for that function.
9648         (print_ulps): Remove function.
9649         (print_max_error): Use prev_max_error instead of calling
9650         find_function_ulps.
9651         (print_complex_max_error): Use prev_real_max_error and
9652         prev_imag_max_error instead of calling find_complex_function_ulps.
9653         (check_float_internal): Take max_ulp parameter instead of calling
9654         find_test_ulps.  Don't call print_ulps.
9655         (check_float): Update call to check_float_internal.
9656         (check_complex): Update calls to check_float_internal.
9657         (START): Pass argument to init_max_error.
9658         * math/gen-libm-test.pl (%results): Don't include "kind"
9659         information.
9660         (parse_ulps): Don't handle ulps of individual tests.
9661         (print_ulps_file): Likewise.
9662         (output_ulps): Likewise.
9663         * math/README.libm-test: Update.
9664         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9665         individual tests.
9666         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9667         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9668         * sysdeps/arm/libm-test-ulps: Likewise.
9669         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9670         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9671         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9672         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9673         * sysdeps/microblaze/libm-test-ulps: Likewise.
9674         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9675         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9676         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9677         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9678         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9679         * sysdeps/sh/libm-test-ulps: Likewise.
9680         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9681         * sysdeps/tile/libm-test-ulps: Likewise.
9682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9683
9684 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9685
9686         * math/libm-test.inc (print_complex_max_error): Check separately
9687         whether real and imaginary errors are within allowed range and
9688         pass 0 to print_complex_function_ulps instead of value within
9689         allowed range.
9690
9691 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9692
9693         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9694         formatting.
9695         (get_handles_fopen): Likewise.
9696         (do_write_test): Likewise.
9697
9698         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9699
9700         * libio/fileops.c (do_ftell): Use cached offset when
9701         available.
9702         * libio/iofwide.c (do_ftell_wide): Likewise.
9703         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9704         _IO_file_attach.
9705         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9706
9707         [BZ #16532]
9708         * libio/libioP.h (get_file_offset): New function.
9709         * libio/fileops.c (get_file_offset): Likewise.
9710         (do_ftell): Likewise.
9711         (_IO_new_file_seekoff): Split out ftell logic.
9712         * libio/wfileops.c (do_ftell_wide): Likewise.
9713         (_IO_wfile_seekoff): Split out ftell logic.
9714         * libio/tst-ftell-active-handler.c: New test case.
9715         * libio/Makefile (tests): Add it.
9716
9717 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9718
9719         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9720         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9721
9722 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9723
9724         [BZ #16639]
9725         * nscd/connections.c (nscd_init): Call do_exit.
9726         (start_threads): Call do_exit and notify_parent.
9727         (begin_drop_privileges): Call do_exit.
9728         (finish_drop_privileges): Likewise.
9729         * nscd/selinux.c (preserve_capabilities): Likewise.
9730         (install_real_capabilities): Likewise.
9731         (nscd_selinux_enabled): Likewise.
9732         (avc_create_thread): Likewise.
9733         (avc_alloc_lock): Likewise.
9734         (nscd_avc_init): Likewise.
9735         * nscd/nscd.c (parent_fd): New static variable.
9736         (main): Create a pipe between parent and child processes.
9737         Skip closing parent_fd.
9738         (monitor_child): New function.
9739         (do_exit): Likewise.
9740         (notify_parent): Likewise.
9741         * nscd/nscd.h (notify_parent): Likewise.
9742         (do_exit): Likewise.
9743
9744 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9745
9746         * malloc/malloc.c (__libc_calloc): Revert last change.
9747
9748 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9749
9750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9751
9752 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9753
9754         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9756         implementation.
9757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9758         (__libc_ifunc_impl_list): Likewise.
9759         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9760         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9761         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9762         * string/strrchr.c: Define STRRCHR.
9763
9764 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9765
9766         * benchtest/bench-strtok.c (simple_strtok): Delete.
9767         (strtok_string): Use as benchmark.
9768         * string/strtok (STRTOK): New macro.
9769
9770 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9771
9772         * manual/threads.texi: Add header and standard comments to all
9773         functions.
9774
9775         * elf/dl-lookup.c (check_match): New function.
9776         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9777         (do_lookup_x): Remove nested function check_match. Use non-nested
9778         function check_match.
9779
9780 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9781
9782         * csu/Makefile (generated, before-compile): Use += rather than =.
9783         * catgets/Makefile (generated, generated-dirs): Likewise.
9784         * debug/Makefile (generated): Likewise.
9785         * dlfcn/Makefile (generated): Likewise.
9786         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9787         * iconvdata/Makefile (before-compile, generated): Likewise.
9788         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9789         * libio/Makefile (generated): Likewise.
9790         * malloc/Makefile (generated): Likewise.
9791         * manual/Makefile (generated, generated-dirs): Likewise.
9792         * misc/Makefile (generated): Likewise.
9793         * posix/Makefile (generated): Likewise.
9794         * resolv/Makefile (generated): Likewise.
9795         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9796         * timezone/Makefile (generated, generated-dirs): Likewise.
9797
9798         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9799
9800 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9801
9802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9803         power8 implementation.
9804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9805         file: POWER8 llround ifunc implementation.
9806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9807         (__lllround): Add POWER8 implementation.
9808         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9809         POWER8 llround implementation.
9810
9811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9812         power8 implementation.
9813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9814         file: POWER8 llrint ifunc implementation.
9815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9816         Add POWER8 implementation.
9817         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9818         POWER8 llrint implementation.
9819
9820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9821         power8 implementation.
9822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9823         file: POWER8 finite ifunc implementation.
9824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9825         Add POWER8 implementation.
9826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9827         Likewise.
9828         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9829         POWER8 finite implementation.
9830         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9831
9832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9833         power8 implementation.
9834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9835         file: POWER8 isinf ifunc implementation.
9836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9837         POWER8 implementation.
9838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9839         Likewise.
9840         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9841         isinf implementation.
9842         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9843
9844         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9845         (INIT_ARCH): Add hwcap2 initialization.
9846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9847         power8 implementation.
9848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9849         file: POWER8 isnan ifunc implementation.
9850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9851         POWER8 implementation.
9852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9853         Likewise.
9854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9855         isnan implementation.
9856         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9857
9858 2014-02-27  Joey Ye  <joey.ye@arm.com>
9859
9860         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9861         (_FP_NANFRAC_Q): Set to zero.
9862
9863 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9864
9865         [BZ #16623]
9866         * math/auto-libm-test-in: New test inputs.
9867         * math/auto-libm-test-out: Regenerate.
9868         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9869         and DA.
9870         (__cos): Likewise.
9871         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9872
9873 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9874
9875         * scripts/evaluate-test.sh: Take new argument indicating whether
9876         failure is expected.
9877         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9878         indicating whether failure is expected.
9879         * conform/Makefile (test-xfail-run-conformtest): New variable.
9880         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9881         level.
9882         * posix/Makefile (test-xfail-annexc): New variable.
9883         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9884
9885 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9886
9887         * argp/Makefile: Include Makeconfig immediately after defining
9888         subdir.
9889         * assert/Makefile: Likewise.
9890         * benchtests/Makefile: Likewise.
9891         * catgets/Makefile: Likewise.
9892         * conform/Makefile: Likewise.
9893         * crypt/Makefile: Likewise.
9894         * csu/Makefile: Likewise.
9895         (all): Remove target.
9896         * ctype/Makefile: Include Makeconfig immediately after defining
9897         subdir.
9898         * debug/Makefile: Likewise.
9899         * dirent/Makefile: Likewise.
9900         * dlfcn/Makefile: Likewise.
9901         * gmon/Makefile: Likewise.
9902         * gnulib/Makefile: Likewise.
9903         * grp/Makefile: Likewise.
9904         * gshadow/Makefile: Likewise.
9905         * hesiod/Makefile: Likewise.
9906         * hurd/Makefile: Likewise.
9907         (all): Remove target.
9908         * iconvdata/Makefile: Include Makeconfig immediately after
9909         defining subdir.
9910         * inet/Makefile: Likewise.
9911         * intl/Makefile: Likewise.
9912         * io/Makefile: Likewise.
9913         * libio/Makefile: Likewise.
9914         (all): Remove target.
9915         * locale/Makefile: Include Makeconfig immediately after defining
9916         subdir.
9917         * login/Makefile: Likewise.
9918         * mach/Makefile: Likewise.
9919         (all): Remove target.
9920         * malloc/Makefile: Include Makeconfig immediately after defining
9921         subdir.
9922         (all): Remove target.
9923         * manual/Makefile: Include Makeconfig immediately after defining
9924         subdir.
9925         * math/Makefile: Likewise.
9926         * misc/Makefile: Likewise.
9927         * nis/Makefile: Likewise.
9928         * nss/Makefile: Likewise.
9929         * po/Makefile: Likewise.
9930         (all): Remove target.
9931         * posix/Makefile: Include Makeconfig immediately after defining
9932         subdir.
9933         * pwd/Makefile: Likewise.
9934         * resolv/Makefile: Likewise.
9935         * resource/Makefile: Likewise.
9936         * rt/Makefile: Likewise.
9937         * setjmp/Makefile: Likewise.
9938         * shadow/Makefile: Likewise.
9939         * signal/Makefile: Likewise.
9940         * socket/Makefile: Likewise.
9941         * soft-fp/Makefile: Likewise.
9942         * stdio-common/Makefile: Likewise.
9943         * stdlib/Makefile: Likewise.
9944         * streams/Makefile: Likewise.
9945         * string/Makefile: Likewise.
9946         * sunrpc/Makefile: Likewise.
9947         (all): Remove target.
9948         * sysvipc/Makefile: Include Makeconfig immediately after defining
9949         subdir.
9950         * termios/Makefile: Likewise.
9951         * time/Makefile: Likewise.
9952         * timezone/Makefile: Likewise.
9953         (all): Remove target.
9954         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9955         subdir.
9956         * wctype/Makefile: Likewise.
9957
9958 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9959
9960         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9961         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9962         (libc_feholdexcept_setround_mips): Ditto.
9963         (libc_feholdsetround): New.
9964         (libc_feholdsetroundf): New.
9965         (libc_feholdsetroundl): New.
9966         (libc_feupdateenv_test_mips): New.
9967         (libc_feupdateenv_test): New.
9968         (libc_feupdateenv_testf): New.
9969         (libc_feupdateenv_testl): New.
9970         (libc_feresetround): New.
9971         (libc_feresetroundf): New.
9972         (libc_feresetroundl): New.
9973         (libc_fetestexcept_mips): New.
9974         (libc_fetestexcept): New.
9975         (libc_fetestexceptf): New.
9976         (libc_fetestexceptl): New.
9977         (HAVE_RM_CTX): New.
9978         (libc_feholdexcept_setround_mips_ctx): New.
9979         (libc_feholdexcept_setround_ctx): New.
9980         (libc_feholdexcept_setroundf_ctx): New.
9981         (libc_feholdexcept_setroundl_ctx): New.
9982         (libc_fesetenv_mips_ctx): New.
9983         (libc_fesetenv_ctx): New.
9984         (libc_fesetenv_ctxf): New.
9985         (libc_fesetenv_ctxl): New.
9986         (libc_feupdateenv_mips_ctx): New.
9987         (libc_feupdateenv_ctx): New.
9988         (libc_feupdateenvf_ctx): New.
9989         (libc_feupdateenvl_ctx): New.
9990         (libc_feholdsetround_mips_ctx): New.
9991         (libc_feholdsetround_ctx): New.
9992         (libc_feholdsetroundf_ctx): New.
9993         (libc_feholdsetroundl_ctx): New.
9994         (libc_feresetround_mips_ctx): New.
9995         (libc_feresetround_ctx): New.
9996         (libc_feresetroundf_ctx): New.
9997         (libc_feresetroundl_ctx): New.
9998
9999 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10000
10001         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10002
10003         * manual/ipc.texi: New file.
10004         * manual/Makefile (chapters): Add ipc.
10005         * manual/job.texi: Add "Inter-Process Communication" to next.
10006         * manual/process.texi: Add "Inter-Process Communication" to prev.
10007
10008 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10009
10010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10011
10012 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10013
10014         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10015
10016         * manual/arith.texi: Fix spaces after sentences.
10017         * manual/charset.texi: Likewise.
10018         * manual/errno.texi: Likewise.
10019         * manual/install.texi: Likewise.
10020         * manual/llio.texi: Likewise.
10021         * manual/locale.texi: Likewise.
10022         * manual/maint.texi: Likewise.
10023         * manual/math.texi: Likewise.
10024         * manual/memory.texi: Likewise.
10025         * manual/message.texi: Likewise.
10026         * manual/probes.texi: Likewise.
10027         * manual/resource.texi: Likewise.
10028         * manual/signal.texi: Likewise.
10029         * manual/socket.texi: Likewise.
10030         * manual/stdio.texi: Likewise.
10031         * manual/string.texi: Likewise.
10032         * manual/time.texi: Likewise.
10033         * manual/users.texi: Likewise.
10034
10035 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10036
10037         [BZ #16632]
10038         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10039         _DEFAULT_SOURCE is defined.
10040
10041 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10042             Carlos O'Donell  <carlos@redhat.com>
10043
10044         [BZ #16613]
10045         * elf/dl-tls.c (_dl_count_modids): New function.
10046         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10047         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10048         audit library and increment generation counter.
10049         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10050         * elf/tst-audit9.c: New file.
10051         * elf/tst-auditmod9a.c: New file.
10052         * elf/tst-auditmod9b.c: New file.
10053         * elf/Makefile: Add rules to build and run tst-audit9.
10054
10055 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10056
10057         [BZ #15347]
10058         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10059
10060 2014-02-25  Will Newton  <will.newton@linaro.org>
10061
10062         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10063         (__longjmp): Restore sp and lr before restoring callee
10064         saved registers.  Add longjmp and longjmp_target
10065         SystemTap probe point.
10066         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10067         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10068         Define to zero to match jmpbuf layout.
10069         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10070         (__sigsetjmp): Save sp and lr before saving callee
10071         saved registers.  Add setjmp SystemTap probe point.
10072
10073 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10074
10075         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10076
10077 2014-02-24  Andreas Schwab  <schwab@suse.de>
10078
10079         [BZ #15804]
10080         * elf/pldd.c (wait_for_ptrace_stop): New function.
10081         (main): Call it after attaching.
10082
10083 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10084
10085         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10086         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10087         Versions files is now verboten.
10088         * hurd/Versions (libc: GLIBC_2.0):
10089         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10090         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10091         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10092         * mach/Versions: Likewise.
10093
10094         * csu/Versions: Remove unused %include.
10095         * resolv/Versions: Likewise.
10096
10097 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10098
10099         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10100         ($(objpfx)check-local-headers.out): Likewise.
10101         ($(objpfx)begin-end-check.out): Likewise.
10102         * Makerules (check-abi-%.out): Likewise.
10103         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10104         ($(objpfx)test2.cat): Likewise.
10105         ($(objpfx)de/libc.cat): Likewise.
10106         ($(objpfx)test-gencat.out): Likewise.
10107         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10108         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10109         ($(objpfx)noload-mem): Likewise.
10110         ($(objpfx)tst-pathopt.out): Likewise.
10111         ($(objpfx)tst-rtld-load-self.out): Likewise.
10112         ($(objpfx)tst-array1-cmp.out): Likewise.
10113         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10114         ($(objpfx)tst-array2-cmp.out): Likewise.
10115         ($(objpfx)tst-array3-cmp.out): Likewise.
10116         ($(objpfx)tst-array4-cmp.out): Likewise.
10117         ($(objpfx)tst-array5-cmp.out): Likewise.
10118         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10119         ($(objpfx)check-textrel.out): Likewise.
10120         ($(objpfx)check-execstack.out): Likewise.
10121         ($(objpfx)check-localplt.out): Likewise.
10122         ($(objpfx)order2-cmp.out): Likewise.
10123         ($(objpfx)tst-leaks1-mem): Likewise.
10124         ($(objpfx)tst-leaks1-static-mem): Likewise.
10125         ($(objpfx)tst-initorder-cmp.out): Likewise.
10126         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10127         ($(objpfx)tst-unused-dep.out): Likewise.
10128         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10129         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10130         * iconv/Makefile (test-iconvconfig): Likewise.
10131         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10132         ($(objpfx)iconv-test.out): Likewise.
10133         ($(objpfx)tst-tables.out): Likewise.
10134         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10135         ($(objpfx)tst-gettext.out): Likewise.
10136         ($(objpfx)tst-translit.out): Likewise.
10137         ($(objpfx)tst-gettext2.out): Likewise.
10138         ($(objpfx)tst-gettext4.out): Likewise.
10139         ($(objpfx)tst-gettext6.out): Likewise.
10140         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10141         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10142         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10143         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10144         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10145         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10146         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10147         ($(objpfx)wordexp-tst.out): Likewise.
10148         ($(objpfx)annexc.out): Likewise.
10149         ($(objpfx)tst-fnmatch-mem): Likewise.
10150         ($(objpfx)bug-regex2-mem): Likewise.
10151         ($(objpfx)bug-regex14-mem): Likewise.
10152         ($(objpfx)bug-regex21-mem): Likewise.
10153         ($(objpfx)bug-regex31-mem): Likewise.
10154         ($(objpfx)tst-vfork3-mem): Likewise.
10155         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10156         ($(objpfx)tst-pcre-mem): Likewise.
10157         ($(objpfx)tst-boost-mem): Likewise.
10158         ($(objpfx)tst-getconf.out): Likewise.
10159         ($(objpfx)bug-ga2-mem): Likewise.
10160         ($(objpfx)bug-glob2-mem): Likewise.
10161         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10162         ($(objpfx)mtrace-tst-leaks2): Likewise.
10163         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10164         ($(objpfx)tst-printf.out): Likewise.
10165         ($(objpfx)tst-setvbuf1.out): Likewise.
10166         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10167         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10168         ($(objpfx)tst-fmtmsg.out): Likewise.
10169         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10170         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10171
10172         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10173         * bits/sigaction.h [__USE_MISC]: Likewise.
10174         * bits/waitstatus.h: Update #endif comments.
10175         * ctype/ctype.h: Likewise.
10176         * dirent/dirent.h: Likewise.
10177         [__USE_MISC]: Remove redundant conditionals.
10178         * grp/grp.h: Update #endif comments.
10179         [__USE_GNU]: Remove redundant conditionals.
10180         [__USE_MISC]: Likewise.
10181         * inet/netinet/in.h [__USE_GNU]: Likewise.
10182         * io/sys/stat.h [__USE_MISC]: Likewise.
10183         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10184         * libio/bits/stdio.h: Update #endif comments.
10185         [__USE_MISC]: Remove redundant conditionals.
10186         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10187         * libio/stdio.h: Update #endif comments.
10188         [__USE_MISC]: Remove redundant conditionals.
10189         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10190         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10191         * math/math.h: Update #else and #endif comments.
10192         [__USE_MISC]: Remove redundant conditionals.
10193         * misc/sys/uio.h: Update #endif comments.
10194         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10195         * posix/glob.h [__USE_MISC]: Likewise.
10196         * posix/sys/types.h: Update #endif comments.
10197         [__USE_MISC]: Remove redundant conditionals.
10198         * posix/sys/wait.h: Update #endif comments.
10199         [__USE_MISC]: Remove redundant conditionals.
10200         * posix/unistd.h: Update #endif comments.
10201         [__USE_MISC]: Remove redundant conditionals.
10202         * pwd/pwd.h [__USE_GNU]: Likewise.
10203         [__USE_MISC]: Likewise.
10204         * resolv/netdb.h [__USE_GNU]: Likewise.
10205         * signal/signal.h: Update #endif comments.
10206         [__USE_MISC]: Remove redundant conditionals.
10207         * stdlib/stdlib.h: Update #else and #endif comments.
10208         [__USE_MISC]: Remove redundant conditionals.
10209         [__USE_GNU]: Likewise.
10210         * string/bits/string2.h [__USE_MISC]: Likewise.
10211         * string/string.h: Update #endif comments.
10212         [__USE_MISC]: Remove redundant conditionals.
10213         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10214         Likewise.
10215         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10216         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10217         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10218         Likewise.
10219         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10220         Likewise.
10221         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10222         comments.
10223         [__USE_MISC]: Remove redundant conditionals.
10224         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10225         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10226         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10227         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10228         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10229         Likewise.
10230         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10231         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10232         Likewise.
10233         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10234         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10235         Likewise.
10236         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10237         Likewise.
10238         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10239         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10240         Likewise.
10241         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10242         Likewise.
10243         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10244         * sysdeps/x86/bits/string.h: Update #endif comments.
10245         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10246         conditionals.
10247         * time/sys/time.h: Update #endif comments.
10248         * time/time.h: Likewise.
10249         [__USE_MISC]: Remove redundant conditionals.
10250
10251 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10252
10253         [BZ #16600]
10254         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10255
10256 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10257
10258         * Versions.def (librt): Add GLIBC_2.17.
10259
10260 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10261
10262         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10263         synonym for _SYS_AUXV_H to allow direct inclusion.
10264         * sysdeps/sparc/bits/hwcap.h: Likewise.
10265         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10266         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10267         * sysdeps/sparc/sysdep.h: Likewise.
10268
10269 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10270
10271         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10272
10273 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10274
10275         * benchtests/bench-strrchr.c: Print length instead of position.
10276
10277 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10278
10279         [BZ #16611]
10280         * sysdeps/unix/sysv/linux/kernel-features.h
10281         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10282         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10283         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10284         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10285         Likewise.
10286         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10287         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10288         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10289         (__ASSUME_SENDMMSG): Define instead of using previous
10290         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10291         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10292         (__ASSUME_SENDMMSG_SYSCALL): Define.
10293         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10294         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10295         Likewise.
10296         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10297         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10298         Likewise.
10299         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10300         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10301         Likewise.
10302         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10303         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10304         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10305         [__ASSUME_SENDMMSG]: Change conditionals to
10306         [__ASSUME_SENDMMSG_SOCKETCALL].
10307         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10308         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10309         Define.
10310         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10311         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10312         Likewise.
10313         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10314         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10315         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10316         [!__ASSUME_SENDMMSG]: Change conditional to
10317         [!__ASSUME_SENDMMSG_SOCKETCALL].
10318         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10319         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10320         Define.
10321
10322         [BZ #16610]
10323         * sysdeps/unix/sysv/linux/kernel-features.h
10324         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10325         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10326         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10327         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10328         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10329         [__i386__ || __sparc__]
10330         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10331         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10332         (__ASSUME_RECVMMSG): Define instead of using previous
10333         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10334         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10335         (__ASSUME_RECVMMSG_SYSCALL): Define.
10336         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10337         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10338         Likewise.
10339         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10340         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10341         Likewise.
10342         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10343         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10344         Likewise.
10345         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10346         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10347         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10348         [__ASSUME_RECVMMSG]: Change condition to
10349         [__ASSUME_RECVMMSG_SOCKETCALL].
10350         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10352         Define.
10353         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10354         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10355         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10358         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10359         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10360         [!__ASSUME_RECVMMSG]: Change condition to
10361         [!__ASSUME_RECVMMSG_SOCKETCALL].
10362         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10363         (__ASSUME_RECVMMSG_SYSCALL): Define.
10364
10365         [BZ #16609]
10366         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10367         __powerpc__ || __s390__ || __sh__ || __sparc__]
10368         (__ASSUME_SOCKETCALL): Define.
10369         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10370         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10371         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10372         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10373         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10374         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10375         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10376         (__ASSUME_ACCEPT4): Define instead of using previous
10377         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10378         __powerpc__ || __sparc__ || __s390__)] condition.
10379         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10380         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10381         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10382         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10383         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10384         [!__ASSUME_ACCEPT4]: Change condition to
10385         [!__ASSUME_ACCEPT4_SOCKETCALL].
10386         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10387         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10388         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10390         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10391         __ASSUME_ACCEPT4_SYSCALL.
10392         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10393         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10394         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10395         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10396         __ASSUME_ACCEPT4_SYSCALL.
10397         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10398         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10399         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10400         [__ASSUME_ACCEPT4]: Change condition to
10401         [__ASSUME_ACCEPT4_SOCKETCALL].
10402         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10403         (__ASSUME_SOCKETCALL): Define.
10404         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10405         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10406         (__ASSUME_SOCKETCALL): Define.
10407         (__ASSUME_ACCEPT4): Remove.
10408         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10409         Define.
10410         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10411         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10412         Likewise.
10413         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10414         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10415
10416         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10417         macro.
10418         (HWCAP_ARM_LPAE): Likewise.
10419         (HWCAP_ARM_EVTSTRM): Likewise.
10420         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10421         Add vpfd32, lpae and evtstrm.
10422         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10423         Increase to 22.
10424
10425 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10426
10427         * math/auto-libm-test-in: Add tests of clog10.
10428         * math/auto-libm-test-out: Regenerated.
10429         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10430         * sysdeps/i386/fpu/libm-test-ulps: Update.
10431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10432
10433 2014-02-18  Andreas Schwab  <schwab@suse.de>
10434
10435         [BZ #16574]
10436         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10437         Store non-zero if the second buffer was newly allocated.
10438         (send_dg): Likewise.
10439         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10440         to send_vc and send_dg.
10441         (res_nsend): Pass NULL for ansp2_malloced.
10442         * resolv/res_query.c (__libc_res_nquery): Add parameter
10443         answerp2_malloced and pass it down to __libc_res_nsend.
10444         (res_nquery): Pass additional NULL to __libc_res_nquery.
10445         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10446         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10447         second answer buffer if answerp2_malloced was set.
10448         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10449         (__libc_res_nquerydomain): Add parameter
10450         answerp2_malloced and pass it down to __libc_res_nquery.
10451         (res_nquerydomain): Pass additional NULL to
10452         __libc_res_nquerydomain.
10453         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10454         additional NULL to __libc_res_nsend and __libc_res_nquery.
10455         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10456         additional NULL to __libc_res_nsearch.
10457         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10458         parameter of __libc_res_nsearch to check for separately allocated
10459         second buffer.
10460         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10461         __libc_res_nquery.
10462         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10463         additional NULL to __libc_res_nquery.
10464         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10465         __libc_res_nsearch.
10466         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10467         * include/resolv.h: Update prototypes of __libc_res_nquery,
10468         __libc_res_nsearch, __libc_res_nsend.
10469
10470 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10471
10472         * math/auto-libm-test-in: Add tests of fma.
10473         * math/auto-libm-test-out: Regenerated.
10474         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10475         (fma_towardzero_test_data): Likewise.
10476         (fma_downward_test_data): Likewise.
10477         (fma_upward_test_data): Likewise.
10478         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10479         mpc_mode.
10480         (rounding_modes): Add values for new field.
10481         (func_calc_method): Add value mpfr_fff_f.
10482         (func_calc_desc): Add mpfr_fff_f union field.
10483         (test_function): Add field exact_args.
10484         (FUNC): Add macro argument EXACT_ARGS.
10485         (FUNC_mpfr_f_f): Update call to FUNC.
10486         (FUNC_mpfr_f_f): Likewise.
10487         (FUNC_mpfr_ff_f): Likewise.
10488         (FUNC_mpfr_if_f): Likewise.
10489         (FUNC_mpc_c_f): Likewise.
10490         (FUNC_mpc_c_c): Likewise.
10491         (test_functions): Add fma.  Update calls to FUNC.
10492         (handle_input_arg): Add argument exact_args.
10493         (add_test): Update call to handle_input_arg.
10494         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10495         (output_for_one_input_case): Update call to calc_generic_results.
10496         Recalculate exact zero results in each rounding mode.
10497
10498         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10499         non-negative before setting low bit.
10500         * math/auto-libm-test-in: Mark one asin test possibly having
10501         spurious underflow.
10502         * math/auto-libm-test-out: Regenerated.
10503         * sysdeps/i386/fpu/libm-test-ulps: Update.
10504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10505
10506 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10507
10508         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10509         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10510         ports/sysdeps/unix/sysv/linux/microblaze.
10511         * README: Add missing listing for microblaze*-*-linux-gnu.
10512
10513 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10514
10515         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10516         duplicate code
10517
10518 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10519
10520         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10521         * sysdeps/unix/sysv/linux/ia64: Move directory from
10522         ports/sysdeps/unix/sysv/linux/ia64.
10523         * README: Update listing for ia64-*-linux-gnu.
10524
10525 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10526             Joseph Myers  <joseph@codesourcery.com>
10527
10528         * Makeconfig (test-name): New variable.
10529         (evaluate-test): Likewise.
10530         * Makerules (do-test-clean): Remove .test-result files.
10531         (common-mostlyclean): Likewise.
10532         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10533         * scripts/evaluate-test.sh: New file.
10534
10535 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10536
10537         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10538         separate $(objpfx)tst-fopenloc-cmp.out and
10539         $(objpfx)tst-fopenloc-mem.out targets.
10540         (tests): Update dependencies.
10541         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10542         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10543         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10544         (tst-rxspencer-no-utf8-ARGS): New variable.
10545         (tst-rxspencer-no-utf8-ENV): Likewise.
10546         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10547         instead of $(objpfx)tst-rxspencer-mem.
10548         ($(objpfx)tst-rxspencer-mem): Change target to
10549         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10550         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10551         * posix/tst-rxspencer-no-utf8.c: New file.
10552
10553         * elf/Makefile ($(objpfx)order.out): Remove rule.
10554         [$(run-built-tests) = yes] (tests): Depend on
10555         $(objpfx)order-cmp.out.
10556         ($(objpfx)order-cmp.out): New rule.
10557         [$(run-built-tests) = yes] (tests): Depend on
10558         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10559         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10560         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10561         $(objpfx)tst-array5-static-cmp.out.
10562         ($(objpfx)tst-array1.out): Remove rule.
10563         ($(objpfx)tst-array1-cmp.out): New rule.
10564         ($(objpfx)tst-array1-static.out): Remove rule.
10565         ($(objpfx)tst-array1-static-cmp.out): New rule.
10566         ($(objpfx)tst-array2.out): Remove rule.
10567         ($(objpfx)tst-array2-cmp.out): New rule.
10568         ($(objpfx)tst-array3.out): Remove rule.
10569         ($(objpfx)tst-array3-cmp.out): New rule.
10570         ($(objpfx)tst-array4.out): Remove rule.
10571         ($(objpfx)tst-array4-cmp.out): New rule.
10572         ($(objpfx)tst-array5.out): Remove rule.
10573         ($(objpfx)tst-array5-cmp.out): New rule.
10574         ($(objpfx)tst-array5-static.out): Remove rule.
10575         ($(objpfx)tst-array5-static-cmp.out): New rule.
10576         [$(run-built-tests) = yes] (tests): Depend on
10577         $(objpfx)order2-cmp.out.
10578         ($(objpfx)order2.out): Remove rule.
10579         ($(objpfx)order2-cmp.out): New rule.
10580         ($(objpfx)tst-initorder.out): Remove rule.
10581         [$(run-built-tests) = yes] (tests): Depend on
10582         $(objpfx)tst-initorder-cmp.out.
10583         ($(objpfx)tst-initorder-cmp.out): New rule.
10584         ($(objpfx)tst-initorder2.out): Remove rule.
10585         [$(run-built-tests) = yes] (tests): Depend on
10586         $(objpfx)tst-initorder2-cmp.out.
10587         ($(objpfx)tst-initorder2-cmp.out): New rule.
10588         [$(run-built-tests) = yes] (tests): Depend on
10589         $(objpfx)tst-unused-dep-cmp.out.
10590         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10591         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10592         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10593         on $(objpfx)tst-setvbuf1-cmp.out.
10594         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10595         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10596         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10597         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10598         ($(objpfx)tst-svc.out): Remove rule.
10599         ($(objpfx)tst-svc-cmp.out): New rule.
10600
10601 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10602
10603         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10604         * ctype/ctype.h [__USE_MISC]: Likewise.
10605         * dirent/dirent.h [__USE_MISC]: Likewise.
10606         * grp/grp.h [__USE_MISC]: Likewise.
10607         * io/fcntl.h [__USE_MISC]: Likewise.
10608         * io/sys/stat.h [__USE_MISC]: Likewise.
10609         * libio/stdio.h [__USE_MISC]: Likewise.
10610         * posix/unistd.h [__USE_MISC]: Likewise.
10611         * pwd/pwd.h [__USE_MISC]: Likewise.
10612         * stdlib.h [__USE_MISC]: Likewise.
10613         * string/bits/string2.h [__USE_MISC]: Likewise.
10614         * string/string.h [__USE_MISC]: Likewise.
10615         * time/time.h [__USE_MISC]: Likewise.
10616
10617 2014-02-13  Andreas Schwab  <schwab@suse.de>
10618
10619         [BZ #16574]
10620         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10621         second answer buffer if it was separately allocated.
10622
10623 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10624
10625         * sysdeps/mips/math-tests.h: Include <features.h>.
10626         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10627         (ROUNDING_TESTS_long_double): Do not define.
10628         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10629         (EXCEPTION_TESTS_long_double): Likewise.
10630         * sysdeps/mips/mips64/libm-test-ulps: Update.
10631
10632         * include/features.h (__USE_BSD): Remove macro definitions.
10633         (__USE_SVID): Likewise.
10634         (_BSD_SOURCE): Likewise.
10635         (_SVID_SOURCE): Likewise.
10636         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10637         from definition of _DEFAULT_SOURCE.
10638         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10639         [_DEFAULT_SOURCE].
10640         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10641         * bits/mman.h [__USE_BSD]: Likewise.
10642         * bits/termios.h [__USE_BSD]: Likewise.
10643         * bits/waitstatus.h [__USE_BSD]: Likewise.
10644         * ctype/ctype.h [__USE_SVID]: Likewise.
10645         * dirent/dirent.h [__USE_BSD]: Likewise.
10646         * grp/grp.h [__USE_SVID]: Likewise.
10647         [__USE_BSD]: Likewise.
10648         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10649         * io/fcntl.h [__USE_BSD]: Likewise.
10650         * io/ftw.h [__USE_BSD]: Likewise.
10651         * io/sys/stat.h [__USE_BSD]: Likewise.
10652         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10653         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10654         * libio/stdio.h [__USE_SVID]: Likewise.
10655         [__USE_BSD]: Likewise.
10656         * math/math.h [__USE_SVID]: Likewise.
10657         [__USE_BSD]: Likewise.
10658         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10659         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10660         * misc/search.h [__USE_SVID]: Likewise.
10661         * misc/sys/mman.h [__USE_BSD]: Likewise.
10662         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10663         * misc/sys/uio.h [__USE_BSD]: Likewise.
10664         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10665         * posix/glob.h [__USE_BSD]: Likewise.
10666         * posix/regex.h [__USE_BSD]: Likewise.
10667         * posix/sys/types.h [__USE_BSD]: Likewise.
10668         [__USE_SVID]: Likewise.
10669         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10670         * posix/sys/wait.h [__USE_BSD]: Likewise.
10671         [__USE_SVID]: Likewise.
10672         * posix/unistd.h [__USE_BSD]: Likewise.
10673         [__USE_SVID]: Likewise.
10674         * pwd/pwd.h [__USE_SVID]: Likewise.
10675         * resolv/netdb.h [__USE_BSD]: Likewise.
10676         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10677         * signal/signal.h [__USE_BSD]: Likewise.
10678         [__USE_SVID]: Likewise.
10679         * socket/sys/socket.h [__USE_BSD]: Likewise.
10680         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10681         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10682         [__USE_SVID]: Likewise.
10683         * string/bits/string2.h [__USE_BSD]: Likewise.
10684         [__USE_SVID]: Likewise.
10685         * string/bits/string3.h [__USE_BSD]: Likewise.
10686         * string/endian.h [__USE_BSD]: Likewise.
10687         * string/string.h [__USE_SVID]: Likewise.
10688         [__USE_BSD]: Likewise.
10689         * string/strings.h [__USE_BSD]: Likewise.
10690         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10691         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10692         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10693         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10694         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10695         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10696         Likewise.
10697         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10698         Likewise.
10699         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10700         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10701         Likewise.
10702         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10703         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10704         Likewise.
10705         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10706         Likewise.
10707         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10708         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10709         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10710         Likewise.
10711         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10712         Likewise.
10713         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10714         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10715         * termios/termios.h [__USE_BSD]: Likewise.
10716         * time/sys/time.h [__USE_BSD]: Likewise.
10717         * time/time.h [__USE_BSD]: Likewise.
10718         [__USE_SVID]: Likewise.
10719
10720         * Makefile (subdir_targets): Remove subdir_lint.out.
10721
10722         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10723         (do-tst-printf): Likewise.
10724         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10725         $(objpfx)tst-printf.out.
10726
10727         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10728
10729         * Makerules (check-abi-%): Change target to
10730         $(objpfx)check-abi-%.out.
10731         (check-abi target): Update dependencies.
10732         (check-abi-pattern variable): Redirect output of diff to $@.
10733         (check-abi variable): Likewise.
10734         * elf/Makefile (check-abi): Update dependencies.
10735
10736         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10737         unused.
10738         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10739         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10740         subnormal range.
10741         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10742         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10743         value has largest subnormal exponent.
10744         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10745         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10746         * sysdeps/aarch64/soft-fp/sfp-machine.h
10747         (_FP_TININESS_AFTER_ROUNDING): New macro.
10748         * sysdeps/alpha/soft-fp/sfp-machine.h
10749         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10750         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10751         Likewise.
10752         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10753         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10754         * sysdeps/mips/soft-fp/sfp-machine.h
10755         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10756         * sysdeps/powerpc/soft-fp/sfp-machine.h
10757         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10758         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10759         Likewise.
10760         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10761         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10762         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10763         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10764         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10765         Likewise.
10766
10767 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10768
10769         [BZ #16545]
10770         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10771         model 1.
10772
10773 2014-02-12  Richard Henderson  <rth@redhat.com>
10774
10775         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10776         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10777         * sysdeps/unix/sysv/linux/alpha: Move directory from
10778         ports/sysdeps/unix/sysv/linux/alpha.
10779         * README: Update listing for alpha-*-linux-gnu.
10780
10781 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10782
10783         * include/features.h: Update comment documenting feature test
10784         macros.
10785         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10786         _DEFAULT_SOURCE.
10787         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10788         (_SVID_SOURCE): Likewise.
10789         (_DEFAULT_SOURCE): Update description of default features.
10790         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10791         with _GNU_SOURCE.
10792         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10793         (S_ISVTX): Likewise.
10794         * manual/math.texi (Mathematical Constants): Likewise.
10795         * manual/signal.texi (Interrupted Primitives): Likewise.
10796         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10797         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10798         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10799         Don't refer to _SVID_SOURCE in warning text.
10800
10801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10802
10803         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10804         already defined.
10805         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10806         * sysdeps/mips/dl-lookup.c: Remove.
10807         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10808
10809 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10810
10811         [BZ #16447]
10812         * math/auto-libm-test-in: Add testcase for expl.
10813         * math/auto-libm-test-out: Regenerate.
10814         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10815         calculation of unsafe.
10816         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10817
10818 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10819
10820         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10821         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10822         ports/sysdeps/unix/sysv/linux/aarch64.
10823         * README: Update listing for aarch64*-*-linux-gnu.
10824
10825 2014-02-11  Will Newton  <will.newton@linaro.org>
10826
10827         * manual/probes.texi (Mathematical Function Probes): Use
10828         "triggered" instead of "hit".
10829
10830         * manual/probes.texi (Internal Probes): Add documentation
10831         of setjmp, longjmp and longjmp_target probes.
10832
10833         * include/stap-probe.h: Add comment about probe argument
10834         format.
10835
10836         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10837         definition.  (tr_where, tr_freehook, tr_mallochook,
10838         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10839
10840 2014-02-11  David S. Miller  <davem@davemloft.net>
10841
10842         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10843         processing int_tests.
10844
10845 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10846
10847         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10848         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10849         * sysdeps/unix/sysv/linux/mips: Move directory from
10850         ports/sysdeps/unix/sysv/linux/mips.
10851         * README: Update listing for mips-*-linux-gnu and
10852         mips64-*-linux-gnu.
10853
10854 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10855
10856         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10857         * sysdeps/unix/sysv/linux/m68k: Move directory from
10858         ports/sysdeps/unix/sysv/linux/m68k.
10859         * README: Update listing for m68k-*-linux-gnu.
10860
10861 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10862
10863         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10864         * sysdeps/unix/sysv/linux/generic: Move directory from
10865         ports/sysdeps/unix/sysv/linux/generic.
10866         * sysdeps/unix/sysv/linux/tile: Move directory from
10867         ports/sysdeps/unix/sysv/linux/tile.
10868         * README: Update listing for tile*-*-linux-gnu.
10869
10870 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10871
10872         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10873         __builtin_expect.
10874         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10875         * catgets/open_catalog.c (__open_catalog): Likewise.
10876         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10877         * debug/confstr_chk.c: Likewise.
10878         * debug/fread_chk.c (__fread_chk): Likewise.
10879         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10880         * debug/getgroups_chk.c: Likewise.
10881         * debug/mbsnrtowcs_chk.c: Likewise.
10882         * debug/mbsrtowcs_chk.c: Likewise.
10883         * debug/mbstowcs_chk.c: Likewise.
10884         * debug/memcpy_chk.c: Likewise.
10885         * debug/memmove_chk.c: Likewise.
10886         * debug/mempcpy_chk.c: Likewise.
10887         * debug/memset_chk.c: Likewise.
10888         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10889         * debug/strcat_chk.c (__strcat_chk): Likewise.
10890         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10891         * debug/strncat_chk.c (__strncat_chk): Likewise.
10892         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10893         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10894         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10895         * debug/wcpncpy_chk.c: Likewise.
10896         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10897         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10898         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10899         * debug/wcsncpy_chk.c: Likewise.
10900         * debug/wcsnrtombs_chk.c: Likewise.
10901         * debug/wcsrtombs_chk.c: Likewise.
10902         * debug/wcstombs_chk.c: Likewise.
10903         * debug/wmemcpy_chk.c: Likewise.
10904         * debug/wmemmove_chk.c: Likewise.
10905         * debug/wmempcpy_chk.c: Likewise.
10906         * debug/wmemset_chk.c: Likewise.
10907         * dirent/scandirat.c (SCANDIRAT): Likewise.
10908         * dlfcn/dladdr1.c (dladdr1): Likewise.
10909         * dlfcn/dladdr.c (dladdr): Likewise.
10910         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10911         * dlfcn/dlerror.c (__dlerror): Likewise.
10912         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10913         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10914         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10915         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10916         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10917         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10918         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10919         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10920         Likewise.
10921         * elf/dl-conflict.c: Likewise.
10922         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10923         * elf/dl-dst.h: Likewise.
10924         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10925         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10926         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10927         * elf/dl-init.c (call_init, _dl_init): Likewise.
10928         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10929         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10930         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10931         Likewise.
10932         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10933         Likewise.
10934         * elf/dl-minimal.c (__libc_memalign): Likewise.
10935         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10936         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10937         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10938         * elf/dl-sym.c (do_sym): Likewise.
10939         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10940         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10941         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10942         * elf/dl-writev.h (_dl_writev): Likewise.
10943         * elf/ldconfig.c (search_dir): Likewise.
10944         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10945         (dl_main): Likewise.
10946         * elf/setup-vdso.h (setup_vdso): Likewise.
10947         * grp/compat-initgroups.c (compat_call): Likewise.
10948         * grp/fgetgrent.c (fgetgrent): Likewise.
10949         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10950         * grp/putgrent.c (putgrent): Likewise.
10951         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10952         Likewise.
10953         * hurd/hurdinit.c: Likewise.
10954         * iconvdata/8bit-gap.c (struct): Likewise.
10955         * iconvdata/ansi_x3.110.c : Likewise.
10956         * iconvdata/big5.c : Likewise.
10957         * iconvdata/big5hkscs.c : Likewise.
10958         * iconvdata/cp1255.c: Likewise.
10959         * iconvdata/cp1258.c : Likewise.
10960         * iconvdata/cp932.c : Likewise.
10961         * iconvdata/euc-cn.c: Likewise.
10962         * iconvdata/euc-jisx0213.c : Likewise.
10963         * iconvdata/euc-jp.c: Likewise.
10964         * iconvdata/euc-jp-ms.c : Likewise.
10965         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10966         * iconvdata/gb18030.c : Likewise.
10967         * iconvdata/gbbig5.c (const): Likewise.
10968         * iconvdata/gbgbk.c: Likewise.
10969         * iconvdata/gbk.c : Likewise.
10970         * iconvdata/ibm1364.c : Likewise.
10971         * iconvdata/ibm930.c : Likewise.
10972         * iconvdata/ibm932.c: Likewise.
10973         * iconvdata/ibm933.c : Likewise.
10974         * iconvdata/ibm935.c : Likewise.
10975         * iconvdata/ibm937.c : Likewise.
10976         * iconvdata/ibm939.c : Likewise.
10977         * iconvdata/ibm943.c: Likewise.
10978         * iconvdata/iso_11548-1.c: Likewise.
10979         * iconvdata/iso-2022-cn.c : Likewise.
10980         * iconvdata/iso-2022-cn-ext.c : Likewise.
10981         * iconvdata/iso-2022-jp-3.c: Likewise.
10982         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10983         * iconvdata/iso-2022-kr.c : Likewise.
10984         * iconvdata/iso646.c (gconv_end): Likewise.
10985         * iconvdata/iso_6937-2.c : Likewise.
10986         * iconvdata/iso_6937.c : Likewise.
10987         * iconvdata/iso8859-1.c: Likewise.
10988         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10989         * iconvdata/shift_jisx0213.c : Likewise.
10990         * iconvdata/sjis.c : Likewise.
10991         * iconvdata/t.61.c : Likewise.
10992         * iconvdata/tcvn5712-1.c : Likewise.
10993         * iconvdata/tscii.c: Likewise.
10994         * iconvdata/uhc.c : Likewise.
10995         * iconvdata/unicode.c (gconv_end): Likewise.
10996         * iconvdata/utf-16.c (gconv_end): Likewise.
10997         * iconvdata/utf-32.c (gconv_end): Likewise.
10998         * iconvdata/utf-7.c (base64): Likewise.
10999         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11000         * iconv/gconv_close.c (__gconv_close): Likewise.
11001         * iconv/gconv_open.c (__gconv_open): Likewise.
11002         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11003         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11004         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11005         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11006         (ucs4le_internal_loop_single): Likewise.
11007         * iconv/iconv.c (iconv): Likewise.
11008         * iconv/iconv_close.c: Likewise.
11009         * iconv/loop.c (SINGLE): Likewise.
11010         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11011         * include/atomic.h: Likewise.
11012         * inet/inet6_option.c (option_alloc): Likewise.
11013         * intl/bindtextdom.c (set_binding_values): Likewise.
11014         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11015         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11016         * intl/localealias.c (read_alias_file): Likewise.
11017         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11018         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11019         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11020         * libio/fmemopen.c (fmemopen): Likewise.
11021         * libio/iofgets.c (_IO_fgets): Likewise.
11022         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11023         * libio/iofgetws.c (fgetws): Likewise.
11024         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11025         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11026         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11027         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11028         * locale/findlocale.c (_nl_find_locale): Likewise.
11029         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11030         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11031         Likewise.
11032         * locale/setlocale.c (setlocale): Likewise.
11033         * login/programs/pt_chown.c (main): Likewise.
11034         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11035         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11036         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11037         (mmap, mmap64, mremap, munmap): Likewise.
11038         * math/e_exp2l.c: Likewise.
11039         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11040         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11041         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11042         * math/s_catan.c (__catan): Likewise.
11043         * math/s_catanf.c (__catanf): Likewise.
11044         * math/s_catanh.c (__catanh): Likewise.
11045         * math/s_catanhf.c (__catanhf): Likewise.
11046         * math/s_catanhl.c (__catanhl): Likewise.
11047         * math/s_catanl.c (__catanl): Likewise.
11048         * math/s_ccosh.c (__ccosh): Likewise.
11049         * math/s_ccoshf.c (__ccoshf): Likewise.
11050         * math/s_ccoshl.c (__ccoshl): Likewise.
11051         * math/s_cexp.c (__cexp): Likewise.
11052         * math/s_cexpf.c (__cexpf): Likewise.
11053         * math/s_cexpl.c (__cexpl): Likewise.
11054         * math/s_clog10.c (__clog10): Likewise.
11055         * math/s_clog10f.c (__clog10f): Likewise.
11056         * math/s_clog10l.c (__clog10l): Likewise.
11057         * math/s_clog.c (__clog): Likewise.
11058         * math/s_clogf.c (__clogf): Likewise.
11059         * math/s_clogl.c (__clogl): Likewise.
11060         * math/s_csin.c (__csin): Likewise.
11061         * math/s_csinf.c (__csinf): Likewise.
11062         * math/s_csinh.c (__csinh): Likewise.
11063         * math/s_csinhf.c (__csinhf): Likewise.
11064         * math/s_csinhl.c (__csinhl): Likewise.
11065         * math/s_csinl.c (__csinl): Likewise.
11066         * math/s_csqrt.c (__csqrt): Likewise.
11067         * math/s_csqrtf.c (__csqrtf): Likewise.
11068         * math/s_csqrtl.c (__csqrtl): Likewise.
11069         * math/s_ctan.c (__ctan): Likewise.
11070         * math/s_ctanf.c (__ctanf): Likewise.
11071         * math/s_ctanh.c (__ctanh): Likewise.
11072         * math/s_ctanhf.c (__ctanhf): Likewise.
11073         * math/s_ctanhl.c (__ctanhl): Likewise.
11074         * math/s_ctanl.c (__ctanl): Likewise.
11075         * math/w_pow.c: Likewise.
11076         * math/w_powf.c: Likewise.
11077         * math/w_powl.c: Likewise.
11078         * math/w_scalb.c (sysv_scalb): Likewise.
11079         * math/w_scalbf.c (sysv_scalbf): Likewise.
11080         * math/w_scalbl.c (sysv_scalbl): Likewise.
11081         * misc/error.c (error_tail): Likewise.
11082         * misc/pselect.c (__pselect): Likewise.
11083         * nis/nis_callback.c (__nis_create_callback): Likewise.
11084         * nis/nis_call.c (__nisfind_server): Likewise.
11085         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11086         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11087         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11088         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11089         * nis/nis_lookup.c (nis_lookup): Likewise.
11090         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11091         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11092         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11093         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11094         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11095         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11096         * nis/nss_compat/compat-initgroups.c (add_group)
11097         (internal_getgrent_r): Likewise.
11098         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11099         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11100         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11101         (internal_getspnam_r): Likewise.
11102         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11103         (_nss_nis_getaliasbyname_r): Likewise.
11104         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11105         (_nss_nis_getntohost_r): Likewise.
11106         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11107         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11108         (_nss_nis_getgrgid_r): Likewise.
11109         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11110         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11111         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11112         (_nss_nis_gethostbyname4_r): Likewise.
11113         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11114         (initgroups_netid): Likewise.
11115         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11116         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11117         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11118         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11119         (_nss_nis_getprotobynumber_r): Likewise.
11120         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11121         (_nss_nis_getsecretkey): Likewise.
11122         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11123         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11124         (_nss_nis_getpwuid_r): Likewise.
11125         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11126         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11127         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11128         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11129         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11130         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11131         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11132         Likewise.
11133         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11134         (_nss_nisplus_getntohost_r): Likewise.
11135         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11136         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11137         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11138         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11139         Likewise.
11140         * nis/nss_nisplus/nisplus-initgroups.c
11141         (_nss_nisplus_initgroups_dyn): Likewise.
11142         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11143         (_nss_nisplus_getnetbyaddr_r): Likewise.
11144         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11145         (_nss_nisplus_getprotobynumber_r): Likewise.
11146         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11147         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11148         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11149         Likewise.
11150         * nis/nss_nisplus/nisplus-service.c
11151         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11152         (_nss_nisplus_getservbyport_r): Likewise.
11153         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11154         (_nss_nisplus_getspnam_r): Likewise.
11155         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11156         Likewise.
11157         * nscd/aicache.c (addhstaiX): Likewise.
11158         * nscd/cache.c (cache_search, prune_cache): Likewise.
11159         * nscd/connections.c (register_traced_file, send_ro_fd)
11160         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11161         (main_loop_epoll): Likewise.
11162         * nscd/grpcache.c (addgrbyX): Likewise.
11163         * nscd/hstcache.c (addhstbyX): Likewise.
11164         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11165         * nscd/mem.c (gc, mempool_alloc): Likewise.
11166         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11167         (addinnetgrX): Likewise.
11168         * nscd/nscd-client.h (__nscd_acquire_maplock)
11169         (__nscd_drop_map_ref): Likewise.
11170         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11171         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11172         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11173         Likewise.
11174         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11175         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11176         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11177         (__nscd_get_map_ref): Likewise.
11178         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11179         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11180         Likewise.
11181         * nscd/pwdcache.c (addpwbyX): Likewise.
11182         * nscd/selinux.c (preserve_capabilities): Likewise.
11183         * nscd/servicescache.c (addservbyX): Likewise.
11184         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11185         * posix/fnmatch.c (fnmatch): Likewise.
11186         * posix/getopt.c (_getopt_internal_r): Likewise.
11187         * posix/glob.c (glob, glob_in_dir): Likewise.
11188         * posix/wordexp.c (exec_comm_child): Likewise.
11189         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11190         (getanswer_r, gaih_getanswer_slice): Likewise.
11191         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11192         * resolv/res_init.c: Likewise.
11193         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11194         * resolv/res_query.c (__libc_res_nquery): Likewise.
11195         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11196         Likewise.
11197         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11198         * stdio-common/perror.c (perror): Likewise.
11199         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11200         * stdio-common/tmpnam.c (tmpnam): Likewise.
11201         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11202         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11203         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11204         Likewise.
11205         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11206         * stdlib/putenv.c (putenv): Likewise.
11207         * stdlib/setenv.c (__add_to_environ): Likewise.
11208         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11209         * stdlib/strtol_l.c (INTERNAL): Likewise.
11210         * string/memmem.c (memmem): Likewise.
11211         * string/strerror.c (strerror): Likewise.
11212         * string/strnlen.c (__strnlen): Likewise.
11213         * string/test-memmem.c (simple_memmem): Likewise.
11214         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11215         * sunrpc/pm_getport.c (__get_socket): Likewise.
11216         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11217         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11218         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11219         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11220         Likewise.
11221         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11222         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11223         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11224         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11225         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11226         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11227         Likewise.
11228         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11229         Likewise.
11230         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11231         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11232         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11233         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11234         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11235         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11236         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11237         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11238         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11239         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11240         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11241         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11242         Likewise.
11243         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11244         Likewise.
11245         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11246         Likewise.
11247         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11248         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11249         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11250         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11251         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11252         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11253         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11254         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11255         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11256         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11257         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11258         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11259         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11260         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11262         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11263         Likewise.
11264         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11265         Likewise.
11266         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11267         Likewise.
11268         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11269         Likewise.
11270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11271         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11272         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11273         Likewise.
11274         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11275         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11276         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11277         * sysdeps/posix/sleep.c: Likewise.
11278         * sysdeps/posix/tempname.c: Likewise.
11279         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11280         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11281         Likewise.
11282         * sysdeps/powerpc/powerpc32/dl-machine.h
11283         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11284         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11286         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11287         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11288         Likewise.
11289         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11290         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11291         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11292         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11293         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11294         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11295         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11296         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11297         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11298         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11299         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11300         (elf_machine_lazy_rel): Likewise.
11301         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11302         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11303         (elf_machine_lazy_rel): Likewise.
11304         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11305         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11306         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11307         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11308         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11309         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11310         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11311         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11312         Likewise.
11313         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11314         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11315         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11316         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11317         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11318         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11319         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11320         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11321         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11322         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11323         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11324         Likewise.
11325         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11326         (__posix_fallocate64_l64): Likewise.
11327         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11328         (posix_fallocate): Likewise.
11329         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11330         Likewise.
11331         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11332         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11333         (getifaddrs_internal): Likewise.
11334         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11335         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11336         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11337         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11338         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11339         (__posix_fallocate64_l64): Likewise.
11340         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11341         Likewise.
11342         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11343         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11344         (__get_clockfreq): Likewise.
11345         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11346         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11347         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11349         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11350         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11351         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11352         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11353         Likewise.
11354         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11355         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11356         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11357         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11358         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11359         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11360         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11361         Likewise.
11362         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11363         (posix_fallocate): Likewise.
11364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11365         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11366         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11367         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11368         (elf_machine_rela, elf_machine_rela_relative)
11369         (elf_machine_lazy_rel): Likewise.
11370         * time/asctime.c (asctime_internal): Likewise.
11371         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11372         * time/tzset.c (__tzset_parse_tz): Likewise.
11373         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11374         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11375         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11376         * wcsmbs/wcsmbsload.h: Likewise.
11377
11378         [BZ #15894]
11379         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11380
11381         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11382         (arena_get2): Remove THREAD_STATS conditionals.
11383         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11384         (__malloc_stats, int): Likewise.
11385
11386 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11387
11388         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11389         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11390
11391         * manual/setjmp.texi: Fix typos/grammar errors.
11392
11393         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11394         Only return early when n is <= 0.  Delete unused return statement.
11395
11396         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11397         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11398         * debug/tst-longjmp_chk3.c: New file.
11399
11400         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11401         (test_main): Replace code with set_fortify_handler call.
11402         * debug/test-strcpy_chk.c: Likewise.
11403         * debug/tst-chk1.c: Likewise.
11404         * debug/tst-longjmp_chk.c: Likewise.
11405         * test-skeleton.c: Include fcntl.h & paths.h
11406         (set_fortify_handler): Define.
11407
11408         * debug/tst-longjmp_chk.c: Add header comment and include
11409         ../test-skeleton.c.
11410         (do_test): Mark static.
11411         (TEST_FUNCTION): Define.
11412
11413         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11414         (IP_PMTUDISC_INTERFACE): Likewise.
11415         (IP_MULTICAST_IF): Likewise.
11416         (IP_MULTICAST_TTL): Likewise.
11417         (IP_MULTICAST_LOOP): Likewise.
11418         (IP_ADD_MEMBERSHIP): Likewise.
11419         (IP_DROP_MEMBERSHIP): Likewise.
11420         (IP_UNBLOCK_SOURCE): Likewise.
11421         (IP_BLOCK_SOURCE): Likewise.
11422         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11423         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11424         (IP_MSFILTER): Likewise.
11425         (MCAST_JOIN_GROUP): Likewise.
11426         (MCAST_BLOCK_SOURCE): Likewise.
11427         (MCAST_UNBLOCK_SOURCE): Likewise.
11428         (MCAST_LEAVE_GROUP): Likewise.
11429         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11430         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11431         (MCAST_MSFILTER): Likewise.
11432         (IP_MULTICAST_ALL): Likewise.
11433         (IP_UNICAST_IF): Likewise.
11434
11435         * timezone/Makefile: Delete $(have-ksh) check.
11436         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11437         * timezone/tzselect.ksh: Add +x mode bits.
11438
11439         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11440         (ANON_INODE_FS_MAGIC): Likewise.
11441         (BDEVFS_MAGIC): Likewise.
11442         (BINFMTFS_MAGIC): Likewise.
11443         (BTRFS_TEST_MAGIC): Likewise.
11444         (CRAMFS_MAGIC_WEND): Likewise.
11445         (DEBUGFS_MAGIC): Likewise.
11446         (ECRYPTFS_SUPER_MAGIC): Likewise.
11447         (EXT3_SUPER_MAGIC): Likewise.
11448         (EXT4_SUPER_MAGIC): Likewise.
11449         (FUTEXFS_SUPER_MAGIC): Likewise.
11450         (HOSTFS_SUPER_MAGIC): Likewise.
11451         (HUGETLBFS_MAGIC): Likewise.
11452         (MINIX3_SUPER_MAGIC): Likewise.
11453         (MTD_INODE_FS_MAGIC): Likewise.
11454         (NILFS_SUPER_MAGIC): Likewise.
11455         (OPENPROM_SUPER_MAGIC): Likewise.
11456         (PIPEFS_MAGIC): Likewise.
11457         (PSTOREFS_MAGIC): Likewise.
11458         (QNX6_SUPER_MAGIC): Likewise.
11459         (RAMFS_MAGIC): Likewise.
11460         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11461         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11462         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11463         (SECURITYFS_MAGIC): Likewise.
11464         (SELINUX_MAGIC): Likewise.
11465         (SMACK_MAGIC): Likewise.
11466         (SOCKFS_MAGIC): Likewise.
11467         (SQUASHFS_MAGIC): Likewise.
11468         (STACK_END_MAGIC): Likewise.
11469         (TMPFS_MAGIC): Likewise.
11470         (USBDEVICE_SUPER_MAGIC): Likewise.
11471         (V9FS_MAGIC): Likewise.
11472         (XENFS_SUPER_MAGIC): Likewise.
11473         (CRAMFS_MAGIC): Fix typo in comment.
11474         (EXT2_SUPER_MAGIC): Update comment.
11475         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11476
11477 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11478
11479         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11480         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11481         * sysdeps/unix/sysv/linux/arm: Move directory from
11482         ports/sysdeps/unix/sysv/linux/arm.
11483         * README: Update listing for arm-*-linux-gnueabi.
11484
11485         * README: Remove mention of am33.
11486
11487 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11488
11489         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11490         than the comma operator, to avoid "rhs of comma has no effect"
11491         compiler warnings.
11492         (__sigfillset, __sigandset, __sigorset): Likewise.
11493         * include/signal.h (__sigemptyset): Likewise.
11494         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11495
11496 2014-02-07  Allan McRae  <allan@archlinux.org>
11497
11498         * version.h (RELEASE): Set to "development".
11499         (VERSION): Set to "2.19.90"
11500         * NEWS: Add 2.20 section.
11501
11502 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11503
11504         [BZ #16529]
11505         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11506
11507 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11508
11509         * manual/contrib.texi: Update entry for Carlos O'Donell,
11510         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11511
11512 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11513
11514         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11515
11516         * sysdeps/unix/sysv/linux/kernel-features.h
11517         [__LINUX_KERNEL_VERSION >= 0x020621]
11518         (__ASSUME_PROC_PID_TASK_COMM): Define.
11519
11520 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11521
11522         [BZ #16398]
11523         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11524         conversion when destination buffer does not have enough space.
11525         * libio/tst-ftell-partial-wide.c: New test case.
11526         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11527
11528         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11529         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11530         Leonard and Allan McRae.
11531
11532 2014-02-04  David S. Miller  <davem@davemloft.net>
11533
11534         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11535         32-bit.
11536
11537 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11538
11539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11540         New file
11541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11542         New file
11543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11544         New file.
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11546         New file.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11548         New file.
11549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11550         New file.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11552         New file.
11553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11554         New file.
11555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11556         New file.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11558         New file.
11559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11560         New file.
11561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11562         New file.
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11564         New file.
11565
11566 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11567
11568         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11569         * shlib-versions: Likewise.
11570
11571 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11572             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11573
11574         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11575         (abilist-pattern): New variable, set to %-le.abilist.
11576
11577         * Makerules (abilist-pattern): New variable.
11578         (vpath): Use $(abilist-pattern) in place of %.abilist.
11579         (check-abi-% pattern rule): Likewise.
11580         (check-abi, update-abi): Likewise.
11581
11582 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11583
11584         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11585
11586 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11587
11588         * manual/startup.texi: Add next, previous, and top entries for
11589         the `Program Arguments' and `Environment Variables' nodes.
11590
11591 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11592
11593         * manual/macros.texi: Add comments before MTASC-safety macros.
11594
11595         * manual/users.texi: Document MTASC-safety properties.
11596
11597         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11598         (pthread_getspecific, pthread_setspecific): Format with
11599         @deftypefun, and add @safety note.
11600         * manual/signal.texi: Move comments that analyze the above
11601         functions to their home place.
11602
11603 2014-02-03  Allan McRae  <allan@archlinux.org>
11604
11605         * po/sl.po: Update Slovenian translation from translation project.
11606
11607 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11608
11609         * manual/time.texi (timegm): Add missing blank after @c.
11610         Reported by Joseph Myers <joseph@codesourcery.com>.
11611
11612 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11613
11614         * manual/check-safety.sh: New.
11615         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11616
11617         * manual/terminal.texi: Document MTASC-safety properties.
11618
11619         * manual/filesys.texi: Document MTASC-safety properties.
11620
11621         * manual/errno.texi: Document MTASC-safety properties.
11622
11623         * manual/intro.texi: Document safety identifiers and
11624         conditionals.
11625
11626         * manual/string.texi (wcstok): Fix prototype.
11627         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11628
11629         * manual/time.texi: Document MTASC-safety properties.
11630
11631         * manual/string.texi: Document MTASC-safety properties.
11632
11633         * manual/threads.texi: Document MTASC-safety properties.
11634
11635         * manual/stdio.texi: Document MTASC-safety properties.
11636
11637         * manual/syslog.texi: Document MTASC-safety properties.
11638
11639         * manual/sysinfo.texi: Document MTASC-safety properties.
11640
11641         * manual/startup.texi: Document MTASC-safety properties.
11642
11643         * manual/socket.texi: Document MTASC-safety properties.
11644
11645         * manual/signal.texi: Document MTASC-safety properties.
11646
11647 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11648
11649         * manual/setjmp.texi: Document MTASC-safety properties.
11650
11651         * manual/search.texi: Document MTASC-safety properties.
11652
11653         * manual/resource.texi: Document MTASC-safety properties.
11654
11655         * manual/process.texi: Document MTASC-safety properties.
11656
11657         * manual/platform.texi: Document MTASC-safety properties.
11658
11659         * manual/pipe.texi: Document MTASC-safety properties.
11660
11661         * manual/pattern.texi: Document MTASC-safety properties.
11662
11663         * manual/message.texi: Document MTASC-safety properties.
11664
11665         [BZ #12751]
11666         * manual/memory.texi: Document MTASC-safety properties.
11667
11668         * manual/math.texi: Document MTASC-safety properties.
11669
11670         * manual/locale.texi: Document MTASC-safety properties.
11671
11672         * manual/llio.texi: Document MTASC-safety properties.
11673
11674         * manual/libdl.texi: New.
11675
11676         * manual/lang.texi: Document MTASC-safety properties.
11677
11678         * manual/job.texi: Document MTASC-safety properties.
11679
11680         * manual/getopt.texi: Document MTASC-safety properties.
11681
11682         * manual/ctype.texi: Document MTASC-safety properties.
11683
11684 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11685
11686         [BZ #16046]
11687         * csu/libc-tls.c (static_map): Remove variable.
11688         (__libc_setup_tls): Use main executable's link map for TLS data.
11689         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11690         casing for LM_ID_BASE and GL(dl_nns).
11691         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11692         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11693         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11694         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11695         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11696         member.
11697         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11698         l_phnum members.
11699
11700 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11701
11702         * manual/debug.texi: Document MTASC-safety properties.
11703
11704 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11705
11706         [BZ #16510]
11707         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11708         of __x86_64__ when disabling x87 inline functions.
11709
11710 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11711
11712         * manual/charset.texi: Document MTASC-safety properties.
11713
11714         * manual/crypt.texi: Document MTASC-safety properties.
11715
11716         * manual/conf.texi: Document MTASC-safety properties.
11717
11718         * manual/arith.texi: Document MTASC-safety properties.
11719
11720         * manual/argp.texi: Document MTASC-safety properties.
11721
11722         * manual/macros.texi: Introduce macros to document multi
11723         thread, asynchronous signal and asynchronous cancellation
11724         safety properties.
11725         * manual/intro.texi: Introduce the properties themselves.
11726
11727 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11728
11729         * sysdeps/sh/sh4/Makefile: New file.
11730
11731 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11732
11733         * math/gen-libm-test.pl ($srcdir): New variable.
11734         ($auto_input): Use it.
11735
11736 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11737
11738         [BZ #16506]
11739         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11740         access beyond array bounds when parsing netgroups file.
11741
11742         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11743         the old buffer before realloc.
11744
11745 2014-01-27  Allan McRae  <allan@archlinux.org>
11746
11747         * po/fr.po: Update French translation from translation project.
11748
11749 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11750
11751         * sysdeps/sh/libm-test-ulps: Regenerate.
11752
11753 2014-01-24  David S. Miller  <davem@davemloft.net>
11754
11755         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11756
11757 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11758
11759         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11760         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11761
11762 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11763
11764         [BZ #16474]
11765         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11766         string pointers after reallocation.
11767
11768 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11769
11770         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11771         __SH4A__ instead of __SH_FPU_ANY__.
11772
11773 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11774
11775         * sysdeps/sh/fpu_control.h: New file.
11776         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11777         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11778         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11779         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11780         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11781         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11782         * sysdeps/sh/sys/ucontext.h: Remove.
11783         * sysdeps/sh/sys: Remove directory.
11784
11785 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11786
11787         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11788         s390/sys/ucontext.h.
11789         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11790         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11791
11792 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11793
11794         [BZ #15605]
11795         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11796
11797 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11798
11799         [BZ#16431]
11800         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11801         Adjust the vDSO correctly for internal calls.
11802         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11803
11804 2014-01-20  Allan McRae  <allan@archlinux.org>
11805
11806         * po/ca.po: Update Catalan translation from translation project.
11807
11808 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11809
11810         * sysdeps/s390/sotruss-lib.c: New file.
11811
11812 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11813
11814         [BZ#16430]
11815         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11816         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11817         local calls issues by not having a PLT stub required for IFUNC calls.
11818         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11819
11820 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11821
11822         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11823         * math/test-fpucw-static.c: Likewise.
11824
11825 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11826
11827         [BZ #16453]
11828         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11829
11830 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11831
11832         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11833         implementation for powerpc.
11834
11835 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11836
11837         [BZ #14782]
11838         * sysdeps/posix/system.c (__libc_system): Do not enable
11839         asynchronous cancellation.
11840
11841 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11842
11843         [BZ #16427]
11844         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11845         handling only for numbers special also in the IEEE case.
11846
11847 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11848
11849         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11850
11851 2014-01-11  Allan McRae  <allan@archlinux.org>
11852
11853         * po/bg.po: Update Bulgarian translation from translation project.
11854
11855         * po/de.po: Update German translation from translation project.
11856
11857 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11858
11859         * sysdeps/generic/gcc-compat.h: New file.
11860
11861 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11862
11863         * benchtests/asin-inputs: Correct slow inputs.
11864         * benchtests/acos-inputs: Likewise.
11865
11866 2014-01-10  Allan McRae  <allan@archlinux.org>
11867
11868         * po:sv.po: Update Swedish translation from translation project.
11869
11870         * po/vi.po: Update Vietnamese translation from translation project.
11871
11872         * po/eo.po: Update Esperanto translation from translation project.
11873
11874         * po/cs.po: Update Czech translation from translation project.
11875
11876         * po/nl.po: Update Dutch translation from translation project.
11877
11878         * po/pl.po: Update Polish translation from translation project.
11879
11880         * po/ru.po: Update Russian translation from translation project.
11881
11882         * po/uk.po: Update Ukrainian translation from translation project.
11883
11884 2014-01-08  Brooks Moses  <bmoses@google.com>
11885
11886         * elf/dl-load.c: Fix comment typo.
11887
11888 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11889
11890         * po/header.pot: Rename to...
11891         * po/pot.header: ... this.
11892         * po/Makefile: Use pot.header.
11893
11894 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11895             Maxim Kuvyrkov  <maxim@kugelworks.com>
11896
11897         [BZ #16394]
11898         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11899         SRC and DEST against LEN.
11900
11901 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11902
11903         [BZ #16414]
11904         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11905         implementation.
11906         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11907
11908 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11909
11910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11911
11912 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11913
11914         [BZ #16408]
11915         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11916         for large positive arguments.
11917
11918 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11919
11920         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11921
11922         * math/auto-libm-test-in: Mark various tests with
11923         xfail-rounding:ldbl-128ibm.
11924         * math/auto-libm-test-out: Regenerated.
11925
11926         [BZ #16407]
11927         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11928         Increase overflow threshold.
11929
11930 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11931
11932         [BZ #14286]
11933         * stdio-common/vfprintf.c: Check for integer overflow.
11934
11935 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11936
11937         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11938         the first argument and return value of __tls_get_addr_internal.
11939
11940 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11941
11942         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11943         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11944
11945 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11946
11947         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11948         * sysdeps/s390/rtld-global-offsets.sym: New file.
11949         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11950         GLIBC_2.19 symbol.
11951         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11952         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11953         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11954         ... this.
11955         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11956         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11957         ... this.
11958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11959         Regenerate.
11960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11961         Regenerate.
11962         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11963         halfs of GPRs for high_gprs contexts.
11964         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11965         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11966         field.
11967         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11968         uc_flags field.
11969         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11970         64 bit versions:
11971         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11972         for high GPRs (uc_high_gprs) and for future extensions
11973         (__reserved).
11974         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11975         for future extensions (__reserved).
11976         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11977         64 bit versions:
11978         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11979         SC_HIGHGPRS offset definition.
11980         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11981         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11982
11983         * Versions.def: Add GLIBC_2.19 for libpthread.
11984         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11985         siglongjmp for libpthread with GLIBC_2.19 symver.
11986         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11987         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11988         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11989         * sysdeps/s390/__longjmp.c: New file.
11990         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11991         * sysdeps/s390/longjmp.c: New file.
11992         * sysdeps/s390/setjmp.S: New file.
11993         * sysdeps/s390/sigjmp.S: New file.
11994         * sysdeps/s390/v1-longjmp.c: New file.
11995         * sysdeps/s390/v1-setjmp.h: New file.
11996         * sysdeps/s390/v1-sigjmp.c: New file.
11997         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11998         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11999         GLIBC_2.19 version.
12000         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12001         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12002         versioned symbols for ____longjmp_chk.
12003         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12004         Likewise.
12005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12006         Regenerate.
12007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12008         Regenerate.
12009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12010         Regenerate.
12011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12012         Regenerate.
12013         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12014         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12015         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12016         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12017         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12018         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12019         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12020         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12021         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12022         * sysdeps/s390/rtld-__longjmp.c: New file.
12023         * sysdeps/s390/rtld-setjmp.S: New file.
12024
12025 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12026
12027         [BZ #16400]
12028         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12029         Return -__logl (x) for small positive arguments without evaluating
12030         a polynomial.
12031
12032 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12033
12034         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12035         Rename to ...
12036         (__ptrace_peeksiginfo_args): ... this.
12037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12038         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12039         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12040
12041 2014-01-06  Allan McRae  <allan@archlinux.org>
12042
12043         * inet/netinet/in.h: Fix typo in comment.
12044
12045 2014-01-05  Andreas Jaeger  <aj@suse.de>
12046
12047         * sysdeps/i386/fpu/libm-test-ulps: Update.
12048
12049 2014-01-05  Allan McRae  <allan@archlinux.org>
12050
12051         * po/libc.pot: Regenerated.
12052
12053         * malloc/memusagestat.c: Fix gettext call formatting.
12054
12055 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12056
12057         * nscd/nscd.c: Improve usage() output.
12058
12059 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12060
12061         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12062         * sysdeps/unix/sysv/linux/configure: Regenerated.
12063         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12064         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12065
12066 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12067
12068         [BZ #16390]
12069         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12070         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12071
12072 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12073
12074         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12075         extra tokens at end of #undef directive.
12076         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12077         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12078         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12079
12080 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12081
12082         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12083
12084         * math/auto-libm-test-in: Mark various tests with
12085         xfail-rounding:ldbl-128ibm.
12086         * math/auto-libm-test-out: Regenerated.
12087
12088 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12089
12090         [BZ #16386]
12091         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12092         numbers with subnormal high part when calculating exponent.
12093
12094         [BZ #16385]
12095         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12096         fabs.
12097
12098         [BZ #16384]
12099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12100         M_LN2l.
12101         (__ieee754_acoshl): Use __log1pl not __log1p.
12102
12103 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12104
12105         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12106         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12107         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12108         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12109         (reused_arena, arena_get2): Convert to GNU style.
12110         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12111         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12112         (memalign_check, __malloc_set_state): Likewise.
12113         * malloc/mallocbug.c (main): Likewise.
12114         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12115         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12116         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12117         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12118         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12119         (__posix_memalign, malloc_info): Likewise.
12120         * malloc/malloc.h: Likewise.
12121         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12122         (mallochook, memalignhook, reallochook, mabort): Likewise.
12123         * malloc/mcheck.h: Likewise.
12124         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12125         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12126         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12127         * malloc/morecore.c (__default_morecore): Likewise.
12128         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12129         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12130         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12131         (print_and_abort): Likewise.
12132         * malloc/obstack.h: Likewise.
12133         * malloc/set-freeres.c (__libc_freeres): Likewise.
12134         * malloc/tst-mallocstate.c (main): Likewise.
12135         * malloc/tst-mtrace.c (main): Likewise.
12136         * malloc/tst-realloc.c (do_test): Likewise.
12137
12138 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12139
12140         [BZ #16366]
12141         * nscd/netgroupcache.c (do_notfound): New function.
12142         (addgetnetgrentX): Use it.
12143
12144         [BZ # 16365]
12145         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12146         NSS_STATUS_NOTFOUND.
12147
12148 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12149
12150         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12152
12153 2014-01-01  Allan McRae  <allan@archlinux.org>
12154
12155         * scripts/update-copyrights: Update configure input file suffix.
12156
12157         * NEWS: Update copyright year.
12158         * catgets/gencat.c: Likewise.
12159         * csu/version.c: Likewise.
12160         * debug/catchsegv.sh: Likewise.
12161         * debug/pcprofiledump.c: Likewise.
12162         * debug/xtrace.sh: Likewise.
12163         * elf/ldconfig.c: Likewise.
12164         * elf/ldd.bash.in: Likewise.
12165         * elf/pldd.c: Likewise.
12166         * elf/sotruss.ksh: Likewise.
12167         * elf/sprof.c: Likewise.
12168         * iconv/iconv_prog.c: Likewise.
12169         * iconv/iconvconfig.c: Likewise.
12170         * locale/programs/locale.c: Likewise.
12171         * locale/programs/localedef.c: Likewise.
12172         * login/programs/pt_chown.c: Likewise.
12173         * malloc/memusage.sh: Likewise.
12174         * malloc/memusagestat.c: Likewise.
12175         * malloc/mtrace.pl: Likewise.
12176         * manual/libc.texinfo: Likewise.
12177         * nscd/nscd.c: Likewise.
12178         * nss/getent.c: Likewise.
12179         * nss/makedb.c: Likewise.
12180         * posix/getconf.c: Likewise.
12181         * scripts/test-installation.pl: Likewise.
12182
12183         * All files with FSF copyright notices: Update copyright dates
12184         using scripts/update-copyrights.
12185         * intl/plural.c: Regenerated.
12186         * locale/programs/charmap-kw.h: Likewise.
12187         * locale/programs/locfile-kw.h: Likewise.
12188
12189 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12190
12191         * sysdeps/unix/sysv/linux/configure: Regenerated.
12192         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12193         the linux/fanotify.h header.
12194         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12195         HAVE_LINUX_FANOTIFY_H is defined.
12196
12197 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12198
12199         * benchtests/cos-inputs: New inputs.
12200         * benchtests/sin-inputs: Likewise.
12201
12202         * benchtests/atan-inputs: New inputs. Fix name of multiple
12203         precision fallback inputs.
12204
12205         * benchtests/atanh-inputs: New inputs.
12206         * benchtests/tanh-inputs: Likewise.
12207
12208         * benchtests/acosh-inputs: New inputs.
12209         * benchtests/asinh-inputs: Likewise.
12210
12211         * benchtests/cosh-inputs: New inputs.
12212         * benchtests/sinh-inputs: Likewise.
12213
12214         * benchtests/acos-inputs: Add more inputs.
12215         * benchtests/asin-inputs: Likewise.
12216
12217 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12218
12219         [BZ #16375]
12220         * manual/arith.texi: Fix spelling.
12221         * manual/charset.texi: Likewise.
12222         * manual/errno.texi: Likewise.
12223         * manual/filesys.texi: Likewise.
12224         * manual/lang.texi: Likewise.
12225         * manual/llio.texi: Likewise.
12226         * manual/locale.texi: Likewise.
12227         * manual/message.texi: Likewise.
12228         * manual/resource.texi: Likewise.
12229         * manual/search.texi: Likewise.
12230         * manual/setjmp.texi: Likewise.
12231         * manual/stdio.texi: Likewise.
12232         * manual/string.texi: Likewise.
12233         * manual/sysinfo.texi: Likewise.
12234         * manual/time.texi: Likewise.
12235
12236 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12237
12238         * po/sl.po: New file.
12239
12240 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12241
12242         * .gitignore: Add core/.gdbinit/.gdb_history.
12243
12244 2013-12-27  Allan McRae  <allan@archlinux.org>
12245
12246         [BZ #16369]
12247         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12248         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12249
12250 2013-12-24  Brooks Moses  <bmoses@google.com>
12251
12252         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12253         all compilers that claim C++98 compliance, not just GCC.
12254         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12255         Likewise.
12256
12257 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12258
12259         * NEWS: Restore accidentally deleted bug-fix entries.
12260
12261 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12262             Ondřej Bílka  <neleai@seznam.cz>
12263
12264         [BZ #15073]
12265         * malloc/malloc.c (_int_free): Perform sanity check only if we
12266         have_lock.
12267
12268 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12269
12270         [BZ #12986]
12271         * manual/stdio.texi (String Input Conversions): Clarify that character
12272         classes are not supported.
12273
12274 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12275
12276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12277
12278 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12279
12280         [BZ #16337]
12281         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12282         Calculate results for small negative arguments directly rather
12283         than using reflection formula with special underflow handling.
12284
12285         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12286         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12287         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12288         (fchflags): Likewise.
12289         (revoke): Likewise.
12290         (setlogin): Likewise.
12291         (sigaltstack): Likewise.
12292         (wait4): Likewise.
12293         (sigblock): Remove.
12294         (sigsetmask): Likewise.
12295         (wait3): Likewise.
12296         (waitpid): Likewise.
12297         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12298         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12299         file.
12300         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12301         * sysdeps/unix/bsd/Makefile: ... here.
12302         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12303         * sysdeps/unix/bsd/Versions: ... here.
12304         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12305         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12306         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12307         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12308         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12309         * sysdeps/unix/bsd/sigblock.c: ... here.
12310         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12311         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12312         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12313         * sysdeps/unix/bsd/sigvec.c: ... here.
12314         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12315         * sysdeps/unix/bsd/tcdrain.c: ... here.
12316         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12317         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12318         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12319         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12320         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12321         * sysdeps/unix/bsd/wait.c: ... here.
12322         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12323         * sysdeps/unix/bsd/wait3.c: ... here.
12324         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12325         * sysdeps/unix/bsd/waitpid.c: ... here.
12326
12327 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12328
12329         [BZ #16356]
12330         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12331         round-to-nearest for [!USE_AS_EXPM1L].
12332         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12333         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12334         more tests of exp and exp10.  Expect some exp10 tests to miss
12335         exceptions or fail in directed rounding modes.
12336         * math/auto-libm-test-out: Regenerated.
12337         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12338         (exp10_test_tonearest): New function.
12339         (exp10_towardzero_test_data): New array.
12340         (exp10_test_towardzero): New function.
12341         (exp10_downward_test_data): New array.
12342         (exp10_test_downward): New function.
12343         (exp10_upward_test_data): New array.
12344         (exp10_test_upward): New function.
12345         (main): Call the new functions.
12346         * sysdeps/i386/fpu/libm-test-ulps: Update.
12347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12348
12349 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12350
12351         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12352         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12353         * math/auto-libm-test-out: Regenerated.
12354         * math/libm-test.inc (acosh_test_data): Add more tests.
12355         (atanh_test_data): Likewise.
12356         (ceil_test_data): Likewise.
12357         (copysign_test_data): Likewise.
12358         * sysdeps/i386/fpu/libm-test-ulps: Update.
12359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12360
12361         * timezone/checktab.awk: Update from tzcode 2013i.
12362         * timezone/private.h: Likewise.
12363         * timezone/scheck.c: Likewise.
12364         * timezone/tzfile.h: Likewise.
12365         * timezone/tzselect.ksh: Likewise.
12366         * timezone/zdump.c: Likewise.
12367         * timezone/zic.c: Likewise.
12368
12369         * math/auto-libm-test-in: Add tests of cpow.
12370         * math/auto-libm-test-out: Regenerated.
12371         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12372         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12373         mpc_cc_c.
12374         (func_calc_desc): Add mpc_cc_c union field.
12375         (test_functions): Add cpow.
12376         (special_fill_2pi): New function.
12377         (special_real_inputs): Add 2pi.
12378         (calc_generic_results): Handle mpc_cc_c.
12379         * sysdeps/i386/fpu/libm-test-ulps: Update.
12380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12381
12382         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12383         csqrt, ctan and ctanh.
12384         * math/auto-libm-test-out: Regenerated.
12385         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12386         (TEST_COND_x86): Likewise.
12387         (ccos_test_data): Use AUTO_TESTS_c_c.
12388         (ccosh_test_data): Likewise.
12389         (cexp_test_data): Likewise.
12390         (clog_test_data): Likewise.
12391         (csqrt_test_data): Likewise.
12392         (ctan_test_data): Likewise.
12393         (ctan_tonearest_test_data): Likewise.
12394         (ctan_towardzero_test_data): Likewise.
12395         (ctan_downward_test_data): Likewise.
12396         (ctan_upward_test_data): Likewise.
12397         (ctanh_test_data): Likewise.
12398         (ctanh_tonearest_test_data): Likewise.
12399         (ctanh_towardzero_test_data): Likewise.
12400         (ctanh_downward_test_data): Likewise.
12401         (ctanh_upward_test_data): Likewise.
12402         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12403         mpc_c_c.
12404         (func_calc_desc): Add mpc_c_c union field.
12405         (FUNC_mpc_c_c): New macro.
12406         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12407         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12408         ctanh.
12409         (special_fill_min_subnorm_p120): New function.
12410         (special_real_inputs): Add min_subnorm_p120.
12411         (calc_generic_results): Handle mpc_c_c.
12412         * sysdeps/i386/fpu/libm-test-ulps: Update.
12413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12414
12415 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12416
12417         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12418         (do_sin_slow): New functions.
12419         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12420         (cslow2, csloww1, csloww2): Use the new functions.
12421
12422         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12423         Use M to change sign of result instead of X.  Assume X is
12424         positive.
12425         (csloww1): Likewise.
12426         (__sin): Adjust.
12427         (__cos): Adjust.
12428
12429         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12430         arguments A and DA.
12431         (__sin): Adjust.
12432         (__cos): Likewise.
12433
12434         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12435         (__cos): Likewise.
12436         (sloww1): Don't adjust sign of DX.
12437         (csloww1): Likewise.
12438         (sloww2): Use X directly and don't adjust sign of DX.
12439         (csloww2): Likewise.
12440
12441 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12442
12443         * math/auto-libm-test-in: Add tests of cabs and carg.
12444         * math/auto-libm-test-out: Regenerated.
12445         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12446         (carg_test_data): Likewise.
12447         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12448         mpc_c_f.
12449         (func_calc_desc): Add mpc_c_f union field.
12450         (test_functions): Add cabs and carg.
12451         (calc_generic_results): Handle mpc_c_f.
12452
12453         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12454         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12455         as a macro and a compat symbol.
12456         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12457         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12458         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12459         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12460         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12461         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12462         not use .hidden.
12463         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12464         Likewise.
12465         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12466         Likewise.
12467         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12468         Likewise.
12469         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12470         Likewise.
12471         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12472         Likewise.
12473         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12474         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12475         from GLIBC_2.3.2.
12476
12477 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12478
12479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12480
12481 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12482
12483         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12484         trailing whitespace removed.
12485         * scripts/config.guess: Update to version 2013-11-29.
12486         * scripts/config.sub: Update to version 2013-10-01.
12487
12488         * math/auto-libm-test-in: Add tests of sincos.
12489         * math/auto-libm-test-out: Regenerated.
12490         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12491         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12492         mpfr_f_11.
12493         (func_calc_desc): Add mpfr_f_11 union field.
12494         (test_functions): Add sincos.
12495         (calc_generic_results): Handle mpfr_f_11.
12496         * sysdeps/i386/fpu/libm-test-ulps: Update.
12497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12498
12499 2013-12-19  Andreas Schwab  <schwab@suse.de>
12500
12501         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12502         CALL_MCOUNT.
12503         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12504         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12505         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12506
12507 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12508
12509         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12510         * sysdeps/i386/fpu/libm-test-ulps: Update.
12511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12512
12513         [BZ #16293]
12514         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12515         round-to-nearest mode when using frndint.
12516         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12517         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12518         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12519         Likewise.
12520         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12521         sinh test to fail.
12522         * math/auto-libm-test-out: Regenerated.
12523         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12524         (TEST_COND_x86): Likewise.
12525         (expm1_tonearest_test_data): New array.
12526         (expm1_test_tonearest): New function.
12527         (expm1_towardzero_test_data): New array.
12528         (expm1_test_towardzero): New function.
12529         (expm1_downward_test_data): New array.
12530         (expm1_test_downward): New function.
12531         (expm1_upward_test_data): New array.
12532         (expm1_test_upward): New function.
12533         (main): Run the new test functions.
12534         * sysdeps/i386/fpu/libm-test-ulps: Update.
12535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12536
12537         * include/features.h: Update comment documenting feature test
12538         macros.  Mention _DEFAULT_SOURCE in comment.
12539         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12540         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12541         _BSD_SOURCE and _SVID_SOURCE.
12542         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12543         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12544         !_SVID_SOURCE]: Likewise.
12545         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12546         (__USE_POSIX_IMPLICITLY): Define.
12547         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12548         (_POSIX_SOURCE): Undefine and redefine.
12549         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12550         (_POSIX_C_SOURCE): Likewise.
12551         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12552         (Feature Test Macros): Update documentation of default features.
12553
12554 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12555
12556         * benchtests/Makefile: Add bench-strtok.
12557         * benchtests/bench-strtok.c: New file: strtok benchtest.
12558
12559 2013-12-19  Allan McRae  <allan@archlinux.org>
12560
12561         * manual/install.texi: Suppress menu for plain text output.
12562         * INSTALL: Regenerated.
12563
12564 2013-12-18  Brooks Moses  <bmoses@google.com>
12565
12566         [BZ #15846]
12567         * misc/getauxval.c: Include errno.h.
12568         (__getauxval): Set errno to ENOENT if the requested type is not
12569         found.
12570         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12571         don't declare with __attribute_const__.
12572         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12573         * manual/startup.texi: Document that getauxval sets errno.
12574
12575 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12576
12577         * math/auto-libm-test-in: Add tests of jn and yn.
12578         * math/auto-libm-test-out: Regenerated.
12579         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12580         (yn_test_data): Likewise.
12581         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12582         mpfr_if_f.
12583         (func_calc_desc): Add mpfr_if_f union field.
12584         (FUNC_mpfr_if_f): New macro.
12585         (test_functions): Add jn and yn.
12586         (calc_generic_results): Assert type of second input for
12587         mpfr_ff_f.  Handle mpfr_if_f.
12588         (output_for_one_input_case): Disable all checking for arguments
12589         fitting floating-point types in case of an integer argument.
12590         * sysdeps/i386/fpu/libm-test-ulps: Update.
12591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12592
12593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12594         Don't expect fegetround reference in libm.so.
12595
12596 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12597
12598         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12599         $(config-cflags-nofma).
12600
12601 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12602
12603         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12604         * math/auto-libm-test-out: Regenerated.
12605
12606         [BZ #16338]
12607         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12608         to determine exponent and adjust argument to have exponent of -1.
12609         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12610         log2.
12611         * math/auto-libm-test-out: Regenerated.
12612         * sysdeps/i386/fpu/libm-test-ulps: Update.
12613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12614
12615 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12616
12617         * manual/probes.texi: Remove cases when per-thread arenas are
12618         disabled.
12619
12620 2013-12-18  Andreas Schwab  <schwab@suse.de>
12621
12622         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12623         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12624         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12625         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12626         * sysdeps/i386/i686/multiarch/Makefile: Update.
12627         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12628
12629 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12630
12631         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12632         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12633
12634 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12635
12636         [BZ #15968]
12637         Support TZ transition times < 00:00:00.
12638         This is needed for version-3 tz-format files; it supports time
12639         stamps past 2037 for America/Godthab (the only entry in the tz
12640         database for which this change is relevant).
12641         * manual/time.texi (TZ Variable): Document transition times
12642         from -167:59:59 through -00:00:01.
12643         * time/tzset.c (tz_rule): Time of day is now signed.
12644         (__tzset_parse_tz): Parse negative time of day.
12645
12646         Document TZ transition times >= 25:00:00.
12647         * manual/time.texi (TZ Variable): Document transition times from
12648         25:00:00 through 167:59:59.  These are already supported, and this
12649         support will help with version-3 tz-format files.
12650
12651         * manual/time.texi (TZ Variable): Modernize North America example
12652         to reflect current (i.e., 2007-and-later) daylight saving rules.
12653
12654         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12655
12656 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12657
12658         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12659         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12661         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12662         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12663         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12664         * sysdeps/unix/bsd/clock.c: Likewise.
12665         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12666         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12667         * sysdeps/unix/bsd/init-posix.c: Likewise.
12668         * sysdeps/unix/bsd/poll.c: Likewise.
12669         * sysdeps/unix/bsd/ptsname.c: Likewise.
12670         * sysdeps/unix/bsd/seekdir.c: Likewise.
12671         * sysdeps/unix/bsd/setegid.c: Likewise.
12672         * sysdeps/unix/bsd/seteuid.c: Likewise.
12673         * sysdeps/unix/bsd/setgid.c: Likewise.
12674         * sysdeps/unix/bsd/setrgid.c: Likewise.
12675         * sysdeps/unix/bsd/setruid.c: Likewise.
12676         * sysdeps/unix/bsd/setsid.c: Likewise.
12677         * sysdeps/unix/bsd/setuid.c: Likewise.
12678         * sysdeps/unix/bsd/sigaction.c: Likewise.
12679         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12680         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12681         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12682         * sysdeps/unix/bsd/telldir.c: Likewise.
12683         * sysdeps/unix/bsd/times.c: Likewise.
12684         * sysdeps/unix/bsd/usleep.c: Likewise.
12685
12686         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12687         ($(objpfx)libbsd-compat.a): Remove rule.
12688
12689         * include/features.h (__FAVOR_BSD): Do not define.
12690         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12691         features conflicting with POSIX.
12692         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12693         (_BSD_SOURCE): Remove description of not being a subset of other
12694         feature test macros.
12695         * manual/job.texi (getpgrp): Do not document BSD version.
12696         (getpgid): Do not document by reference to BSD getpgrp.
12697         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12698         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12699         * signal/signal.h [__FAVOR_BSD]: Likewise.
12700         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12701         instead of making contents conditional on [__FAVOR_BSD].
12702         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12703
12704 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12705
12706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12707
12708 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12709
12710         [BZ #16314]
12711         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12712         values below 2**-450, not 2**-500.
12713         * math/auto-libm-test-in: Don't allow spurious underflow from
12714         hypot.
12715         * math/auto-libm-test-out: Regenerated.
12716
12717         [BZ #16316]
12718         [BZ #16330]
12719         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12720         values of ha and hb and sort them after adjusting subnormal
12721         arguments.
12722         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12723         Likewise.
12724         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12725         values of ea and eb and sort them after adjusting subnormal
12726         arguments.
12727         * math/auto-libm-test-in: Do not expect some hypot tests of
12728         subnormals to fail.  Add more hypot tests.
12729         * math/auto-libm-test-out: Regenerated.
12730
12731 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12732
12733         [BZ #13304]
12734         * sysdeps/sh/s_fma.c: New file.
12735         * sysdeps/sh/s_fmaf.c: New file.
12736         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12737         version.
12738         * sysdeps/sh/Implies: Add sh/soft-fp.
12739
12740 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12741
12742         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12743         level of indirection to members `objname', `errstring', `malloced'.
12744         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12745         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12746         it as the __longjmp argument (just pass 1 instead).
12747         (_dl_catch_error): Initialize C with argument pointers and address of
12748         volatile local ERRCODE rather than copying values out of C at return.
12749
12750 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12751
12752         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12753         * math/auto-libm-test-out: Regenerated.
12754         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12755         (hypot_test_data): Likewise.
12756         (pow_test_data): Likewise.
12757         (pow_tonearest_test_data): Likewise.
12758         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12759         mpfr_ff_f.
12760         (func_calc_desc): Add mpfr_ff_f union field.
12761         (FUNC_mpfr_ff_f): New macro.
12762         (test_functions): Add atan2, hypot and pow.
12763         (special_fill_min): New function.
12764         (special_fill_minus_min): Likewise.
12765         (special_fill_min_subnorm): Likewise.
12766         (special_fill_minus_min_subnorm): Likewise.
12767         (special_real_inputs): Add min, -min, min_subnorm and
12768         -min_subnorm.
12769         (calc_generic_results): Handle mpfr_ff_f.
12770         * sysdeps/i386/fpu/libm-test-ulps: Update.
12771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12772
12773 2013-12-16  Will Newton  <will.newton@linaro.org>
12774
12775         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12776         (Aligned Memory Blocks): Add documentation for aligned_alloc
12777         and suggest it as an alternative to posix_memalign.
12778         (Hooks for Malloc): Document __memalign_hook is also called
12779         for aligned_alloc.  (Summary of Malloc): Add summary for
12780         aligned alloc.  Document __memalign_hook is also called
12781         for aligned_alloc.
12782
12783 2013-12-16  Will Newton  <will.newton@linaro.org>
12784
12785         * manual/memory.texi (Malloc Examples): Clarify default
12786         alignment documentation.  Suggest posix_memalign rather
12787         than memalign or valloc.
12788         (Aligned Memory Blocks): Remove suggestion to use memalign
12789         or valloc.  Remove obsolete comment about BSD.
12790         Document memalign errno values and mark the function obsolete.
12791         Document posix_memalign returned error codes.  Mark valloc
12792         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12793         called for posix_memalign and valloc.
12794         (Summary of Malloc): Add posix_memalign to function summary.
12795         __memalign_hook is also called for posix_memalign and valloc.
12796
12797 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12798
12799         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12800         TAYLOR_SIN.
12801         (__sin): Adjust.
12802         (__cos): Likewise.
12803         (sloww): Use mynumber union.  Expand ternary operator into
12804         if-else statements.
12805         (cslow): use mynumber union.
12806
12807 2013-12-16  Allan McRae  <allan@archlinux.org>
12808
12809         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12810         * configure: Regenerated.
12811
12812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12813
12814         [BZ #14120]
12815         * configure.ac: Added --enable-maintainer-mode. Check for
12816         autoconf when enabled.
12817         * configure: Regenerated.
12818
12819         * nscd/nscd.service: New file.
12820         * nscd/nscd.tmpfiles: New file.
12821
12822 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12823
12824         [BZ #12100]
12825         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12826         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12827         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12828         (strstr): Add __strstr_sse2_unaligned ifunc.
12829         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12830         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12831         (strcasestr): Remove __strcasestr_sse42 ifunc.
12832         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12835
12836 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12837
12838         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12839         * sysdeps/sh/bits/fenv.h: ... here.
12840         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12841
12842 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12843
12844         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12845
12846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12847         hypotf multiarch implementations.
12848         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12849         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12850         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12851         multiarch hypot for PPC64.
12852         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12853         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12854         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12855         multiarch hypotf for PPC64.
12856
12857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12858         modff multiarch implementations.
12859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12862         multiarch modf for PPC64.
12863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12866         multiarch modff for PPC64.
12867
12868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12869         and logl multiarch implementations.
12870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12873         multiarch logb for PPC64.
12874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12877         multiarch logb for PPC64.
12878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12881         multiarch logb for PPC64.
12882
12883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12884         isinff multiarch implementation.
12885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12886         file.
12887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12889         multiarch isinf for PPC64.
12890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12891         file.
12892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12893         multiarch isinff for PPC64.
12894
12895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12896         finitef multiarch implementation.
12897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12898         file.
12899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12901         multiarch finite for PPC64.
12902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12903         file.
12904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12905         multiarch finitef for PPC64.
12906
12907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12908         lrint multiarch implementation.
12909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12910         file.
12911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12913         multiarch llrint for PPC64.
12914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12915         multiarch lrint for PPC64.
12916
12917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12918         copysignf multiarch implementation.
12919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12920         file.
12921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12922         file.
12923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12924         multiarch copysign for PPC64.
12925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12926         multiarch copysignf for PPC64.
12927
12928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12929         multiarch implementation.
12930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12931         file.
12932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12933         file.
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12935         file.
12936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12937         file.
12938         multiarch llround for PPC64.
12939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12940         multiarch trunc for PPC64.
12941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12942         multiarch truncf for PPC64.
12943
12944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12945         multiarch implementation.
12946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12947         file.
12948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12949         file.
12950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12951         file.
12952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12953         file.
12954         multiarch llround for PPC64.
12955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12956         multiarch round for PPC64.
12957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12958         multiarch roundf for PPC64.
12959
12960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12961         multiarch implementation.
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12963         file.
12964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12965         file.
12966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12967         file.
12968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12969         file.
12970         multiarch llround for PPC64.
12971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12972         multiarch floor for PPC64.
12973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12974         multiarch floorf for PPC64.
12975
12976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12977         multiarch implementation.
12978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12979         file.
12980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12981         file.
12982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12983         file.
12984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12985         file.
12986         multiarch llround for PPC64.
12987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12988         multiarch ceil for PPC64.
12989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12990         multiarch ceilf for PPC64.
12991
12992         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12993         multiarch implementation.
12994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12995         file.
12996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12997         file.
12998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12999         file.
13000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13001         multiarch llround for PPC64.
13002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13003         multiarch lround for PPC64.
13004
13005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13006         multiarch implementation.
13007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13010         file.
13011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13014         multiarch isnan for PPC64.
13015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13016         multiarch isnanf for PPC64.
13017
13018         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13019         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13020         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13021         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13022         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13024
13025         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13026         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13027         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13028         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13029
13030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13031         multiarch implementations.
13032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13033         (__libc_ifunc_impl_list): Likewise.
13034         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13035         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13036         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13037         multiarch stpcpy for PPC64.
13038
13039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13040         multiarch implementations.
13041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13042         (__libc_ifunc_impl_list): Likewise.
13043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13045         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13046         multiarch strcpy for PPC64.
13047
13048         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13049         redefine function name.
13050         (_wordcopy_fwd_dest_aligned): Likewise.
13051         (_wordcopy_bwd_aligned): Likewise.
13052         (_wordcopy_bwd_dest_aligned): Likewise.
13053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13054         multiarch implementations.
13055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13056         (__libc_ifunc_impl_list): Likewise.
13057         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13058         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13059         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13060         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13061         multiarch wcscpy for PPC64.
13062
13063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13064         multiarch implementations.
13065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13066         (__libc_ifunc_impl_list): Likewise.
13067         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13068         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13069         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13070         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13071         multiarch wcscpy for PPC64.
13072
13073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13074         multiarch implementations.
13075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13076         (__libc_ifunc_impl_list): Likewise.
13077         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13078         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13079         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13080         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13081         multiarch wcsrchr for PPC64.
13082
13083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13084         multiarch implementations.
13085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13086         (__libc_ifunc_impl_list): Likewise.
13087         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13088         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13089         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13090         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13091         multiarch wcschr for PPC64.
13092
13093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13094         multiarch implementations.
13095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13096         (__libc_ifunc_impl_list): Likewise.
13097         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13098         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13099         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13100         multiarch strchrnul for PPC64.
13101
13102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13103         implementations.
13104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13105         (__libc_ifunc_impl_list): Likewise.
13106         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13107         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13108         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13109         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13110         strchr for PPC64.
13111
13112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13113         implementations.
13114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13115         (__libc_ifunc_impl_list): Likewise.
13116         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13117         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13119         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13120         strncmp for PPC64.
13121
13122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13123         multiarch implementations.
13124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13125         (__libc_ifunc_impl_list): Likewise.
13126         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13127         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13128         strncasecmp for PPC64.
13129         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13130         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13131         multiarch strncasecmp_l for PPC64.
13132
13133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13134         multiarch implementations.
13135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13136         (__libc_ifunc_impl_list): Likewise.
13137         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13138         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13139         multiarch strcasecmp for PPC64.
13140         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13141         file.
13142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13143         multiarch strcasecmp_l for PPC64.
13144
13145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13146         implementations.
13147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13148         (__libc_ifunc_impl_list): Likewise.
13149         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13150         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13151         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13152         strnlen for PPC64.
13153
13154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13155         implementations.
13156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13157         (__libc_ifunc_impl_list): Likewise.
13158         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13159         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13160         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13161         strlen for PPC64.
13162
13163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13164         implementations.
13165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13166         (__libc_ifunc_impl_list): Likewise.
13167         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13168         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13169         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13170         rawmemrchr for PPC64.
13171
13172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13173         implementation.
13174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13175         (__libc_ifunc_impl_list): Likewise.
13176         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13177         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13178         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13179         memrchr for PPC64.
13180
13181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13182         implementation.
13183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13184         (__libc_ifunc_impl_list): Likewise.
13185         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13186         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13187         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13188         memchr for PPC64.
13189
13190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13191         implementation.
13192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13193         (__libc_ifunc_impl_list): Likewise.
13194         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13195         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13196         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13197         mempcpy for PPC64.
13198
13199         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13200         avoid cretion of __bzero symbol.
13201         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13202         Likewise.
13203         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13204         Likewise.
13205         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13206         Likewise.
13207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13208         multiarch implementations.
13209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13210         (__libc_ifunc_impl_list): Likewise.
13211         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13212         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13213         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13214         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13215         bzero for PPC32.
13216         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13217         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13218         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13219         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13220         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13221         memset for PPC64.
13222         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13223
13224         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13226         implementations.
13227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13228         (__libc_ifunc_impl_list): Likewise.
13229         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13230         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13231         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13232         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13233         memcmp for PPC64.
13234
13235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13236         multiarch for POWER/PPC64.
13237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13238         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13239         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13240         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13241         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13242         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13243         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13244         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13245         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13246         memcpy for PPC64.
13247
13248         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13249         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13250         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13251         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13252         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13253         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13254         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13255         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13256         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13257         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13258         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13259         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13260         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13261         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13262         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13270
13271 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13272
13273         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13274
13275 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13276
13277         * benchtests/Makefile (bench): Add exp2 and log2.
13278         (LDLIBS-bench-exp2): Add -lm.
13279         (LDLIBS-bench-log2): Likewise.
13280         * benchtests/exp2-inputs: New inputs file.
13281         * benchtests/log2-inputs: New inputs file.
13282         * benchtests/log-inputs: Add new inputs.
13283         * benchtests/tan-inputs: Likewise.
13284
13285 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13286
13287         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13288         definition...
13289         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13290         (csloww2): ... from here.
13291
13292         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13293         instead of structures.
13294         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13295         (POLYNOMIAL): Likewise.
13296         (TAYLOR_SLOW): Likewise.
13297         (__sin): Likewise.
13298         (__cos): Likewise.
13299         (slow1): Likewise.
13300         (slow2): Likewise.
13301         (sloww): Likewise.
13302         (sloww1); Likewise.
13303         (sloww2): Likewise.
13304         (bsloww1): Likewise.
13305         (bsloww2): Likewise.
13306         (cslow2): Likewise.
13307         (csloww): Likewise.
13308         (csloww1): Likewise.
13309         (csloww2): Likewise.
13310
13311 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13312
13313         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13314         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13315         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13316         * malloc/hooks.c (realloc_check): Likewise.
13317
13318         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13319         * malloc/arena.c: Remove PER_THREAD conditional.
13320         [!PER_THREAD]: Remove code.
13321         (ptmalloc_unlock_all2): Likewise.
13322         (ptmalloc_init): Likewise.
13323         (_int_new_arena): Likewise.
13324         (arena_get2): Likewise.
13325         * malloc/hooks.c (__malloc_get_state): Likewise.
13326         (__malloc_set_state): Likewise.
13327         * malloc/malloc.c: Likewise.
13328         (struct malloc_state): Likewise.
13329         (struct malloc_par): Likewise.
13330         (__libc_realloc): Likewise.
13331         (__libc_mallopt): Likewise.
13332
13333 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13334
13335         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13336
13337 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13338
13339         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13340         macro to a function.  Check for zero perturb_byte.
13341         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13342
13343         * malloc/malloc.c: (force_reg): Remove.
13344         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13345         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13346         force_reg by atomic_forced_read.
13347         * malloc/arena.c (ptmalloc_init): Likewise.
13348         * malloc/hooks.c (top_check): Likewise.
13349
13350 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13351
13352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13353
13354 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13355
13356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13357
13358 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13359
13360         * math/auto-libm-test-in: Add tests of lgamma.
13361         * math/auto-libm-test-out: Regenerated.
13362         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13363         (M_LOG_2_SQRT_PIl): Likewise.
13364         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13365         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13366         mpfr_f_f1.
13367         (func_calc_desc): Add mpfr_f_f1 union field.
13368         (ARGS1): New macro.
13369         (ARGS2): Likewise.
13370         (ARGS3): Likewise.
13371         (ARGS4): Likewise.
13372         (RET1): Likewise.
13373         (RET2): Likewise.
13374         (CALC): Likewise.
13375         (FUNC): Likewise.
13376         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13377         (test_functions): Add lgamma.
13378         (calc_generic_results): Handle mpfr_f_f1.
13379         * sysdeps/i386/fpu/libm-test-ulps: Update.
13380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13381
13382 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13383
13384         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13385         __mpn_add_n for PowerPC64/POWER7.
13386         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13387         __mpn_sub_n for PowerPC64/POWER7.
13388
13389         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13390         __mpn_addmul_1 for PowerPC64.
13391         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13392         __mpn_submul_1 for PowerPC64.
13393         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13394         for PowerPC64.
13395         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13396         for PowerPC64.
13397
13398 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13399
13400         [BZ #15089]
13401         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13402
13403 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13404
13405         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13406
13407         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13408         add multiarch folders.
13409         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13410         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13411         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13412         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13413         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13414         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13415         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13416         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13417         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13418         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13419         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13426
13427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13428         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13430         New file.
13431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13432         New file.
13433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13434         multiarch __ieee754_hypot for PowerPC32.
13435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13436         New file.
13437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13438         New file.
13439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13440         multiarch __ieee754_hypotf for PowerPC32.
13441
13442         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13443         long_double_symbol only if __logbl is defined.
13444         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13445         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13446         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13447         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13448         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13449         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13450         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13451         path for implementation.
13452         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13453         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13455         logb, and logbl multiarch implementations for PowerPC32.
13456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13457         file.
13458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13459         file.
13460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13461         multiarch logb for PowerPC32.
13462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13463         file.
13464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13465         file.
13466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13467         multiarch logbf for PowerPC32.
13468         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13470         file.
13471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13472         multiarch logbl implementation for PowerPC32.
13473
13474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13475         and modff multiarch implementations.
13476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13477         New file.
13478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13479         New file.
13480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13481         multiarch modf for PowerPC32.
13482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13483         New file.
13484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13485         New file.
13486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13487         multiarch modff for PowerPC32.
13488
13489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13490         and lrintf multiarch implementations.
13491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13492         New file.
13493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13494         New file.
13495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13496         multiarch lrint for PowerPC32.
13497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13498         file: multiarch lrintf for PowerPC32.
13499
13500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13501         and lroundf multiarch implementations.
13502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13503         New file.
13504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13505         New file.
13506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13507         New file.
13508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13509         multiarch lround for PowerPC32.
13510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13511         file: multiarch lroundf for PowerPC32.
13512
13513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13514         copysign and copysignf multiarch implementations.
13515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13516         New file.
13517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13518         New file.
13519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13520         file: multiarch copysign for PowerPC32.
13521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13522         file: multiarch copysignf for PowerPC32.
13523
13524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13525         and truncf multiarch implementations.
13526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13527         New file.
13528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13529         file.
13530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13531         multiarch trunc for PowerPC32.
13532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13533         New file.
13534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13535         New file.
13536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13537         multiarch truncf for PowerPC32.
13538
13539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13540         and roundf multiarch implementations.
13541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13542         New file.
13543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13544         file.
13545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13546         multiarch round for PowerPC32.
13547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13548         New file.
13549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13550         New file.
13551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13552         multiarch roundf for PowerPC32.
13553
13554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13555         and floorf multiarch implementations.
13556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13557         New file.
13558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13559         file.
13560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13561         multiarch floor for PowerPC32.
13562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13563         New file.
13564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13565         New file.
13566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13567         multiarch floorf for PowerPC32.
13568
13569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13570         and ceilf multiarch implementations.
13571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13572         New file.
13573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13574         file.
13575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13576         multiarch ceil for PowerPC32.
13577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13578         New file.
13579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13580         file.
13581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13582         multiarch ceilf for PowerPC32.
13583
13584         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13585         is defined.
13586         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13587         FINITEF is defined.
13588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13589         and finitef multiarch implementations.
13590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13591         New file.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13593         file.
13594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13595         multiarch finite for PowerPC32.
13596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13597         New file.
13598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13599         file: multiarch finitef for PowerPC32.
13600
13601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13602         and isinff multiarch implementations.
13603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13604         file.
13605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13606         file.
13607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13608         multiarch isinf for PowerPC32.
13609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13610         New file.
13611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13612         multiarch isinff for PowerPC32.
13613
13614         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13615         alias when __isnan is defined.
13616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13617         and isnanf multiarch implementations.
13618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13619         file.
13620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13621         file.
13622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13623         file.
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13625         file.
13626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13627         multiarch isnan for PowerPC32.
13628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13629         New file.
13630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13631         New file.
13632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13633         multiarch isnanf for PowerPC32.
13634
13635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13636         and sqrtf multiarch implementations.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13638         file.
13639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13640         file.
13641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13642         multiarch sqrt for PowerPC32.
13643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13644         file.
13645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13646         file.
13647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13648         multiarch sqrtf for PowerPC32.
13649
13650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13651         and llroundf multiarch implementations.
13652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13653         New file.
13654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13655         New file.
13656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13657         New file.
13658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13659         file: multiarch llround for PowerPC32.
13660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13661         file: multiarch llroundf for PowerPC32.
13662
13663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13664         multiarch PowerPC32 fpu implementations.
13665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13666         New file.
13667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13668         New file.
13669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13670         multiarch llrint for PowerPC32.
13671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13672         New file.
13673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13674         New file.
13675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13676         file.
13677
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13679
13680         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13681         file.
13682         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13683         file.
13684         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13685         file.
13686         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13687         multiarch wordcopy for PPC32.
13688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13689         wordcopy objects.
13690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13691         (__libc_ifunc_impl_list): Likewise.
13692         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13693         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13694         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13695         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13696         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13697         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13698
13699         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13701         file.
13702         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13703         file.
13704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13705         file.
13706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13707         multiarch wcscpy for PPC32.
13708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13709         multiarch objects.
13710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13711         (__libc_ifunc_impl_list): Likewise.
13712         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13713         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13714         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13715         sysdeps/powerpc/power6/wcscpy.c.
13716
13717         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13719         file.
13720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13721         file.
13722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13723         file.
13724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13725         multiarch wcsrchr for PPC32.
13726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13727         multiarch objects.
13728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13729         (__libc_ifunc_impl_list): Likewise.
13730         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13731         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13732         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13733         sysdeps/powerpc/power6/wcsrchr.c.
13734
13735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13736         file.
13737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13738         file.
13739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13741         multiarch wcschr for PPc32.
13742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13743         multiarch objects.
13744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13745         (__libc_ifunc_impl_list): Likewise.
13746         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13747         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13748         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13749         sysdeps/powerpc/power6/wcschr.c.
13750
13751         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13752         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13753         file.
13754         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13755         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13756         file: multiarch strchr for PPC32.
13757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13758         multiarch objects.
13759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13760         (__libc_ifunc_impl_list): Likewise.
13761
13762         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13763         name.
13764         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13765         file.
13766         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13767         file.
13768         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13769         multiarch strchrnul for PPC32.
13770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13771         multiarch objects.
13772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13773         (__libc_ifunc_impl_list): Likewise.
13774
13775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13776         file.
13777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13778         multiarch strncasecmp for PPC32.
13779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13780         file.
13781         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13782         multiarch strncasecmp_l for PPC32.
13783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13784         strncasecmp multiarch objects.
13785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13786         (__libc_ifunc_impl_list): Likewise.
13787
13788         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13789         file.
13790         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13791         multiarch strncasecmp for PPC32.
13792         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13793         New file.
13794         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13795         multiarch strcasecmp_l for PPC32.
13796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13797         multiarch objects.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13799         (__libc_ifunc_impl_list): Likewise.
13800
13801         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13802         file.
13803         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13804         file.
13805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13806         multiarch strncmp for PPC32.
13807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13808         multiarch objects.
13809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13810         (__libc_ifunc_impl_list): Likewise.
13811
13812         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13813         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13814         file.
13815         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13816         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13818         multiarch objects.
13819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13820         (__libc_ifunc_impl_list): Likewise.
13821
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13823         file.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13825         file.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13828         multiarch objects.
13829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13830         (__libc_ifunc_impl_list): Likewise.
13831
13832         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13833         file.
13834         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13835         file.
13836         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13837         multiarch rawmemchr for PPC32.
13838         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13839         multiarch objects.
13840         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13841         (__libc_ifunc_impl_list): Likewise.
13842
13843         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13844         file.
13845         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13846         file.
13847         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13848         file: memrchr multiarch for PPC32.
13849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13850         multiarch objects.
13851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13852         (__libc_ifunc_impl_list): Likewise.
13853
13854         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13855         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13856         file.
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13858         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13859         multiarch memchr for PPC32.
13860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13861         multiarch objects.
13862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13863         (__libc_ifunc_impl_list): Likewise.
13864
13865         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13866         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13867         file.
13868         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13869         file.
13870         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13871         file: multiarch mempcpy for PPC32.
13872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13873         multiarch objects.
13874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13875         (__libc_ifunc_impl_list): Likewise.
13876
13877         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13879         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13880         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13881         multiarch bzero for PPC32.
13882         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13883         file.
13884         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13885         file.
13886         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13887         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13888         file: multiarch memset for PPC32.
13889         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13891         memset multiarch objects.
13892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13893         (__libc_ifunc_impl_list): Likewise.
13894
13895         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13896         file.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13899         memcmp for PPC32.
13900         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13901         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13902         multiarch objects.
13903         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13904         (__libc_ifunc_impl_list): Likewise.
13905
13906         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13909         file.
13910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13911         file.
13912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13913         file.
13914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13915         multiarch memcpy for PPC32.
13916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13917         multiarch objects.
13918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13919         (__libc_ifunc_impl_list): Likewise.
13920
13921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13922         support multiarch for POWER/PPC32.
13923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13924         Likewise.
13925         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13927         Implies file to make multiarch folder appers before the fpu and
13928         default folder for power4 configuration.
13929
13930 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13931
13932         * scripts/bench.pl: Append volatile keyword to type.
13933
13934 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13935
13936         * sysdeps/sh/sotruss-lib.c: New file.
13937         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13938
13939 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13940
13941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13942
13943 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13944
13945         [BZ #6810]
13946         * math/w_tgamma.c: Include <errno.h>.
13947         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13948         * math/w_tgammaf.c: Include <errno.h>.
13949         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13950         * math/w_tgammal.c: Include <errno.h>.
13951         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13952         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13953         underflow.  Add more tgamma tests.
13954         * math/auto-libm-test-out: Regenerated.
13955         * sysdeps/i386/fpu/libm-test-ulps: Update.
13956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13957
13958         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13959         sin, sinh, tan, tanh, tgamma, y0 and y1.
13960         * math/auto-libm-test-out: Regenerated.
13961         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13962         (TEST_COND_x86): Likewise.
13963         (M_E2l): Remove macro.
13964         (M_E3l): Likewise.
13965         (M_2_SQRT_PIl): Likewise.
13966         (M_SQRT_PIl): Likewise.
13967         (M_1_DIV_El): Likewise.
13968         (log_test_data): Use AUTO_TESTS_f_f.
13969         (log10_test_data): Likewise.
13970         (log1p_test_data): Likewise.
13971         (log2_test_data): Likewise.
13972         (sin_test_data): Likewise.
13973         (sin_tonearest_test_data): Likewise.
13974         (sin_towardzero_test_data): Likewise.
13975         (sin_downward_test_data): Likewise.
13976         (sin_upward_test_data): Likewise.
13977         (sinh_test_data): Likewise.
13978         (sinh_tonearest_test_data): Likewise.
13979         (sinh_towardzero_test_data): Likewise.
13980         (sinh_downward_test_data): Likewise.
13981         (sinh_upward_test_data): Likewise.
13982         (tan_test_data): Likewise.
13983         (tan_tonearest_test_data): Likewise.
13984         (tan_towardzero_test_data): Likewise.
13985         (tan_downward_test_data): Likewise.
13986         (tan_upward_test_data): Likewise.
13987         (tanh_test_data): Likewise.
13988         (tgamma_test_data): Likewise.
13989         (y0_test_data): Likewise.
13990         (y1_test_data): Likewise.
13991         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13992         (special_real_inputs): Add pi/4.
13993         * sysdeps/i386/fpu/libm-test-ulps: Update.
13994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13995
13996 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13997
13998         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13999         "longjmp_target" static probes.
14000         (__longjmp): Rename to __longjmp_symbol.
14001         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14002         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14003         on which longjmp to generate.
14004         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14005         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14006         probe.
14007         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14008         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14009         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14010         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14011         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14012         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14014         __longjmp_symbol based on which __longjmp to generate.
14015         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14016         probe.
14017         (setjmp): Rename to setjmp_symbol.
14018         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14019         (_setjmp): Rename to _setjmp_symbol.
14020         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14021         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14022         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14023         which setjmp to generate.
14024         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14025         "longjmp_target" static probes.
14026
14027 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14028
14029         * benchtests/README: Add note about output arguments.
14030         * benchtests/bench-sincos.c: Remove file.
14031         * benchtests/sincos-inputs: New file.
14032         * scripts/bench.pl: Identify output arguments and define
14033         static variables for them.
14034
14035         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14036
14037         [BZ #15941]
14038         * Makefile (INSTALL): Add install-plain.texi as the primary
14039         dependency.
14040         * manual/install-plain.texi: New file.
14041         * manual/install.texi: Include node directive only for
14042         non-plaintext output.
14043
14044 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14045
14046         * stdlib/longlong.h: Update from GCC.
14047
14048         [BZ #6807]
14049         [BZ #15901]
14050         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14051         * math/w_j0f.c (y0f): Likewise.
14052         * math/w_j0l.c (__y0l): Likewise.
14053         * math/w_j1.c (y1): Likewise.
14054         * math/w_j1f.c (y1f): Likewise.
14055         * math/w_j1l.c (__y1l): Likewise
14056         * math/w_jn.c (yn): Likewise.
14057         * math/w_jnf.c (ynf): Likewise.
14058         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14059         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14060         value for Bessel function domain errors outside _SVID_ mode.
14061         Adjust sign of return value for yn (negative integer, 0).
14062         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14063         by zero in return for negative x and set sign appropriately for
14064         negative n.
14065         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14066         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14067         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14068         expectations in error cases.
14069         (y1_test_data): Likewise.
14070         (yn_test_data): Likewise.
14071         * sysdeps/i386/fpu/libm-test-ulps: Update.
14072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14073
14074 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14075
14076         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14077         "64" to "64-v1".  Add "64-v2".
14078         (abi-64-options): Rename to ...
14079         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14080         (abi-64-condition): Rename to ...
14081         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14082         (abi-64-ld-soname): Rename to ...
14083         (abi-64-v1-ld-soname): ... this.
14084         (abi-64-v2-options): Define.
14085         (abi-64-v2-condition): Likewise.
14086         (abi-64-v2-ld-soname): Likewise.
14087         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14088         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14092
14093 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14094             Alan Modra  <amodra@gmail.com>
14095
14096         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14097         New versions for use with the ELFv2 ABI.
14098         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14099         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14100         declaration.
14101         (struct La_ppc64v2_retval): Likewise.
14102         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14103         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14104         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14105         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14106         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14107         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14108         Do not save or restore CR.
14109         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14110         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14111         return values for ELFv2 ABI.  Fix location of FPR return registers.
14112         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14113         updated values for _CALL_ELF == 2.
14114         (La_regs, La_retval, int_retval): Likewise.
14115
14116 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14117
14118         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14119         (FRAME_MIN_SIZE_PARM): Likewise.
14120         (FRAME_BACKCHAIN): Likewise.
14121         (FRAME_CR_SAVE): Likewise.
14122         (FRAME_LR_SAVE): Likewise.
14123         (FRAME_TOC_SAVE): Likewise.
14124         (FRAME_PARM_SAVE): Likewise.
14125         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14126         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14127         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14128         (call_mcount_parm_offset): New macro.
14129         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14130         (PROF): Use symbolic stack frame offsets.
14131         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14132         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14133         Redefine in terms of FRAME_MIN_SIZE.
14134         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14135         (_dl_profile_resolve): Likewise.  Update comment.
14136         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14137         symbols stack frame offsets.
14138         (__sigsetjmp): Likewise.
14139         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14140         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14141         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14142         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14143
14144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14145         (FRAME_BACKCHAIN): Remove.
14146         (FRAME_CR_SAVE): Likewise.
14147         (FRAME_LR_SAVE): Likewise.
14148         (FRAME_COMPILER_DW): Likewise.
14149         (FRAME_LINKER_DW): Likewise.
14150         (FRAME_TOC_SAVE): Likewise.
14151         (FRAME_PARM_SAVE): Likewise.
14152         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14153         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14154         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14156         (CHECK_SP): Use symbolic stack frame offsets.
14157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14158         zone" instead of caller's parameter save area for temp storage.
14159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14160         Likewise.  Also, use symbolic stack frame offsets.
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14162         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14163         our own stack frame instead of the caller's.
14164         (__socket): Use symbolic stack frame offsets.
14165
14166 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14167             Alan Modra  <amodra@gmail.com>
14168
14169         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14170         Define.
14171         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14172         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14173         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14174         New function.
14175         (elf_machine_fixup_plt): Call it.
14176         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14177         reloc arguments.
14178         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14179         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14180         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14181         r2 before calling target.
14182
14183 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14184             Alan Modra  <amodra@gmail.com>
14185
14186         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14187         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14188         versions of macros to support ELFv2 ABI.
14189         (LOCALENTRY): New macro.
14190         (ENTRY, EALIGN): Use it.
14191         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14192         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14193         fall through into ENTRY entry point.
14194         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14195         Only define if _CALL_ELF != 2.
14196
14197         (elf_machine_matches_host): Verify ABI version matches.
14198         (RTLD_START): Use LOCALENTRY.
14199         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14200         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14201         (PLT_ENTRY_WORDS): New macro.
14202         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14203         (elf_machine_runtime_setup): Support ELFv2 ABI.
14204         (elf_machine_fixup_plt): Likewise.
14205         (elf_machine_plt_conflict): Likewise.
14206         (resolve_ifunc): Likewise.
14207         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14208         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14209         Likewise.
14210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14211         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14213         (makecontext): Support ELFv2 ABI.
14214         * elf/elf.h (EF_PPC64_ABI): Define.
14215
14216 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14217
14218         * sysdeps/powerpc/powerpc64/sysdep.h
14219         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14220         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14221         (ENTRY) [ASSEMBLER]: ... but instead here ...
14222         (EALIGN) [ASSEMBLER]: ... and here.
14223         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14224         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14225         (ENTRY_2) [!ASSEMBLER]: Use it.
14226         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14227         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14228         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14229         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14230         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14232         Use PPC64_LOAD_FUNCPTR.
14233
14234         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14235
14236 2013-12-04  Alan Modra  <amodra@gmail.com>
14237
14238         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14239         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14240         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14241         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14242
14243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14244         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14245         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14246         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14247         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14248         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14249
14250 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14251
14252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14253         (__makecontext): Fix incorrect CFI when backtracing out of
14254         context created via makecontext.
14255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14256         (__setcontext): Fix incorrect CFI during switch to new context.
14257         (__novec_setcontext): Likewise.
14258
14259 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14260
14261         [BZ #4772]
14262         * time/strptime_l.c (__strptime_internal): Allow modifiers
14263         in strptime.
14264         * time/tst-strptime.c (day_tests): Add testcase.
14265
14266 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14267
14268         * scripts/bench.pl: Skip over blank lines.
14269
14270 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14271
14272         [BZ #926]
14273         * manual/time.texi (Calendar Time): Clarify what timezone functions
14274         use.
14275
14276 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14277
14278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14279
14280 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14281
14282         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14283         implementation.
14284         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14285         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14286         * debug/memset_chk.c (__memset_chk): Likewise.
14287         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14288         * debug/strncpy_chk.c: Likewise.
14289
14290 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14291
14292         [BZ #15268]
14293         [BZ #15425]
14294         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14295         (__ieee754_exp): For possibly underflowing results, check size of
14296         result and force underflow exception if required.
14297         * math/auto-libm-test-in: Add more tests of exp.
14298         * math/auto-libm-test-out: Regenerated.
14299         * sysdeps/i386/fpu/libm-test-ulps: Update.
14300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14301
14302         [BZ #16283]
14303         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14304         * math/w_exp2f.c (__exp2f): Likewise.
14305         * math/w_exp2l.c (__exp2l): Likewise.
14306         * math/auto-libm-test-in: Do not allow missing errno on exp2
14307         underflow.
14308         * math/auto-libm-test-out: Regenerated.
14309
14310 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14311
14312         [BZ #16274]
14313         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14314         handle filename validation.
14315         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14316         (do_open): Delete.
14317
14318 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14319
14320         [BZ #6786]
14321         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14322         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14323         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14324         <float.h>.
14325         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14326         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14327         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14328         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14329         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14330         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14331         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14332         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14333         Add more erfc tests.
14334         * math/auto-libm-test-out: Regenerated.
14335         * sysdeps/i386/fpu/libm-test-ulps: Update.
14336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14337
14338         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14339         exp2, expm1, j0 and j1.
14340         * math/auto-libm-test-out: Regenerated.
14341         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14342         (erfc_test_data): Likewise.
14343         (exp_test_data): Likewise.
14344         (exp_tonearest_test_data): Likewise.
14345         (exp_towardzero_test_data): Likewise.
14346         (exp_downward_test_data): Likewise.
14347         (exp_upward_test_data): Likewise.
14348         (exp10_test_data): Likewise.
14349         (exp2_test_data): Likewise.
14350         (expm1_test_data): Likewise.
14351         (j0_test_data): Likewise.
14352         (j1_test_data): Likewise.
14353         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14354         (input_flag_type): Add flag_xfail_rounding.
14355         (input_flags): Add xfail-rounding.
14356         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14357         (output_for_one_input_case): Handle flag_xfail_rounding.
14358         * sysdeps/i386/fpu/libm-test-ulps: Update.
14359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14360
14361 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14362
14363         [BZ #16289]
14364         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14365         division by 0.
14366
14367 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14368
14369         [BZ #16195]
14370         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14371         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14372         (STAP_PROBE0): New macro.
14373         (STAP_PROBE1): Likewise.
14374         (STAP_PROBE2): Likewise.
14375         (STAP_PROBE3): Likewise.
14376         (STAP_PROBE4): Likewise.
14377
14378 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14379
14380         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14381
14382 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14383
14384         * benchtests/Makefile (bench): Add sqrt.
14385         (LDLIBS-bench-sqrt): New.
14386         * benchtests/sqrt-input: New.
14387
14388 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14389
14390         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14391         (GAIH_EAI): Likewise.
14392         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14393         (gaih_inet): Likewise.
14394         (getaddrinfo): Don't use GAIH_EAI.
14395
14396         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14397         (struct gaih): Remove definition.
14398
14399 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14400
14401         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14402         Use HERRNOP directly.
14403
14404 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14405
14406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14407
14408 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14409
14410         * math/gen-auto-libm-tests.c (test_functions): Add more
14411         single-argument functions.
14412         (special_fill_pi_2): New function.
14413         (special_fill_minus_pi_2): Likewise.
14414         (special_fill_pi_6): Likewise.
14415         (special_fill_minus_pi_6): Likewise.
14416         (special_fill_pi_3): Likewise.
14417         (special_fill_2pi_3): Likewise.
14418         (special_fill_e): Likewise.
14419         (special_fill_1_e): Likewise.
14420         (special_fill_e_minus_1): Likewise.
14421         (special_real_inputs): Add more special inputs.
14422         (output_for_one_input_case): Do not require ERANGE on underflow to
14423         zero if round-to-nearest result does not underflow to zero, unless
14424         exact results required.
14425         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14426         atan, atanh, cbrt, cos and cosh.
14427         * math/auto-libm-test-out: Regenerated.
14428         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14429         (acos_tonearest_test_data): Likewise.
14430         (acos_towardzero_test_data): Likewise.
14431         (acos_downward_test_data): Likewise.
14432         (acos_upward_test_data): Likewise.
14433         (acosh_test_data): Likewise.
14434         (asin_test_data): Likewise.
14435         (asin_tonearest_test_data): Likewise.
14436         (asin_towardzero_test_data): Likewise.
14437         (asin_upward_test_data): Likewise.
14438         (asinh_test_data): Likewise.
14439         (atan_test_data): Likewise.
14440         (atanh_test_data): Likewise.
14441         (cbrt_test_data): Likewise.
14442         (cos_test_data): Likewise.
14443         (cos_tonearest_test_data): Likewise.
14444         (cos_towardzero_test_data): Likewise.
14445         (cos_downward_test_data): Likewise.
14446         (cos_upward_test_data): Likewise.
14447         (cosh_test_data): Likewise.
14448         (cosh_tonearest_test_data): Likewise.
14449         (cosh_towardzero_test_data): Likewise.
14450         (cosh_downward_test_data): Likewise.
14451         (cosh_upward_test_data): Likewise.
14452         * sysdeps/i386/fpu/libm-test-ulps: Update.
14453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14454
14455 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14456
14457         [BZ #6787]
14458         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14459         * math/w_exp10f.c (__exp10f): Likewise.
14460         * math/w_exp10l.c (__exp10l): Likewise.
14461         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14462         errno settings in existing tests.
14463
14464         [BZ #14032]
14465         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14466         precision control set to double precision.
14467         * sysdeps/i386/fpu/w_sqrt.c: New file.
14468         * math/auto-libm-test-in: Add more tests.
14469         * math/auto-libm-test-out: Update.
14470
14471         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14472         (sqrt_test_tonearest): New function.
14473         (sqrt_towardzero_test_data): New variable.
14474         (sqrt_test_towardzero): New function.
14475         (sqrt_downward_test_data): New variable.
14476         (sqrt_test_downward): New function.
14477         (sqrt_upward_test_data): New variable.
14478         (sqrt_test_upward): New function.
14479         (main): Call the new functions.
14480
14481         * math/gen-auto-libm-tests.c: New file.
14482         * math/auto-libm-test-in: Likewise.
14483         * math/auto-libm-test-out: New generated file.
14484         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14485         variables.
14486         (%beautify): Add generated representations of zero.
14487         (top level): Set $auto_input and call parse_auto_input.
14488         (beautify): Remove trailing "f" from hex float constants.
14489         (parse_args): Handle XFAIL_TEST.
14490         (convert_condition): New function.
14491         (or_value): Likewise.
14492         (or_cond_value): Likewise.
14493         (generate_testfile): Handle AUTO_TESTS_* lines.
14494         (parse_auto_input): New function.
14495         * math/libm-test.inc (XFAIL_TEST): New macro.
14496         (ERRNO_UNCHANGED): Update value.
14497         (ERRNO_EDOM): Likewise.
14498         (ERRNO_ERANGE): Likewise.
14499         (IGNORE_RESULT): Likewise.
14500         (TEST_COND_flt_32): New macro.
14501         (TEST_COND_dbl_64): Likewise.
14502         (TEST_COND_ldbl_96_intel): Likewise.
14503         (TEST_COND_ldbl_96_m68k): Likewise.
14504         (TEST_COND_ldbl_128): Likewise.
14505         (TEST_COND_ldbl_128ibm): Likewise.
14506         (TEST_COND_long32): Likewise.
14507         (TEST_COND_long64): Likewise.
14508         (TEST_COND_before_rounding): Likewise.
14509         (TEST_COND_after_rounding): Likewise.
14510         (enable_test): Handle XFAIL_TEST flag.
14511         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14512         with finite results.
14513         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14514         auto-libm-test-out.
14515
14516 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14517             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14518
14519         [BZ #16214]
14520         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14521         __tls_get_addr_internal instead of __tls_get_offset in order to
14522         avoid GOT pointer dependency.  Make rtld export
14523         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14524         __tls_get_addr since we are a __tls_get_offset platform.
14525         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14526         GOT pointer being set up before.
14527         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14528
14529 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14530
14531         * manual/math.texi (Errors in Math Functions): Document accuracy
14532         goals.
14533
14534         [BZ #15004]
14535         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14536         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14537         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14538         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14539         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14540         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14541         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14542         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14543         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14544         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14545         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14546         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14547         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14548         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14549         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14550         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14551
14552         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14553         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14554         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14555         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14556         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14557         Likewise.
14558         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14559         Likewise.
14560         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14561         Likewise.
14562         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14563         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14564         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14565         atomic-feupdateenv and flt-rounds.
14566         * sysdeps/powerpc/nofpu/Versions (libc): Add
14567         __atomic_feholdexcept, __atomic_feclearexcept,
14568         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14569         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14570         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14571         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14572         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14573         here.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14575         Update.
14576
14577         * manual/arith.texi (FP Exceptions): Document that exceptions may
14578         not be raised when matherr is used.
14579         (Math Error Reporting): Document overflow in directed rounding
14580         modes.  Document that errno may not be set when finite values are
14581         returned on overflow.  Document intent to set errno on underflow
14582         only for underflow to zero.
14583
14584         [BZ #16271]
14585         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14586         round-to-nearest then adjust result for other rounding modes.
14587         * include/fenv.h (fegetround): Use libm_hidden_proto.
14588         * math/fegetround.c (fegetround): Use libm_hidden_def.
14589         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14590         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14591         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14592         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14593         Likewise.
14594         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14595         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14596         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14597         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14598
14599 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14600
14601         [BZ #16077]
14602         * nss/Versions (libnss_files): Add
14603         _nss_files_gethostbyname3_r.
14604         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14605         New function.
14606         (HOST_DB_LOOKUP): Remove macro.
14607         (_nss_files_gethostbyname_r): Implement function without the
14608         HOST_DB_LOOKUP macro.
14609         (_nss_files_gethostbyname2_r): Likewise.
14610
14611 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14612
14613         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14614
14615 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14616
14617         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14618         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14619         warning.
14620
14621 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14622
14623         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14624         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14625         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14626         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14627         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14628         __fe_nomask_env_priv and attribute_hidden.
14629         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14630         (libc_feupdateenv_test_ppc): Likewise.
14631         (libc_feresetround_ppc): Likewise.
14632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14633         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14634         compat_symbol macro.
14635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14636         (__fe_nomask_env): Likewise.
14637         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14638
14639 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14640
14641         * string/Makefile: Remove ifunc tests.
14642         * string/test-string.h: Define TEST_IFUNC.
14643         * string/test-bcopy-ifunc.c: Remove.
14644         * string/test-bzero-ifunc.c: Likewise.
14645         * string/test-memccpy-ifunc.c: Likewise.
14646         * string/test-memchr-ifunc.c: Likewise.
14647         * string/test-memcmp-ifunc.c: Likewise.
14648         * string/test-memcpy-ifunc.c: Likewise.
14649         * string/test-memmem-ifunc.c: Likewise.
14650         * string/test-memmove-ifunc.c: Likewise.
14651         * string/test-mempcpy-ifunc.c: Likewise.
14652         * string/test-memrchr-ifunc.c: Likewise.
14653         * string/test-memset-ifunc.c: Likewise.
14654         * string/test-rawmemchr-ifunc.c: Likewise.
14655         * string/test-stpcpy-ifunc.c: Likewise.
14656         * string/test-stpncpy-ifunc.c: Likewise.
14657         * string/test-strcasecmp-ifunc.c: Likewise.
14658         * string/test-strcasestr-ifunc.c: Likewise.
14659         * string/test-strcat-ifunc.c: Likewise.
14660         * string/test-strchr-ifunc.c: Likewise.
14661         * string/test-strchrnul-ifunc.c: Likewise.
14662         * string/test-strcmp-ifunc.c: Likewise.
14663         * string/test-strcpy-ifunc.c: Likewise.
14664         * string/test-strcspn-ifunc.c: Likewise.
14665         * string/test-strlen-ifunc.c: Likewise.
14666         * string/test-strncasecmp-ifunc.c: Likewise.
14667         * string/test-strncat-ifunc.c: Likewise.
14668         * string/test-strncmp-ifunc.c: Likewise.
14669         * string/test-strncpy-ifunc.c: Likewise.
14670         * string/test-strnlen-ifunc.c: Likewise.
14671         * string/test-strpbrk-ifunc.c: Likewise.
14672         * string/test-strrchr-ifunc.c: Likewise.
14673         * string/test-strspn-ifunc.c: Likewise.
14674         * string/test-strstr-ifunc.c: Likewise.
14675
14676 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14677
14678         * benchtests/Makefile: Remove ifunc tests.
14679         * benchtests/bench-string.h: Define TEST_IFUNC.
14680         * benchtests/bench-bcopy-ifunc.c: Remove.
14681         * benchtests/bench-bzero-ifunc.c: Likewise.
14682         * benchtests/bench-memccpy-ifunc.c: Likewise.
14683         * benchtests/bench-memchr-ifunc.c: Likewise.
14684         * benchtests/bench-memcmp-ifunc.c: Likewise.
14685         * benchtests/bench-memcpy-ifunc.c: Likewise.
14686         * benchtests/bench-memmem-ifunc.c: Likewise.
14687         * benchtests/bench-memmove-ifunc.c: Likewise.
14688         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14689         * benchtests/bench-memrchr-ifunc.c: Likewise.
14690         * benchtests/bench-memset-ifunc.c: Likewise.
14691         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14692         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14693         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14694         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14695         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14696         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14697         * benchtests/bench-strcat-ifunc.c: Likewise.
14698         * benchtests/bench-strchr-ifunc.c: Likewise.
14699         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14700         * benchtests/bench-strcmp-ifunc.c: Likewise.
14701         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14702         * benchtests/bench-strcpy-ifunc.c: Likewise.
14703         * benchtests/bench-strcspn-ifunc.c: Likewise.
14704         * benchtests/bench-strlen-ifunc.c: Likewise.
14705         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14706         * benchtests/bench-strncat-ifunc.c: Likewise.
14707         * benchtests/bench-strncmp-ifunc.c: Likewise.
14708         * benchtests/bench-strncpy-ifunc.c: Likewise.
14709         * benchtests/bench-strnlen-ifunc.c: Likewise.
14710         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14711         * benchtests/bench-strrchr-ifunc.c: Likewise.
14712         * benchtests/bench-strsep-ifunc.c: Likewise.
14713         * benchtests/bench-strspn-ifunc.c: Likewise.
14714         * benchtests/bench-strstr-ifunc.c: Likewise.
14715
14716 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14717
14718         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14719
14720 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14721
14722         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14723         * rt/aio.h: Likewise.
14724         * sysdeps/gnu/bits/utmp.h: Likewise.
14725         * sysdeps/gnu/bits/utmpx.h: Likewise.
14726         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14727         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14728         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14729         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14730         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14731         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14732         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14733         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14734         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14735         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14736         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14737         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14738         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14740         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14741         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14742         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14743         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14744         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14745         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14746         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14747         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14748         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14749         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14750         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14751         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14752         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14753         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14754         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14755         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14756         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14757         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14758         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14759         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14760         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14761         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14762         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14763         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14764         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14765         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14766         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14767         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14768
14769 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14770
14771         [BZ #16245]
14772         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14773         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14774
14775 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14776
14777         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14778         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14779         Likewise.
14780
14781 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14782
14783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14784         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14785         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14786         (__fesetround): Remove define.
14787         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14788         rounding and exceptions handling.
14789         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14790         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14791         (__fe_nomask_env): Likewise.
14792         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14793         __fegetround instead of fegetround.
14794         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14795         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14796
14797 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14798
14799         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14800         it's there.
14801
14802         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14803
14804 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14805
14806         [BZ #11157]
14807         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14808         (encrypt_r): Likewise.
14809         * malloc/obstack.h (obstack_free): Likewise.
14810         * posix/unistd.h (encrypt): Likewise.
14811
14812 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14813
14814         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14815         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14816         DL_CALL_DT_FINI() that call the functions directly.
14817         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14818         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14819         * elf/dl-fini.c: Likewise.
14820
14821 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14822
14823         * malloc/hooks.c (memalign_check): Add alignment rounding.
14824         * malloc/malloc.c (_mid_memalign): New function.
14825         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14826         Implement by calling _mid_memalign.
14827         * manual/probes.texi (Memory Allocation Probes): Remove
14828         memory_valloc_retry and memory_pvalloc_retry.
14829
14830 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14831
14832         * locale/programs/locarchive.c (open_archive): Add const
14833         qualifier to ARCHIVEFNAME and copy default fname to
14834         DEFAULT_FNAME.
14835
14836         [BZ #15601]
14837         * libio/tst-widetext.input: Rename Oriya to Odia.
14838         * locale/iso-639.def: Likewise.
14839
14840         * manual/probes.texi (Mathematical Function Probes): Add
14841         documentation for sin, cos, asin and acos probes.
14842         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14843         (__sin32): Add slowasin probe.
14844         (__cos32): Add slowacos probe.
14845         (__mpsin): Add slowsin probe.
14846         (__mpcos): Add slowcos probe.
14847
14848 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14849
14850         [BZ #15483]
14851         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14852         thread-local __sim_exceptions_thread and global
14853         __sim_exceptions_global.
14854         (__sim_disabled_exceptions): Change to thread-local
14855         __sim_disabled_exceptions_thread and global
14856         __sim_disabled_exceptions_global.
14857         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14858         and global __sim_round_mode_global.
14859         (__simulate_exceptions): Use thread-local floating-point state and
14860         set global state from it as needed.
14861         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14862         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14863         __sim_round_mode_thread.
14864         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14865         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14866         and global __sim_exceptions_global.
14867         (__sim_disabled_exceptions): Change to thread-local
14868         __sim_disabled_exceptions_thread and global
14869         __sim_disabled_exceptions_global.
14870         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14871         and global __sim_round_mode_global.
14872         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14873         (SIM_SET_GLOBAL): Likewise.
14874         * sysdeps/powerpc/soft-fp/sfp-machine.h
14875         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14876         __sim_round_mode_thread.
14877         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14878         __sim_disabled_exceptions_thread.
14879         (__sim_exceptions): Change to __sim_exceptions_thread.
14880         (__sim_disabled_exceptions): Change to
14881         __sim_disabled_exceptions_thread.
14882         (__sim_round_mode): Change to __sim_round_mode_thread.
14883         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14884         thread-local floating-point state and set global state from it as
14885         needed.
14886         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14887         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14888         (__sim_disabled_exceptions): Remove extern declaration.
14889         (feenableexcept): Use thread-local floating-point state and set
14890         global state from it as needed.
14891         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14892         extern declaration.
14893         (__sim_disabled_exceptions): Likewise.
14894         (__sim_round_mode): Likewise.
14895         (__fegetenv): Use thread-local floating-point state.
14896         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14897         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14898         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14899         floating-point state and set global state from it as needed.
14900         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14901         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14902         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14903         Likewise.
14904         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14905         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14906         Likewise.
14907         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14908         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14909         Use __sim_round_mode_thread.
14910         * math/test-fenv-tls.c: New file.
14911         * math/Makefile (tests): Add test-fenv-tls.
14912         ($(objpfx)test-fenv-tls): Depend on
14913         $(common-objpfx)nptl/libpthread.so.
14914
14915 2013-11-19  Andreas Schwab  <schwab@suse.de>
14916
14917         * locale/programs/locale.c (show_info): Decode wordarray elements.
14918         * locale/categories.def (LC_MONETARY): Add element for
14919         _NL_MONETARY_CRNCYSTR.
14920         * locale/C-monetary.c (conversion_rate): New variable.
14921         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14922         element.
14923
14924 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14925
14926         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14927         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14928
14929 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14930
14931         * elf/Makefile (tst-auxv): New test.
14932         * elf/tst-auxv.c: New
14933         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14934
14935 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14936
14937         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14938         (hidden_proto): Caller changed.
14939         (hidden_tls_proto): New macro.
14940         (libc_hidden_tls_proto): Likewise.
14941         (rtld_hidden_tls_proto): Likewise.
14942         (libm_hidden_tls_proto): Likewise.
14943         (libresolv_hidden_tls_proto): Likewise.
14944         (librt_hidden_tls_proto): Likewise.
14945         (libdl_hidden_tls_proto): Likewise.
14946         (libnss_files_hidden_tls_proto): Likewise.
14947         (libnsl_hidden_tls_proto): Likewise.
14948         (libnss_nisplus_hidden_tls_proto): Likewise.
14949         (libutil_hidden_tls_proto): Likewise.
14950
14951 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14952
14953         [BZ #10253]
14954         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14955         (decompose_rpath): Defer expansion to fillin_rpath.
14956         (_dl_init_paths): Pass linkmap to fillin_rpath.
14957
14958 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14959
14960         * benchtests/Makefile: Add strsep.
14961         * benchtests/bench-strsep.c: New file: strsep benchtest.
14962         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14963
14964 2013-11-18  Andreas Schwab  <schwab@suse.de>
14965
14966         * locale/programs/locale.c (show_info) [case byte]: Check for
14967         '\377' instead of '\177'.
14968         * locale/C-monetary.c (not_available): Always use "\377".
14969         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14970         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14971         detect unavailable sign_posn locale elements.
14972         * locale/localeconv.c (__localeconv): For grouping and
14973         mon_grouping handle "\177" and "\377" like no grouping.
14974         (INT_ELEM): New macro.  Use it to set all numeric members.
14975         * locale/programs/ld-monetary.c (monetary_read)
14976         <tok_mon_grouping>: Normalize single -1 to the empty string.
14977         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14978         Likewise.
14979
14980 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14981
14982         [BZ #16055]
14983         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14984         when we match (nil).
14985         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14986
14987 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14988
14989         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14990         (NO_TEST_INLINE): Update value.
14991         (ERRNO_UNCHANGED): Likewise.
14992         (ERRNO_EDOM): Likewise.
14993         (ERRNO_ERANGE): Likewise.
14994         (IGNORE_RESULT): Likewise.
14995         (check_float_internal): Check signs of NaN results if
14996         TEST_NAN_SIGN used.
14997         (check_complex): Pass TEST_NAN_SIGN flag through to second
14998         check_float_internal call.
14999         (copysign_test_data): Add tests with quiet NaNs as second
15000         argument.  Use TEST_NAN_SIGN.
15001         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15002         TEST_NAN_SIGN.
15003         (signbit_test_data): Add tests of quiet NaN argument.
15004         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15005
15006         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15007         $ignore_result.
15008         (parse_args): Handle function results specified as IGNORE.
15009         * math/libm-test.inc (IGNORE_RESULT): New macro.
15010         (check_float_internal): Do not check numerical result if flag
15011         IGNORE_RESULT set.
15012         (check_complex): Pass through IGNORE_RESULT to second
15013         check_float_internal call.
15014         (check_int): Do not check numerical result if flag IGNORE_RESULT
15015         set.
15016         (check_long): Likewise.
15017         (check_bool): Likewise.
15018         (check_longlong): Likewise.
15019         (lrint_test_data): Add tests of infinite and NaN arguments.
15020         (lrint_tonearest_test_data): Likewise.
15021         (lrint_towardzero_test_data): Likewise.
15022         (lrint_downward_test_data): Likewise.
15023         (lrint_upward_test_data): Likewise.
15024         (llrint_test_data): Likewise.
15025         (llrint_tonearest_test_data): Likewise.
15026         (llrint_towardzero_test_data): Likewise.
15027         (llrint_downward_test_data): Likewise.
15028         (llrint_upward_test_data): Likewise.
15029         (lround_test_data): Likewise.
15030         (llround_test_data): Likewise.
15031
15032         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15033         (ERRNO_UNCHANGED): Update value.
15034         (ERRNO_EDOM): Likewise.
15035         (ERRNO_ERANGE): Likewise.
15036         (NO_TEST_INLINE_FLOAT): New macro.
15037         (NO_TEST_INLINE_DOUBLE): Likewise.
15038         (enable_test): New function.
15039         (RUN_TEST_f_f): Check enable_test before running test.
15040         (RUN_TEST_2_f): Likewise.
15041         (RUN_TEST_fff_f): Likewise.
15042         (RUN_TEST_c_f): Likewise.
15043         (RUN_TEST_f_f1): Likewise.
15044         (RUN_TEST_fF_f1): Likewise.
15045         (RUN_TEST_fI_f1): Likewise.
15046         (RUN_TEST_ffI_f1): Likewise.
15047         (RUN_TEST_c_c): Likewise.
15048         (RUN_TEST_cc_c): Likewise.
15049         (RUN_TEST_f_i): Likewise.
15050         (RUN_TEST_f_i_tg): Likewise.
15051         (RUN_TEST_ff_i_tg): Likewise.
15052         (RUN_TEST_f_b): Likewise.
15053         (RUN_TEST_f_b_tg): Likewise.
15054         (RUN_TEST_f_l): Likewise.
15055         (RUN_TEST_f_L): Likewise.
15056         (RUN_TEST_fFF_11): Likewise.
15057         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15058         conditionals.
15059         (cosh_test_data): Likewise.
15060         (exp_test_data): Likewise.
15061         (expm1_test_data): Likewise.
15062         (hypot_test_data): Likewise.
15063         (pow_test_data): Likewise.
15064         (sinh_test_data): Likewise.
15065         (tanh_test_data): Likewise.
15066         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15067         flags argument.
15068
15069         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15070         tests with quiet NaN input and output.
15071         (acosh_test_data): Likewise.
15072         (asin_test_data): Likewise.
15073         (asinh_test_data): Likewise.
15074         (atan_test_data): Likewise.
15075         (atanh_test_data): Likewise.
15076         (atan2_test_data): Likewise.
15077         (cbrt_test_data): Likewise.
15078         (cos_test_data): Likewise.
15079         (cosh_test_data): Likewise.
15080         (erf_test_data): Likewise.
15081         (erfc_test_data): Likewise.
15082         (exp_test_data): Likewise.
15083         (exp10_test_data): Likewise.
15084         (exp2_test_data): Likewise.
15085         (expm1_test_data): Likewise.
15086         (hypot_test_data): Likewise.
15087         (j0_test_data): Likewise.
15088         (j1_test_data): Likewise.
15089         (jn_test_data): Likewise.
15090         (lgamma_test_data): Likewise.
15091         (log_test_data): Likewise.
15092         (log10_test_data): Likewise.
15093         (log1p_test_data): Likewise.
15094         (log2_test_data): Likewise.
15095         (pow_test_data): Likewise.
15096         (scalb_test_data): Likewise.
15097         (sin_test_data): Likewise.
15098         (sincos_test_data): Likewise.
15099         (sinh_test_data): Likewise.
15100         (tan_test_data): Likewise.
15101         (tanh_test_data): Likewise.
15102         (tgamma_test_data): Likewise.
15103         (y0_test_data): Likewise.
15104         (y1_test_data): Likewise.
15105         (yn_test_data): Likewise.
15106
15107         [BZ #16167]
15108         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15109         argument being NaN and avoid computations with second argument in
15110         that case.
15111         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15112         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15113         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15114
15115 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15116
15117         * locale/iso-639.def: Add Chitwani Tharu (the).
15118
15119 2013-11-14  Andreas Schwab  <schwab@suse.de>
15120
15121         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15122         word instead of empty string.
15123
15124 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15125
15126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15127         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15129         (__fe_nomask_env): Likewise.
15130
15131 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15132
15133         * benchtests/bench-timing.h: Include time.h.
15134
15135 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15136
15137         [BZ #15997]
15138         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15139         to 3.4.0 for x32.
15140         * sysdeps/unix/sysv/linux/configure: Regenerated.
15141
15142 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15143
15144         [BZ #16151]
15145         * stdlib/strtod_l.c (round_and_return): Do not consider
15146         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15147         exponent one less than half the least subnormal exponent.
15148         * stdlib/test-strtod-round-data: Add more tests.
15149         * stdlib/tst-strtod-round.c (tests): Regenerated.
15150
15151 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15152
15153         [BZ #14143]
15154         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15155         (__fe_mask_env): Likewise.
15156         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15157         libm_hidden_proto and add function prototype.
15158         (__fe_mask_env): Add function prototype.
15159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15160         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15162         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15164         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15165
15166 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15167
15168         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15169         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15170
15171 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15172
15173         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15174         of htab_find_slot().
15175
15176 2013-11-11  David S. Miller  <davem@davemloft.net>
15177
15178         [BZ #16150]
15179         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15180         symbol in the non-vis3 case in static builds.
15181         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15182         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15183         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15184         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15185
15186 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15187
15188         [BZ #387]
15189         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15190         it is empty.
15191
15192 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15193
15194         * benchtests/Makefile: Add bench-strtod.
15195         * benchtests/bench-strtod.c: New file: strtod benchtest
15196
15197 2013-11-11  Andreas Schwab  <schwab@suse.de>
15198
15199         [BZ #16153]
15200         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15201         terminating NUL in key length.
15202
15203 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15204
15205         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15206         Add artificial ODP entry for vDSO symbol for PPC64.
15207         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15208         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15209
15210 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15211
15212         [BZ #15374]
15213         * nss/getent.c (services_keys): Recognize services starting with digit.
15214
15215 2013-11-06  David S. Miller  <davem@davemloft.net>
15216
15217         [BZ #15985]
15218         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15219         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15220
15221 2013-11-06  Will Newton  <will.newton@linaro.org>
15222
15223         * manual/memory.texi (Malloc Examples): Remove register
15224         keyword from examples.
15225
15226 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15227
15228         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15229
15230 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15231
15232         [BZ #6981]
15233         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15234         depending on [__GCC_IEC_559 > 0].
15235         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15236         depending on [__GCC_IEC_559_COMPLEX > 0].
15237
15238 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15239
15240         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15241         to iso-639.def.
15242
15243 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15244
15245         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15246
15247 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15248
15249         [BZ #16112]
15250         * malloc/malloc (malloc_info): Do not handle first bin as
15251         special case.
15252
15253 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15254
15255         * locale/iso-639.def: Add Central Nahuatl (nhn).
15256
15257 2013-11-01  Bruno Haible  <bruno@clisp.org>
15258
15259         [BZ #7003]
15260         * manual/math.texi (BSD Random): Specify range upper bound as
15261         in POSIX.
15262
15263 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15264
15265         * locale/iso-639.def: Add Meadow Mari (mhr).
15266
15267 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15268
15269         [BZ #14752], [BZ #15763]
15270         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15271         Validate name.
15272         * rt/tst_shm.c: Add test for escaping directory.
15273
15274 2013-10-31  Andreas Schwab  <schwab@suse.de>
15275
15276         [BZ #15917]
15277         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15278         followed by 'x' as part of digit sequence.
15279         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15280
15281 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15282
15283         [BZ #16037]
15284         * configure.ac: allow GNU Make 4.0 and greater.
15285         * configure: Regenerated.
15286
15287 2013-10-30  Will Newton  <will.newton@linaro.org>
15288
15289         [BZ #16038]
15290         * malloc/hooks.c (memalign_check): Limit alignment to the
15291         maximum representable power of two.
15292         * malloc/malloc.c (__libc_memalign): Likewise.
15293         * malloc/tst-memalign.c (do_test): Add test for very
15294         large alignment values.
15295         * malloc/tst-posix_memalign.c (do_test): Likewise.
15296
15297 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15298
15299         [BZ #11087]
15300         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15301         (munmap_chunk): Likewise.
15302         (mremap_chunk): Likewise.
15303
15304 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15305
15306         [BZ #15799]
15307         * stdlib/div.c (div): Remove obsolete code.
15308         * stdlib/ldiv.c (ldiv): Likewise.
15309         * stdlib/lldiv.c (lldiv): Likewise.
15310
15311 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15312
15313         [BZ #16071]
15314         * nss/nss_files/files-XXX.c (get_contents_ret): New
15315         enumerator.
15316         (get_contents): New function.
15317         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15318
15319 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15320
15321         * configure.in: Moved to ...
15322         * configure.ac: ... here. Change reference to configure.in
15323         to configure.ac.
15324         * sysdeps/arm/preconfigure.ac: ... here.
15325         configure.in to configure.ac.
15326         * sysdeps/gnu/configure.in: Moved to ...
15327         * sysdeps/gnu/configure.ac: ... here.
15328         * sysdeps/i386/configure.in: Moved to ...
15329         * sysdeps/i386/configure.ac: ... here.
15330         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15331         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15332         * sysdeps/mach/configure.in: Moved to ...
15333         * sysdeps/mach/configure.ac: ... here.
15334         * sysdeps/mach/hurd/configure.in: Moved to ...
15335         * sysdeps/mach/hurd/configure.ac: ... here.
15336         * sysdeps/powerpc/configure.in: Moved to ...
15337         * sysdeps/powerpc/configure.ac: ... here.
15338         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15339         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15340         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15341         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15342         * sysdeps/s390/s390-32/configure.in: Moved to ...
15343         * sysdeps/s390/s390-32/configure.ac: ... here.
15344         * sysdeps/s390/s390-64/configure.in: Moved to ...
15345         * sysdeps/s390/s390-64/configure.ac: ... here.
15346         * sysdeps/sh/configure.in: Moved to ...
15347         * sysdeps/sh/configure.ac: ... here.
15348         * sysdeps/sparc/configure.in: Moved to ...
15349         * sysdeps/sparc/configure.ac: ... here.
15350         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15351         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15352         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15353         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15354         * sysdeps/x86_64/configure.in: Moved to ...
15355         * sysdeps/x86_64/configure.ac: ... here.
15356         * sysdeps/x86_64/preconfigure.in: Moved to ...
15357         * sysdeps/x86_64/preconfigure.ac: ... here.
15358         * aclocal.m4: Change reference to configure.in to configure.ac.
15359         * config.h.in: Likewise.
15360         * manual/install.texi: Likewise.
15361         * manual/maint.texi: Likewise.
15362         * Makefile: Likewise.
15363         * malloc/Makefile: Likewise.
15364         * nscd/Makefile: Likewise.
15365         * Makeconfig: Change reference to configure.in and
15366         preconfigure.in to configure.ac and preconfigure.ac
15367         respectively.
15368         * INSTALL: Regenerated.
15369         * configure: Likewise.
15370         * sysdeps/gnu/configure: Likewise.
15371         * sysdeps/i386/configure: Likewise.
15372         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15373         * sysdeps/mach/configure: Likewise.
15374         * sysdeps/mach/hurd/configure: Likewise.
15375         * sysdeps/powerpc/configure: Likewise.
15376         * sysdeps/powerpc/powerpc32/configure: Likewise.
15377         * sysdeps/powerpc/powerpc64/configure: Likewise.
15378         * sysdeps/s390/s390-32/configure: Likewise.
15379         * sysdeps/s390/s390-64/configure: Likewise.
15380         * sysdeps/sh/configure: Likewise.
15381         * sysdeps/sparc/configure: Likewise.
15382         * sysdeps/unix/sysv/linux/configure: Likewise.
15383         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15384         * sysdeps/x86_64/configure: Likewise.
15385         * sysdeps/x86_64/preconfigure: Likewise.
15386
15387 2013-10-29  Andreas Schwab  <schwab@suse.de>
15388
15389         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15390
15391 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15392
15393         * benchtests/pow-inputs: Add new inputs.
15394
15395         * benchtests/exp-inputs: Add new inputs.
15396
15397         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15398         conditional check for return value.
15399         (__cos32): Likewise.
15400
15401 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15402
15403         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15404         to provide a boost for large inputs with word alignment.
15405         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15406         implementation based on optimized PPC64 strcpy.
15407         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15408         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15409         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15410         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15411
15412 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15413
15414         [BZ #2801]
15415         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15416
15417 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15418
15419         [BZ #14876]
15420         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15421         * time/tst-strptime.c (day_tests): Add testcase.
15422
15423 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15424
15425         [BZ #14029]
15426         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15427
15428 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15429
15430         [BZ #16074]
15431         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15432         MAP_FAILED on error.
15433
15434 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15435
15436         [BZ #16072]
15437         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15438         heap for large requests.
15439
15440 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15441
15442         [BZ #9954]
15443         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15444         result if the result has no associated interface.
15445         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15446         interface for all 127.X.Y.Z addresses.
15447
15448 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15449
15450         * locale/iso-639.def: Add Ligurian (lij)
15451
15452 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15453
15454         [BZ #15825]
15455         * sunrpc/rpc_main.c: Document rpcgen -5.
15456
15457 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15458
15459         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15460
15461 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15462
15463         [BZ #10278]
15464         * posix/glob.c: Match only directories when trailing slash is present.
15465         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15466         (main): Add testcase.
15467
15468 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15469
15470         [BZ #15670]
15471         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15472
15473 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15474
15475         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15476         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15477         AUTH_DES and cindex for FIPS 140-2.
15478         (DES Encryption): Add cindex FIPS 46-3.
15479
15480         * locale/locarchive.h (struct locarhandle): Add fname.
15481         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15482         if an optional argument was specified to --list-archive,
15483         otherwise NULL.
15484         * locale/programs/locarchive.c (show_archive_content): Take new
15485         argument fname and pass it via ah.fname to open_archive.
15486         * locale/programs/localedef.h: Update decl.
15487         (open_archive): If AH->fname is non-null, open that file
15488         rather than the default file name, and don't ignore ENOENT.
15489         (create_archive): Set AH.fname to NULL.
15490         (delete_locales_from_archive): Likewise.
15491         (add_locales_to_archive): Likewise.
15492         * locale/programs/locfile.c (write_all_categories): Likewise.
15493
15494 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15495             Aldy Hernandez  <aldyh@redhat.com>
15496
15497         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15498         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15499         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15500         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15501         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15502         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15503         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15504         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15505         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15506         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15507         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15508         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15509         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15510         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15511         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15512         Likewise.
15513         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15514         Likewise.
15515         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15516         Likewise.
15517         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15518         Likewise.
15519         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15520         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15521         Likewise.
15522         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15523         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15524         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15525         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15526         Likewise.
15527         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15528         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15529         * sysdeps/powerpc/preconfigure: Likewise.
15530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15531         Likewise.
15532         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15533         Replace contents of file by #include of <fenv_libc.h>.
15534         * sysdeps/powerpc/soft-fp/sfp-machine.h
15535         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15536         and <sys/prctl.h>.
15537         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15538         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15539         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15540         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15541         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15542         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15544         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15545         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15546         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15547         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15548         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15550         Allow copysignl PLT reference to be missing.
15551
15552 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15553             Joseph Myers  <joseph@codesourcery.com
15554
15555         [BZ #15948]
15556         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15557         single character.
15558         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15559
15560 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15561
15562         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15563         * elf/tst-tls1.c: Likewise.
15564         * elf/tst-tls10.h: Likewise.
15565         * elf/tst-tls14.c: Likewise.
15566         * elf/tst-tls2.c: Likewise.
15567         * elf/tst-tls3.c: Likewise.
15568         * elf/tst-tls4.c: Likewise.
15569         * elf/tst-tls5.c: Likewise.
15570         * elf/tst-tls6.c: Likewise.
15571         * elf/tst-tls7.c: Likewise.
15572         * elf/tst-tls8.c: Likewise.
15573         * elf/tst-tls9.c: Likewise.
15574         * elf/tst-tlsmod1.c: Likewise.
15575         * elf/tst-tlsmod13.c: Likewise.
15576         * elf/tst-tlsmod13a.c: Likewise.
15577         * elf/tst-tlsmod14a.c: Likewise.
15578         * elf/tst-tlsmod16a.c: Likewise.
15579         * elf/tst-tlsmod16b.c: Likewise.
15580         * elf/tst-tlsmod2.c: Likewise.
15581         * elf/tst-tlsmod3.c: Likewise.
15582         * elf/tst-tlsmod4.c: Likewise.
15583         * elf/tst-tlsmod5.c: Likewise.
15584         * elf/tst-tlsmod6.c: Likewise.
15585
15586 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15587
15588         [BZ #12486]
15589         * malloc/malloc.c: remove checks for statistics.
15590
15591 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15592
15593         [BZ #15277]
15594         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15595         * inet/tst-network.c: Add testcase.
15596
15597 2013-10-17  Andreas Schwab  <schwab@suse.de>
15598
15599         [BZ #15218]
15600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15601         to determine canonical name.
15602
15603 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15604
15605         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15606         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15608         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15609         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15610         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15611         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15612         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15613         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15614         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15615         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15616         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15617         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15618         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15619         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15620         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15622         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15623         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15624         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15625         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15627         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15628         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15629         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15630         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15631         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15632         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15633         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15634         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15635         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15636         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15637         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15638         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15639         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15640         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15641         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15642         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15643         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15644         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15645         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15646         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15647         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15648         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15649         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15650         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15651         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15652         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15653         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15654         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15655         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15656         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15657         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15658         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15659         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15660         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15661         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15662         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15663
15664 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15665
15666         [BZ #16041]
15667         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15668         make result into a quiet NaN.
15669
15670 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15671
15672         * soft-fp/adddf3.c: Fix horizontal whitespace.
15673         * soft-fp/addsf3.c: Likewise.
15674         * soft-fp/addtf3.c: Likewise.
15675         * soft-fp/divdf3.c: Likewise.
15676         * soft-fp/divsf3.c: Likewise.
15677         * soft-fp/divtf3.c: Likewise.
15678         * soft-fp/double.h: Likewise.
15679         * soft-fp/eqdf2.c: Likewise.
15680         * soft-fp/eqsf2.c: Likewise.
15681         * soft-fp/eqtf2.c: Likewise.
15682         * soft-fp/extenddftf2.c: Likewise.
15683         * soft-fp/extended.h: Likewise.
15684         * soft-fp/extendsfdf2.c: Likewise.
15685         * soft-fp/extendsftf2.c: Likewise.
15686         * soft-fp/extendxftf2.c: Likewise.
15687         * soft-fp/fixdfdi.c: Likewise.
15688         * soft-fp/fixdfsi.c: Likewise.
15689         * soft-fp/fixdfti.c: Likewise.
15690         * soft-fp/fixsfdi.c: Likewise.
15691         * soft-fp/fixsfsi.c: Likewise.
15692         * soft-fp/fixsfti.c: Likewise.
15693         * soft-fp/fixtfdi.c: Likewise.
15694         * soft-fp/fixtfsi.c: Likewise.
15695         * soft-fp/fixtfti.c: Likewise.
15696         * soft-fp/fixunsdfdi.c: Likewise.
15697         * soft-fp/fixunsdfsi.c: Likewise.
15698         * soft-fp/fixunsdfti.c: Likewise.
15699         * soft-fp/fixunssfdi.c: Likewise.
15700         * soft-fp/fixunssfsi.c: Likewise.
15701         * soft-fp/fixunssfti.c: Likewise.
15702         * soft-fp/fixunstfdi.c: Likewise.
15703         * soft-fp/fixunstfsi.c: Likewise.
15704         * soft-fp/fixunstfti.c: Likewise.
15705         * soft-fp/floatdidf.c: Likewise.
15706         * soft-fp/floatdisf.c: Likewise.
15707         * soft-fp/floatditf.c: Likewise.
15708         * soft-fp/floatsidf.c: Likewise.
15709         * soft-fp/floatsisf.c: Likewise.
15710         * soft-fp/floatsitf.c: Likewise.
15711         * soft-fp/floattidf.c: Likewise.
15712         * soft-fp/floattisf.c: Likewise.
15713         * soft-fp/floattitf.c: Likewise.
15714         * soft-fp/floatundidf.c: Likewise.
15715         * soft-fp/floatundisf.c: Likewise.
15716         * soft-fp/floatunditf.c: Likewise.
15717         * soft-fp/floatunsidf.c: Likewise.
15718         * soft-fp/floatunsisf.c: Likewise.
15719         * soft-fp/floatunsitf.c: Likewise.
15720         * soft-fp/floatuntidf.c: Likewise.
15721         * soft-fp/floatuntisf.c: Likewise.
15722         * soft-fp/floatuntitf.c: Likewise.
15723         * soft-fp/fmadf4.c: Likewise.
15724         * soft-fp/fmasf4.c: Likewise.
15725         * soft-fp/fmatf4.c: Likewise.
15726         * soft-fp/gedf2.c: Likewise.
15727         * soft-fp/gesf2.c: Likewise.
15728         * soft-fp/getf2.c: Likewise.
15729         * soft-fp/ledf2.c: Likewise.
15730         * soft-fp/lesf2.c: Likewise.
15731         * soft-fp/letf2.c: Likewise.
15732         * soft-fp/muldf3.c: Likewise.
15733         * soft-fp/mulsf3.c: Likewise.
15734         * soft-fp/multf3.c: Likewise.
15735         * soft-fp/negdf2.c: Likewise.
15736         * soft-fp/negsf2.c: Likewise.
15737         * soft-fp/negtf2.c: Likewise.
15738         * soft-fp/op-1.h: Likewise.
15739         * soft-fp/op-2.h: Likewise.
15740         * soft-fp/op-4.h: Likewise.
15741         * soft-fp/op-8.h: Likewise.
15742         * soft-fp/op-common.h: Likewise.
15743         * soft-fp/quad.h: Likewise.
15744         * soft-fp/single.h: Likewise.
15745         * soft-fp/soft-fp.h: Likewise.
15746         * soft-fp/sqrtdf2.c: Likewise.
15747         * soft-fp/sqrtsf2.c: Likewise.
15748         * soft-fp/sqrttf2.c: Likewise.
15749         * soft-fp/subdf3.c: Likewise.
15750         * soft-fp/subsf3.c: Likewise.
15751         * soft-fp/subtf3.c: Likewise.
15752         * soft-fp/truncdfsf2.c: Likewise.
15753         * soft-fp/trunctfdf2.c: Likewise.
15754         * soft-fp/trunctfsf2.c: Likewise.
15755         * soft-fp/trunctfxf2.c: Likewise.
15756         * soft-fp/unorddf2.c: Likewise.
15757         * soft-fp/unordsf2.c: Likewise.
15758         * soft-fp/unordtf2.c: Likewise.
15759
15760 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15761
15762         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15763         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15764
15765 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15766
15767         * elf/dl-libc.c: Clear initfini list after freeing.
15768
15769 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15770
15771         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15772         * soft-fp/addsf3.c: Likewise.
15773         * soft-fp/addtf3.c: Likewise.
15774         * soft-fp/divdf3.c: Likewise.
15775         * soft-fp/divsf3.c: Likewise.
15776         * soft-fp/divtf3.c: Likewise.
15777         * soft-fp/double.h: Likewise.
15778         * soft-fp/eqdf2.c: Likewise.
15779         * soft-fp/eqsf2.c: Likewise.
15780         * soft-fp/eqtf2.c: Likewise.
15781         * soft-fp/extenddftf2.c: Likewise.
15782         * soft-fp/extended.h: Likewise.
15783         * soft-fp/extendsfdf2.c: Likewise.
15784         * soft-fp/extendsftf2.c: Likewise.
15785         * soft-fp/extendxftf2.c: Likewise.
15786         * soft-fp/fixdfdi.c: Likewise.
15787         * soft-fp/fixdfsi.c: Likewise.
15788         * soft-fp/fixdfti.c: Likewise.
15789         * soft-fp/fixsfdi.c: Likewise.
15790         * soft-fp/fixsfsi.c: Likewise.
15791         * soft-fp/fixsfti.c: Likewise.
15792         * soft-fp/fixtfdi.c: Likewise.
15793         * soft-fp/fixtfsi.c: Likewise.
15794         * soft-fp/fixtfti.c: Likewise.
15795         * soft-fp/fixunsdfdi.c: Likewise.
15796         * soft-fp/fixunsdfsi.c: Likewise.
15797         * soft-fp/fixunsdfti.c: Likewise.
15798         * soft-fp/fixunssfdi.c: Likewise.
15799         * soft-fp/fixunssfsi.c: Likewise.
15800         * soft-fp/fixunssfti.c: Likewise.
15801         * soft-fp/fixunstfdi.c: Likewise.
15802         * soft-fp/fixunstfsi.c: Likewise.
15803         * soft-fp/fixunstfti.c: Likewise.
15804         * soft-fp/floatdidf.c: Likewise.
15805         * soft-fp/floatdisf.c: Likewise.
15806         * soft-fp/floatditf.c: Likewise.
15807         * soft-fp/floatsidf.c: Likewise.
15808         * soft-fp/floatsisf.c: Likewise.
15809         * soft-fp/floatsitf.c: Likewise.
15810         * soft-fp/floattidf.c: Likewise.
15811         * soft-fp/floattisf.c: Likewise.
15812         * soft-fp/floattitf.c: Likewise.
15813         * soft-fp/floatundidf.c: Likewise.
15814         * soft-fp/floatundisf.c: Likewise.
15815         * soft-fp/floatunsidf.c: Likewise.
15816         * soft-fp/floatunsisf.c: Likewise.
15817         * soft-fp/floatuntidf.c: Likewise.
15818         * soft-fp/floatuntisf.c: Likewise.
15819         * soft-fp/floatuntitf.c: Likewise.
15820         * soft-fp/fmadf4.c: Likewise.
15821         * soft-fp/fmasf4.c: Likewise.
15822         * soft-fp/fmatf4.c: Likewise.
15823         * soft-fp/gedf2.c: Likewise.
15824         * soft-fp/gesf2.c: Likewise.
15825         * soft-fp/getf2.c: Likewise.
15826         * soft-fp/ledf2.c: Likewise.
15827         * soft-fp/lesf2.c: Likewise.
15828         * soft-fp/letf2.c: Likewise.
15829         * soft-fp/muldf3.c: Likewise.
15830         * soft-fp/mulsf3.c: Likewise.
15831         * soft-fp/multf3.c: Likewise.
15832         * soft-fp/negdf2.c: Likewise.
15833         * soft-fp/negsf2.c: Likewise.
15834         * soft-fp/negtf2.c: Likewise.
15835         * soft-fp/op-1.h: Likewise.
15836         * soft-fp/op-2.h: Likewise.
15837         * soft-fp/op-4.h: Likewise.
15838         * soft-fp/op-8.h: Likewise.
15839         * soft-fp/op-common.h: Likewise.
15840         * soft-fp/quad.h: Likewise.
15841         * soft-fp/single.h: Likewise.
15842         * soft-fp/soft-fp.h: Likewise.
15843         * soft-fp/sqrtdf2.c: Likewise.
15844         * soft-fp/sqrtsf2.c: Likewise.
15845         * soft-fp/sqrttf2.c: Likewise.
15846         * soft-fp/subdf3.c: Likewise.
15847         * soft-fp/subsf3.c: Likewise.
15848         * soft-fp/subtf3.c: Likewise.
15849         * soft-fp/truncdfsf2.c: Likewise.
15850         * soft-fp/trunctfdf2.c: Likewise.
15851         * soft-fp/trunctfsf2.c: Likewise.
15852         * soft-fp/trunctfxf2.c: Likewise.
15853         * soft-fp/unorddf2.c: Likewise.
15854         * soft-fp/unordsf2.c: Likewise.
15855         * soft-fp/unordtf2.c: Likewise.
15856
15857 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15858
15859         [BZ #15672]
15860         * misc/error.c (error_tail): Fix possible buffer overflow.
15861
15862 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15863
15864         [BZ #13028]
15865         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15866         address.
15867
15868 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15869
15870         [BZ #832]
15871         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15872         testing pipefail option.
15873
15874 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15875
15876         * soft-fp/double.h: Indent preprocessor directives inside #if.
15877         * soft-fp/extended.h: Likewise.
15878         * soft-fp/op-2.h: Likewise.
15879         * soft-fp/op-4.h: Likewise.
15880         * soft-fp/op-common.h: Likewise.
15881         * soft-fp/quad.h: Likewise.
15882         * soft-fp/single.h: Likewise.
15883         * soft-fp/soft-fp.h: Likewise.
15884
15885 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15886
15887         * iconv/iconv_prog.c: Fix typos.
15888         * stdio-common/psiginfo-data.h: Likewise.
15889
15890 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15891
15892         [BZ #15764]
15893         * locale/setlocale.c: Fix typo.
15894
15895 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15896
15897         [BZ #16036]
15898         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15899         signaling NaN arguments.
15900         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15901         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15902
15903         [BZ #14910]
15904         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15905         unordered operands.
15906         * soft-fp/gesf2.c (__gesf2): Likewise.
15907         * soft-fp/getf2.c (__getf2): Likewise.
15908         * soft-fp/ledf2.c (__ledf2): Likewise.
15909         * soft-fp/lesf2.c (__lesf2): Likewise.
15910         * soft-fp/letf2.c (__letf2): Likewise.
15911
15912         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15913         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15914         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15915         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15916         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15917         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15918         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15919         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15920         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15921         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15922         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15923         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15924         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15925         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15926         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15927         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15928         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15929         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15930         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15931         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15932         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15933         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15934         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15935         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15936         * soft-fp/floattidf.c (__floattidf): Likewise.
15937         * soft-fp/floattisf.c (__floattisf): Likewise.
15938         * soft-fp/floattitf.c (__floattitf): Likewise.
15939         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15940         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15941         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15942         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15943         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15944         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15945         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15946         * soft-fp/gesf2.c (__gesf2): Likewise.
15947         * soft-fp/getf2.c (__getf2): Likewise.
15948         * soft-fp/ledf2.c (__ledf2): Likewise.
15949         * soft-fp/lesf2.c (__lesf2): Likewise.
15950         * soft-fp/letf2.c (__letf2): Likewise.
15951
15952         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15953         Undefine and redefine.
15954         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15955         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15956         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15957         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15958         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15959         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15960         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15961         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15962         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15963         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15964         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15965         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15966         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15967         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15968         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15969
15970         [BZ #16032]
15971         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15972         without decrementing exponent if mantissa >= that for the
15973         denominator, not >.
15974         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15975         denominator, not >.  Decrement exponent in < case instead of
15976         incrementing in >= case.
15977         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15978         without decrementing exponent if mantissa >= that for the
15979         denominator, not >.
15980
15981         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15982         computing saturated result for unsigned overflow.
15983
15984 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15985             Jeff Law  <law@redhat.com>
15986
15987         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15988         (atan2Mp): Add systemtap probe marker.
15989         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15990         (__ieee754_log): Add systemtap probe marker.
15991         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15992         (atanMp): Add systemtap probe marker.
15993         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15994         (tanMp): Add systemtap probe marker.
15995         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15996         (__slowexp): Add systemtap probe marker.
15997         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15998         (__slowpow): Add systemtap probe marker.
15999         * manual/probes.texi: Document probes.
16000
16001 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16002
16003         [BZ #15362]
16004         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16005         written.
16006         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16007         written.
16008         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16009         written to buffer but not flushed.
16010         * libio/iofwrite_u.c:  Likewise.
16011         * libio/iopadn.c:  Return bytes returned even if EOF was
16012         encountered.
16013         * libio/iowpadn.c:  Likewise.
16014         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16015         if _IO_padn does not write the whole buffer.
16016         [!COMPILE_WPRINTF] (PAD): Likewise.
16017
16018 2013-10-10  David S. Miller  <davem@davemloft.net>
16019
16020         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16021         directory block.
16022
16023 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16024
16025         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16026         instead of FSF address.
16027         * soft-fp/fixdfti.c: Likewise.
16028         * soft-fp/fixsfti.c: Likewise.
16029         * soft-fp/fixtfti.c: Likewise.
16030         * soft-fp/fixunsdfti.c: Likewise.
16031         * soft-fp/fixunssfti.c: Likewise.
16032         * soft-fp/fixunstfti.c: Likewise.
16033         * soft-fp/floattidf.c: Likewise.
16034         * soft-fp/floattisf.c: Likewise.
16035         * soft-fp/floattitf.c: Likewise.
16036         * soft-fp/floatuntidf.c: Likewise.
16037         * soft-fp/floatuntisf.c: Likewise.
16038         * soft-fp/floatuntitf.c: Likewise.
16039         * soft-fp/trunctfxf2.c: Likewise.
16040
16041         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16042         * soft-fp/fixdfti.c: Likewise.
16043         * soft-fp/fixsfti.c: Likewise.
16044         * soft-fp/fixtfti.c: Likewise.
16045         * soft-fp/fixunsdfti.c: Likewise.
16046         * soft-fp/fixunssfti.c: Likewise.
16047         * soft-fp/fixunstfti.c: Likewise.
16048         * soft-fp/floattidf.c: Likewise.
16049         * soft-fp/floattisf.c: Likewise.
16050         * soft-fp/floattitf.c: Likewise.
16051         * soft-fp/floatuntidf.c: Likewise.
16052         * soft-fp/floatuntisf.c: Likewise.
16053         * soft-fp/floatuntitf.c: Likewise.
16054         * soft-fp/trunctfxf2.c: Likewise.
16055
16056 2013-10-10  David S. Miller  <davem@davemloft.net>
16057
16058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16059
16060 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16061
16062         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16063         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16064         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16065         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16066         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16067         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16068         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16069
16070         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16071         for NaNs before doing comparisons on argument.
16072         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16073         Likewise.
16074
16075 2013-10-10  Will Newton  <will.newton@linaro.org>
16076
16077         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16078         passed to _int_memalign does not overflow.
16079
16080 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16081
16082         * scripts/bench.pl: Add include-sources directive.
16083         * benchtests/README: Update documentation.
16084
16085 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16086
16087         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16088         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16089         instead of FP_INIT_ROUNDMODE.
16090         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16091         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16092
16093         [BZ #16034]
16094         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16095         copy class of input value.
16096         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16097         not handle exceptions.
16098         * soft-fp/negsf2.c (__negsf2): Likewise.
16099         * soft-fp/negtf2.c (__negtf2): Likewise.
16100         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16101
16102 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16103
16104         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16105         semicolon.  From Linux kernel.
16106
16107 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16108
16109         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16110
16111 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16112
16113         [BZ #156]
16114         * manual/socket.texi: Added statement about buffer
16115         for gethostbyname2_r.
16116
16117 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16118
16119         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16120         Use .p2align directive instead, throughout.
16121         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16122         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16123         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16124         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16125         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16126         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16127         * sysdeps/x86_64/strchr.S: Likewise.
16128         * sysdeps/x86_64/strrchr.S: Likewise.
16129
16130 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16131
16132         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16133
16134         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16135
16136         * sysdeps/generic/math_private.h (__mpsin1): Remove
16137         declaration.
16138         (__mpcos1): Likewise.
16139         (__mpsin): New argument __range_reduce.
16140         (__mpcos): Likewise.
16141         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16142         (slow): Use __mpsin and __mpcos.
16143         (slow1): Likewise.
16144         (slow2): Likewise.
16145         (sloww): Likewise.
16146         (sloww1): Likewise.
16147         (sloww2): Likewise.
16148         (bsloww): Likewise.
16149         (bsloww1): Likewise.
16150         (bsloww2): Likewise.
16151         (cslow2): Likewise.
16152         (csloww): Likewise.
16153         (csloww1): Likewise.
16154         (csloww2): Likewise.
16155         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16156         range_reduce.  Merge in __mpsin1.
16157         (__mpcos): Likewise.
16158         (__mpsin1): Remove.
16159         (__mpcos1): Likewise.
16160
16161 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16162
16163         * locale/loadlocale.c (_nl_intern_locale_data): Use
16164         LOCFILE_ALIGNED_P.
16165         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16166         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16167         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16168         obstack data is appropriately aligned.
16169         (obstack_int32_grow_fast): Likewise.
16170         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16171         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16172         (add_locale_uint32_array): Likewise.
16173
16174 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16175
16176         * benchtests/Makefile: Remove ARGLIST and RET variables.
16177         ($(objpfx)bench-%.c): Pass only function name to the script.
16178         * benchtests/README: Update documentation.
16179         * benchtests/acos-inputs: Add new directives.
16180         * benchtests/acosh-inputs: Likewise.
16181         * benchtests/asin-inputs: Likewise.
16182         * benchtests/asinh-inputs: Likewise.
16183         * benchtests/atan-inputs: Likewise.
16184         * benchtests/atanh-inputs: Likewise.
16185         * benchtests/cos-inputs: Likewise.
16186         * benchtests/cosh-inputs: Likewise.
16187         * benchtests/exp-inputs: Likewise.
16188         * benchtests/log-inputs: Likewise.
16189         * benchtests/pow-inputs: Likewise.
16190         * benchtests/rint-inputs: Likewise.
16191         * benchtests/sin-inputs: Likewise.
16192         * benchtests/sinh-inputs: Likewise.
16193         * benchtests/tan-inputs: Likewise.
16194         * benchtests/tanh-inputs: Likewise.
16195         * scripts/bench.pl: Add support for new directives.
16196
16197 2013-10-07  Alan Modra  <amodra@gmail.com>
16198
16199         * README: Fix careless merge.
16200
16201 2013-10-05  Alan Modra  <amodra@gmail.com>
16202
16203         * NEWS: Mention powerpc64le support and bugs fixed.
16204         * README: Both big-endian and little-endian powerpc64 supported.
16205
16206 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16207
16208         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16209         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16210         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16211         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16212
16213 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16214
16215         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16216         match prototype.
16217
16218 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16219
16220         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16221         Move -mhard-float appending from
16222         ports/sysdeps/powerpc/powerpc32/Makefile.
16223         [$(with-fp) = yes] (ASFLAGS): Likewise.
16224         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16225         * sysdeps/powerpc/nofpu: Move directory from
16226         ports/sysdeps/powerpc/nofpu.
16227         * sysdeps/powerpc/soft-fp: Move directory from
16228         ports/sysdeps/powerpc/soft-fp.
16229         * sysdeps/powerpc/powerpc32/405: Move directory from
16230         ports/sysdeps/powerpc/powerpc32/405.
16231         * sysdeps/powerpc/powerpc32/440: Move directory from
16232         ports/sysdeps/powerpc/powerpc32/440.
16233         * sysdeps/powerpc/powerpc32/464: Move directory from
16234         ports/sysdeps/powerpc/powerpc32/464.
16235         * sysdeps/powerpc/powerpc32/476: Move directory from
16236         ports/sysdeps/powerpc/powerpc32/476.
16237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16238         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16240         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16242         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16244         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16246         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16247         * README: Update for powerpc-*-linux-gnu software floating point
16248         support in libc.
16249
16250         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16251         case to powerpc/powerpc32*.
16252         * sysdeps/unix/sysv/linux/configure: Regenerated.
16253
16254         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16255         (_FPU_MASK_OM): Define as 0x04.
16256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16257         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16258         0x00c10080.
16259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16260         0x0000003c.
16261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16262
16263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16264         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16265         getcontext_e500.
16266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16267         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16268         setcontext_e500.
16269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16270         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16271         and setcontext_e500.
16272
16273 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16274
16275         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16276
16277 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16278
16279         * manual/threads.texi (Default Thread Attributes): Fix typo.
16280
16281 2013-10-04  Will Newton  <will.newton@linaro.org>
16282
16283         * malloc/Makefile: Add tst-memalign.
16284         * malloc/tst-memalign.c: New file.
16285
16286         * malloc/tst-posix_memalign.c: Add comments.
16287         (do_test): Add comments and call free on all potentially
16288         allocated pointers. Add space after cast.
16289
16290         * malloc/tst-pvalloc.c: Add comments.
16291         (do_test): Add comments and call free on all potentially
16292         allocated pointers. Remove duplicate check for NULL pointer.
16293         Add space after cast.
16294
16295         * malloc/tst-valloc.c: Add comments.
16296         (do_test): Add comments and call free on all potentially
16297         allocated pointers. Remove duplicate check for NULL pointer.
16298         Add space after cast.
16299
16300 2013-10-04  Alan Modra  <amodra@gmail.com>
16301
16302         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16303         Use stdint types in rather than __attribute__((mode())).
16304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16305
16306 2013-10-04  Alan Modra  <amodra@gmail.com>
16307
16308         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16309         Correct handling of unaligned relocs for little-endian.
16310         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16311
16312 2013-10-04  Alan Modra  <amodra@gmail.com>
16313
16314         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16315         * configure: Regenerate.
16316         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16317         * shlib-versions: Likewise.
16318
16319 2013-10-04  Alan Modra  <amodra@gmail.com>
16320
16321         * string/tester.c (test_memrchr): Increment reported test cycle.
16322
16323 2013-10-04  Alan Modra  <amodra@gmail.com>
16324
16325         * string/test-memcpy.c (do_one_test): When reporting errors, print
16326         string address and don't overrun end of string.
16327
16328 2013-10-04  Alan Modra  <amodra@gmail.com>
16329
16330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16331         insrdi.  Make better use of reg selection to speed exit slightly.
16332         Schedule entry path a little better.  Remove useless "are we done"
16333         checks on entry to main loop.  Handle wrapping around zero address.
16334         Correct main loop count.  Handle single left-over word from main
16335         loop inline rather than by using loop_small.  Remove extra word
16336         case in loop_small caused by wrong loop count.  Add little-endian
16337         support.
16338         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16339         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16340         cache hint.
16341         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16342         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16343         support.  Avoid rlwimi.
16344         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16345
16346 2013-10-04  Alan Modra  <amodra@gmail.com>
16347
16348         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16349         insrdi.  Formatting.
16350         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16351         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16352         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16353         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16354         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16355         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16356
16357 2013-10-04  Alan Modra  <amodra@gmail.com>
16358
16359         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16360         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16361         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16362         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16363         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16364         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16365         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16366         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16367         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16368         use of regs.  Use power7 mtocrf.  Tidy function tails.
16369
16370 2013-10-04  Alan Modra  <amodra@gmail.com>
16371
16372         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16373         Formatting.  Consistently use rXXX register defines or rN defines.
16374         Use early exit labels that avoid restoring unused non-volatile regs.
16375         Make cr field use more consistent with rWORDn compares.  Rename
16376         regs used as shift registers for unaligned loop, using rN defines
16377         for short lifetime/multiple use regs.
16378         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16379         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16380         addi 1,1,64 to pop stack frame.  Simplify return value code.
16381         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16382
16383 2013-10-04  Alan Modra  <amodra@gmail.com>
16384
16385         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16386         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16387         rather than rlwimi.
16388         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16389         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16390         little-endian support.  Correct typos.
16391         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16392         rather than rlwimi.
16393         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16394         in loop and entry code to keep "and." results.
16395         (strchr): Add little-endian support.  Comment.  Move cntlzd
16396         earlier in tail.
16397         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16398
16399 2013-10-04  Alan Modra  <amodra@gmail.com>
16400
16401         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16402         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16403         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16404         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16405
16406 2013-10-04  Alan Modra  <amodra@gmail.com>
16407
16408         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16409         (rTMP): Define as r11.
16410         (strcmp): Add little-endian support.  Optimise tail.
16411         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16412         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16413         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16414         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16415         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16416         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16417         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16418
16419 2013-10-04  Alan Modra  <amodra@gmail.com>
16420
16421         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16422         little-endian support.  Remove unnecessary "are we done" tests.
16423         Handle "s" wrapping around zero and extremely large "size".
16424         Correct main loop count.  Handle single left-over word from main
16425         loop inline rather than by using small_loop.  Correct comments.
16426         Delete "zero" tail, use "end_max" instead.
16427         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16428
16429 2013-10-04  Alan Modra  <amodra@gmail.com>
16430
16431         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16432         support.  Don't branch over align.
16433         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16434         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16435         support.  Rearrange tmp reg use to suit.  Comment.
16436         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16437
16438 2013-10-04  Alan Modra  <amodra@gmail.com>
16439
16440         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16441
16442 2013-10-04  Alan Modra  <amodra@gmail.com>
16443
16444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16445         conditional form of branch and link when obtaining pc.
16446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16447
16448 2013-10-04  Alan Modra  <amodra@gmail.com>
16449
16450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16451         HIWORD/LOWORD.
16452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16454
16455 2013-10-04  Alan Modra  <amodra@gmail.com>
16456
16457         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16458         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16459         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16460         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16461         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16462         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16463         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16464         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16465         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16466         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16467
16468 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16469             Alistair Popple <alistair@ozlabs.au.ibm.com>
16470             Alan Modra <amodra@gmail.com>
16471
16472         [BZ #15723]
16473         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16474         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16475         _dl_hwcap access for little-endian.
16476         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16477         destroy vmx regs when saving unaligned.
16478         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16479         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16480         destroy vmx regs when saving unaligned.
16481
16482 2013-10-04  Alan Modra  <amodra@gmail.com>
16483
16484         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16485         Don't use a union to pack hi/low value.
16486
16487 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16488
16489         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16490         for little-endian.
16491         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16492         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16493         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16494         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16495         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16496
16497 2013-10-04  Alan Modra  <amodra@gmail.com>
16498
16499         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16500         constants to usual value for .cst8 section, and remove redundant
16501         high address load.
16502         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16503         constant for 0x1p52.  Load little-endian words of double from
16504         correct stack offsets.
16505
16506 2013-10-04  Alan Modra  <amodra@gmail.com>
16507
16508         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16509         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16510         words of double from correct stack offsets.
16511         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16512         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16513         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16514         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16515         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16516         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16517         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16518         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16519         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16520         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16521         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16522         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16523         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16524         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16525         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16526         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16527         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16528
16529 2013-10-04  Alan Modra  <amodra@gmail.com>
16530
16531         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16532         64-bit int/double union.
16533         (_FPU_SETCW): Likewise.
16534         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16535         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16536
16537 2013-10-04  Alan Modra  <amodra@gmail.com>
16538
16539         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16540         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16541
16542 2013-10-04  Alan Modra  <amodra@gmail.com>
16543
16544         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16545         use vector int constants.
16546         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16547
16548 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16549
16550         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16551         array with long long.
16552         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16553         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16554         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16555         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16556         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16557         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16558         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16559         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16560         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16561         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16562         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16563         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16564         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16565
16566 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16567
16568         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16569         (__signbit): Likewise.  Correct for little-endian.
16570         (__signbitl): Call __signbit.
16571         (lrint): Correct for little-endian.
16572         (lrintf): Call lrint.
16573
16574 2013-10-04  Alan Modra  <amodra@gmail.com>
16575
16576         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16577         union 32-bit int array member with 64-bit int array.
16578         (t515, tm256): Double rather than long double.
16579         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16580
16581 2013-10-04  Alan Modra  <amodra@gmail.com>
16582
16583         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16584         Delete.
16585         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16587         version of math_ldbl.h.
16588
16589 2013-10-04  Alan Modra  <amodra@gmail.com>
16590
16591         [BZ #15734], [BZ #15735]
16592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16593         all uses of ieee875 long double macros and unions.  Simplify test
16594         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16595         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16596         normalize after ldbl_extract_mantissa, and don't add hidden bit
16597         already handled.  Don't treat low word of ieee854 mantissa like
16598         low word of IBM long double and mask off bit when testing for
16599         zero.
16600         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16601         all uses of ieee875 long double macros and unions.  Simplify tests
16602         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16603         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16604         two1022, instead use their values.  Recognise that tests for large
16605         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16606         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16607         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16608         test for 0.0L and nan.  Correct negation.
16609         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16610         ieee875 long double macros and unions.  Correct output for large
16611         magnitude x.  Correct absolute value calculation.
16612         (__erfcl): Likewise.
16613         * math/libm-test.inc: Add tests for errors discovered in IBM long
16614         double versions of fmodl, remainderl, erfl and erfcl.
16615
16616 2013-10-04  Alan Modra  <amodra@gmail.com>
16617
16618         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16619         all uses of ieee854 long double macros and unions.  Simplify tests
16620         for long doubles that are fully specified by the high double.
16621         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16622         Likewise.
16623         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16624         Remove dead code too.
16625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16626         (__ieee754_ynl): Likewise.
16627         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16628         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16629         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16630         Remove dead code too.
16631         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16632         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16633         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16634         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16635         Simplify.
16636         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16637         Simplify.
16638         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16639         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16640         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16641         Comment on variable precision.
16642         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16643         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16644         Likewise.
16645         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16646         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16647         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16648         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16649         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16650
16651 2013-10-04  Alan Modra  <amodra@gmail.com>
16652
16653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16654         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16655         all uses of ieee854 long double macros and unions.
16656         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16657         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16658         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16659         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16660         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16661         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16662         Likewise.
16663         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16664         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16665         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16666         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16667         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16668         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16669         Simplify sign and nan test too.
16670         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16671         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16672         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16673         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16674         Likewise.
16675         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16676         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16677         Likewise.
16678         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16679         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16680         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16681         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16682         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16683         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16684
16685 2013-10-04  Alan Modra  <amodra@gmail.com>
16686
16687         * stdio-common/printf_size.c (__printf_size): Don't use
16688         union ieee854_long_double in fpnum union.
16689         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16690         signbit macro to retrieve sign from long double.
16691         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16692         retrieve sign from long double.
16693         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16694         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16695         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16696         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16697         * math/test-misc.c (main): Don't use union ieee854_long_double.
16698
16699 2013-10-04  Alan Modra  <amodra@gmail.com>
16700
16701         [BZ #15680]
16702         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16703         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16704         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16705         calculation.  Remove unnecessary test for denormal exponent.
16706         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16707         Correct handling of denormals.  Avoid undefined shift behaviour.
16708         Correct normalisation of low mantissa when low double is denormal.
16709         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16710         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16711         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16712         Correct normalisation of low mantissa.  Test for overflow of high
16713         mantissa and normalise.
16714         (ldbl_nearbyint): Use more readable constant for two52.
16715         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16716         (__mpn_construct_long_double): Fix test for overflow of high
16717         mantissa and correct normalisation.  Avoid undefined shift.
16718
16719 2013-10-04  Alan Modra  <amodra@gmail.com>
16720
16721         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16722         (union ibm_extended_long_double): Define as an array of ieee754_double.
16723         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16724         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16725         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16726         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16727         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16728         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16730         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16731         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16732         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16733         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16734
16735 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16736
16737         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16738         page size instead of calling getpagesize.
16739
16740         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16741         (LOCFILE_ALIGN_MASK): Likewise.
16742         (LOCFILE_ALIGN_UP): Likewise.
16743         (LOCFILE_ALIGNED_P): Likewise.
16744         * locale/programs/ld-collate.c (collate_output): Use the new
16745         macros instead of __alignof__ (int32_t).
16746         * locale/weight.h (findidx): Likewise.
16747
16748 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16749
16750         [BZ #431]
16751         * manual/string.texi: Fix strncat and wcsncat.
16752
16753 2013-10-03  Brooks Moses  <bmoses@google.com>
16754
16755         [BZ #15915]
16756         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16757         * Makerules: ...here, and adjust associated comments.
16758
16759 2013-10-02  Will Newton  <will.newton@linaro.org>
16760
16761         * malloc/Makefile: Add tst-pvalloc.
16762         * malloc/tst-pvalloc.c: New file.
16763
16764 2013-10-02  Will Newton  <will.newton@linaro.org>
16765
16766         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16767         improve test coverage.
16768
16769 2013-10-02  Will Newton  <will.newton@linaro.org>
16770
16771         * malloc/Makefile: Add tst-posix_memalign.
16772         * malloc/tst-posix_memalign.c: New file.
16773
16774 2013-10-01  Eric Blake  <eblake@redhat.com>
16775
16776         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16777         Use __THROWNL rather than __THROW on static functions.
16778
16779 2013-09-30  Petr Machata  <pmachata@redhat.com>
16780
16781         * elf/elf.h (R_AARCH64_ABS16): New macro.
16782         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16783         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16784         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16785         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16786         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16787         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16788         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16789         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16790         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16791         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16792         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16793         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16794         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16795         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16796         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16797         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16798         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16799         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16800         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16801         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16802         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16803         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16804         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16805         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16806         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16807         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16808         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16809         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16810         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16811         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16812         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16813         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16814         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16815         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16816         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16817         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16818         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16819         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16820         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16821         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16822         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16823         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16824         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16825         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16826         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16827         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16828         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16829         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16830         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16831         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16832         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16833         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16834         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16835         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16836         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16837         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16838         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16839         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16840         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16841         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16842         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16843         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16844         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16845         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16846         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16847         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16848         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16849         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16850         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16851         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16852         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16853         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16854         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16855         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16856         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16857         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16858         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16859         (R_AARCH64_TLSDESC_LDR): Likewise.
16860         (R_AARCH64_TLSDESC_ADD): Likewise.
16861         (R_AARCH64_TLSDESC_CALL): Likewise.
16862
16863 2013-09-30  Andreas Schwab  <schwab@suse.de>
16864
16865         [BZ #15048]
16866         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16867         the nss database lookup.
16868         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16870
16871 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16872
16873         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16874
16875 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16876
16877         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16878         ${Bash-specific parameter/pattern/string} parameter expansion.
16879         * sysdeps/unix/make-syscalls.sh: Likewise.
16880
16881 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16882
16883         * sysdeps/sh/stackguard-macros.h: New file.
16884
16885 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16886
16887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16889         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16890         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16891         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16892         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16893
16894 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16895
16896         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16897         Fix thread ID register.
16898
16899 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16900
16901         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16902         [POSIX || UNIX98]: Require rather than permitting all symbols from
16903         <time.h>.
16904         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16905         element of struct sched_param.
16906         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16907         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16908         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16909         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16910         constant.
16911
16912 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16913
16914         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16915         argument calculation.
16916
16917 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16918
16919         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16920         Expect macro.
16921         [POSIX] (pthread_attr_t): Do not require type.
16922         [POSIX] (pthread_cond_t): Likewise.
16923         [POSIX] (pthread_condattr_t): Likewise.
16924         [POSIX] (pthread_key_t): Likewise.
16925         [POSIX] (pthread_mutex_t): Likewise.
16926         [POSIX] (pthread_mutexattr_t): Likewise.
16927         [POSIX] (pthread_once_t): Likewise.
16928         [POSIX] (pthread_t): Likewise.
16929         [POSIX-based standards] (pthread_atfork): Expect function.
16930
16931 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16932             Richard Sandiford  <richard@codesourcery.com>
16933
16934         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16935         (swap_endianness_p): New extern variable.
16936         (set_big_endian): New inline function.
16937         (maybe_swap_uint32): Likewise.
16938         (maybe_swap_uint32_array): Likewise.
16939         (maybe_swap_uint32_obstack): Likewise.
16940         * locale/programs/locfile.c: Include <stdbool.h>.
16941         (swap_endianness_p): New variable.
16942         (add_locale_uint32): Call maybe_swap_uint32.
16943         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16944         (write_locale_data): Call maybe_swap_uint32_array.
16945         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16946         maybe_swap_uint32.
16947         (obstack_int32_grow_fast): Likewise.
16948         (output_weightwc): Call maybe_swap_uint32_obstack.
16949         (collate_output): Likewise.
16950         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16951         (OPT_LITTLE_ENDIAN): Likewise.
16952         (options): Add --little-endian and --big-endian options.
16953         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16954         * locale/programs/locarchive.c: Include "locfile.h".
16955         (GET): New macro.
16956         (SET): Likewise.
16957         (INC): Likewise.
16958         (create_archive): Use the new macros to access fields of
16959         structures directly mapped from or written to locale archives.
16960         (oldlocrecentcmp): Likewise.
16961         (enlarge_archive): Likewise.
16962         (insert_name): Likewise.
16963         (add_alias): Likewise.
16964         (add_locale): Likewise.
16965         (delete_locales_from_archive): Likewise.
16966         (show_archive_content): Likewise.
16967         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16968         locale data.
16969
16970 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16971
16972         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16973         http://www.gnu.org/doc/freemanuals.texi.
16974         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16975
16976 2013-09-24  Will Newton  <will.newton@linaro.org>
16977
16978         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16979         macro.
16980
16981 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16982
16983         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16984         unsigned char.
16985
16986 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16987
16988         * manual/threads.texi (POSIX Threads): Fix a typo.
16989
16990 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16991
16992         [BZ #14547]
16993         * string/tst-strcoll-overflow.c: New test case.
16994         * string/Makefile (xtests): Add tst-strcoll-overflow.
16995         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16996         cache if string sizes may cause integer overflow.
16997
16998         [BZ #14547]
16999         * string/strcoll_l.c (coll_seq): New members rule, idx,
17000         save_idx and back_us.
17001         (get_next_seq_nocache): New function.
17002         (do_compare_nocache): New function.
17003         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17004         when malloc fails.
17005
17006 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17007
17008         [BZ #15754]
17009         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17010         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17011         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17012
17013         [BZ #15754]
17014         * elf/Makefile (tests): Add tst-ptrguard1.
17015         (tests-static): Add tst-ptrguard1-static.
17016         (tst-ptrguard1-ARGS): Define.
17017         (tst-ptrguard1-static-ARGS): Define.
17018         * elf/tst-ptrguard1.c: New file.
17019         * elf/tst-ptrguard1-static.c: New file.
17020         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17021         * sysdeps/i386/stackguard-macros.h: Likewise.
17022         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17023         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17024         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17025         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17026         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17027         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17028
17029 2013-09-23  Hector Marco  <hecmargi@upv.es>
17030             Ismael Ripoll  <iripoll@disca.upv.es>
17031             Carlos O'Donell  <carlos@redhat.com>
17032
17033         [BZ #15754]
17034         * sysdeps/generic/stackguard-macros.h: Define
17035         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17036         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17037         Define __pointer_chk_guard_local.
17038         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17039         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17040
17041 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17042
17043         [BZ #15859]
17044         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17045
17046 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17047
17048         * include/string.h (__ffs): Declare as hidden.
17049         * string/ffs.c (__ffs): Define as hidden.
17050         * sysdeps/i386/ffs.c (__ffs): Likewise.
17051         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17052         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17053         * sysdeps/s390/ffs.c (__ffs): Likewise.
17054         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17055
17056 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17057
17058         * NEWS: Mention malloc probes.
17059
17060         * malloc/arena.c (new_heap): New memory_heap_new probe.
17061         (grow_heap): New memory_heap_more probe.
17062         (shrink_heap): New memory_heap_less probe.
17063         (heap_trim): New memory_heap_free probe.
17064         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17065         (systrim): New memory_sbrk_less probe.
17066         * manual/probes.texi: Document them.
17067
17068         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17069         * manual/probes.texi: Document it.
17070
17071         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17072         (__libc_realloc): Add memory_realloc_retry probe.
17073         (__libc_memalign): Add memory_memalign_retry probe.
17074         (__libc_valloc): Add memory_valloc_retry probe.
17075         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17076         (__libc_calloc): Add memory_calloc_retry probe.
17077         * manual/probes.texi: Document them.
17078
17079         * malloc/arena.c (get_free_list): Add probe
17080         memory_arena_reuse_free_list.
17081         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17082         and memory_arena_reuse.
17083         (arena_get2) [!PER_THREAD]: Likewise.
17084         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17085         memory_arena_reuse_realloc.
17086         * manual/probes.texi: Document them.
17087
17088         * malloc/malloc.c (__libc_free): Add
17089         memory_mallopt_free_dyn_thresholds probe.
17090         (__libc_mallopt): Add multiple memory_mallopt probes.
17091         * manual/probes.texi: Document them.
17092
17093         * malloc/malloc.c: Include stap-probe.h.
17094         (__libc_mallopt): Add memory_mallopt probe.
17095         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17096         * manual/probes.texi: New.
17097         * manual/Makefile (chapters): Add probes.
17098         * manual/threads.texi: Set next node.
17099
17100 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17101
17102         [BZ #15963, #13985]
17103         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17104         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17105         Add `Chinese' to `nan' entry name.
17106
17107 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17108
17109         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17110         (POLYNOMIAL): Likewise.
17111         (TAYLOR_SINCOS): Likewise.
17112         (TAYLOR_SLOW): Likewise.
17113         (__sin): Use TAYLOR_SINCOS.
17114         (__cos): Likewise.
17115         (slow): Use TAYLOR_SLOW.
17116         (sloww): Likewise.
17117         (bsloww): Likewise.
17118         (csloww): Likewise.
17119
17120 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17121
17122         * stdlib/strtod_l.c: Fix buffer overrun.
17123
17124 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17125
17126         * benchtests/Makefile (bench): Add sincos.
17127         * benchtests/bench-sincos.c: New file.
17128
17129         * math/libm-test.inc (cos_test_data): New test inputs.
17130         (sin_test_data): Likewise.
17131
17132         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17133         macro.
17134         (__sin): Use it.
17135         (__cos): Likewise.
17136         (slow1): Likewise.
17137         (slow2): Likewise.
17138         (sloww1): Likewise.
17139         (sloww2): Likewise.
17140         (bsloww1): Likewise.
17141         (bsloww2): Likewise.
17142         (cslow2): Likewise.
17143         (csloww1): Likewise.
17144         (csloww2): Likewise.
17145
17146         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17147         function.
17148         (__sin): Use it.
17149         (__cos): Likewise.
17150
17151         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17152         gotos.
17153         (__cos): Likewise.
17154
17155 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17156
17157         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17158         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17159         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17160         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17161         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17162         * elf/cache.c (print_entry): Handle the new cache flags.
17163
17164 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17165             Aldy Hernandez  <aldyh@redhat.com>
17166
17167         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17168         Change condition to [_SOFT_FLOAT].
17169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17181         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17184         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17185         declaration.
17186
17187 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17188
17189         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17190         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17191         (__longjmp): Use LOAD_GP to load saved GPRs.
17192         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17193         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17194         (__sigsetjmp): Use SAVE_GP to save GPRs.
17195
17196         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17197         Do not append -msoft-float.
17198         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17199
17200 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17201
17202         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17203
17204 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17205
17206         [BZ #15966]
17207         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17208         (_FPU_GETCW): Use initial "__" on variable and field names but not
17209         on macro parameter name.
17210         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17211         parentheses around reference to macro parameter.
17212
17213 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17214
17215         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17216         prototype.
17217         (ctype_startup): Use uint32_t in cast and sizeof for
17218         ctype->charnames.
17219
17220 2013-09-11  Jia Liu  <proljc@gmail.com>
17221
17222         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17223         __daddr_t_defined.
17224         [__FreeBSD__]: Likewise.
17225
17226 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17227
17228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17229         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17230         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17231         (strchr): Remove __strchr_sse42 ifunc selection.
17232         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17233         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17234
17235 2013-09-11  Will Newton  <will.newton@linaro.org>
17236
17237         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17238         parameter to RES. Remove hardcoded 1000 value.
17239         * benchtests/bench-skeleton.c (main): Pass RES parameter
17240         to TIMING_INIT and multiply result by 1000.
17241
17242 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17243
17244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17245
17246 2013-09-11  Andreas Schwab  <schwab@suse.de>
17247
17248         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17249         if not defined.
17250         (O_TMPFILE) [__USE_GNU]: Define.
17251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17252         Define.
17253
17254 2013-09-11  Will Newton  <will.newton@linaro.org>
17255
17256         [BZ #15857]
17257         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17258         does not overflow.
17259
17260 2013-09-11  Will Newton  <will.newton@linaro.org>
17261
17262         [BZ #15856]
17263         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17264         does not overflow.
17265
17266 2013-09-11  Will Newton  <will.newton@linaro.org>
17267
17268         [BZ #15855]
17269         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17270         does not overflow.
17271
17272 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17273
17274         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17275         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17276         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17277         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17278         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17279
17280 2013-09-10  Allan McRae  <allan@archlinux.org>
17281
17282         [BZ #15748]
17283         * manual/arith.texi (Parsing of Floats): Clarify
17284         cross-reference.
17285
17286         [BZ #15849]
17287         * manual/install.texi (Running make install): Mention
17288         --enable-pt-chown.
17289         * INSTALL: Regenerated.
17290
17291 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17292
17293         * csu/init-first.c (_init): Remove the !SHARED condition around
17294         FPU control word initialization.
17295         * elf/dl-support.c (_dl_fpu_control): New variable.
17296         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17297         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17298         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17299         * math/test-fpucw-static.c: New file.
17300         * math/test-fpucw-ieee.c: New file.
17301         * math/test-fpucw-ieee-static.c: New file.
17302         * math/Makefile (tests): Add `test-fpucw-ieee' and
17303         `$(tests-static)'.
17304         (tests-static): New variable.
17305         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17306         dependency to...
17307         [($(build-shared),yes)]
17308         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17309         ... this.
17310         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17311         New dependency.
17312
17313 2013-09-09  Allan McRae  <allan@archlinux.org>
17314
17315         [BZ #15939]
17316         * manual/string.texi (Collation Functions): Fix typo in
17317         strcoll example.
17318         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17319
17320         [BZ #15893]
17321         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17322
17323         [BZ #15892]
17324         * libio/memstream.c (open_memstream): Fix memory leak.
17325         * libio/wmemstream.c (open_wmemstream): Likewise.
17326
17327         [BZ #15895]
17328         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17329
17330 2013-09-09  Will Newton  <will.newton@linaro.org>
17331
17332         * malloc/Makefile: Add tst-realloc to tests.
17333         * malloc/tst-realloc.c: New file.
17334
17335 2013-09-09  Allan McRae  <allan@archlinux.org>
17336
17337         [BZ #15844]
17338         * COPYING: Update from GNU website to fix FSF address.
17339         * COPYING.LIB: Likewise.
17340
17341 2013-09-06  David S. Miller  <davem@davemloft.net>
17342
17343         * po/zh_TW.po: Update Chinese (traditional) translation from
17344         translation project.
17345
17346 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17347             Joseph Myers  <joseph@codesourcery.com>
17348
17349         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17350         "localeinfo.h".
17351         (obstack_chunk_alloc): New macro.
17352         (obstack_chunk_free): Likewise.
17353         (record_offset): New function.
17354         (init_locale_data): Likewise.
17355         (align_locale_data): Likewise.
17356         (add_locale_empty): Likewise.
17357         (add_locale_raw_data): Likewise.
17358         (add_locale_raw_obstack): Likewise.
17359         (add_locale_string): Likewise.
17360         (add_locale_wstring): Likewise.
17361         (add_locale_uint32): Likewise.
17362         (add_locale_uint32_array): Likewise.
17363         (add_locale_char): Likewise.
17364         (start_locale_structure): Likewise.
17365         (end_locale_structure): Likewise.
17366         (start_locale_prelude): Likewise.
17367         (end_locale_prelude): Likewise.
17368         (write_locale_data): Take locale_file structure rather than an
17369         iovec.
17370         * locale/programs/locfile.h: Include "obstack.h".
17371         (struct locale_file): Change to store locale file contents instead
17372         of header.
17373         (init_locale_data): New prototype.
17374         (align_locale_data): Likewise.
17375         (add_locale_empty): Likewise.
17376         (add_locale_raw_data): Likewise.
17377         (add_locale_raw_obstack): Likewise.
17378         (add_locale_string): Likewise.
17379         (add_locale_wstring): Likewise.
17380         (add_locale_uint32): Likewise.
17381         (add_locale_uint32_array): Likewise.
17382         (add_locale_char): Likewise.
17383         (start_locale_structure): Likewise.
17384         (end_locale_structure): Likewise.
17385         (start_locale_prelude): Likewise.
17386         (end_locale_prelude): Likewise.
17387         (write_locale_data): Update prototype.
17388         * locale/programs/3level.h (struct TABLE): Remove result field.
17389         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17390         Use new locale_file interface.
17391         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17392         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17393         * locale/programs/ld-address.c (address_output): Use new
17394         locale_file interface.
17395         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17396         NO_ADD_LOCALE.
17397         (collate_finish): Don't call collseq_table_finalize.
17398         (collate_output): Use new locale_file interface.
17399         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17400         in file.
17401         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17402         (TABLE): Move defines earlier in file.
17403         (ELEMENT): Likewise.
17404         (DEFAULT): Likewise.
17405         (wctrans_table_add): Move macro and inline function earlier in
17406         file.
17407         (struct wctype_table): Move type earlier in file.
17408         (add_locale_wctype_table): New static prototype.
17409         (struct locale_ctype_t): Use logical types instead of struct iovec
17410         pointers for members.
17411         (ctype_output): Use new locale_file interface.
17412         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17413         new locale_file interface.
17414         (allocate_arrays): Update for use of new locale_file interface.
17415         * locale/programs/ld-identification.c (identification_output): Use
17416         new locale_file interface.
17417         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17418         * locale/programs/ld-messages.c (messages_output): Likewise.
17419         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17420         * locale/programs/ld-name.c (name_output): Likewise.
17421         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17422         * locale/programs/ld-paper.c (paper_output): Likewise.
17423         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17424         * locale/programs/ld-time.c (time_output): Likewise.
17425
17426 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17427
17428         * benchtests/Makefile: Add memrchr benchmark.
17429         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17430         benchmark as memrchr.
17431         * benchtests/bench-memrchr-ifunc.c: New file.
17432         * benchtests/bench-memrchr.c: New file.
17433
17434 2013-09-06   Will Newton  <will.newton@linaro.org>
17435
17436         * benchtests/Makefile (string-bench): Add memcpy.
17437
17438 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17439             Cong Wang  <amwang@redhat.com>
17440
17441         [BZ #15850]
17442         * sysdeps/unix/sysv/linux/bits/in.h
17443         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17444         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17445         before __USE_KERNEL_IPV6_DEFS uses.
17446         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17447         IPPROTO_BEETPH.
17448         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17449         sockaddr_in6, or ipv6_mreq.
17450
17451 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17452
17453         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17454         memory access for final bytes in some large inputs.
17455         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17456
17457 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17458
17459         * string/test-memrchr.c: New file.
17460         * string/test-memrchr-ifunc.c: New file.
17461         * string/Makefile: Add new memrchr testcase.
17462
17463 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17464
17465         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17466         fanotify_init returns EPERM.
17467
17468 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17469
17470         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17471         errors.
17472         (top level): Treat second token from macro or constant entries for
17473         allowed headers as allowed.
17474         * include/complex.h: Condition internal declarations on
17475         [!_ISOMAC].
17476         * include/fenv.h: Condition include of <stdbool.h> and internal
17477         declarations on [!_ISOMAC].
17478
17479 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17480
17481         [BZ #15923]
17482         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17483
17484 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17485
17486         * configure.in (--enable-versioning): Remove configure option.
17487         (libc_cv_asm_symver_directive): Remove configure test.
17488         (libc_cv_ld_version_script_option): Likewise.
17489         (VERSIONING): Remove variable and AC_SUBST.
17490         (DO_VERSIONING): Remove AC_DEFINE.
17491         * configure: Regenerated.
17492         * config.h.in (DO_VERSIONING): Remove macro.
17493         * Makerules [$(versioning) = yes]: Change conditionals to
17494         [$(build-shared) = yes].
17495         * config.make.in (versioning): Remove variable.
17496         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17497         [$(build-shared) = yes].
17498         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17499         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17500         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17501         [$(build-shared) = yes].
17502         * extra-lib.mk [$(versioning) = yes]: Likewise.
17503         * hurd/Makefile [$(versioning) = yes]: Likewise.
17504         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17505         [SHARED].
17506         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17507         [SHARED].
17508         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17509         [SHARED && !NO_HIDDEN].
17510         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17511         [SHARED].
17512         [SHARED && DO_VERSIONING]: Likewise..
17513         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17514         [$(build-shared) = yes].
17515         * manual/install.texi (--disable-versioning): Remove
17516         documentation.
17517         * INSTALL: Regenerated.
17518         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17519         to [SHARED].
17520         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17521         [$(build-shared) = yes].
17522         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17523         * sysdeps/i386/i686/multiarch/strstr-c.c
17524         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17525         [SHARED && !NO_HIDDEN].
17526         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17527         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17528         * sysdeps/powerpc/powerpc32/dl-machine.c
17529         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17530         * sysdeps/powerpc/powerpc32/sysdep.h
17531         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17532         to [SHARED && PIC && !NO_HIDDEN].
17533         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17534         conditional to [SHARED].
17535
17536 2013-09-04   Will Newton  <will.newton@linaro.org>
17537
17538         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17539         * benchtests/bench-string.h: Include bench-timing.h instead
17540         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17541         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17542         call to HP_TIMING_DIFF_INIT.
17543         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17544         instead of hp-timing.h macros.
17545         * benchtests/bench-memchr.c: Likewise.
17546         * benchtests/bench-memcmp.c: Likewise.
17547         * benchtests/bench-memcpy.c: Likewise.
17548         * benchtests/bench-memmem.c: Likewise.
17549         * benchtests/bench-memmove.c: Likewise.
17550         * benchtests/bench-memset.c: Likewise.
17551         * benchtests/bench-rawmemchr.c: Likewise.
17552         * benchtests/bench-strcasecmp.c: Likewise.
17553         * benchtests/bench-strcasestr.c: Likewise.
17554         * benchtests/bench-strcat.c: Likewise.
17555         * benchtests/bench-strchr.c: Likewise.
17556         * benchtests/bench-strcmp.c: Likewise.
17557         * benchtests/bench-strcpy.c: Likewise.
17558         * benchtests/bench-strcpy_chk.c: Likewise.
17559         * benchtests/bench-strlen.c: Likewise.
17560         * benchtests/bench-strncasecmp.c: Likewise.
17561         * benchtests/bench-strncat.c: Likewise.
17562         * benchtests/bench-strncmp.c: Likewise.
17563         * benchtests/bench-strncpy.c: Likewise.
17564         * benchtests/bench-strnlen.c: Likewise.
17565         * benchtests/bench-strpbrk.c: Likewise.
17566         * benchtests/bench-strrchr.c: Likewise.
17567         * benchtests/bench-strspn.c: Likewise.
17568         * benchtests/bench-strstr.c: Likewise.
17569
17570 2013-09-04  Will Newton  <will.newton@linaro.org>
17571
17572         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17573
17574 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17575
17576         [BZ #15427]
17577         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17578         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17579         * math/libm-test.inc (lgamma_test_data): Add more tests.
17580         * sysdeps/i386/fpu/libm-test-ulps: Update.
17581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17582
17583 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17584
17585         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17587         Add ifunc.
17588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17589         Add strcmp-sse2-unaligned
17590         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17591
17592 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17593
17594         * Versions.def (libc): Add GLIBC_2.19.
17595
17596 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17597
17598         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17599         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17600
17601 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17602
17603         [BZ #14155]
17604         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17605         intermediate calculations in recurrence.
17606         (__ieee754_ynf): Likewise.
17607         * math/libm-test.inc (jn_test_data): Do not allow spurious
17608         underflow exception.  Add more tests.
17609         (yn_test_data): Add more tests.
17610         * sysdeps/i386/fpu/libm-test-ulps: Update.
17611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17612
17613 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17614
17615         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17616
17617 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17618
17619         * csu/init-first.c: Fix then/than typos.
17620         * locale/programs/ld-collate.c: Likewise.
17621         * locale/programs/linereader.h: Likewise.
17622         * manual/charset.texi: Likewise.
17623         * manual/filesys.texi: Likewise.
17624         * manual/stdio.texi: Likewise.
17625         * manual/string.texi: Likewise.
17626         * stdlib/fmtmsg.c: Likewise.
17627         * sysdeps/i386/stpncpy.S: Likewise.
17628         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17629         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17630         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17631         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17632
17633 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17634
17635         * elf/dl-open.c: Fix typos.
17636         * iconvdata/gbbig5.c: Likewise.
17637         * iconvdata/iso-2022-jp.c: Likewise.
17638         * iconv/gconv_int.h: Likewise.
17639         * iconv/loop.c: Likewise.
17640         * nis/rpcsvc/nis.h: Likewise.
17641         * resolv/ns_name.c: Likewise.
17642         * stdio-common/vfscanf.c: Likewise.
17643         * streams/stropts.h: Likewise.
17644         * sunrpc/rpc_thread.c: Likewise.
17645         * sysdeps/i386/strpbrk.S: Likewise.
17646         * sysdeps/ieee754/k_standard.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17649         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17650         * sysdeps/mach/hurd/profil.c: Likewise.
17651         * sysdeps/s390/dl-procinfo.h: Likewise.
17652         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17653         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17654         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17655         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17656         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17657
17658 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17659
17660         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17661         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17662
17663 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17664
17665         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17666         aix specific files.
17667         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17668         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17669         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17670         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17671         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17672         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17673         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17674         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17675
17676 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17677             Roland McGrath  <roland@hack.frob.com>
17678
17679         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17680         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17681
17682 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17683
17684         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17685         __executable_start symbol instead of _start.
17686
17687 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17688
17689         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17690         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17691         Move macros to...
17692         * sysdeps/gnu/ldsodefs.h: ... this new file.
17693
17694         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17695         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17696         instead of ELFOSABI_LINUX.
17697
17698         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17699         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17700         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17701         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17702         Likewise.
17703         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17704         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17705         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17706         Likewise.
17707         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17708         (ibm_extended_long_double): Add ieee_nan member.
17709         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17710         (do_test): New function.
17711
17712         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17713         TEST_TRUNC.
17714         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17715         functions, renamed from truncdfsf_test, trunctfsf_test,
17716         trunctfdf_test.
17717         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17718         functions.
17719         (do_test): Run all these.
17720
17721 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17722
17723         * argp/argp-help.c: Fix typos.
17724         * argp/argp-parse.c: Likewise.
17725         * debug/backtracesyms.c: Likewise.
17726         * elf/elf.h: Likewise.
17727         * malloc/malloc.c: Likewise.
17728         * nis/nis_print.c: Likewise.
17729         * resolv/res_comp.c: Likewise.
17730         * stdlib/stdlib.h: Likewise.
17731         * sunrpc/clnt_tcp.c: Likewise.
17732         * sunrpc/clnt_udp.c: Likewise.
17733         * sunrpc/clnt_unix.c: Likewise.
17734         * sysdeps/unix/bsd/ptsname.c: Likewise.
17735         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17736         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17738         Likewise.
17739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17740         Likewise.
17741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17742         Likewise.
17743         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17744
17745 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17746
17747         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17749
17750 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17751
17752         [BZ #15897]
17753         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17754         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17755         ($(objpfx)bug-dl-leaf): New rule.
17756         ($(objpfx)bug-dl-leaf.so): Likewise.
17757         ($(objpfx)bug-dl-leaf.out): Likewise.
17758         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17759         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17760         * dlfcn/bug-dl-leaf.c: New test.
17761         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17762         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17763         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17764         (dlclose): Likewise.
17765         (dlmopen): Likewise.
17766
17767 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17768
17769         * include/netdb.h [!_ISOMAC]:
17770         Don't include <tls.h>.
17771         (h_errno, __libc_h_errno): Move declaration and macros out of
17772         [_LIBC_REENTRANT].
17773
17774         * include/resolv.h [_RESOLV_H_]:
17775         Don't include <tls.h>.
17776         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17777         * resolv/res_libc.c: Don't include <tls.h>.
17778         (_res): Use __attribute__ ((nocommon)) in place of
17779         __attribute__ ((section (".bss"))).
17780
17781         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17782         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17783
17784         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17785
17786         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17787         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17788
17789         * resolv/res_mkquery.c: Include <sys/time.h>.
17790
17791         * inet/ifreq.c: Moved to ...
17792         * sysdeps/unix/ifreq.c: ... here.
17793         * inet/ifreq.c: New file, true stub version.
17794
17795         * socket/sa_len.c: New file.
17796         * socket/Makefile (aux): Add it.
17797         * sysdeps/unix/sysv/linux/Makefile
17798         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17799         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17800         and #include <socket/sa_len.c>.
17801         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17802         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17803
17804         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17805         * bits/socket.h: ... here.
17806
17807         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17808         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17809         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17810
17811 2013-08-27  Andreas Schwab  <schwab@suse.de>
17812
17813         [BZ #15736]
17814         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17815         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17816         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17817         * string/test-strcasecmp.c (test_main): Run tests in several
17818         locales.
17819         * string/test-strncasecmp.c (test_main): Likewise.
17820
17821         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17822         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17823         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17824         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17825         (__strncasecmp_ssse3) [PIC]: Likewise.
17826
17827 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17828
17829         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17830
17831         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17832         instead of explicitly declaring xdecrypt.
17833         * nis/nss_nis/nis-publickey.c: Likewise.
17834
17835 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17836
17837         [BZ #15890]
17838         * nscd/aicache.c: Include res_hconf.h.
17839         (addhstaiX): Initialize res_hconf.
17840
17841 2013-08-26  Andreas Schwab  <schwab@suse.de>
17842
17843         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17844         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17845
17846 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17847
17848         * nscd/aicache.c (addhstaiX): Fix indentation.
17849
17850 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17851
17852         * configure.ac: Quote $build_pt_chown test.
17853         * configure: Regenerated.
17854
17855 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17856
17857         [BZ #15532]
17858         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17859         * math/s_cexpf.c (__cexpf): Likewise.
17860         * math/s_cexpl.c (__cexpl): Likewise.
17861         * math/libm-test.inc (cexp_test_data): Correct expected return
17862         value for NaN + i0.  Add another test.
17863
17864 2013-08-22  David S. Miller  <davem@davemloft.net>
17865
17866         * po/ca.po: Update Catalan translation from translation project.
17867         * po/uk.po: Add Ukrainian translations from translation project.
17868
17869 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17870
17871         [BZ #15797]
17872         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17873         is infinite, not alongside NaN test.
17874         * math/s_fdimf.c (__fdimf): Likewise.
17875         * math/s_fdiml.c (__fdiml): Likewise.
17876         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17877         errno is unchanged.
17878
17879 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17880
17881         * argp/argp-help.c: Fix typos.
17882         * crypt/speeds.c: Likewise.
17883         * csu/check_fds.c: Likewise.
17884         * elf/dl-load.c: Likewise.
17885         * elf/dl-open.c: Likewise.
17886         * elf/reldep3.c: Likewise.
17887         * elf/reldep.c: Likewise.
17888         * elf/sprof.c: Likewise.
17889         * iconv/iconv_charmap.c: Likewise.
17890         * iconv/skeleton.c: Likewise.
17891         * iconv/strtab.c: Likewise.
17892         * io/lockf64.c: Likewise.
17893         * libio/libioP.h: Likewise.
17894         * resolv/gai_notify.c: Likewise.
17895         * resolv/ns_name.c: Likewise.
17896         * resolv/ns_samedomain.c: Likewise.
17897         * resolv/res_send.c: Likewise.
17898         * stdlib/random.c: Likewise.
17899         * sunrpc/rpc/xdr.h: Likewise.
17900         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17901         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17902         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17903         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17904         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17905         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17906         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17907         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17908         * sysdeps/mach/hurd/check_fds.c: Likewise.
17909         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17910         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17911         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17912         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17913         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17914         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17915         * sysdeps/pthread/aio_notify.c: Likewise.
17916         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17917         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17918         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17919         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17920         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17921
17922 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17923
17924         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17925         version if bit_Slow_SSE4_2 is set.
17926         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17927         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17928
17929 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17930
17931         [BZ #15867]
17932         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17933         trampoline stack frame information.
17934         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17935         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17936         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17937         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17938         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17939         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17940         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17941         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17942         sa_flags value.
17943         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17944         interrupting a syscall and set with option SA_SIGINFO.
17945
17946 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17947
17948         [BZ #15531]
17949         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17950         argument is infinite.
17951         * math/s_cprojf.c (__cprojf): Likewise.
17952         * math/s_cprojl.c (__cprojl): Likewise.
17953         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17954         * math/libm-test.inc (cproj_test_data): Add more tests.
17955
17956         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17957
17958         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17959         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17960         size.  Use __ffs to determine corresponding shift.
17961
17962 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17963             Roland McGrath  <roland@hack.frob.com>
17964
17965         * Makefile (INSTALL): Remove trailing blank lines from output of
17966         makeinfo.
17967
17968 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17969
17970         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17971         Align 32 bit compat elf_greg to 8 bytes.
17972
17973 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17974
17975         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17976
17977 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17978
17979         * string/strcoll_l.c (coll_seq): New structure.
17980         (get_next_seq_cached): New function.
17981         (get_next_seq): New function.
17982         (do_compare): New function.
17983         (STRCOLL): Use GNU style definition.  Simplify implementation
17984         by using get_next_seq, get_next_seq_cached and do_compare.
17985
17986 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17987
17988         [BZ #14699]
17989         CVE-2013-4237
17990         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17991         member.
17992         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17993         member.
17994         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17995         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17996         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17997         conditional.
17998         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17999         GETDENTS_64BIT_ALIGNED.
18000         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18001         * manual/filesys.texi (Reading/Closing Directory): Document
18002         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18003         strongly.
18004         * manual/conf.texi (Limits for Files): Add portability note to
18005         NAME_MAX, PATH_MAX.
18006         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18007
18008 2013-08-13  Andreas Schwab  <schwab@suse.de>
18009
18010         [BZ #15749]
18011         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18012         of fabs.
18013         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18014         LDBL_MAX_EXP >= 16384]: Add tests for it.
18015
18016 2013-08-12  David S. Miller  <davem@davemloft.net>
18017
18018         * version.h (RELEASE): Set to "development".
18019         (VERSION): Set to "2.18.90".
18020         * NEWS: Add 2.19 section.
18021
18022 2013-08-03  David S. Miller  <davem@davemloft.net>
18023
18024         * po/ko.po: Update Korean translation from translation project.
18025
18026 2013-08-01  David S. Miller  <davem@davemloft.net>
18027
18028         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18029         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18030         Bilka.
18031
18032 2013-07-30  David S. Miller  <davem@davemloft.net>
18033
18034         * po/fr.po: Update French translation from translation project.
18035
18036 2013-07-28  David S. Miller  <davem@davemloft.net>
18037
18038         * po/cs.po: Update Czech translation from translation project.
18039
18040         * po/sv.po: Update Swedish translation from translation project.
18041
18042 2013-07-27  David S. Miller  <davem@davemloft.net>
18043
18044         * po/eo.po: Update Esperanto translation from translation project.
18045
18046         * po/vi.po: Update Vietnamese translation from translation project.
18047
18048         * po/de.po: Update German translation from translation project.
18049
18050 2013-07-26  David S. Miller  <davem@davemloft.net>
18051
18052         * po/bg.po: Update Bulgarian translation from translation project.
18053
18054         * po/nl.po: Update Dutch translation from translation project.
18055         * po/pl.po: Update Polish translation from translation project.
18056         * po/ru.po: Update Russian translation from translation project.
18057
18058 2013-07-24  David S. Miller  <davem@davemloft.net>
18059
18060         * po/libc.pot: Update.
18061
18062 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18063
18064         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18065         variable page size.
18066         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18067         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18068         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18069
18070 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18071
18072         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18073
18074 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18075             Andreas Schwab  <schwab@suse.de>
18076             Roland McGrath  <roland@hack.frob.com>
18077             Joseph Myers  <joseph@codesourcery.com>
18078             Carlos O'Donell  <carlos@redhat.com>
18079
18080         [BZ #15755]
18081         * config.h.in: Define HAVE_PT_CHOWN.
18082         * config.make.in (build-pt-chown): New variable.
18083         * configure.in (--enable-pt_chown): New configure option.
18084         * configure: Regenerate.
18085         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18086         build-pt-chown is enabled.
18087         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18088         pt_chown to fix pty ownership.
18089         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18090         CLOSE_ALL_FDS.
18091         * manual/install.texi (Configuring and compiling): Mention
18092         --enable-pt_chown. Add @findex for grantpt.
18093         * INSTALL: Regenerate.
18094
18095 2013-07-20  David S. Miller  <davem@davemloft.net>
18096
18097         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18098         difference between 32-bit and 64-bit.
18099
18100 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18101
18102         [BZ #15711]
18103         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18104         Avoid system header dependency with -ffreestanding.
18105         ($(objpfx)bits/syscall%d): Likewise.
18106
18107 2013-07-13  David S. Miller  <davem@davemloft.net>
18108
18109         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18110         underflows from atanl/atan2l due to bug 15319.
18111         (casinh_test_data): Likewise.
18112
18113 2013-07-07  David S. Miller  <davem@davemloft.net>
18114
18115         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18116
18117 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18118
18119         * sysdeps/i386/fpu/libm-test-ulps: Update.
18120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18121
18122 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18123
18124         * configure.in (--enable-lock-elision): Fix message text.
18125         * INSTALL: Regenerate.
18126         * configure: Regenerate.
18127
18128 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18129
18130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18131
18132 2013-07-03  Andreas Jaeger  <aj@suse.de>
18133
18134         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18135         define.
18136         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18137         (ptrace_peeksiginfo_args): Add.
18138         (__ptrace_peeksiginfo_flags): Add.
18139         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18140         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18141         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18142
18143 2013-07-03  Allan McRae  <allan@archlinux.org>
18144
18145         * sysdeps/i386/fpu/libm-test-ulps: Update.
18146
18147 2013-07-02  David S. Miller  <davem@davemloft.net>
18148
18149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18150
18151 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18152
18153         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18154
18155 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18156
18157         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18159
18160 2013-07-02  Andi Kleen <ak@linux.intel.com>
18161
18162         * config.h.in (ENABLE_LOCK_ELISION): Add.
18163         * configure.in (--enable-lock-elision): Add option.
18164         * manual/install.texi: Document --enable lock elision.
18165         * configure: Regenerate
18166         * INSTALL: Regenerate.
18167
18168 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18169
18170         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18171         SSE4.2 strcasecmp for libc.a.
18172         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18173
18174 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18175
18176         [BZ #13304]
18177         * soft-fp/op-common.h (_FP_FMA): New macro.
18178         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18179         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18180         (_FP_MUL_MEAT_1_imm): ... here.
18181         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18182         (_FP_MUL_MEAT_1_wide): ... here.
18183         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18184         (_FP_MUL_MEAT_1_hard): ... here.
18185         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18186         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18187         (_FP_MUL_MEAT_2_wide): ... here.
18188         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18189         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18190         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18191         (_FP_MUL_MEAT_2_gmp): ... here.
18192         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18193         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18194         (_FP_MUL_MEAT_4_wide): ... here.
18195         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18196         (_FP_MUL_MEAT_4_gmp): ... here.
18197         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18198         (_FP_WFRACBITS_DW_S): Likewise.
18199         (_FP_WFRACXBITS_DW_S): Likewise.
18200         (_FP_HIGHBIT_DW_S): Likewise.
18201         (FP_FMA_S): Likewise.
18202         (_FP_FRAC_HIGH_DW_S): Likewise.
18203         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18204         (_FP_WFRACBITS_DW_D): Likewise.
18205         (_FP_WFRACXBITS_DW_D): Likewise.
18206         (_FP_HIGHBIT_DW_D): Likewise.
18207         (FP_FMA_D): Likewise.
18208         (_FP_FRAC_HIGH_DW_D): Likewise.
18209         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18210         (_FP_WFRACBITS_DW_E): Likewise.
18211         (_FP_WFRACXBITS_DW_E): Likewise.
18212         (_FP_HIGHBIT_DW_E): Likewise.
18213         (FP_FMA_E): Likewise.
18214         (_FP_FRAC_HIGH_DW_E): Likewise.
18215         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18216         (_FP_WFRACBITS_DW_Q): Likewise.
18217         (_FP_WFRACXBITS_DW_Q): Likewise.
18218         (_FP_HIGHBIT_DW_Q): Likewise.
18219         (FP_FMA_Q): Likewise.
18220         (_FP_FRAC_HIGH_DW_Q): Likewise.
18221         * soft-fp/fmasf4.c: New file.
18222         * soft-fp/fmadf4.c: Likewise.
18223         * soft-fp/fmatf4.c: Likewise.
18224
18225 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18226
18227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18228         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18229         Silvermont.
18230         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18231         macro.
18232         (index_Slow_SSE4_2): Likewise.
18233         (index_Prefer_PMINUB_for_stringop): Likewise.
18234         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18235         bit_Slow_SSE4_2 is set.
18236         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18237         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18238
18239 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18240
18241         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18242         rtld_global._dl_hwcap2.
18243         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18244         POWER8.
18245         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18246         POWER8 feature descriptions defined in _dl_hwcap2.
18247         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18248         string handling for POWER8 feature bits.
18249         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18250         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18251         _dl_powerpc_cap_flags.
18252         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18253         * sysdeps/powerpc/rtld-global-offsets.sym
18254         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18255         _dl_hwcap2 in the rtld_global_ro structure.
18256
18257 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18258
18259         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18260         hardware capabilities in support of AT_HWCAP2.
18261         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18262         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18263         GLRO(dl_hwcap2).
18264         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18265         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18266         explicitly the unknown a_type display mechanism is used.
18267         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18268         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18269         struct member.
18270         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18271         to macro prototype for AT_HWCAP2 support.
18272         * sysdeps/i386/dl-procinfo.h: Likewise.
18273         * sysdeps/s390/dl-procinfo.h: Likewise.
18274         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18275         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18276         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18277         return -1 for unknown a_type display fallback.
18278         * sysdeps/sparc/dl-procinfo.h: Likewise.
18279         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18280         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18281
18282 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18283
18284         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18285         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18286
18287 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18288
18289         [BZ #12492]
18290         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18291         mprotect making __stack_prot writable.
18292
18293 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18294             Joseph Myers  <joseph@codesourcery.com>
18295
18296         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18297         as being properly aligned.
18298
18299 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18300
18301         * dlfcn/modstatic5.c: New file.
18302         * dlfcn/tststatic5.c: New file.
18303         * dlfcn/Makefile (tests): Add tststatic5.
18304         (tests-static): Likewise.
18305         (modules-names): Add modstatic5.
18306         (tststatic5-ENV): New variable.
18307         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18308
18309         [BZ #15022]
18310         * elf/dl-support.c (_dl_main_map): New variable.
18311         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18312         (_dl_nns, _dl_load_adds): Set to 1.
18313         (_dl_initial_searchlist): Refer to _dl_main_map.
18314         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18315         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18316         call to _dl_get_origin.
18317         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18318         around call_map.
18319         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18320         * dlfcn/modstatic3.c: New file.
18321         * dlfcn/tststatic3.c: New file.
18322         * dlfcn/tststatic4.c: New file.
18323         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18324         (tests-static): Likewise.
18325         (modules-names): Add modstatic3.
18326         (tststatic3-ENV, tststatic4-ENV): New variables.
18327         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18328         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18329
18330 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18331
18332         * configure.in (CC): Require GCC version 4.4 or later.
18333         * configure: Regenerated.
18334         * manual/install.texi (Tools for Compilation): Update GCC version
18335         requirement.
18336         * INSTALL: Regenerated.
18337
18338 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18339
18340         [BZ #15674]
18341         * string/test-memcmp.c (check2): New.
18342         (main): Call check2.
18343
18344         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18345
18346 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18347
18348         [BZ #15022]
18349         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18350         over to...
18351         (dl_open_worker) [!SHARED]: ... here.
18352
18353 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18354
18355         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18356
18357 2013-06-25  Richard Henderson  <rth@redhat.com>
18358
18359         * locale/programs/locarchive.c: Include <libc-internal.h>
18360
18361 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18362
18363         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18364         trailing whitespace removed.
18365
18366 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18367
18368         [BZ #10283]
18369         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18370         * locale/programs/locarchive.c: Include libc-mmap.h.
18371         (prepare_address_space): Take two new outputs (the mmap base and len).
18372         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18373         values.
18374         (create_archive): Declare new mmap base and len values for
18375         prepare_address_space, and store the result in ah.
18376         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18377         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18378         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18379         Declare new mmap base and len values for
18380         prepare_address_space, and store the result in new_ah.
18381         (open_archive): Declare new mmap base and len values for
18382         prepare_address_space, and store the result in ah.
18383         (close_archive): If ah->mmap_base is not NULL, use that and
18384         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18385         * sysdeps/generic/libc-mmap.h: New file.
18386
18387 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18388
18389         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18390         (ALIGN_UP): Likewise.
18391         (PTR_ALIGN_DOWN): Likewise.
18392         (PTR_ALIGN_UP): Likewise.
18393
18394 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18395
18396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18397         entry mapped to PPC_PLATFORM_POWER8.
18398         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18399         POWER8.
18400         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18401         (_dl_string_platform): Add case for exporting platform position for
18402         POWER8.
18403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18404         search path to sysdeps/powerpc/powerpc32/power8 directory.
18405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18406         search path to sysdeps/powerpc/powerpc64/power8 directory.
18407         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18408         power7 directories.
18409         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18410         power7 directories.
18411
18412 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18413
18414         * INSTALL: Regenerate.
18415
18416         * nscd/connections.c (nscd_init): Fix comment.
18417
18418 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18419
18420         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18421
18422         [BZ #15667]
18423         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18424         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18425
18426 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18427
18428         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18429         DL_DST_REQ_STATIC.
18430         (DL_DST_REQ_STATIC): Remove macro.
18431
18432 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18433
18434         [BZ #7006]
18435         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18436         with a shift of 0 bits.
18437
18438 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18439
18440         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18441         $(tststatic-ENV).
18442
18443 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18444
18445         [BZ #15655]
18446         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18447
18448 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18449
18450         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18451         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18452         accepts -fno-tree-loop-distribute-patterns.
18453         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18454         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18455         recursive call.
18456         * string/memset.c (memset): Likewise.
18457         * string/test-memmove.c (simple_memmove): Disable loop transformation
18458         to library calls.
18459         * string/test-memset.c (simple_memset): Likewise.
18460         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18461         * benchtests/bench-memset.c (simple_memset): Likewise.
18462         * configure: Regenerated.
18463
18464 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18465
18466         * math/test-misc.c (main): Ignore fesetround failure when failures
18467         of subsequent rounding tests would be ignored.
18468
18469         [BZ #15654]
18470         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18471         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18472         * math/fegetenv.c (__fegetenv): Return 0.
18473         * math/fegetexcept.c (fegetexcept): Return 0.
18474         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18475         FE_TONEAREST.
18476         * math/feholdexcpt.c (feholdexcept): Return 0.
18477         * math/fesetenv.c (__fesetenv): Return 0.
18478         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18479         argument FE_TONEAREST.
18480         * math/feupdateenv.c (__feupdateenv): Return 0.
18481         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18482
18483 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18484
18485         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18486         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18487         ($(objpfx)rtld-%.os rules): Use them.
18488
18489 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18490
18491         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18492         fields.
18493
18494 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18495
18496         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18497         length of target pattern, then descending length of dependency pattern.
18498         * configure.in (AWK): Require gawk 3.1.2 or newer.
18499         * manual/install.texi (Tools for Compilation): Say that we do.
18500         * configure: Regenerated.
18501
18502         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18503         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18504         * scripts/sysd-rules.awk: ... this new script.
18505         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18506         than a glob-style pattern.
18507
18508 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18509
18510         * math/test-misc.c (main): Do not treat incorrectly rounded
18511         conversions as failure unless ROUNDING_TESTS passes.
18512
18513 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18514
18515         [BZ #15631]
18516         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18517         restore exception state around main square root computation, then
18518         check for inexactness explicitly.
18519
18520         * math/libm-test.inc (fma_test_data): Add another test.
18521
18522 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18523
18524         * manual/threads.texi (Non-POSIX Extensions): New document
18525         node.  Document pthread_getattr_default_np and
18526         pthread_setattr_default_np.
18527
18528         * Versions.def (libpthread): Add GLIBC_2.18.
18529         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18531         Likewise.
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18533         Likewise.
18534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18535         Likewise.
18536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18537         Likewise.
18538         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18539         Likewise.
18540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18541         Likewise.
18542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18543         Likewise.
18544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18545         Likewise.
18546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18547         Likewise.
18548
18549 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18550
18551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18552         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18553
18554 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18555             H.J. Lu  <hjl.tools@gmail.com>
18556
18557         [BZ #15627]
18558         * sysdeps/x86_64/rtld-memset.c: Remove file.
18559         * sysdeps/x86_64/rtld-memset.S: New file.
18560
18561 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18562
18563         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18564         (test_in_one_mode): Take arguments for whether the rounding mode
18565         is supported for each floating-point type.
18566         (do_test): Pass new arguments to test_in_one_mode using
18567         ROUNDING_TESTS.
18568
18569 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18570
18571         * posix/tst-waitid.c (do_test): Distinguish different instances of
18572         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18573         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18574         before entering the kernel for waitpid.
18575
18576 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18577
18578         * NEWS: Fix note on clock function precision.  Text by Roland
18579         McGrath.
18580
18581 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18582
18583         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18584         it into place only when and if the sanity check passes.
18585
18586 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18587
18588         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18589         output for whether conversion result is exact.  Take argument
18590         indicating whether type is IBM long double.
18591         (round_for_all): Change need_exact field to ibm_ld.
18592         * stdlib/tst-strtod-round.c (struct exactness): New type.
18593         (struct test): Change bool ld_ok field to struct exactness exact.
18594         (TEST): Update all definitions for change to field.
18595         (tests): Regenerate array contents.
18596         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18597         field value.  Check for IBM long double here.
18598         (do_test): Update calls to test_in_one_mode.
18599
18600 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18601
18602         [BZ #12515]
18603         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18604         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18605
18606 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18607
18608         [BZ #15605]
18609         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18610         generated by the compiler on loop optimizations.
18611         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18612         general definitions.
18613
18614 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18615
18616         * math/bug-nextafter.c: Include <math-tests.h>.
18617         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18618         the relevant type.
18619         * math/bug-nexttoward.c: Include <math-tests.h>.
18620         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18621         the relevant type.
18622         * math/test-misc.c: Include <math-tests.h>.
18623         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18624         the relevant type.
18625
18626 2013-06-12  Andreas Jaeger  <aj@suse.de>
18627
18628         * po/ia.po: Update Interlingua translation from translation
18629         project.
18630
18631 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18632
18633         * include/fenv.h: Include stdbool.h.
18634         (struct rm_ctx): New structure.
18635         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18636         Define macro.
18637         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18638         (SET_RESTORE_ROUNDF): Likewise.
18639         (SET_RESTORE_ROUNDL): Likewise.
18640         (SET_RESTORE_ROUND_NOEX): Likewise.
18641         (SET_RESTORE_ROUND_NOEXF): Likewise.
18642         (SET_RESTORE_ROUND_NOEXL): Likewise.
18643         (SET_RESTORE_ROUND_53BIT): Likewise.
18644         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18645         (libc_feresetround_noexf_ctx): Likewise.
18646         (libc_feresetround_noexl_ctx): Likewise.
18647         (libc_feholdsetround_53bit_ctx): Likewise.
18648         (libc_feresetround_53bit_ctx): Likewise.
18649         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18650         (libc_feholdexcept_setround_sse_ctx): New function.
18651         (libc_fesetenv_sse_ctx): Likewise.
18652         (libc_feupdateenv_sse_ctx): Likewise.
18653         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18654         (libc_feholdexcept_setround_387_ctx): Likewise.
18655         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18656         (libc_feholdsetround_387_prec_ctx): Likewise.
18657         (libc_feholdsetround_387_ctx): Likewise.
18658         (libc_feholdsetround_387_53bit_ctx): Likewise.
18659         (libc_feholdsetround_sse_ctx): Likewise.
18660         (libc_feresetround_sse_ctx): Likewise.
18661         (libc_feresetround_387_ctx): Likewise.
18662         (libc_feupdateenv_387_ctx): Likewise.
18663         (libc_feholdexcept_setroundf_ctx): Define macro.
18664         (libc_fesetenvf_ctx): Likewise.
18665         (libc_feupdateenvf_ctx): Likewise.
18666         (libc_feholdsetroundf_ctx): Likewise.
18667         (libc_feresetroundf_ctx): Likewise.
18668         (libc_feholdexcept_setround_ctx): Likewise.
18669         (libc_fesetenv_ctx): Likewise.
18670         (libc_feupdateenv_ctx): Likewise.
18671         (libc_feholdsetround_ctx): Likewise.
18672         (libc_feresetround_ctx): Likewise.
18673         (libc_feholdexcept_setroundl_ctx): Likewise.
18674         (libc_feupdateenvl_ctx): Likewise.
18675         (libc_feholdsetroundl_ctx): Likewise.
18676         (libc_feresetroundl_ctx): Likewise.
18677         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18678         (libc_feresetround_53bit_ctx): Likewise.
18679
18680 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18681
18682         * locale/iso-639.def: Convert to UTF-8.
18683
18684 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18685
18686         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18687         (EXCEPTION_TESTS_double): Likewise.
18688         (EXCEPTION_TESTS_long_double): Likewise.
18689         (EXCEPTION_TESTS): Likewise.
18690         * math/libm-test.inc (test_exceptions): Only test exceptions if
18691         EXCEPTION_TESTS (FLOAT).
18692
18693 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18694
18695         * benchtests/Makefile (string-bench): Add strcpy_chk and
18696         stpcpy_chk.
18697         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18698         * benchtests/bench-stpcpy_chk.c: New file.
18699         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18700         * benchtests/bench-strcpy_chk.c: New file.
18701         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18702         code.
18703         (do_test): Likewise.
18704
18705 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18706
18707         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18708         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18709         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18710         with tabs where appropriate.
18711         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18712         dl-procinfo.h.
18713         [PPC_PLATFORM_PPC440]: Likewise.
18714         [PPC_PLATFORM_PPC464]: Likewise.
18715         [PPC_PLATFORM_PPC476]: Likewise.
18716         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18717         ppc464, and ppc476 platform strings merging from ports/
18718         dl-procinfo.h.
18719
18720 2013-06-11  Andreas Schwab  <schwab@suse.de>
18721
18722         [BZ #14991]
18723         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18724         (from_ucs4_idx): Regenerate.
18725         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18726         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18727         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18728         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18729         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18730         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18731         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18732         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18733         from FROM_LOOP and TO_LOOP specific macros.
18734         (BODY): Handle combining characters.
18735         * iconvdata/BIG5HKSCS.irreversible: Update.
18736         * iconvdata/BIG5HKSCS.precomposed: New file.
18737         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18738         characters.
18739         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18740
18741 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18742
18743         * include/sys/time.h: Fix indentation and add copyright header.
18744
18745         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18746         (do_test): Likewise.
18747         * string/test-memchr.c (do_one_test): Likewise.
18748         (do_test): Likewise.
18749         * string/test-memcmp.c (do_one_test): Likewise.
18750         (do_test): Likewise.
18751         * string/test-memcpy.c (do_one_test): Likewise.
18752         (do_test): Likewise.
18753         * string/test-memmem.c (do_one_test): Likewise.
18754         (do_test): Likewise.
18755         (do_random_tests): Likewise.
18756         * string/test-memmove.c (do_one_test): Likewise.
18757         (do_test): Likewise.
18758         * string/test-memset.c (do_one_test): Likewise.
18759         (do_test): Likewise.
18760         * string/test-rawmemchr.c (do_one_test): Likewise.
18761         (do_test): Likewise.
18762         * string/test-strcasecmp.c (do_one_test): Likewise.
18763         (do_test): Likewise.
18764         * string/test-strcasestr.c (do_one_test): Likewise.
18765         (do_test): Likewise.
18766         * string/test-strcat.c (do_one_test): Likewise.
18767         (do_test): Likewise.
18768         * string/test-strchr.c (do_one_test): Likewise.
18769         (do_test): Likewise.
18770         * string/test-strcmp.c (do_one_test): Likewise.
18771         (do_test): Likewise.
18772         * string/test-strcpy.c (do_one_test): Likewise.
18773         (do_test): Likewise.
18774         * string/test-string.h: Likewise.
18775         (test_init): Likewise.
18776         * string/test-strlen.c (do_one_test): Likewise.
18777         (do_test): Likewise.
18778         * string/test-strncasecmp.c (do_one_test): Likewise.
18779         (do_test): Likewise.
18780         * string/test-strncat.c (do_one_test): Likewise.
18781         (do_test): Likewise.
18782         * string/test-strncmp.c (do_one_test): Likewise.
18783         (do_test_limit): Likewise.
18784         (do_test): Likewise.
18785         * string/test-strncpy.c (do_one_test): Likewise.
18786         (do_test): Likewise.
18787         * string/test-strnlen.c (do_one_test): Likewise.
18788         (do_test): Likewise.
18789         * string/test-strpbrk.c (do_one_test): Likewise.
18790         (do_test): Likewise.
18791         * string/test-strrchr.c (do_one_test): Likewise.
18792         (do_test): Likewise.
18793         * string/test-strspn.c (do_one_test): Likewise.
18794         (do_test): Likewise.
18795         * string/test-strstr.c (do_one_test): Likewise.
18796         (do_test): Likewise.
18797
18798         * benchtests/Makefile (string-bench): Add string benchmarks.
18799         * benchtests/bench-bcopy-ifunc.c: New file.
18800         * benchtests/bench-bcopy.c: New file.
18801         * benchtests/bench-bzero-ifunc.c: New file.
18802         * benchtests/bench-bzero.c: New file.
18803         * benchtests/bench-memccpy-ifunc.c: New file.
18804         * benchtests/bench-memccpy.c: New file.
18805         * benchtests/bench-memchr-ifunc.c: New file.
18806         * benchtests/bench-memchr.c: New file.
18807         * benchtests/bench-memcmp-ifunc.c: New file.
18808         * benchtests/bench-memcmp.c: New file.
18809         * benchtests/bench-memmem-ifunc.c: New file.
18810         * benchtests/bench-memmem.c: New file.
18811         * benchtests/bench-memmove-ifunc.c: New file.
18812         * benchtests/bench-memmove.c: New file.
18813         * benchtests/bench-mempcpy-ifunc.c: New file.
18814         * benchtests/bench-mempcpy.c: New file.
18815         * benchtests/bench-memset-ifunc.c: New file.
18816         * benchtests/bench-memset.c: New file.
18817         * benchtests/bench-rawmemchr-ifunc.c: New file.
18818         * benchtests/bench-rawmemchr.c: New file.
18819         * benchtests/bench-stpcpy-ifunc.c: New file.
18820         * benchtests/bench-stpcpy.c: New file.
18821         * benchtests/bench-stpncpy-ifunc.c: New file.
18822         * benchtests/bench-stpncpy.c: New file.
18823         * benchtests/bench-strcasecmp-ifunc.c: New file.
18824         * benchtests/bench-strcasecmp.c: New file.
18825         * benchtests/bench-strcasestr-ifunc.c: New file.
18826         * benchtests/bench-strcasestr.c: New file.
18827         * benchtests/bench-strcat-ifunc.c: New file.
18828         * benchtests/bench-strcat.c: New file.
18829         * benchtests/bench-strchr-ifunc.c: New file.
18830         * benchtests/bench-strchr.c: New file.
18831         * benchtests/bench-strchrnul-ifunc.c: New file.
18832         * benchtests/bench-strchrnul.c: New file.
18833         * benchtests/bench-strcmp-ifunc.c: New file.
18834         * benchtests/bench-strcmp.c: New file.
18835         * benchtests/bench-strcpy-ifunc.c: New file.
18836         * benchtests/bench-strcpy.c: New file.
18837         * benchtests/bench-strcspn-ifunc.c: New file.
18838         * benchtests/bench-strcspn.c: New file.
18839         * benchtests/bench-strlen-ifunc.c: New file.
18840         * benchtests/bench-strlen.c: New file.
18841         * benchtests/bench-strncasecmp-ifunc.c: New file.
18842         * benchtests/bench-strncasecmp.c: New file.
18843         * benchtests/bench-strncat-ifunc.c: New file.
18844         * benchtests/bench-strncat.c: New file.
18845         * benchtests/bench-strncmp-ifunc.c: New file.
18846         * benchtests/bench-strncmp.c: New file.
18847         * benchtests/bench-strncpy-ifunc.c: New file.
18848         * benchtests/bench-strncpy.c: New file.
18849         * benchtests/bench-strnlen-ifunc.c: New file.
18850         * benchtests/bench-strnlen.c: New file.
18851         * benchtests/bench-strpbrk-ifunc.c: New file.
18852         * benchtests/bench-strpbrk.c: New file.
18853         * benchtests/bench-strrchr-ifunc.c: New file.
18854         * benchtests/bench-strrchr.c: New file.
18855         * benchtests/bench-strspn-ifunc.c: New file.
18856         * benchtests/bench-strspn.c: New file.
18857         * benchtests/bench-strstr-ifunc.c: New file.
18858         * benchtests/bench-strstr.c: New file.
18859
18860         * benchtests/Makefile: Disable parallel execution of targets.
18861         (string-bench): Add memcpy.
18862         (benchset): New variable to store a list of benchmark sets.
18863         (bench-func): Renamed from bench.
18864         (bench-set): New target.
18865         (bench): Depend on bench-func and bench-set.
18866         * benchtests/README: Add section on benchmark sets.
18867         * benchtests/bench-memcpy-ifunc.c: New file.
18868         * benchtests/bench-memcpy.c: New file.
18869         * benchtests/bench-string.h: New file.
18870
18871 2013-06-11  Andreas Schwab  <schwab@suse.de>
18872
18873         [BZ #15577]
18874         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18875         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18876         values in the triple.
18877         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18878         terminator in the group key.
18879
18880 2013-06-11  Andreas Jaeger  <aj@suse.de>
18881
18882         * po/zh_TW.po: Update Chinese (traditional) translation from
18883         translation project.
18884
18885 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18886
18887         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18888         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18889         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18890         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18891         (clock_getcpuclockid): Likewise.
18892         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18893         Add weak_alias and libc_hidden_def.
18894         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18895         * rt/clock_gettime.c (clock_gettime): Rename to
18896         __clock_gettime.  Add weak_alias and libc_hidden_def.
18897         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18898         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18899         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18900         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18901         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18902         Likewise.
18903         * rt/clock_settime.c (clock_settime): Rename to
18904         __clock_settime.  Add weak_alias and libc_hidden_def.
18905         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18906
18907 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18908
18909         * mach/err_boot.sub: Remove trailing whitespace.
18910         * mach/err_ipc.sub: Likewise.
18911         * mach/err_mach.sub: Likewise.
18912
18913         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18914         (ROUNDING_TESTS_double): Likewise.
18915         (ROUNDING_TESTS_long_double): Likewise.
18916         (ROUNDING_TESTS): Likewise.
18917         * math/libm-test.inc: Include <math-tests.h>.
18918         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18919         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18920         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18921         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18922
18923 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18924
18925         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18926         of assigning.
18927
18928 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18929
18930         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18931         otherwise empty TRANS lines.
18932         * sysdeps/gnu/errlist.c: Regenerated.
18933
18934         * catgets/gencat.c (error_print): Use (void) in function
18935         definition.
18936         * crypt/crypt_util.c (__init_des): Likewise.
18937         * crypt/speeds.c (Stop): Likewise.
18938         (main): Likewise.
18939         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18940         * inet/ruserpass.c (token): Likewise.
18941         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18942         * intl/localealias.c (extend_alias_table): Likewise.
18943         * intl/plural-exp.c (init_germanic_plural): Likewise.
18944         * libio/fcloseall.c (__fcloseall): Likewise.
18945         * libio/genops.c (_IO_flush_all): Likewise.
18946         (_IO_flush_all_linebuffered): Likewise.
18947         (_IO_cleanup): Likewise.
18948         (_IO_iter_begin): Likewise.
18949         (_IO_iter_end): Likewise.
18950         (_IO_list_lock): Likewise.
18951         (_IO_list_unlock): Likewise.
18952         (_IO_list_resetlock): Likewise.
18953         * libio/getchar.c (getchar): Likewise.
18954         * libio/getchar_u.c (getchar_unlocked): Likewise.
18955         * libio/getwchar.c (getwchar): Likewise.
18956         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18957         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18958         * login/getpt.c (__getpt): Likewise.
18959         * login/tst-utmp.c (main): Likewise.
18960         * malloc/hooks.c (__malloc_check_init): Likewise.
18961         * malloc/malloc.c (__malloc_stats): Likewise.
18962         * malloc/mtrace.c (tr_break): Likewise.
18963         (mtrace): Likewise.
18964         (muntrace): Likewise.
18965         * misc/fstab.c (endfsent): Likewise.
18966         * misc/getclktck.c (__getclktck): Likewise.
18967         * misc/getdtsz.c (__getdtablesize): Likewise.
18968         * misc/gethostid.c (gethostid): Likewise.
18969         * misc/getpagesize.c (__getpagesize): Likewise.
18970         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18971         (__get_nprocs): Likewise.
18972         (__get_phys_pages): Likewise.
18973         (__get_avphys_pages): Likewise.
18974         * misc/getttyent.c (getttyent): Likewise.
18975         (setttyent): Likewise.
18976         (endttyent): Likewise.
18977         * misc/getusershell.c (getusershell): Likewise.
18978         (endusershell): Likewise.
18979         (setusershell): Likewise.
18980         (initshells): Likewise.
18981         * misc/hsearch.c (__hdestroy): Likewise.
18982         * misc/sync.c (sync): Likewise.
18983         * misc/syslog.c (closelog_internal): Likewise.
18984         (closelog): Likewise.
18985         * misc/ttyslot.c (ttyslot): Likewise.
18986         * misc/vhangup.c (vhangup): Likewise.
18987         * posix/fork.c (__fork): Likewise.
18988         * posix/getegid.c (__getegid): Likewise.
18989         * posix/geteuid.c (__geteuid): Likewise.
18990         * posix/getgid.c (__getgid): Likewise.
18991         * posix/getpid.c (__getpid): Likewise.
18992         * posix/getppid.c (__getppid): Likewise.
18993         * posix/getuid.c (__getuid): Likewise.
18994         * posix/pause.c (pause): Likewise.
18995         * posix/setpgrp.c (setpgrp): Likewise.
18996         * posix/setsid.c (__setsid): Likewise.
18997         * posix/test-vfork.c (noop): Likewise.
18998         * resolv/gethnamaddr.c (_endhtent): Likewise.
18999         (_gethtent): Likewise.
19000         (ht_endhostent): Likewise.
19001         (gethostent): Likewise.
19002         (dns_service): Likewise.
19003         * stdlib/drand48.c (drand48): Likewise.
19004         * stdlib/lrand48.c (lrand48): Likewise.
19005         * stdlib/mrand48.c (mrand48): Likewise.
19006         * stdlib/rand.c (rand): Likewise.
19007         * stdlib/random.c (__random): Likewise.
19008         * stdlib/setenv.c (clearenv): Likewise.
19009         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19010         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19011         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19012         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19013         (__get_nprocs): Likewise.
19014         (__get_phys_pages): Likewise.
19015         (__get_avphys_pages): Likewise.
19016         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19017         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19018         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19019         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19020         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19021         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19022         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19023         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19024         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19025         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19026         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19027         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19028         * sysdeps/posix/clock.c (clock): Likewise.
19029         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19030         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19031         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19032         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19033         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19034         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19035         (__get_nprocs_conf): Likewise.
19036         (__get_phys_pages): Likewise.
19037         (__get_avphys_pages): Likewise.
19038         * time/clock.c (clock): Likewise.
19039         * time/tzset.c (__tzname_max): Likewise.
19040
19041 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19042
19043         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19044         (__bswap_32): Do not use "register".
19045         * crypt/crypt.c (_ufc_doit_r): Likewise.
19046         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19047         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19048         * gmon/gmon.c (__monstartup): Likewise.
19049         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19050         * hurd/hurdmalloc.c (more_memory): Likewise.
19051         (malloc): Likewise.
19052         (free): Likewise.
19053         (realloc): Likewise.
19054         (malloc_fork_prepare): Likewise.
19055         (malloc_fork_parent): Likewise.
19056         (malloc_fork_child): Likewise.
19057         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19058         (_svcauth_des): Likewise.
19059         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19060         * inet/inet_net.c (inet_network): Likewise.
19061         * inet/inet_netof.c (inet_netof): Likewise.
19062         * inet/rcmd.c (__validuser2_sa): Likewise.
19063         * io/fts.c (fts_open): Likewise.
19064         (fts_load): Likewise.
19065         (fts_close): Likewise.
19066         (fts_read): Likewise.
19067         (fts_children): Likewise.
19068         (fts_build): Likewise.
19069         (fts_stat): Likewise.
19070         (fts_sort): Likewise.
19071         (fts_alloc): Likewise.
19072         (fts_lfree): Likewise.
19073         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19074         (_IO_file_xsgetn): Likewise.
19075         (_IO_file_xsgetn_mmap): Likewise.
19076         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19077         (_IO_cookie_write): Likewise.
19078         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19079         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19080         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19081         * malloc/obstack.c (_obstack_begin): Likewise.
19082         (_obstack_begin_1): Likewise.
19083         (_obstack_newchunk): Likewise.
19084         (_obstack_allocated_p): Likewise.
19085         (obstack_free): Likewise.
19086         (_obstack_memory_used): Likewise.
19087         * misc/getttyent.c (getttynam): Likewise.
19088         (getttyent): Likewise.
19089         (skip): Likewise.
19090         (value): Likewise.
19091         * misc/getusershell.c (initshells): Likewise.
19092         * misc/syslog.c (__vsyslog_chk): Likewise.
19093         * misc/ttyslot.c (ttyslot): Likewise.
19094         * nis/nis_hash.c (__nis_hash): Likewise.
19095         * posix/fnmatch_loop.c (FCT): Likewise.
19096         * posix/getconf.c (print_all): Likewise.
19097         (main): Likewise.
19098         * posix/getopt.c (exchange): Likewise.
19099         * posix/glob.c (globfree): Likewise.
19100         (prefix_array): Likewise.
19101         (__glob_pattern_type): Likewise.
19102         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19103         (NS_GET32): Likewise.
19104         (NS_PUT16): Likewise.
19105         (NS_PUT32): Likewise.
19106         * resolv/gethnamaddr.c (getanswer): Likewise.
19107         (gethostbyname2): Likewise.
19108         (gethostbyaddr): Likewise.
19109         (_gethtent): Likewise.
19110         (_gethtbyname2): Likewise.
19111         (_gethtbyaddr): Likewise.
19112         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19113         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19114         * resolv/res_init.c (__res_vinit): Likewise.
19115         (net_mask): Likewise.
19116         * resolv/res_mkquery.c (outchar): Likewise.
19117         (PRINT): Likewise.
19118         * stdio-common/printf_fp.c (outchar): Likewise.
19119         (PRINT): Likewise.
19120         * stdio-common/printf_fphex.c (outchar): Likewise.
19121         (PRINT): Likewise.
19122         * stdio-common/printf_size.c (outchar): Likewise.
19123         (PRINT): Likewise.
19124         * stdio-common/test_rdwr.c (main): Likewise.
19125         * stdio-common/tfformat.c (matches): Likewise.
19126         * stdio-common/vfprintf.c (outchar): Likewise.
19127         (printf_unknown): Likewise.
19128         (buffered_vfprintf): Likewise.
19129         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19130         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19131         (ReadFile): Likewise.
19132         * stdlib/qsort.c (SWAP): Likewise.
19133         (_quicksort): Likewise.
19134         * stdlib/setenv.c (__add_to_environ): Likewise.
19135         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19136         * stdlib/strtol_l.c (__strtol_l): Likewise.
19137         * stdlib/tst-strtod.c (main): Likewise.
19138         * stdlib/tst-strtol.c (main): Likewise.
19139         * stdlib/tst-strtoll.c (main): Likewise.
19140         * string/bits/string2.h (__strcmp_cc): Likewise.
19141         (__strcmp_cg): Likewise.
19142         (__strcspn_c1): Likewise.
19143         (__strcspn_c2): Likewise.
19144         (__strcspn_c3): Likewise.
19145         (__strspn_c1): Likewise.
19146         (__strspn_c2): Likewise.
19147         (__strspn_c3): Likewise.
19148         (__strsep_1c): Likewise.
19149         (__strsep_2c): Likewise.
19150         (__strsep_3c): Likewise.
19151         * string/memccpy.c (__memccpy): Likewise.
19152         * string/stpcpy.c (__stpcpy): Likewise.
19153         * string/strcmp.c (strcmp): Likewise.
19154         * string/strrchr.c (strrchr): Likewise.
19155         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19156         Likewise.
19157         * sysdeps/mach/hurd/getcwd.c
19158         (_hurd_canonicalize_directory_name_internal): Likewise.
19159         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19160         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19161         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19162         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19163         Likewise, in both definitions.
19164         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19165         definitions.
19166         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19167         64] (__bswap_64): Likewise.
19168         * time/test_time.c (main): Likewise.
19169         * time/tzfile.c (__tzfile_read): Likewise.
19170         (__tzfile_compute): Likewise.
19171         * time/tzset.c (__tzset_parse_tz): Likewise.
19172         (tzset_internal): Likewise.
19173         (compute_change): Likewise.
19174         * wcsmbs/wcscat.c (__wcscat): Likewise.
19175         * wcsmbs/wcschr.c (wcschr): Likewise.
19176         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19177         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19178         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19179         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19180         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19181         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19182         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19183         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19184         * wcsmbs/wmemset.c (wmemset): Likewise.
19185
19186 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19187
19188         * scripts/config.guess: Update to version 2013-05-16.
19189         * scripts/config.sub: Update to version 2013-04-24.
19190         * scripts/install-sh: Update to version 2011-11-20.07.
19191         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19192         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19193
19194 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19195
19196         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19197         * elf/sln.c: Likewise.
19198         * hurd/hurd/ioctl.h: Likewise.
19199         * hurd/hurdmalloc.c: Likewise.
19200         * hurd/xattr.c: Likewise.
19201         * include/shlib-compat.h: Likewise.
19202         * inet/ruserpass.c: Likewise.
19203         * libio/iofgets_u.c: Likewise.
19204         * libio/iofgetws_u.c: Likewise.
19205         * locale/programs/ld-identification.c: Likewise.
19206         * locale/programs/ld-time.c: Likewise.
19207         * mach/msg-destroy.c: Likewise.
19208         * nss/nss_files/files-netgrp.c: Likewise.
19209         * resolv/res_data.c: Likewise.
19210         * soft-fp/op-1.h: Likewise.
19211         * soft-fp/op-2.h: Likewise.
19212         * soft-fp/op-4.h: Likewise.
19213         * soft-fp/op-common.h: Likewise.
19214         * stdio-common/printf_fphex.c: Likewise.
19215         * stdlib/strtod_l.c: Likewise.
19216         * sunrpc/rpc/clnt.h: Likewise.
19217         * sysdeps/generic/framestate.c: Likewise.
19218         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19219         * sysdeps/i386/bsd-setjmp.S: Likewise.
19220         * sysdeps/i386/__longjmp.S: Likewise.
19221         * sysdeps/i386/setjmp.S: Likewise.
19222         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19223         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19224         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19225         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19227         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19228         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19229         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19230         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19231         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19232         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19233         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19234         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19235         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19236         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19237         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19238         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19239         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19240         * sysdeps/ieee754/support.c: Likewise.
19241         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19242         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19243         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19244         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19245         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19246         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19247         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19248         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19249         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19250         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19251         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19252         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19253         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19254         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19255         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19256         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19257         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19259
19260 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19261
19262         * posix/transbug.c: Remove executable mode.
19263
19264 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19265
19266         * crypt/speeds.c: Remove trailing whitespace.
19267         * dlfcn/default.c: Likewise.
19268         * elf/ifuncdep2.c: Likewise.
19269         * elf/ifuncmain1.c: Likewise.
19270         * elf/ifuncmain1vis.c: Likewise.
19271         * elf/testobj.h: Likewise.
19272         * elf/tst-stackguard1.c: Likewise.
19273         * gmon/sys/gmon.h: Likewise.
19274         * hurd/hurdmsg.c: Likewise.
19275         * hurd/new-fd.c: Likewise.
19276         * hurd/ports-get.c: Likewise.
19277         * iconvdata/ibm1008_420.c: Likewise.
19278         * inet/tst-getni1.c: Likewise.
19279         * inet/tst-getni2.c: Likewise.
19280         * libio/ioungetc.c: Likewise.
19281         * libio/wfiledoalloc.c: Likewise.
19282         * manual/libm-err-tab.pl: Likewise.
19283         * math/w_dremf.c: Likewise.
19284         * misc/ftruncate.c: Likewise.
19285         * posix/bug-glob2.c: Likewise.
19286         * posix/tst-pcre.c: Likewise.
19287         * posix/wait4.c: Likewise.
19288         * resolv/README: Likewise.
19289         * resolv/res_debug.h: Likewise.
19290         * resolv/tst-inet_ntop.c: Likewise.
19291         * setjmp/bug269-setjmp.c: Likewise.
19292         * soft-fp/extended.h: Likewise.
19293         * soft-fp/op-1.h: Likewise.
19294         * soft-fp/op-2.h: Likewise.
19295         * soft-fp/op-4.h: Likewise.
19296         * soft-fp/op-8.h: Likewise.
19297         * soft-fp/testit.c: Likewise.
19298         * stdio-common/bug16.c: Likewise.
19299         * stdlib/random.c: Likewise.
19300         * sunrpc/rpcsvc/rquota.x: Likewise.
19301         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19302         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19303         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19304         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19305         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19306         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19307         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19308         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19309         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19310         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19311         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19312         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19313         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19314         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19315         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19316         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19317         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19318         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19319         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19320         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19321         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19322         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19323         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19324         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19325         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19326         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19327         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19328         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19329         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19330         * sysdeps/ieee754/s_lib_version.c: Likewise.
19331         * sysdeps/mach/hurd/check_fds.c: Likewise.
19332         * sysdeps/mach/hurd/getsockname.c: Likewise.
19333         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19334         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19335         * sysdeps/powerpc/bits/link.h: Likewise.
19336         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19337         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19338         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19339         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19340         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19341         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19342         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19343         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19344         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19345         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19346         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19347         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19348         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19349         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19350         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19351         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19352         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19353         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19354         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19355         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19356         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19357         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19358         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19359         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19360         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19361         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19362         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19363         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19364         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19365         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19366         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19367         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19368         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19369         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19370         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19371         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19372         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19373         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19374         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19375         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19376         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19377         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19378         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19379         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19380         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19381         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19382         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19383         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19384         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19385         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19386         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19387         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19388         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19389         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19390         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19391         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19392         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19393         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19394         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19395         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19396         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19397         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19398         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19399         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19400         * sysdeps/powerpc/sysdep.h: Likewise.
19401         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19402         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19403         * sysdeps/sh/dl-trampoline.S: Likewise.
19404         * sysdeps/sh/memset.S: Likewise.
19405         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19406         * sysdeps/sh/strlen.S: Likewise.
19407         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19408         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19409         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19410         * sysdeps/sparc/sparc32/rem.S: Likewise.
19411         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19412         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19413         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19414         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19415         * sysdeps/sparc/sparc32/urem.S: Likewise.
19416         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19417         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19418         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19419         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19420         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19421         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19422         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19423         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19424         * sysdeps/unix/bsd/times.c: Likewise.
19425         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19426         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19430         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19431         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19432         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19433         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19434         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19435         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19436         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19437         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19438         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19439         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19440         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19441         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19442         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19443         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19444         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19445         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19446         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19447         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19448         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19449         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19450         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19451         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19452         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19453         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19454         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19455         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19456         * sysdeps/x86_64/strcspn.S: Likewise.
19457
19458 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19459
19460         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19461         generated file.  Regenerate properly from gen-translit.pl.
19462         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19463         locale/C-translit.h.
19464
19465 2013-06-05  Andreas Schwab  <schwab@suse.de>
19466
19467         [BZ #15100]
19468         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19469         week as 6 instead of -1.
19470         * time/tst-strptime.c (day_tests): Add test case.
19471
19472 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19473
19474         * sysdeps/generic/math_private.h
19475         (libc_feholdexcept_setround_53bit): Replace with
19476         libc_feholdsetround_53bit.
19477         (libc_feupdateenv_53bit): Replace with
19478         libc_feresetround_53bit.
19479         (SET_RESTORE_ROUND_53BIT): Adjust.
19480
19481 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19482
19483         * string/test-strchrnul.c: Add copyright header.
19484
19485         * posix/tst-getaddrinfo4.c: Increase test timeout.
19486
19487 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19488
19489         [BZ #15536]
19490         * math/libm-test.inc (MAX_EXP): Remove
19491         (MIN_EXP): Define.
19492         (ulp): Use MIN_EXP - MANT_DIG.
19493         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19494
19495 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19496
19497         * po/be.po: Revert last change.
19498         * po/zh_CN.po: Likewise.
19499         * po/header.pot: Likewise.
19500
19501 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19502
19503         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19504         link-libc-deps to empty as target-specific variable.
19505         * Makerules (link-libc-args): New variable.
19506         (libc-for-link): Likewise.
19507         (link-libc-deps): Likewise.
19508         (lib%.so): Depend on $(link-libc-deps).  Link with
19509         $(link-libc-args).
19510         (build-module): Link with $(link-libc-args).
19511         (build-module-asneeded): Likewise.
19512         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19513         list of objects.
19514         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19515         target-specific variable.
19516         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19517         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19518         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19519         libc.
19520         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19521         libc and ld.so.
19522         ($(objpfx)libpcprofile.so): Likewise.
19523         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19524         libc_nonshared.a.
19525         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19526         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19527         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19528         $(link-libc-deps).
19529         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19530         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19531         * login/Makefile ($(objpfx)libutil.so): Likewise.
19532         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19533         * math/Makefile ($(objpfx)libm.so): Likewise.
19534         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19535         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19536         variable instead of depending directly on libc.
19537         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19538         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19539         $(link-libc-deps).
19540         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19541         libc.
19542         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19543         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19544         ($(objpfx)libanl.so): Likewise.
19545         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19546         ld.so.
19547         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19548         $(link-libc-deps).
19549         * sysdeps/i386/fpu/Makefile: Remove file.
19550         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19551         ($(objpfx)libm.so): Remove dependency on ld.so.
19552
19553 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19554
19555         [BZ # 15553]
19556         * nis/yp_xdr.c (XDRMAXNAME): Define.
19557         (XDRMAXRECORD): Define.
19558         (xdr_domainname): Use XDRMAXNAME.
19559         (xdr_mapname): Likewise.
19560         (xdr_peername): Likewise.
19561         (xdr_keydat): Use XDRMAXRECORD.
19562         (xdr_valdat): Likewise.
19563
19564 2013-05-30  Jeff Law  <law@redhat.com>
19565
19566         [BZ #14256]
19567         * manual/errno.texi (ESTALE): Update to account for more than
19568         just NFS file systems.
19569         * sysdeps/gnu/errlist.c: Regenerated.
19570
19571 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19572
19573         [BZ #15465]
19574         * elf/Makefile (tests): Add tst-null-argv.
19575         (modules-names):  Add tst-null-argv-lib.
19576         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19577         (tst-null-argv-ENV): Set environment for tst-null-argv.
19578         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19579         (RTLD_PROGNAME): New macro.
19580         * elf/tst-null-argv.c: New test case.
19581         * elf/tst-null-argv-lib.c: Library for test case.
19582         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19583         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19584         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19585         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19586         * elf/dl-init.c (call_init): Likewise.
19587         (_dl_init): Likewise.
19588         * elf/dl-load.c (print_search_path): Likewise.
19589         (_dl_map_object): Likewise.
19590         * elf/dl-lookup.c (do_lookup_x): Likewise.
19591         (add_dependency): Likewise.
19592         (_dl_lookup_symbol_x): Likewise.
19593         (_dl_debug_bindings): Likewise.
19594         * elf/dl-open.c (_dl_show_scope): Likewise.
19595         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19596         * elf/dl-version.c (match_symbol): Likewise.
19597         (_dl_check_map_versions): Likewise.
19598         * elf/rtld.c (dl_main): Likewise.
19599         (print_unresolved): Use RTLD_PROGNAME.
19600         (print_missing_version): Likewise.
19601         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19602         (elf_machine_rela): Likewise.
19603         * sysdeps/powerpc/powerpc32/dl-machine.c
19604         (__process_machine_rela): Likewise.
19605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19606         Likewise.
19607         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19608         Likewise.
19609         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19610         Likewise.
19611         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19612         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19613         Likewise.
19614         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19615         Likewise.
19616         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19617
19618 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19619
19620         * po/be.po: Add descriptive title.
19621         * po/zh_CN.po: Likewise.
19622         * po/header.pot: Likewise.
19623
19624 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19625
19626         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19627         error message.
19628         (enlarge_archive): Likewise.
19629
19630 2013-05-28  Ben North  <ben@redfrontdoor.org>
19631
19632         * manual/arith.texi (frexp): It is the magnitude of the return
19633         value which lies in [0.5, 1), not the return value itself.
19634
19635 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19636
19637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19638
19639 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19640
19641         * stdio-common/bug26.c (main): Correct fscanf template.
19642
19643         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19644         declare _dl_skip_args.
19645
19646         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19647         Don't declare.
19648
19649         * manual/platform.texi: Add missing @end deftypefun.
19650
19651 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19652
19653         [BZ #15529]
19654         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19655         bit of mantissa of 2^16382.
19656         * math/libm-test.inc (hypot_test_data): Add more tests.
19657
19658         * math/libm-test.inc: Add drem and pow10 to list of tested
19659         functions.
19660         (pow10_test): New function.
19661         (drem_test): Likewise.
19662         (drem_test_tonearest): Likewise.
19663         (drem_test_towardzero): Likewise.
19664         (drem_test_downward): Likewise.
19665         (drem_test_upward): Likewise.
19666         (main): Call the new functions.
19667
19668         * math/libm-test.inc (finite_test_data): Remove.
19669         (finite_test): Run tests from isfinite_test_data.
19670         (gamma_test_data): Remove.
19671         (gamma_test): Run tests from lgamma_test_data.
19672         * sysdeps/i386/fpu/libm-test-ulps: Update.
19673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19674
19675 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19676
19677         * manual/platform.texi: Add PowerPC PPR function set documentation.
19678         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19679         implementation.
19680
19681 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19682
19683         * math/libm-test.inc (MAX_EXP): Define.
19684         (ULPDIFF): Define.
19685         (ulp): New function.
19686         (check_float_internal): Use ULPDIFF.
19687         (cpow_test): Disable failing test.
19688         (check_ulp): Test ulp() implemetnation.
19689         (main): Call check_ulp before starting tests.
19690
19691 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19692
19693         * math/gen-libm-test.pl (generate_testfile): Do not handle
19694         START_DATA and END_DATA.
19695         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19696         END_DATA.
19697         (acos_tonearest_test_data): Likewise.
19698         (acos_towardzero_test_data): Likewise.
19699         (acos_downward_test_data): Likewise.
19700         (acos_upward_test_data): Likewise.
19701         (acosh_test_data): Likewise.
19702         (asin_test_data): Likewise.
19703         (asin_tonearest_test_data): Likewise.
19704         (asin_towardzero_test_data): Likewise.
19705         (asin_downward_test_data): Likewise.
19706         (asin_upward_test_data): Likewise.
19707         (asinh_test_data): Likewise.
19708         (atan_test_data): Likewise.
19709         (atanh_test_data): Likewise.
19710         (atan2_test_data): Likewise.
19711         (cabs_test_data): Likewise.
19712         (cacos_test_data): Likewise.
19713         (cacosh_test_data): Likewise.
19714         (carg_test_data): Likewise.
19715         (casin_test_data): Likewise.
19716         (casinh_test_data): Likewise.
19717         (catan_test_data): Likewise.
19718         (catanh_test_data): Likewise.
19719         (cbrt_test_data): Likewise.
19720         (ccos_test_data): Likewise.
19721         (ccosh_test_data): Likewise.
19722         (ceil_test_data): Likewise.
19723         (cexp_test_data): Likewise.
19724         (cimag_test_data): Likewise.
19725         (clog_test_data): Likewise.
19726         (clog10_test_data): Likewise.
19727         (conj_test_data): Likewise.
19728         (copysign_test_data): Likewise.
19729         (cos_test_data): Likewise.
19730         (cos_tonearest_test_data): Likewise.
19731         (cos_towardzero_test_data): Likewise.
19732         (cos_downward_test_data): Likewise.
19733         (cos_upward_test_data): Likewise.
19734         (cosh_test_data): Likewise.
19735         (cosh_tonearest_test_data): Likewise.
19736         (cosh_towardzero_test_data): Likewise.
19737         (cosh_downward_test_data): Likewise.
19738         (cosh_upward_test_data): Likewise.
19739         (cpow_test_data): Likewise.
19740         (cproj_test_data): Likewise.
19741         (creal_test_data): Likewise.
19742         (csin_test_data): Likewise.
19743         (csinh_test_data): Likewise.
19744         (csqrt_test_data): Likewise.
19745         (ctan_test_data): Likewise.
19746         (ctan_tonearest_test_data): Likewise.
19747         (ctan_towardzero_test_data): Likewise.
19748         (ctan_downward_test_data): Likewise.
19749         (ctan_upward_test_data): Likewise.
19750         (ctanh_test_data): Likewise.
19751         (ctanh_tonearest_test_data): Likewise.
19752         (ctanh_towardzero_test_data): Likewise.
19753         (ctanh_downward_test_data): Likewise.
19754         (ctanh_upward_test_data): Likewise.
19755         (erf_test_data): Likewise.
19756         (erfc_test_data): Likewise.
19757         (exp_test_data): Likewise.
19758         (exp_tonearest_test_data): Likewise.
19759         (exp_towardzero_test_data): Likewise.
19760         (exp_downward_test_data): Likewise.
19761         (exp_upward_test_data): Likewise.
19762         (exp10_test_data): Likewise.
19763         (exp2_test_data): Likewise.
19764         (expm1_test_data): Likewise.
19765         (fabs_test_data): Likewise.
19766         (fdim_test_data): Likewise.
19767         (finite_test_data): Likewise.
19768         (floor_test_data): Likewise.
19769         (fma_test_data): Likewise.
19770         (fma_towardzero_test_data): Likewise.
19771         (fma_downward_test_data): Likewise.
19772         (fma_upward_test_data): Likewise.
19773         (fmax_test_data): Likewise.
19774         (fmin_test_data): Likewise.
19775         (fmod_test_data): Likewise.
19776         (fpclassify_test_data): Likewise.
19777         (frexp_test_data): Likewise.
19778         (gamma_test_data): Likewise.
19779         (hypot_test_data): Likewise.
19780         (ilogb_test_data): Likewise.
19781         (isfinite_test_data): Likewise.
19782         (isgreater_test_data): Likewise.
19783         (isgreaterequal_test_data): Likewise.
19784         (isinf_test_data): Likewise.
19785         (isless_test_data): Likewise.
19786         (islessequal_test_data): Likewise.
19787         (islessgreater_test_data): Likewise.
19788         (isnan_test_data): Likewise.
19789         (isnormal_test_data): Likewise.
19790         (issignaling_test_data): Likewise.
19791         (isunordered_test_data): Likewise.
19792         (j0_test_data): Likewise.
19793         (j1_test_data): Likewise.
19794         (jn_test_data): Likewise.
19795         (ldexp_test_data): Likewise.
19796         (lgamma_test_data): Likewise.
19797         (lrint_test_data): Likewise.
19798         (lrint_tonearest_test_data): Likewise.
19799         (lrint_towardzero_test_data): Likewise.
19800         (lrint_downward_test_data): Likewise.
19801         (lrint_upward_test_data): Likewise.
19802         (llrint_test_data): Likewise.
19803         (llrint_tonearest_test_data): Likewise.
19804         (llrint_towardzero_test_data): Likewise.
19805         (llrint_downward_test_data): Likewise.
19806         (llrint_upward_test_data): Likewise.
19807         (log_test_data): Likewise.
19808         (log10_test_data): Likewise.
19809         (log1p_test_data): Likewise.
19810         (log2_test_data): Likewise.
19811         (logb_test_data): Likewise.
19812         (logb_downward_test_data): Likewise.
19813         (lround_test_data): Likewise.
19814         (llround_test_data): Likewise.
19815         (modf_test_data): Likewise.
19816         (nearbyint_test_data): Likewise.
19817         (nextafter_test_data): Likewise.
19818         (nexttoward_test_data): Likewise.
19819         (pow_test_data): Likewise.
19820         (pow_tonearest_test_data): Likewise.
19821         (pow_towardzero_test_data): Likewise.
19822         (pow_downward_test_data): Likewise.
19823         (pow_upward_test_data): Likewise.
19824         (remainder_test_data): Likewise.
19825         (remainder_tonearest_test_data): Likewise.
19826         (remainder_towardzero_test_data): Likewise.
19827         (remainder_downward_test_data): Likewise.
19828         (remainder_upward_test_data): Likewise.
19829         (remquo_test_data): Likewise.
19830         (rint_test_data): Likewise.
19831         (rint_tonearest_test_data): Likewise.
19832         (rint_towardzero_test_data): Likewise.
19833         (rint_downward_test_data): Likewise.
19834         (rint_upward_test_data): Likewise.
19835         (round_test_data): Likewise.
19836         (scalb_test_data): Likewise.
19837         (scalbn_test_data): Likewise.
19838         (scalbln_test_data): Likewise.
19839         (signbit_test_data): Likewise.
19840         (sin_test_data): Likewise.
19841         (sin_tonearest_test_data): Likewise.
19842         (sin_towardzero_test_data): Likewise.
19843         (sin_downward_test_data): Likewise.
19844         (sin_upward_test_data): Likewise.
19845         (sincos_test_data): Likewise.
19846         (sinh_test_data): Likewise.
19847         (sinh_tonearest_test_data): Likewise.
19848         (sinh_towardzero_test_data): Likewise.
19849         (sinh_downward_test_data): Likewise.
19850         (sinh_upward_test_data): Likewise.
19851         (sqrt_test_data): Likewise.
19852         (tan_test_data): Likewise.
19853         (tan_tonearest_test_data): Likewise.
19854         (tan_towardzero_test_data): Likewise.
19855         (tan_downward_test_data): Likewise.
19856         (tan_upward_test_data): Likewise.
19857         (tanh_test_data): Likewise.
19858         (tgamma_test_data): Likewise.
19859         (trunc_test_data): Likewise.
19860         (y0_test_data): Likewise.
19861         (y1_test_data): Likewise.
19862         (yn_test_data): Likewise.
19863         (significand_test_data): Likewise.
19864
19865         * math/gen-libm-test.pl (@functions): Remove variable.
19866         (generate_testfile): Don't handle START and END lines.
19867         * math/libm-test.inc (START): New macro.
19868         (END): Likewise.
19869         (END_COMPLEX): Likewise.
19870         (acos_test): Use END macro without arguments.
19871         (acos_test_tonearest): Likewise.
19872         (acos_test_towardzero): Likewise.
19873         (acos_test_downward): Likewise.
19874         (acos_test_upward): Likewise.
19875         (acosh_test): Likewise.
19876         (asin_test): Likewise.
19877         (asin_test_tonearest): Likewise.
19878         (asin_test_towardzero): Likewise.
19879         (asin_test_downward): Likewise.
19880         (asin_test_upward): Likewise.
19881         (asinh_test): Likewise.
19882         (atan_test): Likewise.
19883         (atanh_test): Likewise.
19884         (atan2_test): Likewise.
19885         (cabs_test): Likewise.
19886         (cacos_test): Use END_COMPLEX macro without arguments.
19887         (cacosh_test): Likewise.
19888         (carg_test): Use END macro without arguments.
19889         (casin_test): Use END_COMPLEX macro without arguments.
19890         (casinh_test): Likewise.
19891         (catan_test): Likewise.
19892         (catanh_test): Likewise.
19893         (cbrt_test): Use END macro without arguments.
19894         (ccos_test): Use END_COMPLEX macro without arguments.
19895         (ccosh_test): Likewise.
19896         (ceil_test): Use END macro without arguments.
19897         (cexp_test): Use END_COMPLEX macro without arguments.
19898         (cimag_test): Use END macro without arguments.
19899         (clog_test): Use END_COMPLEX macro without arguments.
19900         (clog10_test): Likewise.
19901         (conj_test): Likewise.
19902         (copysign_test): Use END macro without arguments.
19903         (cos_test): Likewise.
19904         (cos_test_tonearest): Likewise.
19905         (cos_test_towardzero): Likewise.
19906         (cos_test_downward): Likewise.
19907         (cos_test_upward): Likewise.
19908         (cosh_test): Likewise.
19909         (cosh_test_tonearest): Likewise.
19910         (cosh_test_towardzero): Likewise.
19911         (cosh_test_downward): Likewise.
19912         (cosh_test_upward): Likewise.
19913         (cpow_test): Use END_COMPLEX macro without arguments.
19914         (cproj_test): Likewise.
19915         (creal_test): Use END macro without arguments.
19916         (csin_test): Use END_COMPLEX macro without arguments.
19917         (csinh_test): Likewise.
19918         (csqrt_test): Likewise.
19919         (ctan_test): Likewise.
19920         (ctan_test_tonearest): Likewise.
19921         (ctan_test_towardzero): Likewise.
19922         (ctan_test_downward): Likewise.
19923         (ctan_test_upward): Likewise.
19924         (ctanh_test): Likewise.
19925         (ctanh_test_tonearest): Likewise.
19926         (ctanh_test_towardzero): Likewise.
19927         (ctanh_test_downward): Likewise.
19928         (ctanh_test_upward): Likewise.
19929         (erf_test): Use END macro without arguments.
19930         (erfc_test): Likewise.
19931         (exp_test): Likewise.
19932         (exp_test_tonearest): Likewise.
19933         (exp_test_towardzero): Likewise.
19934         (exp_test_downward): Likewise.
19935         (exp_test_upward): Likewise.
19936         (exp10_test): Likewise.
19937         (exp2_test): Likewise.
19938         (expm1_test): Likewise.
19939         (fabs_test): Likewise.
19940         (fdim_test): Likewise.
19941         (finite_test): Likewise.
19942         (floor_test): Likewise.
19943         (fma_test): Likewise.
19944         (fma_test_towardzero): Likewise.
19945         (fma_test_downward): Likewise.
19946         (fma_test_upward): Likewise.
19947         (fmax_test): Likewise.
19948         (fmin_test): Likewise.
19949         (fmod_test): Likewise.
19950         (fpclassify_test): Likewise.
19951         (frexp_test): Likewise.
19952         (gamma_test): Likewise.
19953         (hypot_test): Likewise.
19954         (ilogb_test): Likewise.
19955         (isfinite_test): Likewise.
19956         (isgreater_test): Likewise.
19957         (isgreaterequal_test): Likewise.
19958         (isinf_test): Likewise.
19959         (isless_test): Likewise.
19960         (islessequal_test): Likewise.
19961         (islessgreater_test): Likewise.
19962         (isnan_test): Likewise.
19963         (isnormal_test): Likewise.
19964         (issignaling_test): Likewise.
19965         (isunordered_test): Likewise.
19966         (j0_test): Likewise.
19967         (j1_test): Likewise.
19968         (jn_test): Likewise.
19969         (ldexp_test): Likewise.
19970         (lgamma_test): Likewise.
19971         (lrint_test): Likewise.
19972         (lrint_test_tonearest): Likewise.
19973         (lrint_test_towardzero): Likewise.
19974         (lrint_test_downward): Likewise.
19975         (lrint_test_upward): Likewise.
19976         (llrint_test): Likewise.
19977         (llrint_test_tonearest): Likewise.
19978         (llrint_test_towardzero): Likewise.
19979         (llrint_test_downward): Likewise.
19980         (llrint_test_upward): Likewise.
19981         (log_test): Likewise.
19982         (log10_test): Likewise.
19983         (log1p_test): Likewise.
19984         (log2_test): Likewise.
19985         (logb_test): Likewise.
19986         (logb_test_downward): Likewise.
19987         (lround_test): Likewise.
19988         (llround_test): Likewise.
19989         (modf_test): Likewise.
19990         (nearbyint_test): Likewise.
19991         (nextafter_test): Likewise.
19992         (nexttoward_test): Likewise.
19993         (pow_test): Likewise.
19994         (pow_test_tonearest): Likewise.
19995         (pow_test_towardzero): Likewise.
19996         (pow_test_downward): Likewise.
19997         (pow_test_upward): Likewise.
19998         (remainder_test): Likewise.
19999         (remainder_test_tonearest): Likewise.
20000         (remainder_test_towardzero): Likewise.
20001         (remainder_test_downward): Likewise.
20002         (remainder_test_upward): Likewise.
20003         (remquo_test): Likewise.
20004         (rint_test): Likewise.
20005         (rint_test_tonearest): Likewise.
20006         (rint_test_towardzero): Likewise.
20007         (rint_test_downward): Likewise.
20008         (rint_test_upward): Likewise.
20009         (round_test): Likewise.
20010         (scalb_test): Likewise.
20011         (scalbn_test): Likewise.
20012         (scalbln_test): Likewise.
20013         (signbit_test): Likewise.
20014         (sin_test): Likewise.
20015         (sin_test_tonearest): Likewise.
20016         (sin_test_towardzero): Likewise.
20017         (sin_test_downward): Likewise.
20018         (sin_test_upward): Likewise.
20019         (sincos_test): Likewise.
20020         (sinh_test): Likewise.
20021         (sinh_test_tonearest): Likewise.
20022         (sinh_test_towardzero): Likewise.
20023         (sinh_test_downward): Likewise.
20024         (sinh_test_upward): Likewise.
20025         (sqrt_test): Likewise.
20026         (tan_test): Likewise.
20027         (tan_test_tonearest): Likewise.
20028         (tan_test_towardzero): Likewise.
20029         (tan_test_downward): Likewise.
20030         (tan_test_upward): Likewise.
20031         (tanh_test): Likewise.
20032         (tgamma_test): Likewise.
20033         (trunc_test): Likewise.
20034         (y0_test): Likewise.
20035         (y1_test): Likewise.
20036         (yn_test): Likewise.
20037         (significand_test): Likewise.
20038
20039 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20040
20041         [BZ #15381]
20042         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20043
20044 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20045
20046         [BZ #14894]
20047         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20048         __ppc_mdoio and __ppc_mdoom.
20049         * manual/platform.texi: Document new functions __ppc_yield,
20050         __ppc_mdoio and __ppc_mdoom.
20051
20052 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20053
20054         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20055         (main): Mention "tls" pseudo-hwcap is legacy.
20056         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20057
20058 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20059
20060         * math/gen-libm-test.pl (parse_args): Output only string of
20061         arguments as text for test name, not full call or descriptions of
20062         tests for extra outputs.
20063         (generate_testfile): Do not pass function name to parse_args.
20064         Generate this_func variable from START.
20065         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20066         field to arg_str.
20067         (struct test_ff_f_data): Likewise.
20068         (test_ff_f_data_nexttoward): Likewise.
20069         (struct test_fi_f_data): Likewise.
20070         (struct test_fl_f_data): Likewise.
20071         (struct test_if_f_data): Likewise.
20072         (struct test_fff_f_data): Likewise.
20073         (struct test_c_f_data): Likewise.
20074         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20075         (struct test_fF_f1_data): Likewise.
20076         (struct test_ffI_f1_data): Likewise.
20077         (struct test_c_c_data): Rename test_name field to arg_str.
20078         (struct test_cc_c_data): Likewise.
20079         (struct test_f_i_data): Likewise.
20080         (struct test_ff_i_data): Likewise.
20081         (struct test_f_l_data): Likewise.
20082         (struct test_f_L_data): Likewise.
20083         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20084         and extra2_name.
20085         (COMMON_TEST_SETUP): New macro.
20086         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20087         (COMMON_TEST_CLEANUP): Likewise.
20088         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20089         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20090         macros.
20091         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20092         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20093         macros.
20094         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20095         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20096         cleanup macros.
20097         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20098         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20099         macros.
20100         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20101         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20102         macros.
20103         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20104         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20105         cleanup macros.
20106         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20107         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20108         cleanup macros.
20109         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20110         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20111         cleanup macros.
20112         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20113         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20114         macros.
20115         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20116         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20117         macros.
20118         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20119         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20120         macros.
20121         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20122         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20123         cleanup macros.
20124         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20125         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20126         cleanup macros.
20127         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20128         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20129         macros.
20130         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20131         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20132         cleanup macros.
20133         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20134         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20135         macros.
20136         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20137         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20138         macros.
20139         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20140         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20141         cleanup macros.
20142         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20143
20144 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20145
20146         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20147         to _sifields.sigfault.
20148         (si_addr_lsb): Define new macro.
20149         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20150         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20151         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20152
20153 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20154
20155         [BZ #15441]
20156         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20157         returns -1.
20158         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20159         null return -1.
20160         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20161         loading the domain.
20162
20163 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20164
20165         * math/gen-libm-test.pl (parse_args): Do not include expected
20166         result in test name.
20167         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20168         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20169         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20170         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20171         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20173
20174 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20175
20176         * benchtests/Makefile: Sort function entries.
20177
20178         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20179         tanh, asinh, acosh, atanh.
20180         * benchtests/acos-inputs: New file.
20181         * benchtests/acosh-inputs: New file.
20182         * benchtests/asin-inputs: New file.
20183         * benchtests/asinh-inputs: New file.
20184         * benchtests/atanh-inputs: New file.
20185         * benchtests/cosh-inputs: New file.
20186         * benchtests/log-inputs: New file.
20187         * benchtests/sinh-inputs: New file.
20188         * benchtests/tanh-inputs: New file.
20189
20190 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20191
20192         [BZ #15339]
20193         * posix/tst-getaddrinfo4.c: New test.
20194         * posix/Makefile (tests): Add it.
20195
20196 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20197
20198         [BZ #15339]
20199         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20200         when no services were used.
20201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20202         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20203
20204 2013-05-21  Andreas Schwab  <schwab@suse.de>
20205
20206         [BZ #15014]
20207         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20208         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20209         successful.
20210         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20211         redundant variable declarations and reallocation of buffer when
20212         parsing as IPv6 address.  Always set NSS status when called from
20213         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20214         buffer too small.  Correct computation of needed size.
20215         * nss/Makefile (tests): Add test-digits-dots.
20216         * nss/test-digits-dots.c: New test.
20217
20218 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20219
20220         * benchtests/Makefile: Remove instructions for adding
20221         benchmark tests.
20222         * benchtests/README: New file to explain how to execute and
20223         enhance the benchmark tests.
20224
20225 2013-05-21  Andreas Schwab  <schwab@suse.de>
20226
20227         [BZ #15493]
20228         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20229         * setjmp/tst-sigsetjmp.c: New test.
20230
20231 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20232
20233         * sysdeps/x86_64/memset.S (memset): New implementation.
20234         (__bzero): Likewise.
20235         (__memset_tail): New function.
20236
20237 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20238
20239         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20240         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20241         __memcpy_sse2_unaligned ifunc selection.
20242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20243         Add memcpy-sse2-unaligned.S.
20244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20245         Add: __memcpy_sse2_unaligned.
20246
20247 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20248
20249         [BZ #15490]
20250         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20251         math_force_eval before restoring floating-point envrionment.
20252         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20253         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20254         Likewise.
20255         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20256         <math_private.h>.
20257         (__nearbyintl): Use math_force_eval before restoring
20258         floating-point environment.
20259         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20260
20261         * math/gen-libm-test.pl (special_functions): Remove.
20262         (parse_args): Don't handle TEST_extra.  Handle functions with no
20263         return value.
20264         * math/libm-test.inc (struct test_sincos_data): Replace with
20265         struct test_fFF_11_data.
20266         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20267         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20268         (sincos_test_data): Change element type to struct
20269         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20270         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20271         RUN_TEST_LOOP_sincos.
20272         * math/README.libm-test: Don't mention special handling of
20273         individual functions.
20274         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20275         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20276         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20277         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20278         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20280
20281         * math/gen-libm-test.pl (get_variable): Remove function.
20282         (parse_args): Don't show pointer parameters to call in test
20283         names.  Use "extra output N" in test names for extra outputs
20284         rather than naming variables.
20285
20286 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20287
20288         [BZ #15488]
20289         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20290         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20291         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20292         double tests.
20293         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20294         disable.
20295         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20296         check_long_double.
20297
20298         * math/gen-libm-test.pl (@tests): Remove variable.
20299         ($count): Likewise.
20300         (new_test): Remove function.
20301         (show_exceptions): New function.
20302         (special_functions): Use show_exceptions instead of new_test.
20303         (parse_args): Likewise.
20304         (generate_testfile): Pass only function name in generated call to
20305         print_max_error or print_complex_max_error.
20306         (get_ulps): Do not handle complex tests specially.
20307         (output_test): Rename to ...
20308         (get_all_ulps_for_test): ... this.  Return a string rather than
20309         printing to a file.  Require ulps to be present.
20310         (output_ulps): Generate arrays rather than #defines.
20311         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20312         (struct ulp_data): New type.
20313         (BUILD_COMPLEX_ULP): Remove macro.
20314         (compare_ulp_data): New function.
20315         (find_ulps): Likewise.
20316         (find_test_ulps): Likewise.
20317         (find_function_ulps): Likewise.
20318         (find_complex_function_ulps): Likewise.
20319         (print_max_error): Determine allowed ulps using
20320         find_function_ulps.
20321         (print_complex_max_error): Determine allowed ulps using
20322         find_complex_function_ulps.
20323         (check_float_internal): Determine max ulps using find_test_ulps.
20324         (check_float): Do not take max_ulp parameter.  Update call to
20325         check_float_internal.
20326         (check_complex): Likewise.
20327         (check_int): Do not take max_ulp parameter.
20328         (check_long): Likewise.
20329         (check_bool): Likewise.
20330         (check_longlong): Likewise.
20331         (struct test_f_f_data): Remove max_ulp field.
20332         (struct test_ff_f_data): Likewise.
20333         (struct test_ff_f_data_nexttoward): Likewise.
20334         (struct test_fi_f_data): Likewise.
20335         (struct test_fl_f_data): Likewise.
20336         (struct test_if_f_data): Likewise.
20337         (struct test_fff_f_data): Likewise.
20338         (struct test_c_f_data): Likewise.
20339         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20340         (struct test_fF_f1_data): Likewise.
20341         (struct test_ffI_f1_data): Likewise.
20342         (struct test_c_c_data): Remove max_ulp field.
20343         (struct test_cc_c_data): Likewise.
20344         (struct test_f_i_data): Likewise.
20345         (struct test_ff_i_data): Likewise.
20346         (struct test_f_l_data): Likewise.
20347         (struct test_f_L_data): Likewise.
20348         (struct test_sincos_data): Likewise.
20349         (RUN_TEST_f_f): Do not handle ulps.
20350         (RUN_TEST_LOOP_f_f): Likewise.
20351         (RUN_TEST_2_f): Likewise.
20352         (RUN_TEST_LOOP_2_f): Likewise.
20353         (RUN_TEST_fff_f): Likewise.
20354         (RUN_TEST_LOOP_fff_f): Likewise.
20355         (RUN_TEST_c_f): Likewise.
20356         (RUN_TEST_LOOP_c_f): Likewise.
20357         (RUN_TEST_f_f1): Likewise.
20358         (RUN_TEST_LOOP_f_f1): Likewise.
20359         (RUN_TEST_fF_f1): Likewise.
20360         (RUN_TEST_LOOP_fF_f1): Likewise.
20361         (RUN_TEST_fI_f1): Likewise.
20362         (RUN_TEST_LOOP_fI_f1): Likewise.
20363         (RUN_TEST_ffI_f1): Likewise.
20364         (RUN_TEST_LOOP_ffI_f1): Likewise.
20365         (RUN_TEST_c_c): Likewise.
20366         (RUN_TEST_LOOP_c_c): Likewise.
20367         (RUN_TEST_cc_c): Likewise.
20368         (RUN_TEST_LOOP_cc_c): Likewise.
20369         (RUN_TEST_f_i): Likewise.
20370         (RUN_TEST_LOOP_f_i): Likewise.
20371         (RUN_TEST_f_i_tg): Likewise.
20372         (RUN_TEST_LOOP_f_i_tg): Likewise.
20373         (RUN_TEST_ff_i_tg): Likewise.
20374         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20375         (RUN_TEST_f_b): Likewise.
20376         (RUN_TEST_LOOP_f_b): Likewise.
20377         (RUN_TEST_f_b_tg): Likewise.
20378         (RUN_TEST_LOOP_f_b_tg): Likewise.
20379         (RUN_TEST_f_l): Likewise.
20380         (RUN_TEST_LOOP_f_l): Likewise.
20381         (RUN_TEST_f_L): Likewise.
20382         (RUN_TEST_LOOP_f_L): Likewise.
20383         (RUN_TEST_sincos): Likewise.
20384         (RUN_TEST_LOOP_sincos): Likewise.
20385
20386 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20387
20388         [BZ #15480]
20389         [BZ #15485]
20390         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20391         main case of finite arguments, set rounding mode to FE_TONEAREST
20392         and discard exceptions.
20393         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20394         exceptions.
20395         (remainder_tonearest_test_data): New variable.
20396         (remainder_test_tonearest): New function.
20397         (remainder_towardzero_test_data): New variable.
20398         (remainder_test_towardzero): New function.
20399         (remainder_downward_test_data): New variable.
20400         (remainder_test_downward): New function.
20401         (remainder_upward_test_data): New variable.
20402         (remainder_test_upward): New function.
20403         (main): Call the new test functions.
20404
20405         * math/libm-test.inc (struct test_f_f1_data): Remove field
20406         extra_init.
20407         (struct test_fF_f1_data): Likewise.
20408         (struct test_ffI_f1_data): Likewise.
20409         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20410         based on value of EXTRA_EXPECTED.
20411         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20412         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20413         EXTRA_VAR based on value of EXTRA_EXPECTED.
20414         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20415         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20416         EXTRA_VAR based on value of EXTRA_EXPECTED.
20417         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20418         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20419         EXTRA_VAR based on value of EXTRA_EXPECTED.
20420         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20421         * math/gen-libm-test.pl (parse_args): Don't output initializers
20422         for extra output values.
20423
20424         * math/libm-test.inc (check_int): Expect result to be exactly
20425         equal to expected value and do not handle ulps.
20426         (check_long): Likewise.
20427         (check_longlong): Likewise.
20428
20429         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20430         exceptions.
20431         (cimag_test_data): Likewise.
20432         (conj_test_data): Likewise.
20433         (copysign_test_data): Likewise.
20434         (cproj_test_data): Likewise.
20435         (creal_test_data): Likewise.
20436         (fabs_test_data): Likewise.
20437         (fdim_test_data): Likewise.
20438         (finite_test_data): Likewise.
20439         (floor_test_data): Likewise.
20440         (fmax_test_data): Likewise.
20441         (fmin_test_data): Likewise.
20442         (fmod_test_data): Likewise.
20443         (fpclassify_test_data): Likewise.
20444         (frexp_test_data): Likewise.
20445         (ilogb_test_data): Likewise.
20446         (isfinite_test_data): Likewise.
20447         (isgreater_test_data): Likewise.
20448         (isgreaterequal_test_data): Likewise.
20449         (isinf_test_data): Likewise.
20450         (isless_test_data): Likewise.
20451         (islessequal_test_data): Likewise.
20452         (islessgreater_test_data): Likewise.
20453         (isnan_test_data): Likewise.
20454         (isnormal_test_data): Likewise.
20455         (issignaling_test_data): Likewise.
20456         (isunordered_test_data): Likewise.
20457         (ldexp_test_data): Likewise.
20458         (lrint_test_data): Likewise.
20459         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20460         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20461         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20462         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20463         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20464         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20465         test input.
20466         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20467         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20468         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20469         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20470         that test input.
20471         (lrint_downward_test_data): Test for "inexact" exceptions.
20472         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20473         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20474         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20475         test input.
20476         (lrint_upward_test_data): Test for "inexact" exceptions.
20477         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20478         test input.
20479         (llrint_test_data): Test for "inexact" exceptions.
20480         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20481         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20482         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20483         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20484         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20485         (llrint_downward_test_data): Test for "inexact" exceptions.
20486         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20487         (llrint_upward_test_data): Test for "inexact" exceptions.
20488         (logb_test_data): Likewise.
20489         (logb_downward_test_data): Likewise.
20490         (nextafter_test_data): Likewise.
20491         (nexttoward_test_data): Likewise.
20492         (remainder_test_data): Likewise.
20493         (remquo_test_data): Likewise.
20494         (scalbn_test_data): Likewise.
20495         (scalbln_test_data): Likewise.
20496         (signbit_test_data): Likewise.
20497         (sqrt_test_data): Likewise.
20498         (significand_test_data): Likewise.
20499
20500 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20501
20502         [BZ #15424]
20503         * benchtests/bench-modf.c (struct args): Mark arg0 as
20504         volatile.
20505         * scripts/bench.pl: Mark members of struct args as volatile.
20506
20507 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20508
20509         [BZ # 15497]
20510         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20511         negative infinity on POWER6 or lower.
20512         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20513
20514 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20515
20516         [BZ #15442]
20517         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20518         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20519         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20520         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20521         (_FP_SETQNAN): New macro.
20522         (_FP_SETQNAN_SEMIRAW): Likewise.
20523         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20524         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20525         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20526         (FP_EXTEND): Use _FP_FRAC_SNANP.
20527         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20528         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20529         into account.
20530         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20531         New macro.
20532         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20533         Likewise.
20534
20535 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20536
20537         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20538         with DIVIDE_BY_ZERO_EXCEPTION.
20539         (gamma_test_data): Likewise.
20540         (lgamma_test_data): Likewise.
20541         (log_test_data): Likewise.
20542         (log10_test_data): Likewise.
20543         (log2_test_data): Likewise.
20544         (tgamma_test_data): Likewise.
20545
20546         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20547         (acos_test_tonearest): Likewise.
20548         (acos_test_towardzero): Likewise.
20549         (acos_test_downward): Likewise.
20550         (acos_test_upward): Likewise.
20551         (acosh_test): Likewise.
20552         (asin_test): Likewise.
20553         (asin_test_tonearest): Likewise.
20554         (asin_test_towardzero): Likewise.
20555         (asin_test_downward): Likewise.
20556         (asin_test_upward): Likewise.
20557         (asinh_test): Likewise.
20558         (atan_test): Likewise.
20559         (atanh_test): Likewise.
20560         (atan2_test): Likewise.
20561         (cabs_test): Likewise.
20562         (cacos_test): Likewise.
20563         (cacosh_test): Likewise.
20564         (casin_test): Likewise.
20565         (casinh_test): Likewise.
20566         (catan_test): Likewise.
20567         (catanh_test): Likewise.
20568         (cbrt_test): Likewise.
20569         (ccos_test): Likewise.
20570         (ccosh_test): Likewise.
20571         (cexp_test): Likewise.
20572         (clog_test): Likewise.
20573         (clog10_test): Likewise.
20574         (cos_test): Likewise.
20575         (cos_test_tonearest): Likewise.
20576         (cos_test_towardzero): Likewise.
20577         (cos_test_downward): Likewise.
20578         (cos_test_upward): Likewise.
20579         (cosh_test): Likewise.
20580         (cosh_test_tonearest): Likewise.
20581         (cosh_test_towardzero): Likewise.
20582         (cosh_test_downward): Likewise.
20583         (cosh_test_upward): Likewise.
20584         (cpow_test): Likewise.
20585         (csin_test): Likewise.
20586         (csinh_test): Likewise.
20587         (csqrt_test): Likewise.
20588         (ctan_test): Likewise.
20589         (ctan_test_tonearest): Likewise.
20590         (ctan_test_towardzero): Likewise.
20591         (ctan_test_downward): Likewise.
20592         (ctan_test_upward): Likewise.
20593         (ctanh_test): Likewise.
20594         (ctanh_test_tonearest): Likewise.
20595         (ctanh_test_towardzero): Likewise.
20596         (ctanh_test_downward): Likewise.
20597         (ctanh_test_upward): Likewise.
20598         (erf_test): Likewise.
20599         (erfc_test): Likewise.
20600         (exp_test): Likewise.
20601         (exp_test_tonearest): Likewise.
20602         (exp_test_towardzero): Likewise.
20603         (exp_test_downward): Likewise.
20604         (exp_test_upward): Likewise.
20605         (exp10_test): Likewise.
20606         (exp2_test): Likewise.
20607         (expm1_test): Likewise.
20608         (fmod_test): Likewise.
20609         (gamma_test): Likewise.
20610         (hypot_test): Likewise.
20611         (j0_test): Likewise.
20612         (j1_test): Likewise.
20613         (jn_test): Likewise.
20614         (lgamma_test): Likewise.
20615         (log_test): Likewise.
20616         (log10_test): Likewise.
20617         (log1p_test): Likewise.
20618         (log2_test): Likewise.
20619         (logb_test_downward): Likewise.
20620         (pow_test): Likewise.
20621         (pow_test_tonearest): Likewise.
20622         (pow_test_towardzero): Likewise.
20623         (pow_test_downward): Likewise.
20624         (pow_test_upward): Likewise.
20625         (remainder_test): Likewise.
20626         (remquo_test): Likewise.
20627         (sin_test): Likewise.
20628         (sin_test_tonearest): Likewise.
20629         (sin_test_towardzero): Likewise.
20630         (sin_test_downward): Likewise.
20631         (sin_test_upward): Likewise.
20632         (sincos_test): Likewise.
20633         (sinh_test): Likewise.
20634         (sinh_test_tonearest): Likewise.
20635         (sinh_test_towardzero): Likewise.
20636         (sinh_test_downward): Likewise.
20637         (sinh_test_upward): Likewise.
20638         (sqrt_test): Likewise.
20639         (tan_test): Likewise.
20640         (tan_test_tonearest): Likewise.
20641         (tan_test_towardzero): Likewise.
20642         (tan_test_downward): Likewise.
20643         (tan_test_upward): Likewise.
20644         (tanh_test): Likewise.
20645         (tgamma_test): Likewise.
20646         (y0_test): Likewise.
20647         (y1_test): Likewise.
20648         (yn_test): Likewise.
20649
20650         * math/gen-libm-test.pl (adjust_arg): Remove function.
20651         (special_function): Remove argument $in_func.  Only handle
20652         generating output for tables of tests, not inside functions.
20653         (parse_args): Likewise.
20654         (generate_testfile): Remove variable $in_func.  Update call to
20655         parse_args.
20656         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20657         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20658         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20659         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20660         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20661         (MAX_VALUE_INIT): Rename macro to max_value.
20662         (MIN_VALUE_INIT): Rename macro to min_value.
20663         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20664         (plus_zero): Remove variable.
20665         (minus_zero): Likewise.
20666         (plus_infty): Likewise.
20667         (minus_infty): Likewise.
20668         (qnan_value): Likewise.
20669         (max_value): Likewise.
20670         (min_value): Likewise.
20671         (min_subnorm_value): Likewise.
20672
20673 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20674
20675         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20676         uint64_t or uint32_t usage.
20677         * crypt/sha256-block.c: Likewise.
20678         * crypt/sha256-crypt.c: Likewise.
20679         * crypt/sha256.c: Likewise.
20680         * crypt/sha512-block.c: Likewise.
20681         * crypt/sha512-crypt.c: Likewise.
20682         * crypt/sha512.c: Likewise.
20683         * debug/backtrace-tst.c: Likewise.
20684         * debug/pcprofiledump.c: Likewise.
20685         * elf/cache.c: Likewise.
20686         * elf/dl-cache.c: Likewise.
20687         * elf/dl-misc.c: Likewise.
20688         * elf/dl-profile.c: Likewise.
20689         * elf/dl-support.c: Likewise.
20690         * elf/ldconfig.c: Likewise.
20691         * elf/sprof.c: Likewise.
20692         * iconv/dummy-repertoire.c: Likewise.
20693         * iconv/iconv_charmap.c: Likewise.
20694         * iconv/skeleton.c: Likewise.
20695         * iconvdata/8bit-generic.c: Likewise.
20696         * iconvdata/cp737.h: Likewise.
20697         * iconvdata/cp775.h: Likewise.
20698         * iconvdata/ibm1008.h: Likewise.
20699         * iconvdata/ibm1025.h: Likewise.
20700         * iconvdata/ibm1046.h: Likewise.
20701         * iconvdata/ibm1097.h: Likewise.
20702         * iconvdata/ibm1112.h: Likewise.
20703         * iconvdata/ibm1122.h: Likewise.
20704         * iconvdata/ibm1123.h: Likewise.
20705         * iconvdata/ibm1124.h: Likewise.
20706         * iconvdata/ibm1129.h: Likewise.
20707         * iconvdata/ibm1130.h: Likewise.
20708         * iconvdata/ibm1132.h: Likewise.
20709         * iconvdata/ibm1133.h: Likewise.
20710         * iconvdata/ibm1137.h: Likewise.
20711         * iconvdata/ibm1140.h: Likewise.
20712         * iconvdata/ibm1141.h: Likewise.
20713         * iconvdata/ibm1142.h: Likewise.
20714         * iconvdata/ibm1143.h: Likewise.
20715         * iconvdata/ibm1144.h: Likewise.
20716         * iconvdata/ibm1145.h: Likewise.
20717         * iconvdata/ibm1146.h: Likewise.
20718         * iconvdata/ibm1147.h: Likewise.
20719         * iconvdata/ibm1148.h: Likewise.
20720         * iconvdata/ibm1149.h: Likewise.
20721         * iconvdata/ibm1153.h: Likewise.
20722         * iconvdata/ibm1154.h: Likewise.
20723         * iconvdata/ibm1155.h: Likewise.
20724         * iconvdata/ibm1156.h: Likewise.
20725         * iconvdata/ibm1157.h: Likewise.
20726         * iconvdata/ibm1158.h: Likewise.
20727         * iconvdata/ibm1160.h: Likewise.
20728         * iconvdata/ibm1161.h: Likewise.
20729         * iconvdata/ibm1162.h: Likewise.
20730         * iconvdata/ibm1163.h: Likewise.
20731         * iconvdata/ibm1164.h: Likewise.
20732         * iconvdata/ibm1166.h: Likewise.
20733         * iconvdata/ibm1167.h: Likewise.
20734         * iconvdata/ibm12712.h: Likewise.
20735         * iconvdata/ibm1390.h: Likewise.
20736         * iconvdata/ibm1399.h: Likewise.
20737         * iconvdata/ibm16804.h: Likewise.
20738         * iconvdata/ibm4517.h: Likewise.
20739         * iconvdata/ibm4899.h: Likewise.
20740         * iconvdata/ibm4909.h: Likewise.
20741         * iconvdata/ibm4971.h: Likewise.
20742         * iconvdata/ibm5347.h: Likewise.
20743         * iconvdata/ibm803.h: Likewise.
20744         * iconvdata/ibm856.h: Likewise.
20745         * iconvdata/ibm901.h: Likewise.
20746         * iconvdata/ibm902.h: Likewise.
20747         * iconvdata/ibm9030.h: Likewise.
20748         * iconvdata/ibm9066.h: Likewise.
20749         * iconvdata/ibm921.h: Likewise.
20750         * iconvdata/ibm922.h: Likewise.
20751         * iconvdata/ibm9448.h: Likewise.
20752         * iconvdata/isiri-3342.h: Likewise.
20753         * iconvdata/jis0201.h: Likewise.
20754         * include/link.h: Likewise.
20755         * include/netdb.h: Likewise.
20756         * inet/check_native.c: Likewise.
20757         * inet/check_pf.c: Likewise.
20758         * inet/getipv4sourcefilter.c: Likewise.
20759         * inet/getnameinfo.c: Likewise.
20760         * inet/getsourcefilter.c: Likewise.
20761         * inet/htonl.c: Likewise.
20762         * inet/setipv4sourcefilter.c: Likewise.
20763         * inet/setsourcefilter.c: Likewise.
20764         * inet/test-inet6_opt.c: Likewise.
20765         * inet/tst-network.c: Likewise.
20766         * locale/C-collate.c: Likewise.
20767         * locale/C-ctype.c: Likewise.
20768         * locale/C-time.c: Likewise.
20769         * locale/C-translit.h: Likewise.
20770         * locale/loadarchive.c: Likewise.
20771         * locale/programs/3level.h: Likewise.
20772         * locale/programs/charmap.c: Likewise.
20773         * locale/programs/charmap.h: Likewise.
20774         * locale/programs/ld-address.c: Likewise.
20775         * locale/programs/ld-collate.c: Likewise.
20776         * locale/programs/ld-ctype.c: Likewise.
20777         * locale/programs/ld-identification.c: Likewise.
20778         * locale/programs/ld-measurement.c: Likewise.
20779         * locale/programs/ld-messages.c: Likewise.
20780         * locale/programs/ld-monetary.c: Likewise.
20781         * locale/programs/ld-name.c: Likewise.
20782         * locale/programs/ld-numeric.c: Likewise.
20783         * locale/programs/ld-paper.c: Likewise.
20784         * locale/programs/ld-telephone.c: Likewise.
20785         * locale/programs/ld-time.c: Likewise.
20786         * locale/programs/linereader.c: Likewise.
20787         * locale/programs/locale.c: Likewise.
20788         * locale/programs/locarchive.c: Likewise.
20789         * locale/programs/locfile.h: Likewise.
20790         * locale/programs/repertoire.c: Likewise.
20791         * locale/programs/simple-hash.c: Likewise.
20792         * locale/programs/simple-hash.h: Likewise.
20793         * malloc/memusage.c: Likewise.
20794         * malloc/memusagestat.c: Likewise.
20795         * nis/nis_defaults.c: Likewise.
20796         * nis/nis_hash.c: Likewise.
20797         * nis/nis_print.c: Likewise.
20798         * nis/nis_xdr.c: Likewise.
20799         * nscd/connections.c: Likewise.
20800         * nscd/hstcache.c: Likewise.
20801         * nscd/nscd_gethst_r.c: Likewise.
20802         * nscd/nscd_getserv_r.c: Likewise.
20803         * nscd/nscd_helper.c: Likewise.
20804         * nscd/servicescache.c: Likewise.
20805         * nss/makedb.c: Likewise.
20806         * nss/nss_db/db-XXX.c: Likewise.
20807         * nss/nss_db/db-initgroups.c: Likewise.
20808         * nss/nss_db/db-netgrp.c: Likewise.
20809         * nss/nss_files/files-network.c: Likewise.
20810         * nss/nss_files/files-parse.c: Likewise.
20811         * posix/bug-regex5.c: Likewise.
20812         * posix/fnmatch_loop.c: Likewise.
20813         * posix/regcomp.c: Likewise.
20814         * posix/regexec.c: Likewise.
20815         * posix/tst-rfc3484-2.c: Likewise.
20816         * posix/tst-rfc3484-3.c: Likewise.
20817         * posix/tst-rfc3484.c: Likewise.
20818         * resolv/nss_dns/dns-canon.c: Likewise.
20819         * resolv/nss_dns/dns-network.c: Likewise.
20820         * resolv/res_init.c: Likewise.
20821         * resolv/res_mkquery.c: Likewise.
20822         * resolv/tst-aton.c: Likewise.
20823         * stdlib/cxa_atexit.c: Likewise.
20824         * stdlib/cxa_finalize.c: Likewise.
20825         * stdlib/gen-fpioconst.c: Likewise.
20826         * stdlib/strtol_l.c: Likewise.
20827         * string/tst-endian.c: Likewise.
20828         * sunrpc/auth_des.c: Likewise.
20829         * sunrpc/clnt_udp.c: Likewise.
20830         * sunrpc/rtime.c: Likewise.
20831         * sunrpc/svcauth_des.c: Likewise.
20832         * sunrpc/xdr.c: Likewise.
20833         * sunrpc/xdr_intXX_t.c: Likewise.
20834         * sunrpc/xdr_rec.c: Likewise.
20835         * sysdeps/generic/ldconfig.h: Likewise.
20836         * sysdeps/generic/ldsodefs.h: Likewise.
20837         * sysdeps/generic/memusage.h: Likewise.
20838         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20839         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20840         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20841         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20842         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20843         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20844         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20845         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20846         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20848         * sysdeps/posix/getaddrinfo.c: Likewise.
20849         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20850         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20851         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20852         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20853         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20854         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20855         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20856         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20857         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20858         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20859         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20860         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20861         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20862         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20863         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20864         * sysdeps/x86_64/dl-tls.h: Likewise.
20865         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20866         * time/alt_digit.c: Likewise.
20867         * time/era.c: Likewise.
20868         * wcsmbs/tst-c16c32-1.c: Likewise.
20869
20870 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20871
20872         * math/libm-test.inc (struct test_sincos_data): New type.
20873         (RUN_TEST_LOOP_sincos): New macro.
20874         (sincos_test_data): New variable.
20875         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20876
20877 2013-05-16  Richard Henderson  <rth@redhat.com>
20878
20879         * math/atest-exp2.c (LIMB64): New macro.
20880         (CONSTSZ): New macro.
20881         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20882         (hexdig): Move ...
20883         (print_mpn_fp): ... to function scope.
20884         (read_mpn_hex): Remove.
20885         (get_log2): Remove.
20886         (exp2_mpn): Use mp_log2.
20887         (main): Use mp_exp1.
20888
20889 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20890
20891         * math/libm-test.inc: Remove comment about not testing "inexact"
20892         exceptions.
20893         (INEXACT_EXCEPTION): New macro.
20894         (NO_INEXACT_EXCEPTION): Likewise.
20895         (INVALID_EXCEPTION_OK): Update value.
20896         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20897         (OVERFLOW_EXCEPTION_OK): Likewise.
20898         (UNDERFLOW_EXCEPTION_OK): Likewise.
20899         (IGNORE_ZERO_INF_SIGN): Likewise.
20900         (ERRNO_UNCHANGED): Likewise.
20901         (ERRNO_EDOM): Likewise.
20902         (ERRNO_ERANGE): Likewise.
20903         (test_exceptions): Handle testing "inexact" exceptions.
20904         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20905         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20906         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20907         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20908         INEXACT_EXCEPTION.
20909         (rint_towardzero_test_data): Likewise.
20910         (rint_downward_test_data): Likewise.
20911         (rint_upward_test_data): Likewise.
20912
20913         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20914         with OVERFLOW_EXCEPTION.
20915         (exp10_test_data): Likewise.
20916         (exp2_test_data): Likewise.
20917         (expm1_test_data): Likewise.
20918         (lgamma_test_data): Likewise.
20919         (pow_test_data): Likewise.
20920         (tgamma_test_data): Likewise.
20921         (yn_test_data): Remove duplicate test of overflow.
20922
20923         * math/libm-test.inc (struct test_cc_c_data): New type.
20924         (RUN_TEST_LOOP_cc_c): New macro.
20925         (cpow_test_data): New variable.
20926         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20927
20928         * math/libm-test.inc (struct test_f_L_data): New type.
20929         (RUN_TEST_LOOP_f_L): New macro.
20930         (llrint_test_data): New variable.
20931         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20932         (llrint_tonearest_test_data): New variable.
20933         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20934         (llrint_towardzero_test_data): New variable.
20935         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20936         (llrint_downward_test_data): New variable.
20937         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20938         (llrint_upward_test_data): New variable.
20939         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20940         (llround_test_data): New variable.
20941         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20942
20943 2013-05-13  Peter Collingbourne  <pcc@google.com>
20944
20945         * math/atest-exp2.c (get_log2): Remove const attribute.
20946
20947 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20948
20949         * math/libm-test.inc (struct test_f_l_data): New type.
20950         (RUN_TEST_LOOP_f_l): New macro.
20951         (lrint_test_data): New variable.
20952         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20953         (lrint_tonearest_test_data): New variable.
20954         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20955         (lrint_towardzero_test_data): New variable.
20956         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20957         (lrint_downward_test_data): New variable.
20958         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20959         (lrint_upward_test_data): New variable.
20960         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20961         (lround_test_data): New variable.
20962         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20963
20964 2013-05-15  Peter Collingbourne  <pcc@google.com>
20965
20966         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20967         (EXTRACT_WORDS64) Use where appropriate.
20968         (INSERT_WORDS64) Likewise.
20969
20970         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20971         constraints with x constraints.
20972         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20973
20974         * malloc/obstack.c (_obstack_compat): Add initializer.
20975
20976 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20977
20978         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20979         si_trapno and add si_addr_lsb to _sifields.sigfault.
20980         (si_trapno): Remove macro.
20981         (si_addr_lsb): Define new macro.
20982         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20983
20984 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20985
20986         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20987         instead of TEST_f_l.
20988         (llrint_test_tonearest): Likewise.
20989         (llrint_test_towardzero): Likewise.
20990         (llrint_test_downward): Likewise.
20991         (llrint_test_upward): Likewise.
20992         (llround_test): Likewise.
20993
20994         * math/libm-test.inc (struct test_f_i_data): Add comment.
20995         (RUN_TEST_LOOP_f_b): New macro.
20996         (RUN_TEST_LOOP_f_b_tg): Likewise.
20997         (finite_test_data): New variable.
20998         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20999         (isfinite_test_data): New variable.
21000         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21001         (isinf_test_data): New variable.
21002         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21003         (isnan_test_data): New variable.
21004         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21005         (isnormal_test_data): New variable.
21006         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21007         (issignaling_test_data): New variable.
21008         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21009         (signbit_test_data): New variable.
21010         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21011
21012         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21013         with INVALID_EXCEPTION.
21014         (acosh_test_data): Likewise.
21015         (asin_test_data): Likewise.
21016         (atanh_test_data): Likewise.
21017         (fmod_test_data): Likewise.
21018         (log_test_data): Likewise.
21019         (log10_test_data): Likewise.
21020         (log2_test_data): Likewise.
21021         (pow_test_data): Likewise.
21022         (sqrt_test_data): Likewise.
21023         (y0_test_data): Likewise.
21024         (y1_test_data): Likewise.
21025         (yn_test_data): Likewise.
21026
21027         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21028         function contents.
21029
21030         * math/libm-test.inc (struct test_ff_i_data): New type.
21031         (RUN_TEST_LOOP_ff_i_tg): New macro.
21032         (isgreater_test_data): New variable.
21033         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21034         (isgreaterequal_test_data): New variable.
21035         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21036         (isless_test_data): New variable.
21037         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21038         (islessequal_test_data): New variable.
21039         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21040         (islessgreater_test_data): New variable.
21041         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21042         (isunordered_test_data): New variable.
21043         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21044
21045 2013-05-14  David S. Miller  <davem@davemloft.net>
21046
21047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21048
21049 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21050
21051         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21052
21053         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21054         extra_test to int.
21055         (struct test_f_i_data): Change type of max_ulp to int.
21056
21057         * math/libm-test.inc (test_ffI_f1_data): New type.
21058         (RUN_TEST_LOOP_ffI_f1): New macro.
21059         (remquo_test_data): New variable.
21060         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21061
21062         * setjmp/tst-setjmp-fp.c: New file.
21063         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21064         (link-libm): New variable.
21065         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21066
21067         * math/libm-test.inc (struct test_f_i_data): New type.
21068         (RUN_TEST_LOOP_f_i): New macro.
21069         (RUN_TEST_LOOP_f_i_tg): Likewise.
21070         (fpclassify_test_data): New variable.
21071         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21072         (ilogb_test_data): New variable.
21073         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21074
21075         * math/libm-test.inc (scalbln_test): Correct function name in END
21076         call.
21077
21078         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21079         (RUN_TEST_LOOP_fI_f1): New macro.
21080         (frexp_test_data): New variable.
21081         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21082
21083         * math/libm-test.inc (struct test_fF_f1_data): New type.
21084         (RUN_TEST_LOOP_fF_f1): New macro.
21085         (modf_test_data): New variable.
21086         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21087
21088         * math/libm-test.inc (struct test_f_f1_data): New type.
21089         (RUN_TEST_LOOP_f_f1): New macro.
21090         (gamma_test_data): New variable.
21091         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21092         (lgamma_test_data): New variable.
21093         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21094
21095 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21096
21097         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21098         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21099         (main): Comment "tls" pseudo-hwcap.
21100
21101 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21102
21103         * math/libm-test.inc (struct test_fl_f_data): New type.
21104         (RUN_TEST_LOOP_fl_f): New variable.
21105         (scalbln_test_data): New variable.
21106         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21107
21108         * math/libm-test.inc (struct test_fi_f_data): New type.
21109         (RUN_TEST_LOOP_fi_f): New macro.
21110         (ldexp_test_data): New variable.
21111         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21112         (scalbn_test_data): New variable.
21113         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21114
21115         * math/libm-test.inc (struct test_c_f_data): New type.
21116         (RUN_TEST_LOOP_c_f): New macro.
21117         (cabs_test_data): New variable.
21118         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21119         (carg_test_data): New variable.
21120         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21121         (cimag_test_data): New variable.
21122         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21123         (creal_test_data): New variable.
21124         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21125
21126         * math/libm-test.inc (struct test_if_f_data): New type.
21127         (RUN_TEST_LOOP_if_f): New macro.
21128         (jn_test_data): New variable.
21129         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21130         (yn_test_data): New variable.
21131         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21132
21133         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21134
21135 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21136
21137         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21138         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21139
21140 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21141
21142         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21143         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21144         (bench-deps): Add bench-timing.h.
21145         * benchtests-bench-skeleton.c: Include bench-timing.h.
21146         (main): Use TIMING_* macros instead of clock_gettime.
21147         * benchtests/bench-timing.h: New file.
21148
21149         [BZ #14582]
21150         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21151         Renamed from _LIB_VERSION.
21152         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21153
21154 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21155
21156         * math/libm-test.inc (struct test_fff_f_data): New type.
21157         (RUN_TEST_LOOP_fff_f): New macro.
21158         (fma_test_data): New variable.
21159         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21160         (fma_towardzero_test_data): New variable.
21161         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21162         (fma_downward_test_data): New variable.
21163         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21164         (fma_upward_test_data): New variable.
21165         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21166
21167         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21168         (struct test_c_c_data): New type.
21169         (RUN_TEST_LOOP_c_c): New macro.
21170         (cacos_test_data): New variable.
21171         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21172         (cacosh_test_data): New variable.
21173         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21174         (casin_test_data): New variable.
21175         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21176         (casinh_test_data): New variable.
21177         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21178         (catan_test_data): New variable.
21179         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21180         (catanh_test_data): New variable.
21181         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21182         (ccos_test_data): New variable.
21183         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21184         (ccosh_test_data): New variable.
21185         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21186         (cexp_test_data): New variable.
21187         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21188         (clog_test_data): New variable.
21189         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21190         (clog10_test_data): New variable.
21191         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21192         (conj_test_data): New variable.
21193         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21194         (cproj_test_data): New variable.
21195         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21196         (csin_test_data): New variable.
21197         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21198         (csinh_test_data): New variable.
21199         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21200         (csqrt_test_data): New variable.
21201         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21202         (ctan_test_data): New variable.
21203         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21204         (ctan_tonearest_test_data): New variable.
21205         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21206         (ctan_towardzero_test_data): New variable.
21207         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21208         (ctan_downward_test_data): New variable.
21209         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21210         (ctan_upward_test_data): New variable.
21211         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21212         (ctanh_test_data): New variable.
21213         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21214         (ctanh_tonearest_test_data): New variable.
21215         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21216         (ctanh_towardzero_test_data): New variable.
21217         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21218         (ctanh_downward_test_data): New variable.
21219         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21220         (ctanh_upward_test_data): New variable.
21221         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21222         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21223         of BUILD_COMPLEX.
21224
21225         * math/libm-test.inc (struct test_ff_f_data): New type.
21226         (struct test_ff_f_data_nexttoward): Likewise.
21227         (RUN_TEST_LOOP_2_f): New macro.
21228         (RUN_TEST_LOOP_ff_f): Likewise.
21229         (atan2_test_data): New variable.
21230         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21231         (copysign_test_data): New variable.
21232         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21233         (fdim_test_data): New variable.
21234         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21235         (fmax_test_data): New variable.
21236         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21237         (fmin_test_data): New variable.
21238         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21239         (fmod_test_data): New variable.
21240         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21241         (hypot_test_data): New variable.
21242         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21243         (nextafter_test_data): New variable.
21244         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21245         (nexttoward_test_data): New variable.
21246         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21247         (pow_test_data): New variable.
21248         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21249         (pow_tonearest_test_data): New variable.
21250         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21251         (pow_towardzero_test_data): New variable.
21252         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21253         (pow_downward_test_data): New variable.
21254         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21255         (pow_upward_test_data): New variable.
21256         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21257         (remainder_test_data): New variable.
21258         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21259         (scalb_test_data): New variable.
21260         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21261         * sysdeps/i386/fpu/libm-test-ulps: Update.
21262
21263 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21264
21265         * math/libm-test.inc (fma_test): Use max_value instead of local
21266         variable fltmax.
21267         (nextafter_test): Likewise.
21268
21269         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21270         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21271         (acos_downward_test_data): New variable.
21272         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21273         (acos_upward_test_data): New variable.
21274         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21275         (acosh_test_data): New variable.
21276         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21277         (asin_test_data): New variable.
21278         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21279         (asin_tonearest_test_data): New variable.
21280         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21281         (asin_towardzero_test_data): New variable.
21282         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21283         (asin_downward_test_data): New variable.
21284         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21285         (asin_upward_test_data): New variable.
21286         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21287         (asinh_test_data): New variable.
21288         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21289         (atan_test_data): New variable.
21290         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21291         (atanh_test_data): New variable.
21292         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21293         (cbrt_test_data): New variable.
21294         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21295         (ceil_test_data): New variable.
21296         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21297         (cos_test_data): New variable.
21298         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21299         (cos_tonearest_test_data): New variable.
21300         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21301         (cos_towardzero_test_data): New variable.
21302         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21303         (cos_downward_test_data): New variable.
21304         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21305         (cos_upward_test_data): New variable.
21306         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21307         (cosh_test_data): New variable.
21308         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21309         (cosh_tonearest_test_data): New variable.
21310         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21311         (cosh_towardzero_test_data): New variable.
21312         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21313         (cosh_downward_test_data): New variable.
21314         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21315         (cosh_upward_test_data): New variable.
21316         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21317         (erf_test_data): New variable.
21318         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21319         (erfc_test_data): New variable.
21320         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21321         (exp_test_data): New variable.
21322         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21323         (exp_tonearest_test_data): New variable.
21324         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21325         (exp_towardzero_test_data): New variable.
21326         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21327         (exp_downward_test_data): New variable.
21328         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21329         (exp_upward_test_data): New variable.
21330         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21331         (exp10_test_data): New variable.
21332         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21333         (exp2_test_data): New variable.
21334         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21335         (expm1_test_data): New variable.
21336         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21337         (fabs_test_data): New variable.
21338         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21339         (floor_test_data): New variable.
21340         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21341         (j0_test_data): New variable.
21342         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21343         (j1_test_data): New variable.
21344         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21345         (log_test_data): New variable.
21346         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21347         (log10_test_data): New variable.
21348         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21349         (log1p_test_data): New variable.
21350         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21351         (log2_test_data): New variable.
21352         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21353         (logb_test_data): New variable.
21354         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21355         (logb_downward_test_data): New variable.
21356         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21357         (nearbyint_test_data): New variable.
21358         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21359         (rint_test_data): New variable.
21360         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21361         (rint_tonearest_test_data): New variable.
21362         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21363         (rint_towardzero_test_data): New variable.
21364         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21365         (rint_downward_test_data): New variable.
21366         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21367         (rint_upward_test_data): New variable.
21368         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21369         (round_test_data): New variable.
21370         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21371         (sin_test_data): New variable.
21372         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21373         (sin_tonearest_test_data): New variable.
21374         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21375         (sin_towardzero_test_data): New variable.
21376         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21377         (sin_downward_test_data): New variable.
21378         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21379         (sin_upward_test_data): New variable.
21380         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21381         (sinh_test_data): New variable.
21382         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21383         (sinh_tonearest_test_data): New variable.
21384         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21385         (sinh_towardzero_test_data): New variable.
21386         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21387         (sinh_downward_test_data): New variable.
21388         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21389         (sinh_upward_test_data): New variable.
21390         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21391         (sqrt_test_data): New variable.
21392         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21393         (tan_test_data): New variable.
21394         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21395         (tan_tonearest_test_data): New variable.
21396         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21397         (tan_towardzero_test_data): New variable.
21398         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21399         (tan_downward_test_data): New variable.
21400         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21401         (tan_upward_test_data): New variable.
21402         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21403         (tanh_test_data): New variable.
21404         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21405         (tgamma_test_data): New variable.
21406         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21407         (trunc_test_data): New variable.
21408         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21409         (y0_test_data): New variable.
21410         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21411         (y1_test_data): New variable.
21412         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21413         (significand_test_data): New variable.
21414         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21415
21416 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21417
21418         [BZ #12387]
21419         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21420
21421 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21422
21423         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21424
21425 2013-05-10  Andreas Jaeger  <aj@suse.de>
21426
21427         [BZ #15448]
21428         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21429         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21430
21431 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21432
21433         * math/gen-libm-test.pl (adjust_arg): New function.
21434         (special_functions): Handle generating output in both functions
21435         and arrays.
21436         (parse_args): Likewise.
21437         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21438         $in_func argument to parse_args.
21439         * math/libm-test.inc (struct test_f_f_data): New type.
21440         (IF_ROUND_INIT_): New macro.
21441         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21442         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21443         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21444         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21445         (ROUND_RESTORE_): Likewise.
21446         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21447         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21448         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21449         (ROUND_RESTORE_FE_UPWARD): Likewise.
21450         (RUN_TEST_LOOP_f_f): New macro.
21451         (acos_test_data): New variable.
21452         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21453         (acos_tonearest_test_data): New variable.
21454         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21455
21456 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21457
21458         * benchtests/bench-skeleton.c (startup): Fix coding style.
21459
21460 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21461
21462         [BZ #6809]
21463         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21464         negative infinity argument.
21465         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21466         negative infinity argument.
21467         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21468         negative infinity argument.
21469         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21470         domain errors.
21471
21472 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21473
21474         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21475         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21476         * iconv/iconv_prog.c (main): Likewise.
21477         * locale/programs/charmap-dir.c (charmap_readdir)
21478         (fopen_uncompressed): Likewise.
21479         * locale/programs/locfile.c (siblings_uncached)
21480         (write_locale_data): Use lstat64 instead of lstat.
21481         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21482         stat.
21483
21484 2013-05-10  Andreas Jaeger  <aj@suse.de>
21485
21486         [BZ #15395]
21487         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21488         localization.
21489         Include <locale.h>.
21490
21491 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21492
21493         * elf/dl-close.c (_dl_close_worker): Add comments.
21494
21495 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21496
21497         [BZ #15359]
21498         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21499         high part of pi/2.
21500         (__ieee754_rem_pio2l): Update comments.
21501
21502         [BZ #15429]
21503         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21504         high part of pi/2.
21505         (__ieee754_rem_pio2l): Update comments.
21506
21507         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21508         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21509
21510         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21511         M_PI_4l.
21512
21513         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21514         (M_PI_34_LOG10El): Likewise.
21515         (M_PI2_LOG10El): Likewise.
21516         (M_PI4_LOG10El): Likewise.
21517         (M_PI_LOG10El): Likewise.
21518
21519 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21520
21521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21522
21523 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21524
21525         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21526         (MINUS_ZERO_INIT): Likewise.
21527         (PLUS_INFTY_INIT): Likewise.
21528         (MINUS_INFTY_INIT): Likewise.
21529         (QNAN_VALUE_INIT): Likewise.
21530         (MAX_VALUE_INIT): Likewise.
21531         (MIN_VALUE_INIT): Likewise.
21532         (MIN_SUBNORM_VALUE_INIT): Likewise.
21533         (plus_zero): Initialize with PLUS_ZERO_INIT.
21534         (minus_zero): Initialize with MINUS_ZERO_INIT.
21535         (plus_infty): Initialize with PLUS_INFTY_INIT.
21536         (minus_infty): Initialize with MINUS_INFTY_INIT.
21537         (qnan_value): Initialize with QNAN_VALUE_INIT.
21538         (max_value): Initialize with MAX_VALUE_INIT.
21539         (min_value): Initialize with MIN_VALUE_INIT.
21540         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21541
21542         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21543         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21544         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21545         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21546
21547         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21548         (RUN_TEST_2_f): Likewise.
21549         (RUN_TEST_ff_f): Likewise.
21550         (RUN_TEST_fi_f): Likewise.
21551         (RUN_TEST_fl_f): Likewise.
21552         (RUN_TEST_fff_f): Likewise.
21553         (RUN_TEST_c_f): Likewise.
21554         (RUN_TEST_f_f1): Likewise.
21555         (RUN_TEST_fF_f1): Likewise.
21556         (RUN_TEST_fI_f1): Likewise.
21557         (RUN_TEST_ffI_f1): Likewise.
21558         (RUN_TEST_c_c): Likewise.
21559         (RUN_TEST_cc_c): Likewise.
21560         (RUN_TEST_f_i): Likewise.
21561         (RUN_TEST_f_i_tg): Likewise.
21562         (RUN_TEST_ff_i_tg): Likewise.
21563         (RUN_TEST_f_b): Likewise.
21564         (RUN_TEST_f_b_tg): Likewise.
21565         (RUN_TEST_f_l): Likewise.
21566         (RUN_TEST_f_L): Likewise.
21567         (RUN_TEST_sincos): Likewise.
21568         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21569         whether to show exceptions.  Do not include ");\n" in return
21570         value.
21571         (special_functions): Output call to RUN_TEST_sincos instead of
21572         check_float calls.  Update calls to new_test.
21573         (parse_args): Output call to single RUN_TEST_* macro instead of
21574         check_* calls and other assignments.  Update calls to new_test.
21575
21576         [BZ #2546]
21577         [BZ #2560]
21578         [BZ #5159]
21579         [BZ #15426]
21580         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21581         input to result for tgamma overflow.
21582         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21583         (gamma_coeff): New variable.
21584         (NCOEFF): New macro.
21585         (gamma_positive): New function.
21586         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21587         underflow here.  Use gamma_positive instead of exp (lgamma) for
21588         other arguments.
21589         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21590         (gamma_coeff): New variable.
21591         (NCOEFF): New macro.
21592         (gammaf_positive): New function.
21593         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21594         underflow here.  Use gamma_positive instead of exp (lgamma) for
21595         other arguments.
21596         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21597         (gamma_coeff): New variable.
21598         (NCOEFF): New macro.
21599         (gammal_positive): New function.
21600         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21601         underflow here.  Use gamma_positive instead of exp (lgamma) for
21602         other arguments.
21603         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21604         (gamma_coeff): New variable.
21605         (NCOEFF): New macro.
21606         (gammal_positive): New function.
21607         (__ieee754_gammal_r): Handle positive infinity, overflow and
21608         underflow here.  Handle NaN the same as positive infinity.  Remove
21609         check x < 0xffffffff for negative integers.  Use gamma_positive
21610         instead of exp (lgamma) for other arguments.
21611         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21612         (gamma_coeff): New variable.
21613         (NCOEFF): New macro.
21614         (gammal_positive): New function.
21615         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21616         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21617         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21618         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21619         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21620         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21621         * sysdeps/generic/math_private.h (__gamma_productf): New
21622         prototype.
21623         (__gamma_product): Likewise.
21624         (__gamma_productl): Likewise.
21625         * math/Makefile (libm-calls): Add gamma_product.
21626         * math/libm-test.inc (tgamma_test): Add more tests.
21627         * sysdeps/i386/fpu/libm-test-ulps: Update.
21628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21629
21630 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21631
21632         * benchtests/bench-skeleton.c (main): Preheat CPU.
21633
21634 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21635
21636         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21637
21638 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21639
21640         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21641         and _dl_skip_args_internal.
21642
21643 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21644
21645         * manual/message.texi (Message Translation): Talk about users.
21646         Message to key mapping impacts design.
21647
21648 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21649
21650         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21651
21652         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21653
21654         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21655         * sysdeps/wordsize-64/glob64.c: ... here.
21656
21657         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21658         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21659         New macros.
21660
21661         * debug/getlogin_r_chk.c: Moved to ...
21662         * login/getlogin_r_chk.c: ... here.
21663         * debug/Makefile (routines): Move getlogin_r_chk to ...
21664         * login/Makefile (routines): ... here.
21665         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21666         * login/Versions (libc: GLIBC_2.4): ... here.
21667
21668         * io/poll.c (__poll): Renamed from poll.
21669         Add libc_hidden_def.
21670         (poll): Define as weak alias.
21671
21672         * debug/ptsname_r_chk.c: Moved to ...
21673         * login/ptsname_r_chk.c: ... here.
21674         * debug/Makefile (routines): Move ptsname_r_chk to ...
21675         * login/Makefile (routines): ... here.
21676         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21677         * login/Versions (libc: GLIBC_2.4): ... here.
21678
21679         * posix/getlogin.c: Moved to ...
21680         * login/getlogin.c: ... here.
21681         * posix/getlogin_r.c: Moved to ...
21682         * login/getlogin_r.c: ... here.
21683         * posix/getlogin_r.c: Moved to ...
21684         * login/getlogin_r.c: ... here.
21685         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21686         * login/Makefile (routines): ... here.
21687         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21688         * login/Versions (libc: GLIBC_2.0): ... here.
21689
21690         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21691         (setrlimit): Define as weak alias.
21692
21693         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21694         Call __ names for open, ftruncate, and close.
21695         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21696         (truncate): Define as weak alias.
21697
21698 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21699
21700         * math/gen-libm-test.pl (parse_args): Initialize x before each
21701         test of frexp, modf and remquo.
21702
21703         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21704         test signgam value.
21705
21706 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21707
21708         [BZ #15418]
21709         [BZ #15419]
21710         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21711         internal tests.
21712         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21713
21714 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21715
21716         * elf/dl-writev.h: New file.
21717         * elf/dl-misc.c: Include it.
21718         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21719         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21720
21721 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21722
21723         * math/libm-test.inc (noXFails): Remove variable.
21724         (noXPasses): Likewise.
21725         (BUILD_COMPLEX_INT): Remove macro.
21726         (print_screen): Remove xfail argument.
21727         (print_screen_max_error): Likewise.
21728         (update_stats): Likewise.
21729         (print_max_error): Likewise.  Update calls to other affected
21730         functions.
21731         (print_complex_max_error): Likewise.
21732         (test_single_exception): Update calls to print_screen.
21733         (test_single_errno): Likewise.
21734         (check_float_internal): Remove xfail argument.  Update calls to
21735         other affected functions.
21736         (check_float): Likewise.
21737         (check_complex): Likewise.
21738         (check_int): Likewise.
21739         (check_long): Likewise.
21740         (check_bool): Likewise.
21741         (check_longlong): Likewise.
21742         (main): Don't print noXFails and noXPasses.
21743         * math/gen-libm-test.pl (top level): Don't mention expected
21744         failure handling in comment.
21745         (new_test): Don't handle expected failures.
21746         (parse_args): Don't mention expected failure handling in comment.
21747         (generate_testfile): Don't handle expected failures.
21748         (parse_ulps): Likewise.
21749         (print_ulps_file): Likewise.
21750         (get_failure): Remove function.
21751         (output_test): Don't handle expected failures.
21752         * make/README.libm-test: Don't mention expected failure handling.
21753
21754         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21755         (minus_zero): Likewise.
21756         (plus_infty): Likewise.
21757         (minus_infty): Likewise.
21758         (qnan_value): Likewise.
21759         (max_value): Likewise.
21760         (min_value): Likewise.
21761         (min_subnorm_value): Likewise.
21762         (initialize): Do not initialize those variables dynamically.
21763
21764 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21765
21766         * io/open.c (__open_2): Moved to ...
21767         * io/open_2.c: ... this new file.
21768         * io/open64.c (__open64_2): Moved to ...
21769         * io/open64_2.c: ... this new file.
21770         * io/openat.c (__openat_2): Moved to ...
21771         * io/openat_2.c: ... this new file.
21772         * io/openat64.c (__openat64_2): Moved to ...
21773         * io/openat64_2.c: ... this new file.
21774         * io/Makefile (routines): Add them.
21775         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21776         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21777         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21778         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21779         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21780         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21781         (__openat64): Add hidden_ver.
21782         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21783         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21784
21785         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21786         Separately conditionalize setting of GLRO(dl_sysinfo) so
21787         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21788         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21789
21790 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21791
21792         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21793         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21794         definition.
21795         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21796         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21797         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21798         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21799         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21800
21801 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21802
21803         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21804         test signgam value.
21805
21806         * math/libm-test.inc (hypot_test): Do not use
21807         IGNORE_ZERO_INF_SIGN.
21808
21809 2013-05-03  Andreas Jaeger  <aj@suse.de>
21810
21811         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21812         Linux 3.9.
21813         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21814         (PF_MAX): Adjust for VSOCK change.
21815
21816 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21817
21818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21819
21820 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21821
21822         [BZ #15264]
21823         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21824         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21825         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21826
21827 2013-05-02  David S. Miller  <davem@davemloft.net>
21828
21829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21830
21831 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21832
21833         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21834
21835 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21836
21837         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21838
21839 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21840
21841         [BZ #14952]
21842         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21843         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21844         Use __attribute__ ((__gnu_inline__)).
21845         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21846         Don't use __attribute__ ((__gnu_inline__)).
21847
21848 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21849
21850         [BZ #15423]
21851         * math/s_catan.c (__catan): Handle small real or imaginary part of
21852         input specially to avoid spurious underflow.
21853         * math/s_catanf.c (__catanf): Likewise.
21854         * math/s_catanh.c (__catanh): Likewise.
21855         * math/s_catanhf.c (__catanhf): Likewise.
21856         * math/s_catanhl.c (__catanhl): Likewise.
21857         * math/s_catanl.c (__catanl): Likewise.
21858         * math/libm-test.inc (catan_test): Add more tests.
21859         (catanh_test): Likewise.
21860         * sysdeps/i386/fpu/libm-test-ulps: Update.
21861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21862
21863 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21864
21865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21866
21867 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21868
21869         [BZ #15416]
21870         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21871         accurately for denominator in atan2.
21872         * math/s_catanf.c (__catanf): Likewise.
21873         * math/s_catanh.c (__catanh): Likewise.
21874         * math/s_catanhf.c (__catanhf): Likewise.
21875         * math/s_catanhl.c (__catanhl): Likewise.
21876         * math/s_catanl.c (__catanl): Likewise.
21877         * math/libm-test.inc (catan_test): Add more tests.
21878         (catanh_test): Likewise.
21879         * sysdeps/i386/fpu/libm-test-ulps: Update.
21880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21881
21882 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21883
21884         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21885
21886         * benchtests/Makefile (bench): Remove slow benchmarks.
21887         * benchtests/atan-inputs: Add slow benchmark inputs.
21888         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21889         (BENCH_FUNC): Accept variant offset.
21890         (VARIANT): Define.
21891         * benchtests/bench-skeleton.c (main): Run benchmark for each
21892         variant.
21893         * benchtests/cos-inputs: Add slow benchmark inputs.
21894         * benchtests/exp-inputs: Likewise.
21895         * benchtests/pow-inputs: Likewise.
21896         * benchtests/sin-inputs: Likewise.
21897         * benchtests/slowatan-inputs: Remove.
21898         * benchtests/slowatan.c: Remove.
21899         * benchtests/slowcos-inputs: Remove.
21900         * benchtests/slowcos.c: Remove.
21901         * benchtests/slowexp-inputs: Remove.
21902         * benchtests/slowexp.c: Remove.
21903         * benchtests/slowpow-inputs: Remove.
21904         * benchtests/slowpow.c: Remove.
21905         * benchtests/slowsin-inputs: Remove.
21906         * benchtests/slowsin.c: Remove.
21907         * benchtests/slowtan-inputs: Remove.
21908         * benchtests/slowtan.c: Remove.
21909         * benchtests/tan-inputs: Add slow benchmark inputs.
21910         * scripts/bench.pl: Parse comments and directives.
21911
21912         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21913         in CPPFLAGS.
21914         ($(objpfx)bench-%.c): Remove *-ITER.
21915         * benchtests/bench-modf.c: Remove definition of ITER.
21916         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21917         (main): Loop for DURATION seconds instead of fixed number of
21918         iterations.
21919         * scripts/bench.pl: Don't expect iterations in parameters.
21920
21921 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21922
21923         * io/fchdir.c (__fchdir): Renamed from fchdir.
21924         (fchdir): Define as weak alias.
21925
21926 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21927
21928         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21929         (ERRNO_EDOM): Likewise.
21930         (ERRNO_ERANGE): Likewise.
21931         (noErrnoTests): New variable.
21932         (init_max_error): Set errno to 0.
21933         (test_single_errno): New function.
21934         (test_errno): Likewise.
21935         (check_float_internal): Call test_errno.  Set errno to 0.
21936         (check_complex): Refer to errno tests in comment.
21937         (check_int): Call test_errno.  Set errno to 0.
21938         (check_long): Likewise.
21939         (check_bool): Likewise.
21940         (check_longlong): Likewise.
21941         (cos_test): Use ERRNO_* flags for errno tests instead of
21942         check_int.
21943         (expm1_test): Likewise.
21944         (fmod_test): Likewise.
21945         (ilogb_test): Likewise.
21946         (lgamma_test): Likewise.
21947         (pow_test): Likewise.
21948         (remainder_test): Likewise.
21949         (sin_test): Likewise.
21950         (tan_test): Likewise.
21951         (yn_test): Likewise.
21952         (initialize): Set errno to 0.
21953         (main): Print number of errno tests.
21954         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21955
21956 2013-04-29  Andreas Jaeger  <aj@suse.de>
21957
21958         [BZ #15084]
21959         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21960         and RES_USEVC.
21961
21962         [BZ #15085]
21963         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21964         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21965         unimplemented.
21966
21967         [BZ #15380]
21968         * stdlib/random.c (__initstate): Return NULL if
21969         __initstate fails.
21970
21971         [BZ #15086]
21972         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21973         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21974         RES_SNGLKUPREOP.
21975
21976 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21977
21978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21979
21980 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21981
21982         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21983         of individual tests.
21984         (casin_test): Likewise.
21985         (casinh_test): Likewise.
21986
21987 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21988
21989         [BZ #15409]
21990         * math/s_catan.c (__catan): Handle arguments with large real or
21991         imaginary part separately without squaring.
21992         * math/s_catanf.c (__catanf): Likewise.
21993         * math/s_catanh.c (__catanh): Likewise.
21994         * math/s_catanhf.c (__catanhf): Likewise.
21995         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21996         and redefine.
21997         (__catanhl): Handle arguments with large real or imaginary part
21998         separately without squaring.
21999         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22000         and redefine.
22001         (__catanl): Handle arguments with large real or imaginary part
22002         separately without squaring.
22003         * math/libm-test.inc (catan_test): Add more tests.
22004         (catanh_test): Likewise.
22005         * sysdeps/i386/fpu/libm-test-ulps: Update.
22006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22007
22008 2013-04-27  Andreas Jaeger  <aj@suse.de>
22009
22010         [BZ #15007]
22011         * stdlib/stdlib.h: Update guards for qecvt.
22012         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22013         <stdlib.h>.
22014
22015 2013-04-27  Allan McRae  <allan@archlinux.org>
22016
22017         * sysdeps/i386/fpu/libm-test-ulps: Update.
22018
22019 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22020
22021         [BZ #15406]
22022         * math/s_catan.c: Include <float.h>.
22023         (__catan): Ensure underflow exception occurs for underflowed
22024         result.
22025         * math/s_catanf.c: Include <float.h>.
22026         (__catanf): Ensure underflow exception occurs for underflowed
22027         result.
22028         * math/s_catanh.c: Include <float.h>.
22029         (__catanh): Ensure underflow exception occurs for underflowed
22030         result.
22031         * math/s_catanhf.c: Include <float.h>.
22032         (__catanhf): Ensure underflow exception occurs for underflowed
22033         result.
22034         * math/s_catanhl.c: Include <float.h>.
22035         (__catanhl): Ensure underflow exception occurs for underflowed
22036         result.
22037         * math/s_catanl.c: Include <float.h>.
22038         (__catanl): Ensure underflow exception occurs for underflowed
22039         result.
22040         * math/libm-test.inc (catan_test): Add more tests.
22041         (catanh_test): Likewise.
22042
22043         [BZ #15405]
22044         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22045         underflowed result.
22046         * math/s_ccoshf.c (__ccoshf): Likewise.
22047         * math/s_ccoshl.c (__ccoshl): Likewise.
22048         * math/s_csin.c (__csin): Likewise.
22049         * math/s_csinf.c (__csinf): Likewise.
22050         * math/s_csinh.c (__csinh): Likewise.
22051         * math/s_csinhf.c (__csinhf): Likewise.
22052         * math/s_csinhl.c (__csinhl): Likewise.
22053         * math/s_csinl.c (__csinl): Likewise.
22054         * math/libm-test.inc (ccos_test): Add more tests.
22055         (ccosh_test): Likewise.
22056         (csin_test): Likewise.
22057         (csinh_test): Likewise.
22058
22059 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22060
22061         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22062         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22063         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22064         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22065         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22066         powerpc/power5+/fpu folders.
22067         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22068
22069
22070 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22071
22072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22073
22074 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22075
22076         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22077         additions to variable.
22078         [$(config-machine) = x86_64] (modules-names): Likewise.
22079         ($(objpfx)tst-audit3): Remove dependency.
22080         ($(objpfx)tst-audit3.out): Likewise.
22081         ($(objpfx)tst-audit4): Likewise.
22082         ($(objpfx)tst-audit4.out): Likewise.
22083         ($(objpfx)tst-audit5): Likewise.
22084         ($(objpfx)tst-audit5.out): Likewise.
22085         ($(objpfx)tst-audit6): Likewise.
22086         ($(objpfx)tst-audit6.out): Likewise.
22087         ($(objpfx)tst-audit7): Likewise.
22088         ($(objpfx)tst-audit7.out): Likewise.
22089         (tst-audit3-ENV): Remove variable.
22090         (tst-audit4-ENV): Likewise.
22091         (tst-audit5-ENV): Likewise.
22092         (tst-audit6-ENV): Likewise.
22093         (tst-audit7-ENV): Likewise.
22094         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22095         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22096         addition to variable.
22097         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22098         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22099         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22100         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22101         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22102         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22103         tst-audit3, tst-audit4 and tst-audit5.
22104         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22105         tst-audit6 and tst-audit7.
22106         [$(subdir) = elf] (modules-names): Add audit modules for those
22107         tests.
22108         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22109         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22110         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22111         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22112         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22113         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22114         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22115         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22116         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22117         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22118         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22119         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22120         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22121         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22122         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22123         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22124         Likewise.
22125         [$(subdir) = elf && $(config-cflags-avx) = yes]
22126         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22127         [$(subdir) = elf && $(config-cflags-avx) = yes]
22128         (CFLAGS-tst-auditmod4a.c): Likewise.
22129         [$(subdir) = elf && $(config-cflags-avx) = yes]
22130         (CFLAGS-tst-auditmod4b.c): Likewise.
22131         [$(subdir) = elf && $(config-cflags-avx) = yes]
22132         (CFLAGS-tst-auditmod6b.c): Likewise.
22133         [$(subdir) = elf && $(config-cflags-avx) = yes]
22134         (CFLAGS-tst-auditmod6c.c): Likewise.
22135         [$(subdir) = elf && $(config-cflags-avx) = yes]
22136         (CFLAGS-tst-auditmod7b.c): Likewise.
22137         * elf/tst-audit3.c: Move to ...
22138         * sysdeps/x86_64/tst-audit3.c: ... here.
22139         * elf/tst-audit4.c: Move to ...
22140         * sysdeps/x86_64/tst-audit4.c: ... here.
22141         * elf/tst-audit5.c: Move to ...
22142         * sysdeps/x86_64/tst-audit5.c: ... here.
22143         * elf/tst-audit6.c: Move to ...
22144         * sysdeps/x86_64/tst-audit6.c: ... here.
22145         * elf/tst-audit7.c: Move to ...
22146         * sysdeps/x86_64/tst-audit7.c: ... here.
22147         * elf/tst-auditmod3a.c: Move to ...
22148         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22149         * elf/tst-auditmod3b.c: Move to ...
22150         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22151         * elf/tst-auditmod4a.c: Move to ...
22152         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22153         * elf/tst-auditmod4b.c: Move to ...
22154         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22155         * elf/tst-auditmod5a.c: Move to ...
22156         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22157         * elf/tst-auditmod5b.c: Move to ...
22158         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22159         * elf/tst-auditmod6a.c: Move to ...
22160         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22161         * elf/tst-auditmod6b.c: Move to ...
22162         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22163         * elf/tst-auditmod6c.c: Move to ...
22164         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22165         * elf/tst-auditmod7a.c: Move to ...
22166         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22167         * elf/tst-auditmod7b.c: Move to ...
22168         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22169
22170 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22171
22172         [BZ #15366]
22173         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22174         define unconditionally.
22175         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22176         define unconditionally.
22177         (INT8_C, INT16_C, etc.): Likewise.
22178
22179 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22180
22181         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22182         __ehdr_start with hidden visibility.
22183
22184         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22185
22186 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22187
22188         * math/libm-test.inc (cos_test): Use accurate hex constants.
22189         (sincost_test): Likewise.
22190
22191 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22192
22193         * math/libm-test.inc (catan_test): Add more tests.
22194         (catanh_test): Likewise.
22195
22196         * math/s_catanf.c (__catanf): Use suffixed floating-point
22197         constants.
22198         * math/s_catanhf.c (__catanhf): Likewise.
22199         * math/s_catanhl.c (__catanhl): Likewise.
22200         * math/s_catanl.c (__catanl): Likewise.
22201
22202         [BZ #15394]
22203         * math/s_catan.c (__catan): Calculate imaginary part of result
22204         with log1p not log unless computing log of number close to 0.
22205         * math/s_catanf.c (__catanf): Likewise.
22206         * math/s_catanl.c (__catanl): Likewise.
22207         * math/s_catanh.c (__catanh): Calculate real part of result with
22208         log1p not log unless computing log of number close to 0.
22209         * math/s_catanhf.c (__catanhf): Likewise.
22210         * math/s_catanhl.c (__catanhl): Likewise.
22211         * math/libm-test.inc (catan_test): Add more tests.
22212         (catanh_test): Likewise.
22213         * sysdeps/i386/fpu/libm-test-ulps: Update.
22214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22215
22216 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22217
22218         * benchtests/Makefile: Mention files in which fast and slow
22219         paths of math functions are implemented.
22220
22221 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22222
22223         * sysdeps/posix/timespec_get.c: New file.
22224
22225 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22226
22227         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22228         POWER.
22229         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22230         for POWER.
22231         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22232         powerpc/power5/fpu folders.
22233         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22234         * benchtests/Makefile: Add modf testcase.
22235         * benchtests/bench-modf.c: New file: Benchmark test for mo
22236
22237 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22238
22239         [BZ #14888]
22240         * time/Makefile (tests): Add tst-strptime-whitespace.
22241         * time/strptime_l.c (get_number): Use ISSPACE.
22242         (__strptime_internal): Likewise.
22243         * time/tst-strptime-whitespace.c: New test case.
22244
22245 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22246
22247         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22248         member.
22249         (_nss_files_init): Set it here.
22250
22251 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22252
22253         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22254         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22255         unsigned.
22256
22257 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22258
22259         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22260
22261 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22262
22263         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22264         size just once.
22265
22266 2013-04-21  David S. Miller  <davem@davemloft.net>
22267
22268         * po/ru.po: Update Russion translation from translation project.
22269
22270 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22271
22272         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22273         and setfsgid.
22274
22275 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22276
22277         * configure.in: Remove i386 configure warning. Remove i386 case.
22278         * configure: Regenerate.
22279         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22280         Add example to error message.
22281         * sysdeps/i386/configure: Regenerate.
22282
22283 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22284
22285         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22286         slowtan.
22287         * benchtests/cos-inputs: New file.
22288         * benchtests/slowcos-inputs: New file.
22289         * benchtests/slowcos.c: New file.
22290         * benchtests/slowtan-inputs: New file.
22291         * benchtests/slowtan.c: New file.
22292         * benchtests/tan-inputs: New file.
22293
22294 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22295
22296         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22297         considered kosher.
22298
22299 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300
22301         * benchtests/Makefile: Include cppflags-iterator.mk to add
22302         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22303
22304         * Makefile.in (bench-clean): New target.
22305         * benchtests/Makefile (bench-clean): Likewise.
22306
22307 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22308
22309         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22310
22311 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22312
22313         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22314
22315 2013-04-15  Andreas Schwab  <schwab@suse.de>
22316
22317         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22318         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22319         * nscd/pwdcache.c (cache_addpw): Likewise.
22320         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22321         more than recsize.
22322
22323 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22324
22325         * benchtests/Makefile (bench): Write all output to
22326         bench-out.tmp together.
22327
22328 2013-04-15  Andreas Schwab  <schwab@suse.de>
22329
22330         * nscd/nscd.c (main): Don't fork again after closing files.
22331
22332 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22333
22334         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22335
22336         * benchtests/Rules (bench-deps): Collect dependencies into a
22337         single variable.  Add Makefile to dependencies.
22338         ($(objpfx)bench-%.c): Depend on bench-deps.
22339
22340 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22341             Xavier Roche  <roche+kml2@exalead.com>
22342
22343         [BZ #15361]
22344         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22345         just that it's a file descriptor.
22346         * manual/llio.texi (Synchronizing AIO Operations): Update description
22347         for EBADF error from aio_fsync.
22348
22349 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22350
22351         * Rules (bench): Move target definition...
22352         * benchtests/Makefile: ... here.
22353
22354 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22355
22356         * math/libm-test.inc (cos_test): Fix PI/2 test.
22357         (sincos_test): Likewise.
22358         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22359         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22360
22361 2013-04-11  Andreas Schwab  <schwab@suse.de>
22362
22363         [BZ #13988]
22364         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22365         accept exponent character only when digits were seen.
22366         * stdio-common/Makefile (tests): Add bug26.
22367         * stdio-common/bug26.c: New file.
22368
22369         [BZ #14293]
22370         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22371         non-freeable.
22372
22373 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22374
22375         * Makeconfig (rtld-prefix): Define built linker prefix.
22376         * Rules (run-bench): Use it.
22377         * math/Makefile (run-regen-ulps): Likewise.
22378
22379         * Rules (bench): Remove eval.
22380
22381 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22382             Roland McGrath  <roland@hack.frob.com>
22383             Ondrej Bilka  <neleai@seznam.cz>
22384
22385         [BZ #15346]
22386         * time/getdate.c: Include ctype.h and alloca.h.
22387         (__getdate_r): Trim leading and trailing spaces of input.
22388         * time/tst-getdate.c (tests): Add tests with leading and
22389         trailing spaces.
22390
22391 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22392
22393         [BZ #14280]
22394         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22395         when computing value.
22396
22397 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22398
22399         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22400         Use testrun.sh to run libm tests.
22401
22402         [BZ #15309]
22403         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22404
22405 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22406
22407         [BZ #15264]
22408         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22409
22410 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22411
22412         * Makefile.in (regen-ulps): New target.
22413         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22414         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22415         [ifneq (no,$(PERL)] (regen-ulps): New target.
22416         [ifeq (no,$(PERL)] (regen-ulps): New target.
22417         * math/libm-test.inc (ulps_file_name): Define.
22418         (output_dir): New variable.
22419         (options): Add "output-dir" option.
22420         (parse_opt): Handle 'o' case.
22421         (main): If output_dir is non-NULL use it as a prefix
22422         otherwise use "".
22423         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22424
22425 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22426
22427         [BZ #10060, #10062]
22428         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22429         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22430         fail configure if __sync_val_compare_and_swap is not inlined.
22431         * sysdeps/i386/configure: Regenerate.
22432         * configure.in: Build for i686 when configured for i386.
22433         * configure: Regenerate.
22434         * README: Remove i386 reference.
22435
22436 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22437
22438         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22439         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22440
22441 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22442
22443         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22444         (lmsnanval): New variables.
22445         (F): Add conversion tests.
22446         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22447         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22448
22449         * stdio-common/tstdiomisc.c (F): Properly collect individual
22450         tests' results.
22451
22452         [BZ #14686, #15336]
22453         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22454         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22455         Instead, use input NaN values or generate a qNaN by arithmetic
22456         operation.  Also fix bugs to comply with the standard.
22457         * math/libm-test.inc (remainder_test): Add more tests.
22458
22459         [BZ #15335, #15342]
22460         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22462         input NaN values or generate a qNaN by arithmetic operation.
22463
22464         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22465         unreachable code.
22466
22467         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22468         definitions.
22469
22470 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22471
22472         [BZ #14478]
22473         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22474         underflowed result.
22475         * math/s_cexpf.c (__cexpf): Likewise.
22476         * math/s_cexpl.c (__cexpl): Likewise.
22477         * math/libm-test.inc (cexp_test): Add more tests.
22478
22479 2013-04-03  Andreas Schwab  <schwab@suse.de>
22480
22481         [BZ #15330]
22482         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22483         order arrays from heap if bigger than alloca cutoff.
22484
22485 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22486
22487         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22488         (SNAN_TESTS_double): Refer to GCC PR56831.
22489         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22490         GCC PR56828.
22491
22492 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22493
22494         * Rules (bench): Move bench.out after the run is complete.
22495
22496         * Rules (bench): Echo currently running benchmark.
22497
22498         * benchtests/Makefile (bench): Add atan and slowatan.
22499         * benchtests/atan-inputs: New file.
22500         * benchtests/slowatan-inputs: New file.
22501         * benchtests/slowatan.c: New file.
22502
22503         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22505         its value.
22506
22507         [BZ #15305]
22508         * sysdeps/unix/sysv/linux/kernel-features.h
22509         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22510         __ASSUME_XFS_RESTRICTED_CHOWN.
22511         * sysdeps/unix/sysv/linux/pathconf.c
22512         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22513         Save and restore errno.
22514
22515 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22516
22517         [BZ #15327]
22518         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22519         arguments using __kernel_casinh.
22520         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22521         arguments using __kernel_casinhf.
22522         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22523         arguments using __kernel_casinhl.
22524         * math/libm-test.inc (cacosh_test): Add more tests.
22525         * sysdeps/i386/fpu/libm-test-ulps: Update.
22526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22527
22528 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22529
22530         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22531         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22532
22533         * bench/Makefile (bench): Add sin and slowsin.
22534         * benchtests/sin-inputs: New file.
22535         * benchtests/slowsin-inputs: New file.
22536         * benchtests/slowsin.c: New file.
22537
22538         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22539         (bench): Add slowexp and slowpow.
22540         (exp-ITER): Increase iterations.
22541         (pow-ITER): Likewise.
22542         * benchtests/exp-inputs: Change input.
22543         * benchtests/pow-inputs: Likewise.
22544         * benchtests/slowexp-inputs: New file.
22545         * benchtests/slowexp.c: New file.
22546         * benchtests/slowpow-inputs: New file.
22547         * benchtests/slowpow.c: New file.
22548
22549 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22550
22551         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22552         instructions.
22553         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22554         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22555         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22556         * benchtests/Makefile: Add rint benchtest.
22557         * benchtests/rint-inputs: Input for rint benchtest.
22558
22559 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22560
22561         * Versions.def (libm): Add GLIBC_2.18.
22562         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22563         hidden libm prototypes.
22564         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22565         * math/Makefile (libm-calls): Add s_issignaling.
22566         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22567         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22568         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22569         declaration.
22570         * math/math.h [__USE_GNU] (issignaling): New macro.
22571         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22572         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22573         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22574         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22575         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22576         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22577         * manual/arith.texi (issignaling): New section.
22578         * manual/libm-err-tab.pl (@all_functions): Update comment.
22579         * math/gen-libm-test.pl (parse_args): Apply special handling for
22580         issignaling.
22581         * math/libm-test.inc (print_float, issignaling_test): New
22582         functions.
22583         (check_float_internal): Add issignaling checks.
22584         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22585         default definition.
22586         * sysdeps/powerpc/math-tests.h: New file.
22587         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22588         tests.
22589         * math/test-snan.c (TEST_FUNC): Likewise.
22590
22591 2013-03-30  David S. Miller  <davem@davemloft.net>
22592
22593         * po/de.po: Update from translation team.
22594
22595 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22596
22597         [BZ #10357]
22598         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22599         imaginary part less than 1.0 and real part less than 0.5
22600         specially.
22601         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22602         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22603         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22604         (cacos_test): Add more tests.
22605         (casin_test): Likewise.
22606         (casinh_test): Likewise.
22607         * sysdeps/i386/fpu/libm-test-ulps: Update.
22608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22609
22610 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22611
22612         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22613         ONE with its value.
22614
22615         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22616         (__pow_mp): Replace ONE and MONE with their values.
22617         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22618         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22619         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22620         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22621         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22622         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22623
22624         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22625
22626         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22627         (__pow_mp): Replace ZERO and MZERO with their values.
22628         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22629         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22630         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22631         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22632         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22633         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22634         (__sqr): Likewise.
22635
22636         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22637
22638         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22639
22640 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22641
22642         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22643         Declare with __attribute__ ((weak)).
22644         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22645         Call __call_tls_dtors only if it's not NULL.
22646
22647 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22648
22649         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22650         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22651         magic __ehdr_start linker symbol if it's defined.
22652         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22653         them up here if it was already done.
22654
22655         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22656         (_dl_aux_init): Use const in cast when setting it.
22657         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22658         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22659         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22660
22661         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22662         Declare them here.
22663         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22664         * csu/libc-tls.c: Nor here.
22665         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22666
22667         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22668         (__libc_message): Never call vsyslog.
22669
22670 2013-03-28  Alan Modra  <amodra@gmail.com>
22671
22672         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22673         Define as empty.
22674         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22675         Likewise.
22676
22677 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22678
22679         [BZ #15214]
22680         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22681         underflow.
22682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22683
22684 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22685
22686         [BZ #15304]
22687         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22688         Don't add gid passed as argument.
22689
22690         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22691
22692 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22693
22694         [BZ #15307]
22695         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22696         imaginary part between 1.0 and 1.5 and real part less than 0.5
22697         specially.
22698         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22699         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22700         * math/libm-test.inc (cacos_test): Add more tests.
22701         (casin_test): Likewise.
22702         (casinh_test): Likewise.
22703         * sysdeps/i386/fpu/libm-test-ulps: Update.
22704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22705
22706 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22707
22708         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22709         constants.
22710         (norm): Likewise.
22711         (denorm): Likewise.
22712         (__dbl_mp): Likewise.
22713         (add_magnitudes): Likewise.
22714         (sub_magnitudes): Likewise.
22715         (__add): Likewise.
22716         (__sub): Likewise.
22717         (__mul): Likewise.
22718         (__sqr): Likewise.
22719         (__inv): Likewise.
22720         (__dvd): Likewise.
22721
22722         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22723         commented code.
22724         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22725         (__dubcos): Likewise.
22726         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22727         (__ieee754_acos): Likewise.
22728         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22729         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22730         (__exp1): Likewise.
22731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22732         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22733         (log1): Likewise.
22734         (my_log2): Likewise.
22735         (checkint): Likewise.
22736         * sysdeps/ieee754/dbl-64/e_remainder.c
22737         (__ieee754_remainder): Likewise.
22738         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22740         (bsloww): Likewise.
22741         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22742
22743         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22744         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22745         MANTISSA_STORE_T to store computations on mantissa.  Use
22746         macros for rounding and division.
22747         (denorm): Likewise.
22748         (__dbl_mp): Likewise.
22749         (add_magnitudes): Likewise.
22750         (sub_magnitudes): Likewise.
22751         (__mul): Likewise.
22752         (__sqr): Likewise.
22753         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22754         powers of two in terms of TWOPOW macro.
22755         (mp_no): Make type of mantissa as MANTISSA_T.
22756         [!RADIXI]: Define RADIXI.
22757         [!TWO52]: Define TWO52.
22758         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22759
22760 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22761
22762         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22763         llroundl symbol when building for PPC32.
22764
22765 2013-03-24  Mark H Weaver  <mhw@netris.org>
22766
22767         * manual/arith.texi (Normalization Functions): Fix prototypes for
22768         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22769
22770 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22771
22772         [BZ #13889]
22773         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22774         high value to check if expl overflow.
22775         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22776         to check for underflow and overflow.
22777         * math/libm-test.inc: Add exp test.
22778
22779 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22780
22781         [BZ #11120]
22782         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22783         with NOT_IN_libc.
22784
22785 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22786
22787         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22788         symbol.
22789
22790 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22791
22792         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22793         wrap blocks consisting of several statements.
22794
22795         * sysdeps/generic/math-tests.h: New file.
22796         * sysdeps/i386/fpu/math-tests.h: Likewise.
22797         * math/test-snan.c: Include it.
22798         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22799
22800 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22801
22802         [BZ #15285]
22803         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22804         (__ieee754_j0l): Do not improve calculations using cos of twice
22805         input for inputs above LDBL_MAX / 2.0L.
22806         (__ieee754_y0l): Likewise.
22807         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22808         (__ieee754_j1l): Do not improve calculations using cos of twice
22809         input for inputs above LDBL_MAX / 2.0L.
22810         (__ieee754_y1l): Likewise.
22811         * math/libm-test.inc (j0_test): Add another test.
22812         (j1_test): Likewise.
22813         (y0_test): Likewise.
22814         (y1_test): Likewise.
22815         * sysdeps/i386/fpu/libm-test-ulps: Update.
22816
22817 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22818
22819         * Rules ($(objpfx)bench-%.c): Include code from a C source
22820         file.
22821
22822 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22823
22824         [BZ #15287]
22825         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22826         imaginary part 1.0 and real part less than 0.5 specially.
22827         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22828         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22829         * math/libm-test.inc (cacos_test): Add more tests.
22830         (casin_test): Likewise.
22831         (casinh_test): Likewise.
22832         * sysdeps/i386/fpu/libm-test-ulps: Update.
22833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22834
22835 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22836
22837         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22838         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22839
22840 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22841
22842         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22843         * config.make.in (config-cflags-sse4): Remove variable.
22844         (config-cflags-avx): Likewise.
22845         (config-cflags-sse2avx): Likewise.
22846         (config-cflags-novzeroupper): Likewise.
22847         (config-asflags-i686): Likewise.
22848         (have-mfma4): Likewise.
22849         (have-as-vis3): Likewise.
22850         (MIG): Likewise.
22851         * configure.in (MIG): Do not AC_SUBST.
22852         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22853         (libc_cv_cc_sse4): Do not AC_SUBST.
22854         (libc_cv_cc_avx): Likewise.
22855         (libc_cv_cc_sse2avx): Likewise.
22856         (libc_cv_cc_novzeroupper): Likewise.
22857         (libc_cv_cc_fma4): Likewise.
22858         (libc_cv_as_i686): Likewise.
22859         (libc_cv_sparc_as_vis3): Likewise.
22860         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22861         LIBC_CONFIG_VAR.
22862         (config-asflags-i686): Likewise.
22863         (config-cflags-avx): Likewise.
22864         (config-cflags-sse2avx): Likewise.
22865         (have-mfma4): Likewise.
22866         (config-cflags-novzeroupper): Likewise.
22867         * sysdeps/mach/configure.in (MIG): Likewise.
22868         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22869         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22870         LIBC_CONFIG_VAR.
22871         (config-cflags-avx): Likewise.
22872         (config-cflags-sse2avx): Likewise.
22873         (have-mfma4): Likewise.
22874         (config-cflags-novzeroupper): Likewise.
22875         * configure: Regenerated.
22876         * sysdeps/i386/configure: Likewise.
22877         * sysdeps/mach/configure: Likewise.
22878         * sysdeps/sparc/configure: Likewise.
22879         * sysdeps/x86_64/configure: Likewise.
22880
22881 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22882
22883         [BZ #14812]
22884         * locale/programs/localedef.c (options): Put N_ translation marker
22885         on argument names, not just descriptions.
22886
22887 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22888
22889         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22890
22891 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22892
22893         [BZ #14176]
22894         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22895
22896 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22897
22898         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22899         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22900         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22901         [!BEFORE_ABORT] (before_abort): New function.
22902         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22903         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22904         (writev_for_fatal): New function.
22905         (WRITEV_FOR_FATAL): New macro; call that.
22906         (backtrace_and_maps): New function.
22907         (BEFORE_ABORT): New macro; call that.
22908         (struct str_list): Type removed.
22909         (__libc_message, __libc_fatal): Functions removed.
22910         Include <sysdeps/posix/libc_fatal.c> instead.
22911
22912 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22913
22914         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22915         constants.
22916         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22917         double constants.
22918
22919 2013-03-19  Andreas Schwab  <schwab@suse.de>
22920
22921         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22922         * sysdeps/gnu/configure: Regenerate.
22923
22924         * configure.in: Substitute libc_cv_rtlddir.
22925         * configure: Regenerate.
22926         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22927         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22928         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22929         * elf/Makefile (install-others, CFLAGS-interp.c)
22930         (ldso_install, common-ldd-rewrite): Likewise.
22931         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22932         $(inst_slibdir)/$(rtld-installed-name).
22933         * scripts/rellns-sh: Add -p option.
22934         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22935         for source.
22936
22937 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22938
22939         * manual/nptl.texi: Renamed to ...
22940         * manual/threads.texi: ... this.
22941         * manual/Makefile (chapters): Update.
22942
22943 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22944
22945         [BZ #14812]
22946         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22947         on argument names, not just descriptions.
22948         * malloc/memusagestat.c (options): Likewise.
22949         * nss/getent.c (options): Likewise.
22950
22951 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22952
22953         [BZ #14812]
22954         * iconv/iconv_prog.c (options): Put N_ translation marker
22955         on argument names, not just descriptions.
22956         * iconv/iconvconfig.c (options): Likewise.
22957
22958 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22959
22960         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22961         implementation which is faster on all x86_64 architectures.
22962         Tested on AMD, Intel Nehalem, SNB, IVB.
22963         * sysdeps/x86_64/strnlen.S: Likewise.
22964
22965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22966         Remove all multiarch strlen and strnlen versions.
22967         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22968         Remove strlen and strnlen related parts.
22969
22970         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22971         Inline strlen part.
22972         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22973
22974         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22975         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22976         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22977         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22978         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22979         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22980
22981 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22982
22983         * manual/memory.texi (Malloc Tunable Parameters):
22984         Sort parameters alphabetically. Add comments for missing entries.
22985
22986 2013-03-17  David S. Miller  <davem@davemloft.net>
22987
22988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22989
22990 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22991
22992         [BZ #15283]
22993         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22994         for arguments at most half maximum finite value.
22995         * math/libm-test.inc (j0_test): Add more tests.
22996         (j1_test): Likewise.
22997         (y0_test): Likewise.
22998         (y1_test): Likewise.
22999         * sysdeps/i386/fpu/libm-test-ulps: Update.
23000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23001
23002         [BZ #14155]
23003         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23004         1 / x and functions P and Q for arguments above 0x1p256L.
23005         (__ieee754_y0l): Likewise.
23006         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23007         (__ieee754_y1l): Likewise.
23008         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23009         (j1_test): Likewise.
23010         (y0_test): Likewise.
23011         (y1_test): Likewise.
23012
23013 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23014
23015         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23016         variable.
23017
23018 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23019
23020         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23021         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23022         zero since it's initialized to EXEC_PAGESIZE.
23023
23024         * sysdeps/unix/sysv/linux/ldsodefs.h
23025         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23026         * sysdeps/generic/ldsodefs.h: ... here.
23027
23028 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23029
23030         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23031
23032         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23033         math/test-snan.c.
23034         * math/test-snan.c: Renamed from
23035         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23036         * math/Makefile (tests): Add test-snan.
23037         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23038         test-powerpc-snan.
23039
23040         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23041         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23042         functions.
23043         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23044         __builtin_nan family of functions.
23045         * math/libm-test.inc (initialize): Initialize qnan_value with
23046         __builtin_nan family of functions.
23047         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23048         Remove variables.
23049         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23050         Remove functions.
23051         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23052         storage class.  Initialize qNaN_var and sNaN_var with
23053         __builtin_nan and __builtin_nans families of functions,
23054         respectively.
23055
23056         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23057         (sqrt_test): Remove duplicate test with qNaN input.
23058         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23059         (round_test, signbit_test, significand_test): Note missing +/-Inf
23060         as well as qNaN tests.
23061
23062         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23063         qNaN_var.  Fix a few strings, too.
23064         * math/libm-test.inc (nan_value): Rename to qnan_value.
23065         * math/gen-libm-test.pl (%beautify): Adjust to that.
23066         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23067         * math/test-misc.c (main): Likewise.
23068         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23069         to __qnan_bytes, and __qnan_union, respectively.
23070         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23071         Likewise.
23072         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23073         and lqnanval, respectively.
23074         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23075         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23076         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23077         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23078
23079         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23080         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23081         doubles.
23082
23083         * math/test-misc.c (main): Fix copy'n'pastos.
23084         * misc/tst-efgcvt.c (special): Likewise.
23085
23086         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23087         Remove declarations.
23088
23089 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23090
23091         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23092         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23093         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23094         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23095
23096 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23097
23098         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23099         macro to return vdso values correctly in IFUNC implementations.
23100         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23101         Optimization by using IFUNC.
23102
23103 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23104             Richard Henderson  <rth@redhat.com>
23105             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23106
23107         * Makefile.in (bench): New target.
23108         * NEWS: Mention the benchmark framework.
23109         * Rules (bench): Likewise.
23110         (binaries-bench): Generate binaries for functions to
23111         benchmark.
23112         * benchtests/Makefile: New makefile for benchmark tests.
23113         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23114         programs.
23115         * benchtests/exp-inputs: New input file for EXP function.
23116         * benchtests/pow-inputs: New input file for POW function.
23117         * scripts/bench.pl: New script to generate source files for
23118         benchmark programs.
23119
23120 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23121
23122         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23123         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23124         computations on mantissa.  Use macros for rounding and
23125         division.
23126         (denorm): Likewise.
23127         (__dbl_mp): Likewise.
23128         (add_magnitudes): Likewise.
23129         (sub_magnitudes): Likewise.
23130         (__mul): Likewise.
23131         (__sqr): Likewise.
23132         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23133         powers of two in terms of TWOPOW macro.
23134         (mp_no): Make type of mantissa as MANTISSA_T.
23135         [!RADIXI]: Define RADIXI.
23136         [!TWO52]: Define TWO52.
23137         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23138
23139         * manual/nptl.texi (cindex): Modify threads to pthreads.
23140
23141 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23142
23143         * sysdeps/x86_64/preconfigure: Regenerated.
23144
23145 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23146
23147         [BZ #14155]
23148         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23149         0x1p28 and above.
23150         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23151         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23152         0x1p28 and above.
23153         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23154         * math/libm-test.inc (j0_test): Do not allow one spurious
23155         underflow exception.
23156         (y1_test): Likewise.
23157
23158 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23159
23160         * manual/Makefile (chapters): Add nptl.
23161         * manual/debug.texi (Debugging Support): Add link to Threads
23162         chapter.
23163         * manual/nptl.texi: New file.
23164
23165         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23166
23167 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23168
23169         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23170         for non-NULL pointer before the memory validity test. Pointed
23171         out by Holger Brunck <holger.brunck@keymile.com>.
23172
23173 2013-03-13  Andreas Schwab  <schwab@suse.de>
23174
23175         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23176         instead of .os.
23177
23178 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23179
23180         * timezone/zic.c: Update from tzcode 2013b.
23181
23182 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23183
23184         * manual/install.texi (Configuring and compiling):
23185         Mention i686 and i586.
23186         * INSTALL: Regenerate.
23187
23188 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23189
23190         * sysdeps/init_array/elf-init.c: New file.
23191         * csu/elf-init.c
23192         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23193         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23194
23195         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23196         __gmon_start__ as global, but as static with a .preinit_array pointer.
23197         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23198         * sysdeps/init_array/crti.S: New file, empty except for comments.
23199         * sysdeps/init_array/crtn.S: Likewise.
23200
23201 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23202
23203         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23204         definining bcopy.
23205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23206         Remove Prefer_SSE_for_memop.
23207         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23208         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23209         HAS_PREFER_SSE_FOR_MEMOP.
23210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23211         memset-x86-64.
23212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23213         Remove bzero, memset ifunc support.
23214         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23215         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23216         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23217         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23218
23219 2013-03-11  Andreas Schwab  <schwab@suse.de>
23220
23221         [BZ #15234]
23222         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23223         by SHLIB_COMPAT.
23224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23225         (GLIBC_2.16): Remove pthread_atfork.
23226
23227 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23228
23229         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23230         (ptestcases.h): Likewise.
23231
23232 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23233
23234         * Makeconfig ($(common-objpfx)config.status): Depend on
23235         sysdeps/*/preconfigure{,.in} too.
23236
23237 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23238
23239         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23240         (__free_hook): Use void * instead of __malloc_ptr_t.
23241         (__malloc_hook): Likewise.
23242         (__realloc_hook): Likewise.
23243         (__memalign_hook): Likewise.
23244         (__after_morecore_hook): Likewise.
23245         * malloc/arena.c (save_malloc_hook): Likewise.
23246         (save_free_hook): Likewise.
23247         * malloc/hooks.c (malloc_hook_ini): Likewise.
23248         (realloc_hook_ini): Likewise.
23249         (memalign_hook_ini): Likewise.
23250         * malloc/malloc.c (malloc_hook_ini): Likewise.
23251         (realloc_hook_ini): Likewise.
23252         (memalign_hook_ini): Likewise.
23253         (__free_hook): Likewise.
23254         (__malloc_hook): Likewise.
23255         (__realloc_hook): Likewise.
23256         (__memalign_hook): Likewise.
23257         (__libc_malloc): Likewise.
23258         (__libc_free): Likewise.
23259         (__libc_realloc): Likewise.
23260         (__libc_memalign): Likewise.
23261         (__libc_valloc): Likewise.
23262         (__libc_pvalloc): Likewise.
23263         (__libc_calloc): Likewise.
23264         (__posix_memalign): Likewise.
23265         * malloc/morecore.c (__sbrk): Likewise.
23266         (__default_morecore): Likewise.
23267
23268         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23269
23270         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23271         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23272         __malloc_ptrdiff_t.
23273
23274         * malloc/malloc.h (__malloc_size_t): Remove macro.
23275         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23276         __malloc_size_t.
23277         (old_memalign_hook): Likewise.
23278         (old_realloc_hook): Likewise.
23279         (struct hdr): Likewise.
23280         (flood): Likewise.
23281         (mallochook): Likewise.
23282         (memalignhook): Likewise.
23283         (reallochook): Likewise.
23284         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23285         (tr_old_realloc_hook): Likewise.
23286         (tr_old_memalign_hook): Likewise.
23287         (tr_mallochook): Likewise.
23288         (tr_reallochook): Likewise.
23289         (tr_memalignhook): Likewise.
23290
23291 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23292
23293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23294         default_ldbl_pack and using as default implementation.
23295         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23296         implementation.
23297         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23298         redundant definition.
23299         (ldbl_insert_mantissa): Likewise.
23300         (ldbl_canonicalize): Likewise.
23301         (ldbl_nearbyint): Likewise.
23302         (ldbl_pack): Rename to ldbl_pack_ppc.
23303         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23304         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23305         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23306
23307 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23308
23309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23310         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23311         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23312         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23314         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23315         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23316         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23317
23318 2013-03-07  Andreas Jaeger  <aj@suse.de>
23319
23320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23321         bits/mman-linux.h.
23322
23323 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23324
23325         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23326         Include mpa.h and declare __MPEXP.
23327         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23328         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23329         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23330         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23331         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23332         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23333         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23334
23335         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23336         (__slowpow): Use long double EXPL and LOGL functions to
23337         compute POW.
23338         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23339         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23340         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23341         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23342         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23343         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23344
23345         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23346         intermediate variable to calculate exponent.
23347         (__sqr): Likewise.
23348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23349         Likewise.
23350         (__sqr): Likewise.
23351
23352         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23353         [!NO__SQR]: Define __sqr.
23354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23355         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23356         sysdeps/ieee754/dbl-64/mpa.c.
23357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23358
23359         [BZ #12723]
23360         * posix/Makefile (tests): Add tst-pathconf.
23361         * posix/tst-pathconf.c: New test case.
23362         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23363         _PC_PIPE_BUF.
23364         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23365
23366 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23367
23368         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23369
23370 2013-03-06  Andreas Jaeger  <aj@suse.de>
23371
23372         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23373         definition via __MAP_ANONYMOUS.
23374
23375         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23376         it's not part of Linux headers.
23377
23378         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23379         (MAP_HUGE_MASK): Define.
23380
23381         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23382         Define.
23383         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23385         Define.
23386         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23387         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23388         Define.
23389         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23390         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23391         Define.
23392         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23393
23394         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23395         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23396         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23397         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23398         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23399         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23400
23401         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23402         Handle f2fs.
23403
23404         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23405         Handle f2fs and efivarfs.
23406
23407         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23408         f2fs.
23409
23410         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23411         (EFIVARFS_MAGIC): Add.
23412         (F2FS_LINK_MAX): Add.
23413
23414 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23415
23416         * stdio-common/vfprintf.c: Replace __builtin_expect with
23417         __glibc_unlikely.
23418
23419 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23420
23421         [BZ #13550]
23422         * sysdeps/generic/bp-sym.h: Remove file.
23423         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23424         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23425         <bp-sym.h> and <bp-asm.h>.
23426         (__longjmp): Don't use BP_SYM.
23427         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23428         and <bp-asm.h>.
23429         (memcpy): Don't use BP_SYM.
23430         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23431         <bp-sym.h> and <bp-asm.h>.
23432         (memcpy): Don't use BP_SYM.
23433         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23434         <bp-asm.h>.
23435         (memcpy): Don't use BP_SYM.
23436         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23437         <bp-asm.h>.
23438         (memset): Don't use BP_SYM.
23439         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23440         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23441         (__bzero): Don't use BP_SYM.
23442         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23443         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23444         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23445         <bp-sym.h> and <bp-asm.h>.
23446         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23447         pointers.
23448         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23449         <bp-sym.h> and <bp-asm.h>.
23450         (memcpy): Don't use BP_SYM.
23451         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23452         <bp-sym.h> and <bp-asm.h>.
23453         (memset): Don't use BP_SYM.
23454         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23455         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23456         (__bzero): Don't use BP_SYM.
23457         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23458         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23459         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23460         <bp-sym.h> and <bp-asm.h>.
23461         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23462         pointers.
23463         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23464         <bp-sym.h> and <bp-asm.h>.
23465         (memcpy): Don't use BP_SYM.
23466         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23467         <bp-sym.h> and <bp-asm.h>.
23468         (memset): Don't use BP_SYM.
23469         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23470         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23471         (__bzero): Don't use BP_SYM.
23472         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23473         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23474         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23475         <bp-sym.h> and <bp-asm.h>.
23476         (__memchr): Don't use BP_SYM.
23477         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23478         <bp-sym.h> and <bp-asm.h>.
23479         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23480         pointers.
23481         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23482         <bp-sym.h> and <bp-asm.h>.
23483         (memcpy): Don't use BP_SYM.
23484         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23485         <bp-sym.h> and <bp-asm.h>.
23486         (__mempcpy): Don't use BP_SYM.
23487         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23488         <bp-sym.h> and <bp-asm.h>.
23489         (__memrchr): Don't use BP_SYM.
23490         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23491         <bp-sym.h> and <bp-asm.h>.
23492         (memset): Don't use BP_SYM.
23493         (__bzero): Likewise.
23494         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23495         <bp-sym.h> and <bp-asm.h>.
23496         (__rawmemchr): Don't use BP_SYM.
23497         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23498         <bp-sym.h> and <bp-asm.h>.
23499         (__STRCMP): Don't use BP_SYM.
23500         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23501         <bp-sym.h> and <bp-asm.h>.
23502         (strchr): Don't use BP_SYM.
23503         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23504         <bp-sym.h> and <bp-asm.h>.
23505         (__strchrnul): Don't use BP_SYM.
23506         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23507         <bp-sym.h> and <bp-asm.h>.
23508         (strlen): Don't use BP_SYM.
23509         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23510         <bp-sym.h> and <bp-asm.h>.
23511         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23512         pointers.
23513         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23514         <bp-sym.h> and <bp-asm.h>.
23515         (__strnlen): Don't use BP_SYM.
23516         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23517         <bp-sym.h> and <bp-asm.h>.
23518         (__GI__setjmp): Don't use BP_SYM.
23519         (_setjmp): Likewise.
23520         (__sigsetjmp): Likewise.
23521         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23522         (L(start_addresses)): Don't use BP_SYM.
23523         (_start): Likewise.
23524         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23525         <bp-asm.h>.
23526         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23527         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23528         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23529         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23530         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23531         <bp-asm.h>.
23532         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23533         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23534         about bounded pointers.
23535         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23536         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23537         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23538         <bp-asm.h>.
23539         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23540         about bounded pointers.  Remove GKM FIXME comments.
23541         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23542         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23543         <bp-asm.h>.
23544         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23545         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23546         Remove GKM FIXME comments.
23547         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23548         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23549         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23550         <bp-asm.h>.
23551         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23552         about bounded pointers.  Remove GKM FIXME comment.
23553         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23554         and <bp-asm.h>.
23555         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23556         pointers.
23557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23558         <bp-sym.h> and <bp-asm.h>.
23559         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23561         <bp-sym.h> and <bp-asm.h>.
23562         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23563         comment.
23564
23565 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23566
23567         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23568         call free(NULL).
23569
23570 2013-03-05  David S. Miller  <davem@davemloft.net>
23571
23572         * po/es.po: Update from translation team.
23573
23574 2013-03-05  Andreas Jaeger  <aj@suse.de>
23575
23576         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23577         <bits/mman-linux.h>.
23578         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23579         is fine.
23580         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23581         <bits/mman-linux.h> to end of file.
23582         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23583         is fine.
23584         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23585         <bits/mman-linux.h> to end of file.
23586         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23587         is fine.
23588         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23589         <bits/mman-linux.h> to end of file.
23590
23591         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23592         (MCL_CURRENT, MCL_FUTURE): Define here.
23593
23594 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23595
23596         [BZ #15232]
23597         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23598         attribute_hidden.
23599         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23600
23601 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23602
23603         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23604         fourth parameter needed for rt_sigprocmask syscall.
23605         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23606         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23607         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23608         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23609         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23610         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23611
23612 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23613
23614         [BZ #13550]
23615         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23616         comment about bounded pointers.
23617         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23618         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23619
23620 2013-03-04  Andreas Jaeger  <aj@suse.de>
23621
23622         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23623         common definitions.
23624
23625         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23626         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23627         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23628         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23629         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23630         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23631
23632 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23633
23634         [BZ #15055]
23635         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23636         __ieee754_sqrl instead of __sqrl.
23637
23638 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23639
23640         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23641         * sysdeps/powerpc/fpu_control.h: ... here.
23642         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23643         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23644         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23645         * sysdeps/powerpc/bits/mathinline.h: ... here.
23646
23647 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23648
23649         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23650         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23651         to just [NEED_DL_SYSINFO_DSO].
23652         * elf/dl-support.c: Likewise.
23653         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23654         * elf/rtld.c (dl_main): Likewise.
23655         * elf/setup-vdso.h (setup_vdso): Likewise.
23656         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23657         * sysdeps/unix/sysv/linux/dl-sysdep.c
23658         (_dl_discover_osversion): Likewise.
23659
23660 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23661
23662         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23663         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23664
23665 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23666
23667         * NEWS: Mention libm performance improvements and non-x86 PI
23668         futex support.
23669
23670         * csu/libc-start.c (__pthread_initialize_minimal): Change
23671         function arguments.
23672         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23673
23674 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23675
23676         [BZ #13550]
23677         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23678         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23679         <bp-sym.h> and <bp-asm.h>.
23680         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23681         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23682         and <bp-asm.h>.
23683         (memcpy): Don't use BP_SYM.
23684         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23685         <bp-asm.h>.
23686         (__mpn_add_n): Don't use BP_SYM.
23687         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23688         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23689         and <bp-asm.h>.
23690         (__mpn_addmul_1): Don't use BP_SYM.
23691         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23692         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23693         <bp-sym.h>.
23694         (_setjmp): Don't use BP_SYM.
23695         (__novmx_setjmp): Likewise.
23696         (__GI__setjmp): Likewise.
23697         (__vmx_setjmp): Likewise.
23698         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23699         <bp-sym.h>.
23700         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23701         (__bzero): Don't use BP_SYM.
23702         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23703         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23704         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23705         <bp-sym.h> and <bp-asm.h>.
23706         (memcpy): Don't use BP_SYM.
23707         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23708         <bp-sym.h> and <bp-asm.h>.
23709         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23710         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23711         <bp-sym.h> and <bp-asm.h>.
23712         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23713         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23714         <bp-asm.h>.
23715         (__mpn_lshift): Don't use BP_SYM.
23716         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23717         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23718         <bp-asm.h>.
23719         (memset): Don't use BP_SYM.
23720         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23721         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23722         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23723         <bp-asm.h>.
23724         (__mpn_mul_1): Don't use BP_SYM.
23725         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23726         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23727         <bp-sym.h> and <bp-asm.h>.
23728         (memcmp): Don't use BP_SYM.
23729         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23730         <bp-sym.h> and <bp-asm.h>.
23731         (memcpy): Don't use BP_SYM.
23732         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23733         <bp-sym.h> and <bp-asm.h>.
23734         (memset): Don't use BP_SYM.
23735         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23736         <bp-sym.h> and <bp-asm.h>.
23737         (strncmp): Don't use BP_SYM.
23738         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23739         <bp-sym.h> and <bp-asm.h>.
23740         (memcpy): Don't use BP_SYM.
23741         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23742         <bp-sym.h> and <bp-asm.h>.
23743         (memset): Don't use BP_SYM.
23744         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23745         <bp-sym.h> and <bp-asm.h>.
23746         (__memchr): Don't use BP_SYM.
23747         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23748         <bp-sym.h> and <bp-asm.h>.
23749         (memcmp): Don't use BP_SYM.
23750         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23751         <bp-sym.h> and <bp-asm.h>.
23752         (memcpy): Don't use BP_SYM.
23753         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23754         <bp-sym.h> and <bp-asm.h>.
23755         (__mempcpy): Don't use BP_SYM.
23756         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23757         <bp-sym.h> and <bp-asm.h>.
23758         (__memrchr): Don't use BP_SYM.
23759         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23760         <bp-sym.h> and <bp-asm.h>.
23761         (memset): Don't use BP_SYM.
23762         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23763         <bp-sym.h> and <bp-asm.h>.
23764         (__rawmemchr): Don't use BP_SYM.
23765         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23766         <bp-sym.h> and <bp-asm.h>.
23767         (__STRCMP): Don't use BP_SYM.
23768         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23769         <bp-sym.h> and <bp-asm.h>.
23770         (strchr): Don't use BP_SYM.
23771         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23772         <bp-sym.h> and <bp-asm.h>.
23773         (__strchrnul): Don't use BP_SYM.
23774         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23775         <bp-sym.h> and <bp-asm.h>.
23776         (strlen): Don't use BP_SYM.
23777         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23778         <bp-sym.h> and <bp-asm.h>.
23779         (strncmp): Don't use BP_SYM.
23780         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23781         <bp-sym.h> and <bp-asm.h>.
23782         (__strnlen): Don't use BP_SYM.
23783         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23784         <bp-asm.h>.
23785         (__mpn_rshift): Don't use BP_SYM.
23786         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23787         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23788         <bp-sym.h> and <bp-asm.h>.
23789         (__sigsetjmp): Don't use BP_SYM.
23790         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23791         (L(start_addresses)): Don't use BP_SYM.
23792         (_start): Likewise.
23793         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23794         <bp-asm.h>.
23795         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23796         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23797         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23798         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23799         <bp-asm.h>.
23800         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23801         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23802         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23803         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23804         <bp-asm.h>.
23805         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23806         comments.
23807         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23808         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23809         <bp-asm.h>.
23810         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23811         FIXME comments.
23812         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23813         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23814         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23815         <bp-asm.h>.
23816         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23817         comment.
23818         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23819         and <bp-asm.h>.
23820         (strncmp): Don't use BP_SYM,
23821         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23822         <bp-asm.h>.
23823         (__mpn_sub_n): Don't use BP_SYM.
23824         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23825         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23826         and <bp-asm.h>.
23827         (__mpn_submul_1): Don't use BP_SYM.
23828         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23830         <bp-sym.h> and <bp-asm.h>.
23831         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23833         <bp-sym.h> and <bp-asm.h>.
23834         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23835         comment.
23836
23837 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23838
23839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23840         Use ZK to minimize writes to Z.
23841         (sub_magnitudes): Simplify code a bit.
23842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23843         Use ZK to minimize writes to Z.
23844         (sub_magnitudes): Simplify code a bit.
23845
23846 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23847
23848         * csu/gmon-start.c: Add special exception to license text.
23849
23850 2013-02-27  Richard Henderson  <rth@redhat.com>
23851
23852         * scripts/config.guess: Update from config.git.
23853         * scripts/config.sub: Likewise.
23854
23855 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23856
23857         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23858
23859         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23860
23861         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23862
23863         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23864
23865         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23866
23867 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23868
23869         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23870         [$(build-shared = yes].
23871
23872 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23873
23874         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23875         (__mul): Reduce iterations for calculating mantissa.
23876
23877         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23878         MPTWO.
23879         (__mpranred): Likewise.
23880
23881         [BZ #15160]
23882         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23883         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23884
23885 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23886
23887         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23888         Define __attribute__.
23889
23890 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23891
23892         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23893         unused.
23894         * posix/regex_internal.h (__attribute): Remove.
23895         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23896         (re_string_context_at): Likewise.
23897         (bitset_not): Use __attribute__ and mark function as possibly
23898         unused.
23899         (bitset_merge): Likewise.
23900         (bitset_mask): Likewise.
23901         (re_string_char_size_at): Likewise.
23902         (re_string_wchar_at): Likewise.
23903         (re_string_elem_size_at): Likewise.
23904
23905 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23906
23907         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23908         code.
23909         (cc32): Likewise.
23910
23911         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23912         (__acr): Likewise.
23913         (__cpy): Likewise.
23914         (norm): Likewise.
23915         (denorm): Likewise.
23916         (__dbl_mp): Likewise.
23917         (add_magnitudes): Likewise.
23918         (sub_magnitudes): Likewise.
23919         (__mul): Likewise.
23920         (__inv): Likewise.
23921
23922         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23923         style.
23924
23925         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23926         style.
23927
23928         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23929         code.
23930
23931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23932         up changes with default code.
23933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23934         Likewise.
23935
23936 2013-02-24  Allan McRae  <allan@archlinux.org>
23937
23938         * manual/socket.texi (The Internet Namespace): Order menu items
23939         to match that in the file.
23940
23941         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23942         node listing of the info page menu.
23943
23944 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23945
23946         [BZ #13550]
23947         * sysdeps/i386/bp-asm.h: Remove file.
23948         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23949         (PARMS): Do not use macros from bp-asm.h.
23950         (S1): Likewise.
23951         (S2): Likewise.
23952         (SIZE): Likewise.
23953         (__mpn_add_n): Do not use BP_SYM
23954         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23955         "bp-asm.h".
23956         (PARMS): Do not use macros from bp-asm.h.
23957         (S1): Likewise.
23958         (SIZE): Likewise.
23959         (__mpn_addmul_1): Do not use BP_SYM
23960         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23961         "bp-asm.h".
23962         (PARMS): Do not use macros from bp-asm.h.
23963         (SIGMSK): Likewise.
23964         (_setjmp): Likewise.  Do not use BP_SYM.
23965         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23966         "bp-asm.h".
23967         (PARMS): Do not use macros from bp-asm.h.
23968         (SIGMSK): Likewise.
23969         (setjmp): Likewise.  Do not use BP_SYM.
23970         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23971         "bp-asm.h".
23972         (PARMS): Do not use macros from bp-asm.h.
23973         (__frexp): Do not use BP_SYM.
23974         (frexp): Likewise.
23975         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23976         "bp-asm.h".
23977         (PARMS): Do not use macros from bp-asm.h.
23978         (__frexpf): Do not use BP_SYM.
23979         (frexpf): Likewise.
23980         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23981         "bp-asm.h".
23982         (PARMS): Do not use macros from bp-asm.h.
23983         (__frexpl): Do not use BP_SYM.
23984         (frexpl): Likewise.
23985         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23986         "bp-asm.h".
23987         (PARMS): Do not use macros from bp-asm.h.
23988         (__remquo): Do not use BP_SYM.
23989         (remquo): Likewise.
23990         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23991         "bp-asm.h".
23992         (PARMS): Do not use macros from bp-asm.h.
23993         (__remquof): Do not use BP_SYM.
23994         (remquof): Likewise.
23995         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23996         "bp-asm.h".
23997         (PARMS): Do not use macros from bp-asm.h.
23998         (__remquol): Do not use BP_SYM.
23999         (remquol): Likewise.
24000         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24001         "bp-asm.h".
24002         (PARMS): Do not use macros from bp-asm.h.
24003         (DEST): Likewise.
24004         (SRC): Likewise.
24005         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24006         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24007         "bp-asm.h".
24008         (PARMS): Do not use macros from bp-asm.h.
24009         (strlen): Do not use BP_SYM.
24010         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24011         "bp-asm.h".
24012         (PARMS): Do not use macros from bp-asm.h.
24013         (S1): Likewise.
24014         (S2): Likewise.
24015         (SIZE): Likewise.
24016         (__mpn_add_n): Do not use BP_SYM.
24017         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24018         "bp-asm.h".
24019         (PARMS): Do not use macros from bp-asm.h.
24020         (S1): Likewise.
24021         (SIZE): Likewise.
24022         (__mpn_addmul_1): Do not use BP_SYM.
24023         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24024         weak_alias.
24025         (bzero): Likewise.
24026         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24027         "bp-asm.h".
24028         (PARMS): Do not use macros from bp-asm.h.
24029         (S): Likewise.
24030         (SIZE): Likewise.
24031         (__mpn_lshift): Do not use BP_SYM.
24032         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24033         "bp-asm.h".
24034         (PARMS): Do not use macros from bp-asm.h.
24035         (DEST): Likewise.
24036         (SRC): Likewise.
24037         (LEN): Likewise.
24038         (memcpy): Likewise.  Do not use BP_SYM.
24039         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24040         libc_hidden_def and weak_alias.
24041         (mempcpy): Do not use BP_SYM in weak_alias.
24042         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24043         "bp-asm.h".
24044         (PARMS): Do not use macros from bp-asm.h.
24045         (DEST): Likewise.
24046         (LEN): Likewise.
24047         [!BZERO_P] (CHR): Likewise.
24048         (memset): Likewise.  Do not use BP_SYM.
24049         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24050         "bp-asm.h".
24051         (PARMS): Do not use macros from bp-asm.h.
24052         (S1): Likewise.
24053         (SIZE): Likewise.
24054         (__mpn_mul_1): Do not use BP_SYM.
24055         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24056         "bp-asm.h".
24057         (PARMS): Do not use macros from bp-asm.h.
24058         (S): Likewise.
24059         (SIZE): Likewise.
24060         (__mpn_rshift): Do not use BP_SYM.
24061         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24062         "bp-asm.h".
24063         (PARMS): Do not use macros from bp-asm.h.
24064         (STR): Likewise.
24065         (CHR): Likewise.
24066         (strchr): Likewise.  Do not use BP_SYM.
24067         (index): Do not use BP_SYM in weak_alias.
24068         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24069         "bp-asm.h".
24070         (PARMS): Do not use macros from bp-asm.h.
24071         (DEST): Likewise.
24072         (SRC): Likewise.
24073         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24074         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24075         "bp-asm.h".
24076         (PARMS): Do not use macros from bp-asm.h.
24077         (strlen): Do not use BP_SYM.
24078         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24079         "bp-asm.h".
24080         (PARMS): Do not use macros from bp-asm.h.
24081         (S1): Likewise.
24082         (S2): Likewise.
24083         (SIZE): Likewise.
24084         (__mpn_sub_n): Do not use BP_SYM.
24085         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24086         "bp-asm.h".
24087         (PARMS): Do not use macros from bp-asm.h.
24088         (S1): Likewise.
24089         (SIZE): Likewise.
24090         (__mpn_submul_1): Do not use BP_SYM.
24091         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24092         "bp-asm.h".
24093         (PARMS): Do not use macros from bp-asm.h.
24094         (S1): Likewise.
24095         (S2): Likewise.
24096         (SIZE): Likewise.
24097         (__mpn_add_n): Do not use BP_SYM.
24098         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24099         weak_alias.
24100         (bzero): Likewise.
24101         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24102         "bp-asm.h".
24103         (PARMS): Do not use macros from bp-asm.h.
24104         (BLK2): Likewise.
24105         (LEN): Likewise.
24106         (memcmp): Do not use BP_SYM.
24107         (bcmp): Do not use BP_SYM in weak_alias.
24108         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24109         "bp-asm.h".
24110         (PARMS): Do not use macros from bp-asm.h.
24111         (DEST): Likewise.
24112         (SRC): Likewise.
24113         (LEN): Likewise.
24114         (memcpy): Likewise.  Do not use BP_SYM.
24115         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24116         "bp-asm.h".
24117         (PARMS): Do not use macros from bp-asm.h.
24118         (DEST): Likewise.
24119         (SRC): Likewise.
24120         (LEN): Likewise.
24121         (memmove): Likewise.  Do not use BP_SYM.
24122         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24123         "bp-asm.h".
24124         (PARMS): Do not use macros from bp-asm.h.
24125         (DEST): Likewise.
24126         (SRC): Likewise.
24127         (LEN): Likewise.
24128         (__mempcpy): Likewise.  Do not use BP_SYM.
24129         (mempcpy): Do not use BP_SYM in weak_alias.
24130         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24131         "bp-asm.h".
24132         (PARMS): Do not use macros from bp-asm.h.
24133         (DEST): Likewise.
24134         (LEN): Likewise.
24135         [!BZERO_P] (CHR): Likewise.
24136         (memset): Likewise.  Do not use BP_SYM.
24137         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24138         "bp-asm.h".
24139         (PARMS): Do not use macros from bp-asm.h.
24140         (STR2): Likewise.
24141         (strcmp): Do not use BP_SYM.
24142         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24143         "bp-asm.h".
24144         (PARMS): Do not use macros from bp-asm.h.
24145         (STR): Likewise.
24146         (DELIM): Likewise.
24147         [USE_AS_STRTOK_R] (SAVE): Likewise.
24148         (FUNCTION): Likewise.  Do not use BP_SYM.
24149         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24150         aliases.
24151         (strtok_r): Likewise.
24152         (__GI___strtok_r): Likewise.
24153         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24154         (PARMS): Do not use macros from bp-asm.h.
24155         (S): Likewise.
24156         (SIZE): Likewise.
24157         (__mpn_lshift): Do not use BP_SYM.
24158         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24159         (PARMS): Do not use macros from bp-asm.h.
24160         (STR): Likewise.
24161         (CHR): Likewise.
24162         (__memchr): Do not use BP_SYM.
24163         (memchr): Do not use BP_SYM in weak_alias.
24164         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24165         (PARMS): Do not use macros from bp-asm.h.
24166         (BLK2): Likewise.
24167         (LEN): Likewise.
24168         (memcmp): Do not use BP_SYM.
24169         (bcmp): Do not use BP_SYM in weak_alias.
24170         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24171         (PARMS): Do not use macros from bp-asm.h.
24172         (S1): Likewise.
24173         (SIZE): Likewise.
24174         (__mpn_mul_1): Do not use BP_SYM.
24175         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24176         "bp-asm.h".
24177         (PARMS): Do not use macros from bp-asm.h.
24178         (STR): Likewise.
24179         (CHR): Likewise.
24180         (__rawmemchr): Do not use BP_SYM.
24181         (rawmemchr): Do not use BP_SYM in weak_alias.
24182         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24183         (PARMS): Do not use macros from bp-asm.h.
24184         (S): Likewise.
24185         (SIZE): Likewise.
24186         (__mpn_rshift): Do not use BP_SYM.
24187         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24188         (PARMS): Do not use macros from bp-asm.h.
24189         (SIGMSK): Likewise.
24190         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24191         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24192         (_start): Do not use BP_SYM.
24193         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24194         (PARMS): Do not use macros from bp-asm.h.
24195         (DEST): Likewise.
24196         (SRC): Likewise.
24197         (__stpcpy): Likewise.  Do not use BP_SYM.
24198         (stpcpy): Do not use BP_SYM in weak_alias.
24199         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24200         "bp-asm.h".
24201         (PARMS): Do not use macros from bp-asm.h.
24202         (DEST): Likewise.
24203         (SRC): Likewise.
24204         (LEN): Likewise.
24205         (__stpncpy): Likewise.  Do not use BP_SYM.
24206         (stpncpy): Do not use BP_SYM in weak_alias.
24207         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24208         (PARMS): Do not use macros from bp-asm.h.
24209         (STR): Likewise.
24210         (CHR): Likewise.
24211         (strchr): Likewise.  Do not use BP_SYM.
24212         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24213         "bp-asm.h".
24214         (PARMS): Do not use macros from bp-asm.h.
24215         (STR): Likewise.
24216         (CHR): Likewise.
24217         (__strchrnul): Likewise.  Do not use BP_SYM.
24218         (strchrnul): Do not use BP_SYM in weak_alias.
24219         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24220         "bp-asm.h".
24221         (PARMS): Do not use macros from bp-asm.h.
24222         (STOP): Likewise.
24223         (strcspn): Do not use BP_SYM.
24224         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24225         "bp-asm.h".
24226         (PARMS): Do not use macros from bp-asm.h.
24227         (STR): Likewise.
24228         (STOP): Likewise.
24229         (strpbrk): Likewise.  Do not use BP_SYM.
24230         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24231         "bp-asm.h".
24232         (PARMS): Do not use macros from bp-asm.h.
24233         (STR): Likewise.
24234         (CHR): Likewise.
24235         (strrchr): Likewise.  Do not use BP_SYM.
24236         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24237         (PARMS): Do not use macros from bp-asm.h.
24238         (SKIP): Likewise.
24239         (strspn): Do not use BP_SYM.
24240         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24241         (PARMS): Do not use macros from bp-asm.h.
24242         (STR): Likewise.
24243         (DELIM): Likewise.
24244         (SAVE): Likewise.
24245         (FUNCTION): Likewise.  Do not use BP_SYM.
24246         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24247         aliases.
24248         (strtok_r): Likewise.
24249         (__GI___strtok_r): Likewise.
24250         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24251         (PARMS): Do not use macros from bp-asm.h.
24252         (S1): Likewise.
24253         (S2): Likewise.
24254         (SIZE): Likewise.
24255         (__mpn_sub_n): Do not use BP_SYM.
24256         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24257         "bp-asm.h".
24258         (PARMS): Do not use macros from bp-asm.h.
24259         (S1): Likewise.
24260         (SIZE): Likewise.
24261         (__mpn_submul_1): Do not use BP_SYM.
24262         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24263         <bp-sym.h>.
24264         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24265         and <bp-asm.h>.
24266         (PARMS): Do not use macros from bp-asm.h.
24267         (FLAGS): Likewise.
24268         (PTID): Likewise.
24269         (TLS): Likewise.
24270         (CTID): Likewise.
24271         (__clone): Do not use BP_SYM.
24272         (clone): Do not use BP_SYM in weak_alias.
24273         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24274         and <bp-asm.h>.
24275         (PARMS): Do not use macros from bp-asm.h.
24276         (LEN): Likewise.
24277         (__mmap64): Do not use BP_SYM.
24278         (mmap64): Do not use BP_SYM in weak_alias.
24279         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24280         <bp-sym.h> and <bp-asm.h>.
24281         (PARMS): Do not use macros from bp-asm.h.
24282         (__posix_fadvise64_l64): Do not use BP_SYM.
24283         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24284         (PARMS): Do not use macros from bp-asm.h.
24285         (NSOPS): Likewise.
24286         (semtimedop): Do not use BP_SYM.
24287         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24288         and <bp-asm.h>.
24289
24290 2013-02-21  Allan McRae  <allan@archlinux.org>
24291
24292         * manual/message.texi (Charset conversion in gettext):
24293         Move @end statement to beginning of line.
24294
24295 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24296
24297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24298         static.
24299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24300         Likewise.
24301
24302         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24303         (denorm): Likewise.
24304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24305         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24306
24307 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24308
24309         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24310         tail-call to the resolved function if pltexit isn't needed.
24311
24312 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24313
24314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24315         or Y being zero as being unlikely.
24316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24317         Likewise.
24318
24319 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24320
24321         * manual/nss.texi (System Databases and Name Service Switch):
24322         Remove frobnicate @pxref.
24323
24324 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24325
24326         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24327         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24328
24329 2013-02-20  Petr Machata  <pmachata@redhat.com>
24330
24331         * elf/elf.h (R_ARM_TARGET1): New macro.
24332         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24333         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24334         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24335         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24336         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24337         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24338         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24339         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24340         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24341         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24342         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24343         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24344         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24345         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24346         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24347         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24348         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24349         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24350         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24351         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24352         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24353         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24354         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24355         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24356         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24357         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24358         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24359         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24360         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24361         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24362         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24363         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24364         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24365         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24366         (R_ARM_THM_GOT_BREL12): Likewise.
24367         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24368         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24369         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24370         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24371         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24372         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24373         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24374         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24375         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24376
24377 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24378
24379         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24380         __attribute_used__ to __attribute__ ((unused)).
24381
24382 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24383
24384         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24385         powerpc mpa.c.
24386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24387         comment formatting.
24388         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24389
24390 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24391
24392         [BZ #13550]
24393         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24394         Remove macro.
24395         (ENTER): Remove both macro definitions.
24396         (LEAVE): Likewise.
24397         (CHECK_BOUNDS_LOW): Likewise.
24398         (CHECK_BOUNDS_HIGH): Likewise.
24399         (CHECK_BOUNDS_BOTH): Likewise.
24400         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24401         (RETURN_BOUNDED_POINTER): Likewise.
24402         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24403         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24404         (POP_ERRNO_LOCATION_RETURN): Likewise.
24405         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24406         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24407         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24408         macros.
24409         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24410         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24411         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24412         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24413         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24414         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24415         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24416         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24417         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24418         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24419         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24420         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24421         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24422         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24423         removed macros.
24424         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24425         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24426         macros.
24427         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24428         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24429         * sysdeps/i386/i586/memset.S (memset): Likewise.
24430         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24431         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24432         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24433         macros.
24434         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24435         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24436         Change uses of L(2) to L(out).
24437         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24438         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24439         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24440         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24441         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24442         removed macros.
24443         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24444         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24445         macros.
24446         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24447         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24448         (RETURN): Do not use macro LEAVE.
24449         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24450         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24451         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24452         * sysdeps/i386/i686/memset.S (memset): Likewise.
24453         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24454         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24455         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24456         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24457         Likewise.
24458         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24459         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24460         L(1_2) and L(1_3) into L(1).
24461         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24462         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24463         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24464         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24465         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24466         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24467         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24468         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24469         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24470         macros.
24471         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24472         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24473         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24474         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24475         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24476         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24477         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24478         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24479         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24480         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24481         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24482         * sysdeps/i386/strspn.S (strspn): Likewise.
24483         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24484         conditional code.
24485         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24486         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24487         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24488         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24489         L(1_3) into L(1_1).
24490         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24491         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24492         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24493         macros.
24494         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24495
24496 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24497
24498         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24499         macro.
24500
24501 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24502
24503         * math/atest-exp.c (exp_mpn): Remove ROUND.
24504         * math/atest-exp2.c (exp_mpn): Likewise.
24505         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24506
24507         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24508         * stdlib/tst-tls-atexit-lib.c: Likewise.
24509         * stdlib/tst-tls-atexit.c: Likewise.
24510
24511 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24512
24513         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24514         and __attribute_alloc_size__.
24515
24516 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24517
24518         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24519         __attribute_alloc_size__.
24520         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24521         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24522
24523 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24524
24525         * include/programs/xmalloc.h: New file.
24526         * catgets/gencat.c: Include it.
24527         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24528         * elf/pldd.c: Likewise.
24529         * iconv/iconv_charmap.c: Likewise.
24530         * iconv/iconvconfig.c: Likewise.
24531         * iconv/strtab.c: Likewise.
24532         * locale/programs/locale.c: Likewise.
24533         * locale/programs/localedef.h: Likewise.
24534         * locale/programs/simple-hash.c: Likewise.
24535         * nscd/nscd.h: Likewise.
24536         * nss/makedb.c: Likewise.
24537         * sysdeps/generic/ldconfig.h: Likewise.
24538
24539 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24540
24541         * Versions.def: Add GLIBC_2.18.
24542         * include/link.h (struct link_map): New member l_tls_dtor_count.
24543         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24544         (__call_tls_dtors): Likewise.
24545         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24546         __cxa_thread_atexit_impl.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24548         Likewise.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24550         Likewise.
24551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24552         Likewise.
24553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24554         Likewise.
24555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24557         Likewise.
24558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24559         Likewise.
24560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24562         Likewise.
24563         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24564         (tests): Add test case tst-tls-atexit.
24565         (modules-names): Add shared library for tst-tls-atexit.
24566         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24567         (GLIBC_PRIVATE): Add __call_tls_dtors.
24568         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24569         for libstdc++.
24570         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24571         * stdlib/tst-tls-atexit.c: New test case.
24572         * stdlib/tst-tls-atexit-lib.c: New test case.
24573
24574         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24575
24576         * elf/Versions (ld): Add _dl_find_dso_for_object.
24577         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24578         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24579         (dl_open_worker): Use _dl_find_dso_for_object.
24580         * elf/dl-sym.c (do_sym): Likewise.
24581         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24582
24583 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24584
24585         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24586         Syntactic changes only.
24587         (_dl_runtime_profile): Do a tail-call to the resolved function.
24588
24589 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24590
24591         [BZ #13550]
24592         * sysdeps/x86_64/bp-asm.h: Remove file.
24593         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24594         <bp-sym.h> and <bp-asm.h>.
24595         (__clone): Do not use BP_SYM.
24596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24597         <bp-sym.h> and <bp-asm.h>.
24598         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24599         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24600         "bp-asm.h".
24601         (_setjmp): Do not use BP_SYM.
24602         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24603         "bp-asm.h".
24604         (setjmp): Do not use BP_SYM.
24605         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24606         libc_hidden_def.
24607         (mempcpy): Do not use BP_SYM in weak_alias.
24608         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24609         "bp-asm.h".
24610         (strchr): Do not use BP_SYM.
24611         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24612         "bp-asm.h".
24613         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24614         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24615         (_start): Do not use BP_SYM.
24616         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24617         "bp-asm.h".
24618         (strcat): Do not use BP_SYM.
24619         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24620         "bp-asm.h".
24621         (STRCMP): Do not use BP_SYM.
24622         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24623         "bp-asm.h".
24624         (STRCPY): Do not use BP_SYM.
24625         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24626         "bp-asm.h".
24627         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24628         "bp-asm.h".
24629         (FUNCTION): Do not use BP_SYM.
24630         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24631         weak_alias.
24632         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24633
24634 2013-02-17  Andreas Jaeger  <aj@suse.de>
24635
24636         * time/Versions: Sort entries.
24637         * string/Versions: Likewise.
24638         * resolv/Versions: Likewise.
24639         * posix/Versions: Likewise.
24640         * iconv/Versions: Likewise.
24641         * elf/Versions: Likewise.
24642         * wcsmbs/Versions: Likewise.
24643
24644 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24645
24646         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24647         loop termination condition.
24648
24649         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24650         variable to calculate EZ.
24651         (__sqr): Likewise.
24652
24653         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24654         the lower precision input.
24655
24656 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24657
24658         [BZ #13550]
24659         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24660         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24661         (run-via-rtld-prefix): Do not handle %-bp tests.
24662         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24663         (all-object-suffixes): Remove .ob.
24664         (bppfx): Remove variable.
24665         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24666         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24667         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24668         [$(build-bounded) = yes] (libtype.ob): Likewise.
24669         * Makerules (elide-routines.ob): Remove variable.
24670         (do-tests-clean): Do not handle *-bp.out.
24671         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24672         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24673         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24674         (tests): Do not include $(tests-bp.out).
24675         (xtests): Do not include $(xtests-bp.out).
24676         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24677         [$(build-bounded) = yes] ($(addprefix
24678         $(objpfx),$(binaries-bounded))): Remove rule.
24679         ($(objpfx)%-bp.out): Remove rule.
24680         * config.make.in (build-bounded): Remove variable.
24681         * crypt/Makefile [$(build-bounded) = yes]
24682         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24683         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24684         append to variable.
24685         [$(build-bounded) = yes] (install-lib): Likewise.
24686         [$(build-bounded) = yes] (generated): Likewise.
24687         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24688         Remove rule.
24689         * intl/Makefile [$(build-bounded) = yes]
24690         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24691         * math/Makefile [$(build-bounded) = yes]
24692         ($(tests:%=$(objpfx)%-bp): Likewise.
24693         * misc/Makefile [$(build-bounded) = yes]
24694         ($(objpfx)tst-tsearch-bp): Likewise.
24695         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24696         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24697         Remove dependency.
24698         * string/Makefile (o-objects.ob): Remove variable.
24699         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24700         (CFLAGS-.ob): Remove variable.
24701         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24702         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24703         both definitions of variable.
24704         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24705         (ASFLAGS-.ob): Remove variable.
24706
24707 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24708
24709         [BZ #13550]
24710         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24711         Remove __BOUNDED_POINTERS__ from condition.
24712         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24713         * string/bits/string2.h [!__NO_STRING_INLINES &&
24714         !__BOUNDED_POINTERS__]: Likewise.
24715         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24716         Likewise.
24717         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24718         Remove conditional code.
24719         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24720         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24721         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24722         condition.
24723
24724         [BZ #13550]
24725         * csu/libc-start.c: Do not include <bp-sym.h>.
24726         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24727         * elf/dl-open.c: Do not include <bp-sym.h>.
24728         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24729         * math/fegetenv.c: Do not include <bp-sym.h>.
24730         (fegetenv): Do not use BP_SYM in versioned symbols.
24731         * nptl/sysdeps/pthread/bits/libc-lockP.h
24732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24733         <bp-sym.h>.
24734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24735         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24737         (__pthread_mutex_destroy): Likewise.
24738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24739         (__pthread_mutex_lock): Likewise.
24740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24741         (__pthread_mutex_trylock): Likewise.
24742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24743         (__pthread_mutex_unlock): Likewise.
24744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24745         (__pthread_mutexattr_init): Likewise.
24746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24747         (__pthread_mutexattr_destroy): Likewise.
24748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24749         (__pthread_mutexattr_settype): Likewise.
24750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24751         (__pthread_rwlock_init): Likewise.
24752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24753         (__pthread_rwlock_destroy): Likewise.
24754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24755         (__pthread_rwlock_rdlock): Likewise.
24756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24757         (__pthread_rwlock_tryrdlock): Likewise.
24758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24759         (__pthread_rwlock_wrlock): Likewise.
24760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24761         (__pthread_rwlock_trywrlock): Likewise.
24762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24763         (__pthread_rwlock_unlock): Likewise.
24764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24765         (__pthread_key_create): Likewise.
24766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24767         (__pthread_setspecific): Likewise.
24768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24769         (__pthread_getspecific): Likewise.
24770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24771         Likewise.
24772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24773         (_pthread_cleanup_push_defer): Likewise.
24774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24775         (_pthread_cleanup_pop_restore): Likewise.
24776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24777         (pthread_setcancelstate): Likewise.
24778         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24779         <bp-sym.h>.
24780         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24781         (memchr): Do not use BP_SYM in weak_alias.
24782         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24783         (fegetenv): Do not use BP_SYM in versioned symbols.
24784         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24785         (fesetenv): Do not use BP_SYM in versioned symbols.
24786         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24787         (feupdateenv): Do not use BP_SYM in versioned symbols.
24788         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24789         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24790         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24791         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24792         (open64): Do not use BP_SYM in weak_alias.
24793         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24794         (fegetenv): Do not use BP_SYM in versioned symbols.
24795         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24796         (fesetenv): Do not use BP_SYM in versioned symbols.
24797         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24798         (feupdateenv): Do not use BP_SYM in versioned symbols.
24799         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24800         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24801         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24802         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24803         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24804         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24805         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24806         <bp-sym.h>.
24807         (__libc_start_main): Do not use BP_SYM.
24808
24809 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24810
24811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24812         redundant return line.
24813         (norm): Likewise.
24814         (denorm): Likewise.
24815         (dbl_mp): Likewise.
24816         (sub_magnitudes): Likewise.
24817         (__add): Likewise.
24818         (__sub): Likewise.
24819         (__mul): Likewise.
24820         (__inv): Likewise.
24821         (__dvd): Likewise.
24822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24823         (norm): Likewise.
24824         (denorm): Likewise.
24825         (dbl_mp): Likewise.
24826         (sub_magnitudes): Likewise.
24827         (__add): Likewise.
24828         (__sub): Likewise.
24829         (__mul): Likewise.
24830         (__inv): Likewise.
24831         (__dvd): Likewise.
24832
24833         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24834         instead of __mul.
24835         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24836         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24837         (cc32): Likewise.
24838
24839         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24840         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24842         of __mul for squares.
24843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24844         function
24845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24846         Likewise.
24847         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24848         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24849
24850 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24851
24852         [BZ #13550]
24853         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24854         code.
24855         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24856         prototype or function definition.  Rename ubp_* variables and
24857         parameters.  Remove argv definitions conditional on
24858         [__BOUNDED_POINTERS__].
24859         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24860         * elf/dl-runtime.c (_dl_fixup): Likewise.
24861         * include/set-hooks.h (RUN_HOOK): Likewise.
24862         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24863         definition.
24864         * string/strcpy.c (strcpy): Do not use __unbounded.
24865         * sysdeps/generic/frame.h (struct layout): Likewise.
24866         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24867         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24868         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24869         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24870         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24871         (__backtrace): Likewise.
24872         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24873         use __ptrvalue.
24874         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24875         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24876         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24877         Likewise.
24878         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24879         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24880         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24881         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24882         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24883         Do not use __unbounded.
24884         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24885         Rename __unboundedrlimits parameter to rlimits in prototype.
24886         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24887         Do not use __unbounded.
24888         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24889         not use __ptrvalue.
24890         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24891         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24892         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24893         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24894         __ptrvalue or __unbounded.
24895         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24896         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24897         use __unbounded.
24898         (__new_msgctl): Do not use __ptrvalue.
24899         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24900         __unbounded.
24901         (__libc_msgrcv): Do not use __ptrvalue.
24902         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24903         startup_info): Do not use __unbounded.
24904         (__libc_start_main): Likewise.  Rename ubp_* variables and
24905         parameters.  Remove argv definitions conditional on
24906         [__BOUNDED_POINTERS__].
24907         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24908         __ptrvalue.
24909         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24910         use __unbounded.
24911         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24912         or __ptrvalue.
24913         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24914         use __unbounded.
24915         (__new_shmctl): Do not use __ptrvalue.
24916         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24917         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24918         Likewise.
24919         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24920         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24921         (__libc_sigaction): Likewise.
24922         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24923         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24924         Likewise.
24925         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24926
24927 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24928
24929         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24930
24931         * string/mempcpy.c: Implement by calling memcpy.
24932
24933 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934
24935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24936
24937         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24938         evaluation.
24939
24940         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24941         values in the mantissa.
24942
24943         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24944         minimize writes to Z.
24945         (sub_magnitudes): Simplify code a bit.
24946
24947 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24948
24949         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24950         from the message.  The linker prefixes all warnings with that already.
24951
24952 2013-02-12  Andreas Schwab  <schwab@suse.de>
24953
24954         [BZ #15078]
24955         * posix/regexec.c (extend_buffers): Add parameter min_len.
24956         (check_matching): Pass minimum needed length.
24957         (clean_state_log_if_needed): Likewise.
24958         (get_subexp): Likewise.
24959         * posix/Makefile (tests): Add bug-regex34.
24960         (bug-regex34-ENV): Define.
24961         * posix/bug-regex34.c: New file.
24962
24963         [BZ #11561]
24964         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24965         elements compare against the byte sequence of it, not its name.
24966         * posix/Makefile (tests): Add bug-regex35.
24967         (bug-regex35-ENV): Define.
24968         * posix/bug-regex35.c: New file.
24969
24970 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24971
24972         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24973         comment.
24974         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24975         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24976         (CHECK_EOL): Add undef.
24977
24978 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24979
24980         * bits/stdlib-bsearch.h: New file.
24981         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24982         * stdlib/stdlib.h: Likewise.
24983
24984 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24985
24986         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24987         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24988         declaration.
24989         * manual/search.texi (Array Search Function): Add missing const in
24990         lfind prototype.
24991         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24992         declaration to use rlim_t.
24993         (Basic Scheduling Functions): Remove erroneous const from
24994         sched_getparam prototype.  Remove erroneous * from
24995         sched_get_priority_max and sched_get_priority_min prototypes.
24996         (Resource Usage): Fix summary @comment on vtimes to refer to
24997         sys/vtimes.h rather than vtimes.h.
24998         Add missing *s in vtimes prototype.
24999         (Limits on Resources): Fix ulimit prototype to return long int.
25000         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25001         prototypes to use long int rather than double.
25002         (BSD Random): Fix initstate and setstate to use char *, not void *.
25003         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25004         prototype to make second argument 'struct aiocb64 *const[]'.
25005         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25006         (Status of AIO Operations): Remove erroneous const in aio_return and
25007         aio_return64 prototypes.
25008         (Synchronizing I/O): Fix sync prototype to return void.
25009         * manual/startup.texi (Suboptions): Remove an erroneous const in
25010         getsubopt prototype.
25011         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25012         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25013         use size_t rather than int.
25014         (Scanning All Users): Likewise for getpwent_r.
25015         (Setting Groups): Add missing const to setgroups prototype.
25016         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25017         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25018         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25019         'const void *' rather than 'const char *'.
25020         (Host Address Functions): Likewise for inet_ntop.
25021         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25022         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25023         ssize_t for return value.
25024         (Sending Data): Likewise for send, sendto, sendmsg.
25025         (Socket Option Functions): Add a missing const in setsockopt prototype.
25026         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25027         use wchar_t for the argument.
25028         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25029         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25030         take no arguments.
25031         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25032         double/float/long double for second argument.
25033         Fix return types of significand, significandf, significandl.
25034         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25035         argument in fchmod prototype.
25036         (File Owner): Use uid_t and gid_t in fchown prototype.
25037         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25038         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25039         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25040         use 'const struct dirent **' as argument types to CMP function pointer
25041         argument.
25042         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25043         (File Times): Fix summary magic @comment for struct utimbuf and utime
25044         to refer to utime.h, not time.h.
25045         * manual/string.texi (Argz Functions): Add missing const in
25046         argz_extract and argz_next prototypes.
25047         (Finding Tokens in a String): Likewise for basename.
25048         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25049         (Copying and Concatenation): Fix typo in wmemmove prototype.
25050         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25051         (Signal Stack): Remove erroneous const in sigstack prototype.
25052         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25053         prototype.
25054         (Simple Calendar Time): Likewise for stime.
25055         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25056         prototype.
25057         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25058         say sys/sysctl.h instead.
25059         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25060         and vsyslog prototypes.
25061
25062 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25063
25064         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25065         Remove.
25066
25067 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25068
25069         * misc/sys/mman.h: Fix typo in mremap comment.
25070
25071 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25072
25073         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25074         the '\0' terminator.
25075
25076 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25077
25078         [BZ #13550]
25079         * debug/segfault.c: Don't include <bp-checks.h>.
25080         * sysdeps/generic/bp-checks.h: Remove file.
25081         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25082         (__GETDENTS): Don't use CHECK_N.
25083         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25084         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25085         (__getgroups): Don't use CHECK_N.
25086         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25087         (setgroups): Don't use CHECK_N.
25088         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25089         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25090         (__libc_msgrcv): Don't use CHECK_N.
25091         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25092         (__libc_msgsnd): Don't use CHECK_N.
25093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25094         <bp-checks.h>.
25095         (__libc_pread): Don't use CHECK_N.
25096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25097         include <bp-checks.h>.
25098         (__libc_pread64): Don't use CHECK_N.
25099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25100         include <bp-checks.h>.
25101         (__libc_pwrite): Don't use CHECK_N.
25102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25103         include <bp-checks.h>.
25104         (__libc_pwrite64): Don't use CHECK_N.
25105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25106         <bp-checks.h>.
25107         (__libc_pread): Don't use CHECK_N.
25108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25109         include <bp-checks.h>.
25110         (__libc_pread64): Don't use CHECK_N.
25111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25112         include <bp-checks.h>.
25113         (__libc_pwrite): Don't use CHECK_N.
25114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25115         include <bp-checks.h>.
25116         (__libc_pwrite64): Don't use CHECK_N.
25117         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25118         (do_pread): Don't use CHECK_N.
25119         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25120         (do_pread64): Don't use CHECK_N.
25121         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25122         (do_pwrite): Don't use CHECK_N.
25123         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25124         (do_pwrite64): Don't use CHECK_N.
25125         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25126         (__libc_readv): Don't use CHECK_N.
25127         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25128         (semop): Don't use CHECK_N.
25129         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25130         <bp-checks.h>.
25131         (semtimedop): Don't use CHECK_N.
25132         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25133         (__libc_pread): Don't use CHECK_N.
25134         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25135         <bp-checks.h>.
25136         (__libc_pread64): Don't use CHECK_N.
25137         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25138         <bp-checks.h>.
25139         (__libc_pwrite): Don't use CHECK_N.
25140         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25141         <bp-checks.h>.
25142         (__libc_pwrite64): Don't use CHECK_N.
25143         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25144         <bp-checks.h>.
25145         (__libc_msgrcv): Don't use CHECK_N.
25146         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25147         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25148         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25149         (__libc_writev): Don't use CHECK_N.
25150
25151 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25152
25153         * string/strcpy.c: Removed unused variable.
25154
25155         * Makeconfig (+sysdep-includes): Define with := rather than =.
25156         Use an existing include/ subdir of each sysdeps dir before it.
25157
25158 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25159
25160         * nscd/connection.c (register_traced_file): Comment function.
25161         [HAVE_INOTIFY] (union __inev): Define.
25162         [HAVE_INOTIFY] (inotify_check_files): New function.
25163         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25164         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25165         clear_db_cache.
25166         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25167
25168 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25169
25170         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25171         loaded if not already and that a failure is permanent.
25172
25173 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25174
25175         [BZ #15006]
25176         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25177         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25178
25179 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25180
25181         [BZ #13550]
25182         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25183         (CHECK_1_NULL_OK): Likewise.
25184         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25185         (__fxstat): Do not use CHECK_1.
25186         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25187         <bp-checks.h>.
25188         (___fxstat64): Do not use CHECK_1.
25189         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25190         <bp-checks.h>.
25191         (__fxstatat): Do not use CHECK_1.
25192         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25193         <bp-checks.h>.
25194         (__fxstatat64): Do not use CHECK_1.
25195         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25196         <bp-checks.h>.
25197         (__fxstat): Do not use CHECK_1.
25198         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25199         <bp-checks.h>.
25200         (__fxstatat): Do not use CHECK_1.
25201         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25202         <bp-checks.h>.
25203         (__getresgid): Do not use CHECK_1.
25204         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25205         <bp-checks.h>.
25206         (__getresuid): Do not use CHECK_1.
25207         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25208         <bp-checks.h>.
25209         (__lxstat): Do not use CHECK_1.
25210         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25211         <bp-checks.h>.
25212         (__old_msgctl): Do not use CHECK_1.
25213         (__new_msgctl): Likewise.
25214         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25215         <bp-checks.h>.
25216         (__new_setrlimit): Do not use CHECK_1.
25217         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25218         <bp-checks.h>.
25219         (__old_shmctl): Do not use CHECK_1.
25220         (__new_shmctl): Likewise.
25221         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25222         <bp-checks.h>.
25223         (__xstat): Do not use CHECK_1.
25224         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25225         (__lxstat): Do not use CHECK_1.
25226         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25227         <bp-checks.h>.
25228         (___lxstat64): Do not use CHECK_1.
25229         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25230         (__old_msgctl): Do not use CHECK_1.
25231         (__new_msgctl): Likewise.
25232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25233         <bp-checks.h>.
25234         (__gettimeofday): Do not use CHECK_1.
25235         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25236         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25237         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25238         <bp-checks.h>.
25239         (__gettimeofday): Do not use CHECK_1.
25240         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25241         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25242         (__new_shmctl): Do not use CHECK_1.
25243         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25244         <bp-checks.h>.
25245         (do_sigtimedwait): Do not use CHECK_1.
25246         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25247         <bp-checks.h>.
25248         (do_sigwaitinfo): Do not use CHECK_1.
25249         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25250         <bp-checks.h>.
25251         (msgctl): Do not use CHECK_1.
25252         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25253         <bp-checks.h>.
25254         (shmctl): Do not use CHECK_1.
25255         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25256         (ustat): Do not use CHECK_1.
25257         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25258         <bp-checks.h>.
25259         (__fxstat): Do not use CHECK_1.
25260         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25261         <bp-checks.h>.
25262         (__fxstatat): Do not use CHECK_1.
25263         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25264         <bp-checks.h>.
25265         (__lxstat): Do not use CHECK_1.
25266         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25267         <bp-checks.h>.
25268         (__xstat): Do not use CHECK_1.
25269         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25270         (__xstat): Do not use CHECK_1.
25271         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25272         (___xstat64): Do not use CHECK_1.
25273
25274         [BZ #13550]
25275         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25276         definitions.
25277         (CHECK_BOUNDS_HIGH): Likewise.
25278         * string/strcpy.c: Do not include <bp-checks.h>.
25279         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25280
25281 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25282
25283         * nscd/nscd-client.h (__nscd_drop_map_ref):
25284         Add __attribute__ ((unused)).
25285         * nis/nss-nisplus.h (niserr2nss): Likewise.
25286
25287         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25288         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25289
25290         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25291         Remove inline keyword.
25292         * include/rounding-mode.h (round_away): Likewise.
25293         * libio/wfileops.c (adjust_wide_data): Likewise.
25294         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25295         (__m128i_strloadu_tolower): Likewise.
25296         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25297         (__m128i_strloadu_tolower): Likewise.
25298         * time/mktime.c (ydhms_diff): Likewise.
25299         * locale/elem-hash.h (elem_hash): Likewise.
25300         * locale/setlocale.c (setdata): Likewise.
25301         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25302         (re_string_wchar_at): Likewise.
25303         (bitset_not, bitset_merge, bitset_mask): Likewise.
25304         [!(__GNUC__ > 3)] (inline): Remove macro.
25305         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25306         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25307         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25308         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25309         * string/memcmp.c (memcmp_bytes): Likewise.
25310         * locale/programs/locarchive.c (compute_hashval): Likewise.
25311         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25312         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25313         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25314         * nss/getent.c (print_rpc, print_protocols): Likewise.
25315         (print_passwd, print_group, print_aliases): Likewise.
25316         * nis/nss-nisplus.h (niserr2nss): Likewise.
25317         * nscd/connections.c (restart_p): Likewise.
25318         Change return type to bool.
25319
25320 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25321
25322         * Makeconfig (all-Depend-files): Add existing
25323         $(sorted-subdirs:=/Depend) files.
25324         (all-subdirs): Remove nss.
25325         * sysdeps/unix/inet/Subdirs: Add it here instead.
25326         * hesiod/Depend: New file.
25327
25328         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25329         instead of calling alloca.
25330
25331         * io/lseek.c (__lseek): Rename to __libc_lseek.
25332         Define __lseek as an alias.
25333
25334         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25335
25336 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25337
25338         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25339         else clause and remove check for non-standard endianness.
25340
25341 2013-02-04  David S. Miller  <davem@davemloft.net>
25342
25343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25344
25345 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25346
25347         [BZ #13550]
25348         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25349         (__ubp_memchr): Remove prototype.
25350         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25351         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25352         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25353         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25354         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25355         Remove alias.
25356         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25357         (__ubp_memchr): Likewise.
25358         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25359         (__ubp_memchr): Likewise.
25360         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25361         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25362         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25363         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25364         CHECK_STRING.
25365         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25366         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25367         (__getcwd): Do not use CHECK_STRING.
25368         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25369         <bp-checks.h>.
25370         (__real_chown): Do not use CHECK_STRING.
25371         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25372         <bp-checks.h>.
25373         (fchownat): Do not use CHECK_STRING.
25374         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25375         CHECK_STRING.
25376         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25377         <bp-checks.h>.
25378         (__lchown): Do not use CHECK_STRING.
25379         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25380         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25381         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25382         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25384         include <bp-checks.h>.
25385         (truncate64): Do not use CHECK_STRING.
25386         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25387         <bp-checks.h>.
25388         (__real_chown): Do not use CHECK_STRING.
25389         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25390         <bp-checks.h>.
25391         (__lchown): Do not use CHECK_STRING.
25392         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25393         <bp-checks.h>.
25394         (__chown): Do not use CHECK_STRING.
25395         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25396         <bp-checks.h>.
25397         (truncate64): Do not use CHECK_STRING.
25398         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25399         Likewise.
25400         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25401         (__xmknod): Do not use CHECK_STRING.
25402         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25403         <bp-checks.h>.
25404         (__xmknodat): Do not use CHECK_STRING.
25405         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25406         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25407
25408 2013-02-04  Andreas Schwab  <schwab@suse.de>
25409
25410         [BZ #14142]
25411         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25412         * include/netdb.h: Likewise for h_errno.
25413         * elf/tst-stackguard1.c: Include <tls.h>.
25414
25415 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25416
25417         * elf/link.h (struct link_map): Extend the l_addr comment.
25418         * include/link.h (struct link_map): Likewise.
25419
25420 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25421
25422         [BZ #13550]
25423         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25424         (BOUNDED_1): Remove macro.
25425         * debug/backtrace.c: Don't include <bp-checks.h>.
25426         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25427         (__backtrace): Likewise.
25428         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25429         <bp-checks.h>.
25430         (__backtrace): Don't use BOUNDED_1.
25431         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25432         <bp-checks.h>.
25433         (__backtrace): Don't use BOUNDED_1.
25434         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25435         (__backtrace): Don't use BOUNDED_1.
25436         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25437         (shmat): Don't use BOUNDED_N.
25438
25439 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25440
25441         [BZ #13550]
25442         * sysdeps/generic/bp-start.h: Remove file.
25443         * csu/libc-start.c: Don't include <bp-start.h>.
25444         (LIBC_START_MAIN): Set up __environ directly instead of using
25445         INIT_ARGV_and_ENVIRON.
25446         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25447         <bp-start.h>.
25448
25449         [BZ #13550]
25450         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25451         definitions.
25452         (CHECK_FCNTL): Likewise.
25453         (CHECK_N_PAGES): Likewise.
25454
25455         [BZ #13550]
25456         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25457         definitions.
25458         (CHECK_SIGSET_NULL_OK): Likewise.
25459         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25460         <bp-checks.h>.
25461         (sigpending): Don't use CHECK_SIGSET.
25462         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25463         <bp-checks.h>.
25464         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25465         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25466         <bp-checks.h>.
25467         (do_sigsuspend): Don't use CHECK_SIGSET.
25468         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25469         use CHECK_SIGSET.
25470         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25471         (do_sigwait): Don't use CHECK_SIGSET.
25472         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25473         use CHECK_SIGSET.
25474         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25475         include <bp-checks.h>.
25476         (sigpending): Don't use CHECK_SIGSET.
25477         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25478         include <bp-checks.h>.
25479         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25480         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25481         <bp-checks.h>.
25482         (sigpending): Don't use CHECK_SIGSET.
25483         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25484         <bp-checks.h>.
25485         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25486
25487         [BZ #13550]
25488         * sysdeps/generic/bp-semctl.h: Remove file.
25489         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25490         <bp-checks.h> and <bp-semctl.h>.
25491         (__old_semctl): Don't use CHECK_SEMCTL.
25492         (__new_semctl): Likewise.
25493         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25494         and <bp-semctl.h>.
25495         (__old_semctl): Don't use CHECK_SEMCTL.
25496         (__new_semctl): Likewise.
25497         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25498         <bp-checks.h> and <bp-semctl.h>.
25499         (__old_semctl): Don't use CHECK_SEMCTL.
25500         (__new_semctl): Likewise.
25501         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25502         <bp-checks.h> and <bp-semctl.h>.
25503         (semctl): Don't use CHECK_SEMCTL.
25504
25505         [BZ #13550]
25506         * Makerules (elide-bp-thunks): Remove variable.
25507         (elide-routines.oS): Don't use $(elide-bp-thunks).
25508         (elide-routines.os): Likewise.
25509         (elide-routines.o): Likewise.
25510         (elide-routines.op): Likewise.
25511         (elide-routines.og): Likewise.
25512         (objects): Don't use $(bp-thunks).
25513         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25514         include.
25515         (common-generated): Do not add s-proto-bp.d.
25516         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25517         (int): Likewise.
25518         (typ): Likewise.
25519         Do not generate makefile rules for bounded-pointer thunks.
25520         * sysdeps/generic/bp-thunks.h: Remove file.
25521         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25522         * sysdeps/unix/s-proto-bp.S: Likewise.
25523
25524         [BZ #15062]
25525         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25526         parts of result separately when argument is not close to line from
25527         -i to i and one part of argument is small.
25528         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25529         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25530         * math/libm-test.inc (cacos_test): Add more tests.
25531         (casin_test): Likewise.
25532         (casinh_test): Likewise.
25533         * sysdeps/i386/fpu/libm-test-ulps: Update.
25534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25535
25536 2013-01-31  David S. Miller  <davem@davemloft.net>
25537
25538         * po/de.po: Update from translation team.
25539
25540 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25541
25542         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25543
25544 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25545
25546         * configure.in (_AC_PROG_CC_C89): New definition.
25547         * configure: Regenerate.
25548
25549         * configure.in (AC_PROG_CPP): New definition.
25550         * configure: Regenerate.
25551
25552 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25553
25554         * debug/tst-backtrace.h: New file.
25555         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25556         (ret): Remove variable.
25557         (x): Likewise.
25558         (FAIL): Remove macro.
25559         (NO_INLINE): Likewise.
25560         (fn1): Use match function instead of strstr.
25561         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25562         (ret): Remove variable.
25563         (x): Likewise.
25564         (FAIL): Remove macro.
25565         (NO_INLINE): Likewise.
25566         (fn): Use match function instead of strstr.
25567         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25568         (ret): Remove variable.
25569         (x): Likewise.
25570         (FAIL): Remove macro.
25571         (NO_INLINE): Likewise.
25572         (handle_signal): Use match function instead of strstr.
25573         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25574         (ret): Remove variable.
25575         (x): Likewise.
25576         (FAIL): Remove macro.
25577         (NO_INLINE): Likewise.
25578         (handle_signal): Use match function instead of strstr.
25579
25580 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25581
25582         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25583
25584 2013-01-23  David S. Miller  <davem@davemloft.net>
25585
25586         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25587         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25588         argument of CAS if possible.
25589         * sysdeps/sparc/sparc64/bits/atomic.h
25590         (__arch_compare_and_exchange_val_32_acq): Likewise.
25591         (__arch_compare_and_exchange_val_64_acq): Likewise.
25592
25593 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25594
25595         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25596         * sysdeps/posix/ulimit.c: ... this.
25597         Include <limits.h>.
25598         * sysdeps/unix/bsd/ulimit.c: Remove file.
25599
25600 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25601
25602         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25603         (LDFLAGS-tst-array5): Likewise.
25604
25605 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25606
25607         [BZ #15036]
25608         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25609         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25610         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25611         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25612
25613 2013-01-21  David S. Miller  <davem@davemloft.net>
25614
25615         * sysdeps/sparc/backtrace.c: New file.
25616         * sysdeps/sparc/sparc32/backtrace.h: New file.
25617         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25618         * sysdeps/sparc/sparc64/backtrace.h: New file.
25619         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25620         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25621         -funwind-tables.
25622
25623 2013-01-21  Andreas Schwab  <schwab@suse.de>
25624
25625         [BZ #15020]
25626         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25627         closed its stdout.
25628
25629 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25630
25631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25632         "mpa2.h".
25633         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25634
25635 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25636             Mark Mitchell  <mark@codesourcery.com>
25637             Tom de Vries  <tom@codesourcery.com>
25638             Paul Pluzhnikov  <ppluzhnikov@google.com>
25639
25640         * debug/tst-backtrace2.c: New file.
25641         * debug/tst-backtrace3.c: Likewise.
25642         * debug/tst-backtrace4.c: Likewise.
25643         * debug/tst-backtrace5.c: Likewise.
25644         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25645         (CFLAGS-tst-backtrace3.c): Likewise.
25646         (CFLAGS-tst-backtrace4.c): Likewise.
25647         (CFLAGS-tst-backtrace5.c): Likewise.
25648         (LDFLAGS-tst-backtrace2): Likewise.
25649         (LDFLAGS-tst-backtrace3): Likewise.
25650         (LDFLAGS-tst-backtrace4): Likewise.
25651         (LDFLAGS-tst-backtrace5): Likewise.
25652         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25653         tst-backtrace4 and tst-backtrace5.
25654
25655 2013-01-18  Anton Blanchard  <anton@samba.org>
25656             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25657
25658         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25659         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25660         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25661         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25663         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25664         "+r" and remove output regs list as redundant.  Add explicit inline
25665         asm to specify register of return val to work around compiler codegen
25666         bug.  Remove (int) cast on return value.  Add return type parameter to
25667         use in macro so that this macro does not truncate return value for
25668         64-bit values.
25669         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25670         pass to INTERNAL_VSYSCALL_NCS.
25671         (INLINE_VSYSCALL): Add 'long int' as return type to
25672         INTERNAL_VSYSCALL_NCS macro invocation.
25673         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25674         INTERNAL_VSYSCALL_NCS macro invocation.
25675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25676
25677 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25678
25679         [BZ #14496]
25680         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25681         Fix application of SIMD FP exception mask.
25682
25683         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25684         mp_no from a power of two.
25685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25686         __mpexp_twomm1.  Use __pow_mp.
25687
25688         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25689         multiplication.
25690
25691 2013-01-17  David S. Miller  <davem@davemloft.net>
25692
25693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25694
25695 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25696
25697         [BZ #15023]
25698         * include/complex.h: Condition contents on [!_COMPLEX_H].
25699         (__kernel_casinhf): New prototype.
25700         (__kernel_casinh): Likewise.
25701         (__kernel_casinhl): Likewise.
25702         * math/Makefile (libm_calls): Add k_casinh.
25703         * math/k_casinh.c: New file.
25704         * math/k_casinhf.c: Likewise.
25705         * math/k_casinhl.c: Likewise.
25706         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25707         finite nonzero arguments.
25708         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25709         finite nonzero arguments.
25710         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25711         finite nonzero arguments.
25712         * math/s_casinh.c: Do not include <float.h>.
25713         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25714         * math/s_casinhf.c: Do not include <float.h>.
25715         (__casinhf): Move code for finite nonzero arguments to
25716         k_casinhf.c.
25717         * math/s_casinhl.c: Do not include <float.h>.
25718         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25719         redefine.
25720         (__casinhl): Move code for finite nonzero arguments to
25721         k_casinhl.c.
25722         * math/libm-test.inc (cacos_test): Add more tests.
25723         * sysdeps/i386/fpu/libm-test-ulps: Update.
25724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25725
25726 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25727
25728         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25729         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25730         [!HAVE_MREMAP]: Remove [defined linux] case.
25731         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25732
25733 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25734
25735         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25736
25737 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25738
25739         * elf/elf.h (R_386_SIZE32): New relocation.
25740         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25741         R_386_SIZE32.
25742         (elf_machine_rela): Likewise.
25743         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25744         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25745
25746 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25747
25748         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25749         (FP_FAST_FMA): Do not define.
25750         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25751         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25752         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25753         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25754         !_SOFT_FLOAT]: Likewise.
25755         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25756         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25757         value.
25758         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25759         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25760         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25761         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25762         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25763         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25764         file.
25765
25766 2013-01-16  Andreas Schwab  <schwab@suse.de>
25767
25768         [BZ #14327]
25769         * include/stdlib.h (__mktemp): Add declaration.
25770         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25771         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25772
25773 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25774
25775         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25776         definitions.
25777         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25778         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25779         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25780         definitions here.
25781         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25782         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25783         definitions.
25784         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25785         and ONE.
25786         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25787         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25788         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25789         definitions.
25790         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25791         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25792         definitions.
25793         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25794
25795         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25796
25797 2013-01-15  David S. Miller  <davem@davemloft.net>
25798
25799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25800         trunc{,f} to libm-sysdep_routes.
25801         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25803         file.
25804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25806         file.
25807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25808         file.
25809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25811         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25812         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25813         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25814         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25815         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25816         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25817
25818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25819         nearbyint{,f} to libm-sysdep_routes.
25820         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25822         New file.
25823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25824         file.
25825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25826         New file.
25827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25828         file.
25829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25831         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25832         file.
25833         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25834         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25835         file.
25836         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25837         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25838         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25839
25840         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25841         libc_feholdexcept and libc_fesetenv.
25842
25843 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25844
25845         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25846
25847 2013-01-14  David S. Miller  <davem@davemloft.net>
25848
25849         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25850         (SPARC_ASM_VIS2_IFUNC): Likewise.
25851         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25853         use of 'siam' instruction.
25854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25855         Likewise.
25856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25857         Likewise.
25858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25859         Likewise.
25860         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25862         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25865         file.
25866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25867         file.
25868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25869         file.
25870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25871         file.
25872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25877         new VIS2 routines.
25878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25881         Likewise.
25882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25887         routines to libm-sysdep_routines.
25888         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25889
25890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25891         fdim/fdimf to libm-sysdep_routines.
25892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25893         file.
25894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25896         file.
25897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25900         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25901         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25902         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25903         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25904
25905 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25906
25907         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25908         to optimize copies.
25909
25910         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25913
25914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25915         local variable MPTWO.
25916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25917         Likewise.
25918
25919 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25920
25921         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25922         GLOB_NOESCAPE.
25923
25924 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25925
25926         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25927
25928 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25929
25930         * manual/pattern.texi (glob_t): Document gl_flags.
25931         (glob64_t): Likewise.
25932
25933 2013-01-11  David S. Miller  <davem@davemloft.net>
25934
25935         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25936         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25937         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25938         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25939         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25940         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25941         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25942         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25943         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25944         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25945         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25946         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25947         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25948
25949         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25950         sparc V9 rather than using V8 code.
25951         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25952         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25953
25954         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25955         Move to...
25956         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25957         Here.
25958
25959 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25960
25961         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25962         not in the main loop.
25963         * configure: Regenerated.
25964
25965 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25966
25967         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25968         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25969         to just #else.
25970         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25971         [!__GLIBC_HAVE_LONG_LONG] case.
25972         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25973         condition to just #else.
25974         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25975         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25976         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25977         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25978         unconditional.
25979         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25980         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25981         #elif condition to just #else.
25982         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25983         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25984         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25985         #elif condition to just #else.
25986
25987 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25988
25989         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25990         (EF_MIPS_ARCH_64): Fix value.
25991         (EF_MIPS_ARCH_32R2): New.
25992         (EF_MIPS_ARCH_64R2): New.
25993
25994 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25995
25996         * Makeconfig (+link-pie-before-libc): New.
25997         (+link-pie-after-libc): Likewise.
25998         (+link-pie-tests): Likewise.
25999         (+link-pie): Rewritten.
26000         (link-before-libc): Remove $(config-LDFLAGS).
26001         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26002         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26003         (config-LDFLAGS): Renamed to ...
26004         (rtld-LDFLAGS): This.
26005         (rtld-tests-LDFLAGS): New macro.
26006         (link-libc-rpath-link): Likewise.
26007         (link-libc-tests-rpath-link): Likewise.
26008         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26009         (link-libc): Prepand $(link-libc-rpath-link).
26010         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26011         (test-program-prefix): New macro.
26012         (test-via-rtld-prefix): Likewise.
26013         (test-program-cmd): Likewise.
26014         (host-test-program-cmd): Likewise.
26015         * Makefile ($(common-objpfx)testrun.sh): Replace
26016         $(run-program-prefix) with $(test-program-prefix).
26017         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26018         $(rtld-LDFLAGS).
26019         ($(common-objpfx)shlib.lds): Likewise.
26020         (build-module-helper): Likewise.
26021         ($(common-objpfx)format.lds): Likewise.
26022         * Rules (binaries-pie-tests): New.
26023         (binaries-pie-notests): Likewise.
26024         (binaries-pie): Rewritten.
26025         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26026         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26027         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26028         (make-test-out): Replace $(host-built-program-cmd) with
26029         $(host-test-program-cmd).
26030         * config.make.in (build-hardcoded-path-in-tests): New variable.
26031         * configure.in (--enable-hardcoded-path-in-tests): New configure
26032         option.
26033         (hardcoded_path_in_tests): New AC_SUBST.
26034         * configure: Regenerated.
26035         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26036         $(built-program-cmd) with $(test-program-cmd).
26037         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26038         (test_program_cmd): This.
26039         * elf/Makefile ($(objpfx)order.out): Run test with
26040         $(test-program-prefix).
26041         ($(objpfx)order2.out): Likewise.
26042         ($(objpfx)tst-initorder.out): Likewise.
26043         ($(objpfx)tst-initorder2.out): Likewise.
26044         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26045         $(test-program-cmd).
26046         ($(objpfx)tst-array1-static.out): Likewise.
26047         ($(objpfx)tst-array2.out): Likewise.
26048         ($(objpfx)tst-array3.out): Likewise.
26049         ($(objpfx)tst-array4.out): Likewise.
26050         ($(objpfx)tst-array5.out): Likewise.
26051         ($(objpfx)tst-array5-static.out): Likewise.
26052         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26053         $(test-program-cmd).
26054         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26055         $(run-program-prefix) with $(test-program-prefix).
26056         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26057         (test_program_prefix): This.
26058         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26059         $(run-program-prefix) with $(test-program-prefix).
26060         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26061         (test_program_prefix): This.
26062         * iconvdata/tst-tables.sh: Likewise.
26063         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26064         $(run-program-prefix) with $(test-program-prefix).
26065         ($(objpfx)tst-translit.out): Likewise.
26066         ($(objpfx)tst-gettext2.out): Likewise.
26067         ($(objpfx)tst-gettext4.out): Likewise.
26068         ($(objpfx)tst-gettext6.out): Likewise.
26069         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26070         (test_program_prefix): This.
26071         * intl/tst-gettext2.sh: Likewise.
26072         * intl/tst-gettext4.sh  Likewise.
26073         * intl/tst-gettext6.sh: Likewise.
26074         * intl/tst-translit.sh: Likewise.
26075         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26076         with $(test-program-cmd).
26077         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26078         $(run-program-prefix) with $(test-program-prefix).
26079         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26080         (test_program_prefix): This.
26081         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26082         $(run-program-prefix) with $(test-program-prefix).
26083         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26084         (test_program_prefix): This.
26085         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26086         * posix/Makefile ($(objpfx)globtest.out): Replace
26087         $(run-via-rtld-prefix) and $(test-wrapper) with
26088         $(test-program-prefix) and $(test-via-rtld-prefix).
26089         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26090         $(test-program-prefix).
26091         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26092         $(host-test-program-cmd).
26093         (tst-spawn-ARGS): Likewise.
26094         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26095         $(test-program-prefix).
26096         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26097         (test_via_rtld_prefix): This.
26098         (test_wrapper): Renamed to ...
26099         (test_program_prefix): This.
26100         (run_program_prefix): Replaced by test_program_prefix.
26101         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26102         (test_program_prefix): This.
26103         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26104         with $(host-test-program-cmd).
26105         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26106         $(run-program-prefix) with $(test-program-prefix).
26107         ($(objpfx)tst-printf.out): Likewise.
26108         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26109         $(test-program-cmd).
26110         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26111         (test_program_prefix): This.
26112         * stdio-common/tst-unbputc.sh: Likewise.
26113         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26114         $(run-program-prefix) with $(test-program-prefix).
26115         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26116         (test_program_prefix): This.
26117         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26118         $(built-program-cmd) with $(test-program-cmd).
26119
26120 2013-01-11  Andreas Jaeger  <aj@suse.de>
26121
26122         [BZ #15003]
26123         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26124         value. Sync with Linux 3.7.
26125
26126 2013-01-10  David S. Miller  <davem@davemloft.net>
26127
26128         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26129         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26130         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26131
26132 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26133
26134         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26135         never set.
26136         * configure: Regenerated.
26137
26138 2013-01-10  David S. Miller  <davem@davemloft.net>
26139
26140         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26141         sparc V9 rather than using V8 code.
26142         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26143         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26144
26145 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26146
26147         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26148         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26149         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26150         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26151         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26152         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26153         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26154         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26155         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26156         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26157         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26158         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26159         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26160         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26161         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26162         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26163         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26164         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26165         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26166         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26167         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26168         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26169         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26170         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26171         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26172         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26173         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26174
26175 2013-01-10  David S. Miller  <davem@davemloft.net>
26176
26177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26178
26179 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26180
26181         * posix/Makefile (tests-static): New variable.
26182         (tests): Add $(tests-static).
26183         (tst-exec-static-ARGS): New variable.
26184         (tst-spawn-static-ARGS): Likewise.
26185         * posix/tst-exec-static.c: New file.
26186         * posix/tst-spawn-static.c: Likewise.
26187         * posix/tst-exec.c: Support run directly.
26188         * posix/tst-spawn.c: Likewise.
26189
26190 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26191
26192         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26193         long.
26194         * math/bits/mathcalls.h (llrint): Likewise.
26195         (llround): Likewise.
26196         * stdlib/stdlib.h (struct drand48_data): Likewise.
26197         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26198         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26199         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26200         Likewise.
26201         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26202         Likewise.
26203         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26204         (elf_greg_t): Likewise.
26205         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26206         (__jmp_buf): Likewise.
26207         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26208         definitions.
26209         (llrint): Likewise, for all definitions.
26210         (llrintl): Likewise.
26211
26212         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26213         Remove [__GNUC__] condition.
26214         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26215         condition to just [__USE_ISOC99].
26216         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26217
26218 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26219
26220         [BZ #14200]
26221         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26222         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26223         defined.
26224         (_POSIX_V6_ILP32_OFF32): Likewise.
26225         (_XBS5_ILP32_OFF32): Likewise.
26226         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26227         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26228
26229 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26230
26231         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26232
26233         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26234         doubles __mpexp_twomm1.  Adjust usage.
26235         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26236         Remove.
26237
26238 2013-01-10  Andreas Schwab  <schwab@suse.de>
26239
26240         [BZ #14964]
26241         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26242         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26243
26244 2013-01-09  David S. Miller  <davem@davemloft.net>
26245
26246         [BZ #15003]
26247         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26248         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26249         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26250         (TCP_FASTOPEN): Define.
26251         (tcp_repair_opt): New structure.
26252         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26253         enum values.
26254         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26255         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26256         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26257         (tcp_cookie_transactions): New structure.
26258
26259 2013-01-09  Anton Blanchard  <anton@samba.org>
26260
26261         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26262         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26263         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26264         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26265
26266 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26267
26268         * include/features.h (__USE_ANSI): Remove.
26269
26270 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26271
26272         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26273
26274         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26275
26276 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26277
26278         * sysdeps/s390/fpu/libm-test-ulps: Update.
26279
26280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26281
26282         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26283         (__acr): Likewise.
26284         (__cpy): Likewise.
26285         (norm): Likewise.
26286         (denorm): Likewise.
26287         (__mp_dbl): Likewise.
26288         (__dbl_mp): Likewise.
26289         (add_magnitudes): Likewise.
26290         (sub_magnitudes): Likewise.
26291         (__add): Likewise.
26292         (__sub): Likewise.
26293         (__mul): Likewise.
26294         (__inv): Likewise.
26295         (__dvd): Likewise.
26296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26297         (__acr): Likewise.
26298         (__cpy): Likewise.
26299         (norm): Likewise.
26300         (denorm): Likewise.
26301         (__mp_dbl): Likewise.
26302         (__dbl_mp): Likewise.
26303         (add_magnitudes): Likewise.
26304         (sub_magnitudes): Likewise.
26305         (__add): Likewise.
26306         (__sub): Likewise.
26307         (__mul): Likewise.
26308         (__inv): Likewise.
26309         (__dvd): Likewise.
26310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26311         (__acr): Likewise.
26312         (__cpy): Likewise.
26313         (norm): Likewise.
26314         (denorm): Likewise.
26315         (__mp_dbl): Likewise.
26316         (__dbl_mp): Likewise.
26317         (add_magnitudes): Likewise.
26318         (sub_magnitudes): Likewise.
26319         (__add): Likewise.
26320         (__sub): Likewise.
26321         (__mul): Likewise.
26322         (__inv): Likewise.
26323         (__dvd): Likewise.
26324
26325 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26326
26327         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26328         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26329         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26330         2 && __USE_EXTERN_INLINES]: Likewise.
26331
26332 2013-01-08  Andreas Jaeger  <aj@suse.de>
26333
26334         [BZ# 14985]
26335         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26336         Remove.
26337         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26338         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26339
26340 2013-01-07  Anton Blanchard  <anton@samba.org>
26341
26342         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26343         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26344         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26345         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26346         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26347         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26348         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26349         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26351         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26352         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26353         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26354         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26355         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26356         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26357         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26358         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26359         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26360         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26361         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26362         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26363         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26364         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26365         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26366         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26367         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26368         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26369         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26370         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26371         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26372         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26374         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26375         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26376         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26377         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26378         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26379         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26380         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26381         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26382         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26383         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26384         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26385
26386 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26387
26388         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26389         (__MALLOC_PMT): Likewise.
26390         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26391         [__GNUC__], only on [_LIBC].
26392         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26393         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26394         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26395         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26396         forward declaration.
26397         (realloc_hook_ini): Likewise.
26398         (memalign_hook_ini): Likewise.
26399         (__libc_memalign): Do not use __MALLOC_PMT in variable
26400         declaration.
26401         (__libc_valloc): Likewise.
26402         (__libc_pvalloc): Likewise.
26403         (__libc_calloc): Likewise.
26404         (__posix_memalign): Likewise.
26405
26406         [BZ #14996]
26407         * math/s_casinh.c: Include <float.h>.
26408         (__casinh): Do not do computation with squaring and square root
26409         for large arguments.
26410         * math/s_casinhf.c: Include <float.h>.
26411         (__casinhf): Do not do computation with squaring and square root
26412         for large arguments.
26413         * math/s_casinhl.c: Include <float.h>.
26414         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26415         (__casinhl): Do not do computation with squaring and square root
26416         for large arguments.
26417         * math/libm-test.inc (casin_test): Add more tests.
26418         (casinh_test): Likewise.
26419         * sysdeps/i386/fpu/libm-test-ulps: Update.
26420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26421
26422 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26423
26424         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26425         (__x86_64_raw_data_cache_size): Likewise.
26426         (__x86_64_data_cache_size_half): Likewise.
26427         (__x86_64_raw_data_cache_size_half): Likewise.
26428         (__x86_64_shared_cache_size): Likewise.
26429         (__x86_64_raw_shared_cache_size): Likewise.
26430         (__x86_64_shared_cache_size_half): Likewise.
26431         (__x86_64_raw_shared_cache_size_half): Likewise.
26432         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26433         to ...
26434         (__x86_data_cache_size): This.
26435         (__x86_64_raw_data_cache_size): Renamed to ...
26436         (__x86_raw_data_cache_size): This.
26437         (__x86_64_data_cache_size_half): Renamed to ...
26438         (__x86_data_cache_size_half): This.
26439         (__x86_64_raw_data_cache_size_half): Renamed to ...
26440         (__x86_raw_data_cache_size_half): This.
26441         (__x86_64_shared_cache_size): Renamed to ...
26442         (__x86_shared_cache_size): This.
26443         (__x86_64_raw_shared_cache_size): Renamed to ...
26444         (__x86_raw_shared_cache_size): This.
26445         (__x86_64_shared_cache_size_half): Renamed to ...
26446         (__x86_shared_cache_size_half): This.
26447         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26448         (__x86_raw_shared_cache_size_half): This.
26449         * sysdeps/x86_64/memcpy.S: Updated.
26450         * sysdeps/x86_64/memset.S: Likewise.
26451         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26452         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26453         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26454
26455 2013-01-04  David S. Miller  <davem@davemloft.net>
26456
26457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26458
26459 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26460
26461         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26462         1 to avoid redefinition warning.
26463         (__USE_GNU): Don't define.
26464         (init_signaling_nan): Protoize.
26465
26466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26467
26468 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26469
26470         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26472         (__cpymn): Likewise.
26473         (norm): Remove commented code.
26474         (denorm): Likewise.
26475         (__mp_dbl): Likewise.
26476         (__inv): Likewise.
26477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26478         (__cpymn): Likewise.
26479         (norm): Remove commented code.
26480         (denorm): Likewise.
26481         (__mp_dbl): Likewise.
26482         (__inv): Likewise.
26483
26484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26485         mp_no value for 1.0 and 2.0.
26486         (norm): Use RADIXI instead of radixi.d.
26487         (denorm): Likewise.
26488         (__mul): Use 0.0 instead of zero.d.
26489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26490         mp_no value for 1.0 and 2.0.
26491         (norm): Use RADIXI instead of radixi.d.
26492         (denorm): Likewise.
26493         (__mul): Use 0.0 instead of zero.d.
26494
26495 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26496
26497         [BZ #14994]
26498         * math/s_casinh.c (__casinh): Reduce finite argument to first
26499         quadrant then set signs of results at the end.
26500         * math/s_casinhf.c (__casinhf): Likewise.
26501         * math/s_casinhl.c (__casinhl): Likewise.
26502         * math/libm-test.inc (casin_test): Add more tests.
26503         (casinh_test): Likewise.
26504         * sysdeps/i386/fpu/libm-test-ulps: Update.
26505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26506
26507 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26508
26509         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26510
26511         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26512
26513         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26514         declarations.
26515         (denorm): Likewise.
26516         (__mp_dbl): Likewise.
26517         (__inv): Likewise.
26518
26519         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26520         and adjust the header comment.
26521
26522         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26523         variable name from declaration.
26524
26525 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26526
26527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26528         Initialize COMMON_CPUID_INDEX_7 element.
26529         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26530         (CPUID_RTM): Likewise.
26531         (HAS_RTM): Likewise.
26532         (COMMON_CPUID_INDEX_7): New enum.
26533
26534 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26535
26536         [BZ #14981]
26537         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26538         size is zero, record memory as freed.
26539
26540 2013-01-03  Andreas Jaeger  <aj@suse.de>
26541
26542         * po/ia.po: Add new Interlingua translation.
26543
26544 2012-01-03  Allan McRae  <allan@archlinux.org>
26545
26546         * locale/programs/localedef.c: Fix description of '--posix' flag.
26547
26548 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26549
26550         * NEWS: Update dates in second copyright notice.
26551         * README: Update copyright dates in example.
26552         * manual/libc.texinfo: Update copyright dates.
26553         * scripts/test-installation.pl: Update copyright date in --version
26554         output.
26555
26556         * hurd/ctty-input.c: Fix copyright notice formatting.
26557         * hurd/ctty-output.c: Likewise.
26558         * hurd/dtable.c: Likewise.
26559         * hurd/hurd-raise.c: Likewise.
26560         * hurd/hurdprio.c: Likewise.
26561         * hurd/msgportdemux.c: Likewise.
26562         * misc/sys/file.h: Likewise.
26563         * misc/sys/ioctl.h: Likewise.
26564         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26565         * sysdeps/mach/hurd/chdir.c: Likewise.
26566         * sysdeps/mach/hurd/fchdir.c: Likewise.
26567         * sysdeps/mach/hurd/rename.c: Likewise.
26568         * sysdeps/mach/hurd/rmdir.c: Likewise.
26569         * sysdeps/mach/hurd/seekdir.c: Likewise.
26570         * sysdeps/mach/hurd/setsid.c: Likewise.
26571         * sysdeps/posix/wait3.c: Likewise.
26572
26573         * All files with FSF copyright notices: Update copyright dates
26574         using scripts/update-copyrights.
26575         * intl/plural.c: Regenerated.
26576         * locale/programs/charmap-kw.h: Likewise.
26577         * locale/programs/locfile-kw.h: Likewise.
26578
26579 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26580
26581         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26582         four values.
26583
26584         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26585         calculation loop and add branch prediction.
26586
26587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26588         check access beyond bounds of m1np.
26589
26590         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26591         MPTWO.
26592         (__inv): Remove local variable MPTWO to use the global
26593         constant.
26594         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26595         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26596         variable MPTWO.
26597         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26598         MP3HALFS static const.
26599
26600 2013-01-01  David S. Miller  <davem@davemloft.net>
26601
26602         * po/ca.po: Update from translation team.
26603
26604 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26605
26606         * scripts/update-copyrights: New file.
26607         * Makeconfig: Reformat copyright notice.
26608         * ctype/ctype.h: Likewise.
26609         * debug/swprintf_chk.c: Likewise.
26610         * elf/dl-cache.c: Likewise.
26611         * elf/dl-debug.c: Likewise.
26612         * elf/dl-object.c: Likewise.
26613         * grp/initgroups.c: Likewise.
26614         * hurd/Makefile: Likewise.
26615         * hurd/hurd/signal.h: Likewise.
26616         * hurd/hurdfault.c: Likewise.
26617         * hurd/hurdioctl.c: Likewise.
26618         * hurd/hurdlookup.c: Likewise.
26619         * hurd/intr-msg.c: Likewise.
26620         * iconv/gconv_open.c: Likewise.
26621         * libio/swprintf.c: Likewise.
26622         * locale/lc-ctype.c: Likewise.
26623         * locale/nl_langinfo.c: Likewise.
26624         * mach/Machrules: Likewise.
26625         * mach/Makefile: Likewise.
26626         * malloc/obstack.h: Likewise.
26627         * manual/Makefile: Likewise.
26628         * manual/tsort.awk: Likewise.
26629         * misc/bits/stab.def: Likewise.
26630         * nis/nis_print_group_entry.c: Likewise.
26631         * nis/nis_table.c: Likewise.
26632         * nis/nss_compat/compat-pwd.c: Likewise.
26633         * nis/nss_compat/compat-spwd.c: Likewise.
26634         * po/Makefile: Likewise.
26635         * posix/fnmatch.c: Likewise.
26636         * posix/regex.h: Likewise.
26637         * resolv/Makefile: Likewise.
26638         * resolv/nss_dns/dns-network.c: Likewise.
26639         * resolv/res_hconf.c: Likewise.
26640         * scripts/gen-sorted.awk: Likewise.
26641         * soft-fp/soft-fp.h: Likewise.
26642         * stdio-common/printf.h: Likewise.
26643         * stdlib/monetary.h: Likewise.
26644         * stdlib/random.c: Likewise.
26645         * stdlib/random_r.c: Likewise.
26646         * sysdeps/generic/Makefile: Likewise.
26647         * sysdeps/gnu/Makefile: Likewise.
26648         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26650         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26652         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26655         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26656         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26657         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26658         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26659         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26660         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26661         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26662         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26663         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26664         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26665         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26666         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26668         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26669         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26670         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26671         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26672         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26673         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26674         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26675         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26676         * sysdeps/mach/hurd/errnos.awk: Likewise.
26677         * sysdeps/mach/hurd/fork.c: Likewise.
26678         * sysdeps/mach/hurd/getcwd.c: Likewise.
26679         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26680         * sysdeps/mach/hurd/mmap.c: Likewise.
26681         * sysdeps/mach/hurd/utimes.c: Likewise.
26682         * sysdeps/mach/hurd/xmknod.c: Likewise.
26683         * sysdeps/posix/profil.c: Likewise.
26684         * sysdeps/posix/readdir_r.c: Likewise.
26685         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26686         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26687         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26688         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26690         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26691         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26692         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26694         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26695         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26696         * sysdeps/pthread/lio_listio.c: Likewise.
26697         * sysdeps/sparc/dl-procinfo.h: Likewise.
26698         * sysdeps/unix/i386/sysdep.S: Likewise.
26699         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26700         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26701         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26702         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26704         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26705         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26706         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26707         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26708         * sysdeps/wordsize-32/divdi3.c: Likewise.
26709         * time/sys/time.h: Likewise.
26710         * wcsmbs/Makefile: Likewise.
26711
26712 2013-01-01  David S. Miller  <davem@davemloft.net>
26713
26714         * po/fr.po: Update from translation team.
26715
26716         * catgets/gencat.c: Update copyright year.
26717         * csu/version.c: Likewise.
26718         * debug/catchsegv.sh: Likewise.
26719         * debug/pcprofiledump.c: Likewise.
26720         * debug/xtrace.sh: Likewise.
26721         * elf/ldconfig.c: Likewise.
26722         * elf/ldd.bash.in: Likewise.
26723         * elf/pldd.c: Likewise.
26724         * elf/sotruss.ksh: Likewise.
26725         * elf/sprof.c: Likewise.
26726         * iconv/iconv_prog.c: Likewise.
26727         * iconv/iconvconfig.c: Likewise.
26728         * locale/programs/locale.c: Likewise.
26729         * locale/programs/localedef.c: Likewise.
26730         * login/programs/pt_chown.c: Likewise.
26731         * malloc/memusage.sh: Likewise.
26732         * malloc/memusagestat.c: Likewise.
26733         * malloc/mtrace.pl: Likewise.
26734         * nscd/nscd.c: Likewise.
26735         * nss/getent.c: Likewise.
26736         * nss/makedb.c: Likewise.
26737         * posix/getconf.c: Likewise.
26738
26739 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26740
26741         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26742         numbers.
26743
26744 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26745
26746         * math/bits/mathcalls.h (modf): Use __nonnull.
26747
26748 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26749
26750         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26751         (split): Use macro CN instead of the bare value.
26752         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26753         could be used.
26754         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26755         instead of the bare value.
26756         (power1): Likewise.
26757
26758 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26759
26760         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26761         __ATAN_TWOM.
26762         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26763
26764         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26765         their values.
26766         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26767         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26768         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26769         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26770
26771 2012-12-28  Andreas Jaeger  <aj@suse.de>
26772
26773         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26774         values are from Linux 3.7.
26775
26776         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26777         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26778
26779 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26780
26781         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26782         TRUE case.
26783
26784         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26785         (norm): Likewise.
26786         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26787         variables with preprocessor constants.
26788         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26789         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26790         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26791
26792 2012-12-27  Bruno Haible  <bruno@clisp.org>
26793
26794         [BZ #14317]
26795         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26796         only if needed.
26797
26798 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26799
26800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26801         and use variable directly.
26802         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26803
26804         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26805         MPONE.
26806         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26807         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26808         variable MPONE.
26809         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26810         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26811         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26812         include directive.  Remove local variable MPONE.
26813         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26814         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26815         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26816
26817 2012-12-25  David S. Miller  <davem@davemloft.net>
26818
26819         * version.h (RELEASE): Set to "development".
26820         (VERSION): Set to "2.17.90".
26821         * NEWS: Add 2.18 section.
26822
26823 2012-12-21  David S. Miller  <davem@davemloft.net>
26824
26825         * po/hr.po: Update from translation team.
26826
26827 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26828
26829         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26830
26831 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26832
26833         * NEWS:  Mention new memcpy for MIPS.
26834
26835 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26836
26837         * manual/contrib.texi (Contributors): Spelling correction.
26838
26839 2012-12-15  David S. Miller  <davem@davemloft.net>
26840
26841         * po/ru.po: Update from translation team.
26842
26843 2012-12-13  David S. Miller  <davem@davemloft.net>
26844
26845         * NEWS: Mention IFUNC testsuite enhancements.
26846
26847         * po/pl.po: Update from translation team.
26848         * po/bg.po: Likewise.
26849
26850         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26851         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26852
26853 2012-12-11  David S. Miller  <davem@davemloft.net>
26854
26855         * po/sv.po: Update from translation team.
26856
26857         * po/vi.po: Update from translation team.
26858
26859         * po/cs.po: Update from translation team.
26860
26861         * po/de.po: Update from translation team.
26862         * po/eo.po: Likewise.
26863         * po/nl.po: Likewise.
26864
26865 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26866
26867         [BZ #14246]
26868         * manual/argp.texi (Argp Helper Functions): Move node to follow
26869         Argp Parsing State.
26870
26871         [BZ #14872]
26872         * manual/conf.texi (Limits on File System Capacity): Mention if
26873         terminating null is included in the max size.
26874
26875 2012-12-10  Andreas Jaeger  <aj@suse.de>
26876
26877         * po/cs.po: Update from translation team.
26878
26879 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26880
26881         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26882         void pointer and cast to uintptr_t.
26883         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26884         path.
26885         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26886         * sysdeps/s390/s390-64/memset.S: Likewise.
26887
26888 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26889
26890         [BZ #14833]
26891         * menual/message.texi (Message Translation): Fix typos.
26892         (Helper programs for gettext): Likewise.
26893
26894 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26895
26896         [BZ #14898]
26897         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26898         Change to -1.
26899
26900 2012-12-07  David S. Miller  <davem@davemloft.net>
26901
26902         * po/libc.pot: Update.
26903
26904 2012-12-07  Richard Henderson  <rth@redhat.com>
26905
26906         [BZ #10114]
26907         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26908         normal/normal case to before the switch.
26909         (_FP_DIV): Likewise.
26910
26911 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26912             Mike Frysinger  <vapier@gentoo.org>
26913
26914         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26915         check for __NR_fadvise64_64.
26916
26917 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26918
26919         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26920         0, not just to plain "0" as a statement.
26921         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26922         with cw.
26923
26924 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26925
26926         * NEWS: Use sourceware.org in Bugzilla URL.
26927
26928 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26929
26930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26931         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26932
26933         * stdio-common/tst-put-error.c (do_test): Add newline to the
26934         padded test to ensure flush.
26935
26936 2012-12-05  Jeff Law  <law@redhat.com>
26937
26938         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26939
26940 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26941
26942         * README: Don't refer to ports add-on as distributed separately.
26943         Mention AArch64 in list of systems supported in the ports add-on.
26944
26945         * LICENSES: Add more non-FSF copyright and license notices.
26946
26947         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26948         ((unused)).
26949
26950         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26951
26952         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26953         10000 as width of padded output.
26954
26955 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26956
26957         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26958
26959         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26960         variable LX with __attribute__ ((unused)).
26961         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26962         Likewise.
26963         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26966         with __attribute__ ((unused)).
26967
26968 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26969
26970         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26971
26972 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26973
26974         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26975         (CFLAGS-nldbl-acos.c): New variable.
26976         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26977         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26978         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26979         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26980         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26981         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26982         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26983         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26984         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26985         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26986         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26987         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26988         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26989         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26990         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26991         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26992         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26993         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26994         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26995         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26996         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26997         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26998         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26999         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27000         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27001         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27002         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27003         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27004         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27005         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27006         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27007         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27008         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27009         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27010         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27011         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27012         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27013         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27014         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27015         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27016         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27017         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27018         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27019         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27020         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27021         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27022         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27023         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27024         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27025         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27026         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27027         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27028         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27029         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27030         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27031         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27032         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27033         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27034         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27035         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27036         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27037         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27038         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27039         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27040         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27041         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27042         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27043         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27044         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27045         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27046         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27047         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27048         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27049         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27050         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27051         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27052         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27053         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27054         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27055         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27056         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27057         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27058         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27059         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27060         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27061         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27062         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27063         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27064         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27065         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27066         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27067         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27068         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27069         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27070         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27071         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27072         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27073
27074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27075         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27076
27077         [BZ #14914]
27078         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27079         whole low double instead of just low 47 bits when splitting values
27080         into two parts.
27081
27082 2012-12-03  Allan McRae  <allan@archlinux.org>
27083
27084         * manual/stdio.texi (Predefined Printf Handlers): Remove
27085         @hsep and @vsep usage.
27086
27087 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27088
27089         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27090         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27091
27092 2012-12-03  Jeff Law  <law@redhat.com>
27093
27094         * time/sys/time.h (settimeofday): Do not mark TV argument
27095         as __nonnull.
27096
27097 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27098
27099         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27100         when currently writing and seek to current position when not.
27101         * libio/Makefile (tests): Remove bug-fclose1.
27102         * libio/bug-fclose1.c: Delete.
27103
27104 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27105
27106         * manual/arith.texi (feenableexcept): Fix typo.
27107         (fedisableexcept): Likewise.
27108
27109 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27110
27111         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27112         second, differently-typed declaration, rather than a cast.
27113
27114 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27115
27116         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27117         * include/rpc/svc.h: ... here.
27118
27119 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27120
27121         [BZ #13013]
27122         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27123         depending n and resplen2 to catch cases where answer
27124         equals answerp2.
27125
27126 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27127
27128         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27129         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27130
27131 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27132
27133         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27134
27135 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27136
27137         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27138
27139 2012-11-28  Jeff Law  <law@redhat.com>
27140
27141         [BZ #13761]
27142         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27143         dataset_temporary.  Track alloca usage into alloca_used.
27144         If dataset is large allocate and release it via malloc/free.
27145
27146 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27147
27148         [BZ #14197]
27149         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27150
27151 2012-11-28  David S. Miller  <davem@davemloft.net>
27152
27153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27154
27155 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27156
27157         [BZ #14803]
27158         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27159         of pi/2 rounded to nearest to 64 bits.
27160         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27161         nearest to 64 bits.
27162         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27163         bits.
27164
27165 2012-11-28  Jeff Law <law@redhat.com>
27166             Martin Osvald <mosvald@redhat.com>
27167
27168         [BZ #14889]
27169         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27170         * sunrpc/svc.c: Include time.h.
27171         (__svc_accept_failed): New function.
27172         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27173         any reason other than EINTR, call __svc_accept_failed.
27174         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27175         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27176
27177 2012-11-28  Andreas Schwab  <schwab@suse.de>
27178
27179         * scripts/abilist.awk: Also handle indirect functions in .opd
27180         section.
27181
27182 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27183
27184         [BZ #13881]
27185         * sysdeps/x86/fpu/powl_helper.c: New file.
27186         * sysdeps/x86/fpu/Makefile: Likewise.
27187         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27188         (p3): New object.
27189         (__ieee754_powl): Use __powl_helper for finite arguments except
27190         integer exponents below 8.
27191         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27192         (p3): New object.
27193         (__ieee754_powl): Use __powl_helper for finite arguments except
27194         integer exponents below 8.
27195         * math/libm-test.inc (pow_test): Add more tests and enable some
27196         previously disabled tests.
27197         * sysdeps/i386/fpu/libm-test-ulps: Update.
27198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27199
27200 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27201             Carlos O'Donell  <carlos_odonell@mentor.com>
27202
27203         * nss/makedb.c (is_prime): Assert that input is odd and greater
27204         than 4.  Note that fact in a comment too.
27205         (next_prime): Add 4 to input.
27206
27207 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27208
27209         [BZ #11741]
27210         * libio/Makefile (tests): Add test case tst-fwrite-error.
27211         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27212         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27213         * libio/tst-fwrite-error.c: New test case.
27214
27215 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27216
27217         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27218         before casting to void *.
27219         * include/libc-internal.h (__pointer_type): New macro.
27220         (__integer_if_pointer_type_sub): Likewise.
27221         (__integer_if_pointer_type): Likewise.
27222         (cast_to_integer): Likewise.
27223         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27224         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27225         before casting to atomic64_t.
27226         (atomic_exchange_acq): Likewise.
27227         (__arch_exchange_and_add_body): Likewise.
27228         (__arch_add_body): Likewise.
27229         (atomic_add_negative): Likewise.
27230         (atomic_add_zero): Likewise.
27231
27232 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27233
27234         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27235         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27236         (add_fdes): Likewise.
27237         (linear_search_fdes): Likewise.
27238         (binary_search_unencoded_fdes): Likewise.
27239
27240 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27241
27242         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27243
27244 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27245
27246         * configure.in: Autodetect C++ header directories.
27247         * configure: Regenerated.
27248
27249 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27250
27251         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27252
27253 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27254
27255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27256
27257 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27258
27259         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27260         LDBL_MANT_DIG == 106]: Disable some tests.
27261         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27262         Likewise.
27263         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27264         Likewise.
27265
27266         [BZ #14871]
27267         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27268         input for small inputs.  Return +/- pi/2 for large inputs.
27269         * math/libm-test.inc (atan_test): Add more tests.
27270
27271         * sysdeps/generic/unwind-dw2-fde-glibc.c
27272         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27273         __attribute__ ((unused)).
27274
27275         [BZ #14645]
27276         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27277         x * y if x and y are nonzero and z is zero.
27278
27279         [BZ #14811]
27280         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27281         nonzero exponents with absolute value below 0x1p-117 to +/-
27282         0x1p-117.
27283
27284         [BZ #14869]
27285         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27286         up arguments below 2**-450, not just those below 2**-500.
27287         * math/libm-test.inc (hypot_test): Add another test.
27288
27289         [BZ #14868]
27290         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27291         Return a+b for ratio over 2**120, not 2**60.
27292         * math/libm-test.inc (hypot_test): Add another test.
27293
27294         * math/libm-test.inc (clog_test): Use
27295         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27296         (clog10_test): Likewise.
27297
27298         [BZ #6778]
27299         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27300
27301 2012-11-22  Andreas Schwab  <schwab@suse.de>
27302
27303         * sysdeps/i386/fpu/libm-test-ulps: Update.
27304
27305 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27306
27307         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27308         printf output with newline.
27309
27310 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27311
27312         [BZ #14865]
27313         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27314         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27315         -z nodlopen, -z initfirst and -z execstack support.
27316         * configure: Regenerated.
27317
27318         * elf/elf.h (DF_1_NODIRECT): New macro.
27319         (DF_1_IGNMULDEF): Likewise.
27320         (DF_1_NOKSYMS): Likewise.
27321         (DF_1_NOHDR): Likewise.
27322         (DF_1_EDITED): Likewise.
27323         (DF_1_NORELOC): Likewise.
27324         (DF_1_SYMINTPOSE): Likewise.
27325         (DF_1_GLOBAUDIT): Likewise.
27326         (DF_1_SINGLETON): Likewise.
27327         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27328         DT_1_SUPPORTED_MASK bits.
27329         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27330
27331 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27332
27333         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27334
27335 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27336
27337         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27338         macro.
27339
27340         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27341         (sendmmsg): Move declarations...
27342         * socket/sys/socket.h: ... here.
27343         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27344         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27345         include it from...
27346         * socket/recvmmsg.c: ... this new file.
27347         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27348         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27349         definition of __sendmmsg hidden.
27350         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27351         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27352         Move ENOSYS stub into and include it from...
27353         * socket/sendmmsg.c: ... this new file.
27354         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27355         (sysdep_routines): Move recvmmsg and sendmmsg...
27356         * socket/Makefile (routines): ... here.
27357         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27358         (GLIBC_PRIVATE): Add __sendmmsg.
27359         * include/sys/socket.h (__sendmmsg): Add declarations.
27360         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27361         sendmmsg.
27362
27363 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27364
27365         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27366         variable I1 with __attribute__ ((unused)).
27367         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27368
27369 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27370
27371         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27372         DUMMY variables with __attribute__ ((unused)).
27373
27374         * bits/byteswap.h: Include <bits/types.h>.
27375         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27376
27377 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27378
27379         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27380         string_t.  Do not manually set errno.
27381         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27382         length with __strnlen.  Make sure to both set errno and return it on
27383         failure.
27384
27385 2012-11-19  David S. Miller  <davem@davemloft.net>
27386
27387         With help from Joseph Myers.
27388         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27389         very large arguments properly.
27390         * math/libm-test.inc (atan_test): New tests.
27391         (atan2_test): New tests.
27392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27394
27395 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27396
27397         [BZ #14856]
27398         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27399         Define to 3.
27400
27401         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27402         [POSIX] (EADDRNOTAVAIL): Likewise.
27403         [POSIX] (EAFNOSUPPORT): Likewise.
27404         [POSIX] (EALREADY): Likewise.
27405         [POSIX] (ECONNABORTED): Likewise.
27406         [POSIX] (ECONNREFUSED): Likewise.
27407         [POSIX] (ECONNRESET): Likewise.
27408         [POSIX] (EDESTADDRREQ): Likewise.
27409         [POSIX] (EDQUOT): Likewise.
27410         [POSIX] (EHOSTUNREACH): Likewise.
27411         [POSIX] (EIDRM): Likewise.
27412         [POSIX] (EISCONN): Likewise.
27413         [POSIX] (ELOOP): Likewise.
27414         [POSIX] (EMULTIHOP): Likewise.
27415         [POSIX] (ENETDOWN): Likewise.
27416         [POSIX] (ENETUNREACH): Likewise.
27417         [POSIX] (ENOBUFS): Likewise.
27418         [POSIX] (ENODATA): Likewise.
27419         [POSIX] (ENOLINK): Likewise.
27420         [POSIX] (ENOMSG): Likewise.
27421         [POSIX] (ENOPROTOOPT): Likewise.
27422         [POSIX] (ENOSR): Likewise.
27423         [POSIX] (ENOSTR): Likewise.
27424         [POSIX] (ENOTCONN): Likewise.
27425         [POSIX] (ENOTSOCK): Likewise.
27426         [POSIX] (EOPNOTSUPP): Likewise.
27427         [POSIX] (EOVERFLOW): Likewise.
27428         [POSIX] (EPROTO): Likewise.
27429         [POSIX] (EPROTONOSUPPORT): Likewise.
27430         [POSIX] (EPROTOTYPE): Likewise.
27431         [POSIX] (ESTALE): Likewise.
27432         [POSIX] (ETIME): Likewise.
27433         [POSIX] (ETXTBSY): Likewise.
27434         [POSIX] (EWOULDBLOCK): Likewise.
27435         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27436         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27437         [POSIX] (SEEK_CUR): Likewise.
27438         [POSIX] (SEEK_END): Likewise.
27439         [POSIX || UNIX98] (mode_t): Do not require.
27440         [POSIX] (off_t): Likewise.
27441         [POSIX] (pid_t): Likewise.
27442         [POSIX] (sys/stat.h): Do not allow header.
27443         [POSIX] (unistd.h): Likewise.
27444         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27445         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27446         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27447         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27448         require.
27449         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27450         sigevent): Specify elements.
27451         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27452         entry.
27453         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27454         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27455
27456         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27457         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27458         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27459         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27460         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27461         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27462         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27463         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27464         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27465         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27466         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27467         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27468         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27469         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27470         Likewise.
27471         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27472         Likewise.
27473         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27474         Likewise.
27475         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27476         Likewise.
27477         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27478         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27479         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27480         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27481         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27482         Specify lower bound on value.
27483         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27484         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27485         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27486         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27487         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27488         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27489         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27490         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27491         value.
27492         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27493         as optional.
27494         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27495         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27496         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27497         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27498         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27499         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27500         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27501         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27502         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27503         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27504         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27505         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27506         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27507         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27508         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27509         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27510         entry.
27511         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27512         optional.
27513         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27514         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27515         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27516         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27517         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27518         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27519         Likewise.
27520         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27521         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27522         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27523         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27524         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27525         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27526         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27527         as optional.
27528         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27529         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27530         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27531         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27532         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27533         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27534         specify as optional.
27535         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27536         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27537         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27538         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27539         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27540         [XPG3] (NL_LANGMAX): Likewise.
27541         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27542         [POSIX || XPG3] (NL_NMAX): Likewise.
27543         [POSIX || XPG3] (NL_SETMAX): Likewise.
27544         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27545         [XPG3] (NZERO): Likewise.
27546         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27547         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27548         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27549         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27550         (REG_ERANGE): Expect.
27551         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27552         optional-constant.
27553         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27554         Use (void) in prototype.
27555         [POSIX] (*_t): Allow.
27556         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27557         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27558         (WRDE_BADVAL): Expect.
27559
27560         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27561         expect.
27562         [XPG3 || XPG4] (O_RSYNC): Likewise.
27563         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27564         Likewise.
27565         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27566         [XPG3 || XPG4] (sigqueue): Likewise.
27567         [XPG3 || XPG4] (sigtimedwait): Likewise.
27568         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27569         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27570         [XPG3 || XPG4] (vsnprintf): Likewise.
27571         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27572         Likewise.
27573         [XPG3 || XPG4] (blksize_t): Likewise.
27574         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27575         Likewise.
27576         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27577         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27578         [XPG3 || XPG4] (struct itimerspec): Likewise.
27579         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27580         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27581         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27582         [XPG3 || XPG4] (clockid_t): Likewise.
27583         [XPG3 || XPG4] (timer_t): Likewise.
27584         [XPG3 || XPG4] (clock_getres): Likewise.
27585         [XPG3 || XPG4] (clock_gettime): Likewise.
27586         [XPG3 || XPG4] (clock_settime): Likewise.
27587         [XPG3 || XPG4] (nanosleep): Likewise.
27588         [XPG3 || XPG4] (timer_create): Likewise.
27589         [XPG3 || XPG4] (timer_delete): Likewise.
27590         [XPG3 || XPG4] (timer_gettime): Likewise.
27591         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27592         [XPG3 || XPG4] (timer_settime): Likewise.
27593         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27594         [XPG3 || XPG4] (getlogin_r): Likewise.
27595         [XPG3 || XPG4] (pread): Likewise.
27596         [XPG3 || XPG4] (pthread_atfork): Likewise.
27597         [XPG3 || XPG4] (pwrite): Likewise.
27598
27599         [BZ #14835]
27600         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27601         <bits/siginfo.h>.
27602
27603 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27604
27605         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27606         finalizing MALLSTREAM.
27607
27608         * sysdeps/mach/hurd/syncfs.c: New file.
27609
27610 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27611
27612         [BZ #14719]
27613         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27614         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27615         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27616         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27617         (_nss_dns_gethostbyname4_r): Likewise.
27618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27619         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27620
27621 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27622
27623         [BZ #13763]
27624         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27625
27626 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27627
27628         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27629         * elf/cache.c (print_entry): Print ",AArch64" for
27630         FLAG_AARCH64_LIB64
27631
27632         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27633         * elf/cache.c (print_entry): Print ",hard-float" for
27634         FLAG_ARM_LIBHF.
27635
27636 2012-11-18  David S. Miller  <davem@davemloft.net>
27637
27638         With help from Joseph Myers.
27639         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27640         cutoff to 2**-13.
27641         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27642         cutoff to 2**-25.
27643         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27644         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27645         small.
27646         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27647         * math/libm-test.inc (y0_test): New tests.
27648         (y1_test): New tests.
27649         * sysdeps/i386/fpu/libm-test-ulps: Update.
27650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27652
27653 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27654
27655         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27656         64-bit targets.
27657         * configure: Regenerated.
27658
27659 2012-11-17  David S. Miller  <davem@davemloft.net>
27660
27661         [BZ #14811]
27662         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27663         nonzero exponents with absolute value below 0x1p-128 to +/-
27664         0x1p-128.
27665
27666 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27667
27668         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27669
27670         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27671
27672         * posix/getconf-speclist.c: New file.
27673         * posix/posix-envs.def: Likewise.
27674         * posix/confstr.c (START_ENV_GROUP): New macro.
27675         (END_ENV_GROUP): Likewise.
27676         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27677         (KNOWN_PRESENT_ENV_STRING): Likewise.
27678         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27679         (UNKNOWN_ENVIRONMENT): Likewise.
27680         (confstr): Include posix-envs.def instead of handling
27681         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27682         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27683         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27684         (END_ENV_GROUP): Likewise.
27685         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27686         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27687         (UNKNOWN_ENVIRONMENT): Likewise.
27688         (__sysconf): Include posix-envs.def instead of handling associated
27689         cases directly here.
27690         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27691         preprocessing getconf-speclist.c rather than running getconf or
27692         generating empty file.
27693
27694 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27695
27696         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27697
27698 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27699
27700         [BZ #14672]
27701         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27702
27703 2012-11-16  David S. Miller  <davem@davemloft.net>
27704
27705         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27706         smaller than LDBL_EPSILON/2.0L, just return xm1.
27707
27708 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27709
27710         * elf/tst-array1.c (init): Set constructor priority to 1000.
27711         (fini): Set destructor priority to 1000.
27712         * elf/tst-array2dep.c: Likewise.
27713
27714 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27715
27716         [BZ #11741]
27717         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27718         (_IO_new_file_xsputn): Also return EOF if none of the input
27719         data was written when overflow failed.
27720         * libio/iopadn.c (_IO_padn): Likewise.
27721         * libio/iowpadn.c (_IO_wpadn): Likewise.
27722         * stdio-common/tst-put-error.c: Add copyright notice.
27723         (do_test): Add case for printing padded string.
27724         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27725         _IO_padn returned error.
27726         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27727         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27728         return EOF.
27729
27730 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27731
27732         * libio/libioP.h: Add comment note that the references to C++
27733         bits are now obsolete.
27734
27735 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27736
27737         * math/libm-test.inc (check_complex): Use asprintf.
27738
27739 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27740
27741         * debug/pcprofiledump.c (print_version): Update copyright year.
27742         * malloc/memusagestat.c (print_version): Likewise.
27743
27744 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27745
27746         [BZ #14831]
27747         * elf/Makefile (tests): Add tst-audit8.
27748         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27749         ($(objpfx)tst-audit8.out): New target.
27750         (tst-audit8-ENV): New variable.
27751         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27752         audit if l_reloc_result is NULL.
27753         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27754         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27755         * elf/tst-audit8.c: New file.
27756
27757 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27758
27759         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27760         * misc/Makefile (CFLAGS-select.c): Define.
27761         * posix/Makefile (CFLAGS-pause.c): Define.
27762
27763 2012-11-13  David S. Miller  <davem@davemloft.net>
27764
27765         * crypt/Makefile: Move test targets after toplevel Rules
27766         inclusion.  Grab any necessary sysdep routines when linking.
27767         * crypt/md5.c (md5_process_block): Remove define, we will always
27768         name it __md5_process_block.
27769         (md5_finish_ctx): Update md5_process_block call.
27770         (md5_stream): Likewise.
27771         (md5_process_bytes): Likewise.
27772         (md5_process_block): Rename to __md5_process_block and move to ...
27773         * crypt/md5-block.c: ... here.
27774         * crypt/sha256.c (sha256_process_block): Move to ...
27775         * crypt/sha256-block.c: ... here.
27776         * crypt/sha512.c (sha512_process_block): Move to ...
27777         * crypt/sha512-block.c: ... here.
27778         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27779         path.
27780         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27781         * sysdeps/sparc/sparc64/multiarch/Makefile
27782         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27783         crypt subdir.
27784         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27785         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27786         multiarch changes.
27787         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27788         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27789         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27790         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27791         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27792         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27793         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27794         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27795         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27796         file.
27797         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27798         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27799         file.
27800         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27801
27802 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27803
27804         * timezone/tzselect.ksh: Update from tzcode git revision
27805         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27806         * timezone/zdump.c: Likewise.
27807         * timezone/zic.c: Likewise.
27808         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27809         in TZVERSION setting, not $(PKGVERSION).
27810         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27811         REPORT_BUGS_TO settings.
27812
27813         [BZ #14838]
27814         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27815         macro.
27816
27817 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27818
27819         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27820         detection to immediately after _FP_ROUND().
27821         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27822         bits are 0.
27823
27824 2012-11-11  David S. Miller  <davem@davemloft.net>
27825
27826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27827         inttypes.h
27828         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27829         __close rather than their public counterparts.
27830
27831 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27832
27833         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27834         file.
27835         [UNIX98] (sem_timedwait): Do not expect.
27836         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27837         [XPG4 || UNIX98] (sockatmark): Do not expect.
27838         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27839         (clock_getcpuclockid): Do not expect.
27840         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27841         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27842         Do not expect.
27843         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27844         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27845         [UNIX98] (vwscanf): Likewise.
27846         [UNIX98] (vswscanf): Likewise.
27847
27848 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27849
27850         * timezone/version.h: Remove file.
27851         * timezone/README: Do not refer to version.h.
27852         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27853         $(objpfx)version.h.
27854         ($(objpfx)zdump.o): Likewise.
27855         ($(objpfx)version.h): New target.
27856
27857         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27858         2012i.
27859         * timezone/README: Don't mention modification to tzselect.ksh.
27860         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27861         work on unmodified tzselect.ksh.  Substitute version numbers in
27862         tzselect.ksh.
27863
27864         * Makefile (format-me): Remove.
27865         (INSTALL): Adjust indentation.  Use commands directly instead of
27866         using $(format-me).
27867
27868         * aclocal.m4 (ACX_PKGVERSION): New macro.
27869         (ACX_BUGURL): Likewise.
27870         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27871         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27872         (REPORT_BUGS_TO): Likewise.
27873         * configure: Regenerated.
27874         * config.h.in (PKGVERSION): New macro.
27875         (REPORT_BUGS_TO): Likewise.
27876         * config.make.in (PKGVERSION): New variable.
27877         (PKGVERSION_TEXI): Likewise.
27878         (REPORT_BUGS_TO): Likewise.
27879         (REPORT_BUGS_TEXI): Likewise.
27880         * Makefile (format-me): Use -I$(common-objpfx)manual.
27881         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27882         ($(common-objpfx)manual/%): New target.
27883         (manual/%): Remove target.
27884         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27885         (print_version): Use PKGVERSION.
27886         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27887         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27888         and REPORT_BUGS_TO.
27889         ($(objpfx)xtrace): Likewise.
27890         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27891         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27892         (print_version): Use PKGVERSION.
27893         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27894         (do_version): Use PKGVERSION.
27895         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27896         REPORT_BUGS_TO.
27897         (common-ldd-rewrite): Likewise.
27898         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27899         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27900         (print_version): Use PKGVERSION.
27901         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27902         * elf/pldd.c (argp_program_bug_address): Remove variable.
27903         (more_help): New function.
27904         (argp): Use more_help.
27905         (print_version): Use PKGVERSION.
27906         * elf/sln.c (main): Use PKGVERSION.
27907         (usage): Use REPORT_BUGS_TO.
27908         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27909         (top level): Use PKGVERSION.
27910         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27911         (print_version): Use PKGVERSION.
27912         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27913         (print_version): Use PKGVERSION.
27914         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27915         (print_version): Use PKGVERSION.
27916         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27917         (print_version): Use PKGVERSION.
27918         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27919         (print_version): Use PKGVERSION.
27920         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27921         (print_version): Use PKGVERSION.
27922         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27923         and BUGURL.
27924         ($(objpfx)memusage): Likewise.
27925         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27926         (do_version): Use PKGVERSION.
27927         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27928         (print_version): Use PKGVERSION.
27929         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27930         ($PKGVERSION): New variable.
27931         ($REPORT_BUGS_TO): Likewise.
27932         (usage): Use $REPORT_BUGS_TO.
27933         (top level): Use $PKGVERSION.
27934         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27935         ($(objpfx)pkgvers.texi): New rule.
27936         ($(objpfx)stamp-pkgvers): Likewise.
27937         * manual/install.texi: Include pkgvers.texi.
27938         (--with-pkgversion): Document new configure option.
27939         (--with-bugurl): Likewise.
27940         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27941         than necessarily for this particular distribution.  Use
27942         REPORT_BUGS_TO for where to report bugs.
27943         * INSTALL: Regenerated.
27944         * manual/libc.texinfo: Include pkgvers.texi.
27945         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27946         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27947         (print_version): Use PKGVERSION.
27948         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27949         (print_version): Use PKGVERSION.
27950         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27951         (print_version): Use PKGVERSION.
27952         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27953         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27954         macro.
27955         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27956         (print_version): Use PKGVERSION.
27957         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27958         (print_version): Use PKGVERSION.
27959         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27960         and PKGVERSION.
27961
27962         * timezone/checktab.awk: Update from tzcode 2012i.
27963         * timezone/ialloc.c: Likewise.
27964         * timezone/private.h: Likewise.
27965         * timezone/scheck.c: Likewise.
27966         * timezone/tzfile.h: Likewise.
27967         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27968         (TZVERSION): Hardcode tzcode version number.
27969         * timezone/zdump.c: Update from tzcode 2012i.
27970         * timezone/zic.c: Likewise.
27971         * timezone/version.h: New file.
27972         * timezone/README: Describe version.h.  Update upstream location.
27973
27974         [BZ #14824]
27975         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27976         (mktemp): Enable declaration.
27977         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27978         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27980         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27981         Likewise.
27982         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27983         Likewise.
27984         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27985         Likewise.
27986         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27987         Likewise.
27988         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27989         Likewise.
27990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27991         Likewise.
27992
27993         [BZ #14821]
27994         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27995         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27996         for copies of such integer values.
27997         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27998         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27999
28000 2012-11-09  Andreas Jaeger  <aj@suse.de>
28001
28002         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28003         definitions and declarations that are provided by
28004         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28005
28006 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28007
28008         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28009         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28010         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28011         definition.
28012
28013 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28014
28015         * elf/elf.h: Update comment before AArch64 relocations.
28016
28017 2012-11-07  David S. Miller  <davem@davemloft.net>
28018
28019         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28020         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28021         (__start_context): Declare.
28022         (__makecontext_ret): Delete.
28023         (__makecontext): Hook up __start_context instead of
28024         __makecontext_ret.
28025         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28026         (sysdep_routines): Add __start_context when in stdlib.
28027
28028 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28029
28030         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28031         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28032         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28033         hardcoded "nm".
28034         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28035         (READELF): New variable.  Use it instead of hardcoded "readelf".
28036
28037 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28038
28039         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28040         * sysdeps/x86/Makefile: Here.
28041         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28042         * sysdeps/x86/tst-xmmymm.sh: This.
28043
28044 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28045
28046         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28047         expectations.
28048         [UNIX98] (pthread_barrier_t): Do not expect.
28049         [UNIX98] (pthread_barrierattr_t): Likewise.
28050         [UNIX98] (pthread_spinlock_t): Likewise.
28051         [UNIX98] (pthread_barrier_destroy): Likewise.
28052         [UNIX98] (pthread_barrier_init): Likewise.
28053         [UNIX98] (pthread_barrier_wait): Likewise.
28054         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28055         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28056         [UNIX98] (pthread_barrierattr_init): Likewise.
28057         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28058         [UNIX98] (pthread_getcpuclockid): Likewise.
28059         [UNIX98] (pthread_mutex_timedlock): Likewise.
28060         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28061         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28062         [UNIX98] (pthread_sigmask): Likewise.
28063         [UNIX98] (pthread_spin_destroy): Likewise.
28064         [UNIX98] (pthread_spin_init): Likewise.
28065         [UNIX98] (pthread_spin_lock): Likewise.
28066         [UNIX98] (pthread_spin_trylock): Likewise.
28067         [UNIX98] (pthread_spin_unlock): Likewise.
28068         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28069         Do not expect.
28070         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28071         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28072         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28073         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28074         [XPG3 || XPG4] (pthread_key_t): Likewise.
28075         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28076         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28077         [XPG3 || XPG4] (pthread_once_t): Likewise.
28078         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28079         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28080         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28081         [XPG3 || XPG4] (pthread_t): Likewise.
28082
28083         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28084         not expect.
28085         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28086
28087         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28088         Change function return type to int.
28089
28090         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28091         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28092         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28093         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28094         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28095         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28096         [!POSIX] (posix_madvise): Likewise.
28097         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28098         && !UNIX98].
28099         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28100         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28101         (mode_t): Likewise.
28102         (posix_mem_offset): Likewise.
28103         (posix_typed_mem_get_info): Likewise.
28104         (posix_typed_mem_open): Likewise.
28105
28106         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28107         Change condition to [XOPEN2K8].
28108
28109         * conform/conformtest.pl: Preprocess allow-header data with -x c
28110         instead of from stdin.
28111         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28112         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28113         [C99-based standards] (cerfc): Likewise.
28114         [C99-based standards] (cexp2): Likewise.
28115         [C99-based standards] (cexpm1): Likewise.
28116         [C99-based standards] (clog10): Likewise.
28117         [C99-based standards] (clog1p): Likewise.
28118         [C99-based standards] (clog2): Likewise.
28119         [C99-based standards] (clgamma): Likewise.
28120         [C99-based standards] (ctgamma): Likewise.
28121         [C99-based standards] (cerff): Likewise.
28122         [C99-based standards] (cerfcf): Likewise.
28123         [C99-based standards] (cexp2f): Likewise.
28124         [C99-based standards] (cexpm1f): Likewise.
28125         [C99-based standards] (clog10f): Likewise.
28126         [C99-based standards] (clog1pf): Likewise.
28127         [C99-based standards] (clog2f): Likewise.
28128         [C99-based standards] (clgammaf): Likewise.
28129         [C99-based standards] (ctgammaf): Likewise.
28130         [C99-based standards] (cerfl): Likewise.
28131         [C99-based standards] (cerfcl): Likewise.
28132         [C99-based standards] (cexp2l): Likewise.
28133         [C99-based standards] (cexpm1l): Likewise.
28134         [C99-based standards] (clog10l): Likewise.
28135         [C99-based standards] (clog1pl): Likewise.
28136         [C99-based standards] (clog2l): Likewise.
28137         [C99-based standards] (clgammal): Likewise.
28138         [C99-based standards] (ctgammal): Likewise.
28139         * conform/data/inttypes.h-data [C99-based standards]: Include
28140         stdint.h-data.  Remove all expectations for stdint.h contents.
28141         [C99-based standards] (PRI*): Do not allow.
28142         [C99-based standards] (SCN*): Likewise.
28143         [C99-based standards] (*_t): Likewise.
28144         [C99-based-standards] (PRId8): Expect macro.
28145         [C99-based-standards] (PRIi8): Likewise.
28146         [C99-based-standards] (PRIo8): Likewise.
28147         [C99-based-standards] (PRIu8): Likewise.
28148         [C99-based-standards] (PRIx8): Likewise.
28149         [C99-based-standards] (PRIX8): Likewise.
28150         [C99-based-standards] (SCNd8): Likewise.
28151         [C99-based-standards] (SCNi8): Likewise.
28152         [C99-based-standards] (SCNo8): Likewise.
28153         [C99-based-standards] (SCNu8): Likewise.
28154         [C99-based-standards] (SCNx8): Likewise.
28155         [C99-based-standards] (PRIdLEAST8): Likewise.
28156         [C99-based-standards] (PRIiLEAST8): Likewise.
28157         [C99-based-standards] (PRIoLEAST8): Likewise.
28158         [C99-based-standards] (PRIuLEAST8): Likewise.
28159         [C99-based-standards] (PRIxLEAST8): Likewise.
28160         [C99-based-standards] (PRIXLEAST8): Likewise.
28161         [C99-based-standards] (SCNdLEAST8): Likewise.
28162         [C99-based-standards] (SCNiLEAST8): Likewise.
28163         [C99-based-standards] (SCNoLEAST8): Likewise.
28164         [C99-based-standards] (SCNuLEAST8): Likewise.
28165         [C99-based-standards] (SCNxLEAST8): Likewise.
28166         [C99-based-standards] (PRIdFAST8): Likewise.
28167         [C99-based-standards] (PRIiFAST8): Likewise.
28168         [C99-based-standards] (PRIoFAST8): Likewise.
28169         [C99-based-standards] (PRIuFAST8): Likewise.
28170         [C99-based-standards] (PRIxFAST8): Likewise.
28171         [C99-based-standards] (PRIXFAST8): Likewise.
28172         [C99-based-standards] (SCNdFAST8): Likewise.
28173         [C99-based-standards] (SCNiFAST8): Likewise.
28174         [C99-based-standards] (SCNoFAST8): Likewise.
28175         [C99-based-standards] (SCNuFAST8): Likewise.
28176         [C99-based-standards] (SCNxFAST8): Likewise.
28177         [C99-based-standards] (PRId16): Likewise.
28178         [C99-based-standards] (PRIi16): Likewise.
28179         [C99-based-standards] (PRIo16): Likewise.
28180         [C99-based-standards] (PRIu16): Likewise.
28181         [C99-based-standards] (PRIx16): Likewise.
28182         [C99-based-standards] (PRIX16): Likewise.
28183         [C99-based-standards] (SCNd16): Likewise.
28184         [C99-based-standards] (SCNi16): Likewise.
28185         [C99-based-standards] (SCNo16): Likewise.
28186         [C99-based-standards] (SCNu16): Likewise.
28187         [C99-based-standards] (SCNx16): Likewise.
28188         [C99-based-standards] (PRIdLEAST16): Likewise.
28189         [C99-based-standards] (PRIiLEAST16): Likewise.
28190         [C99-based-standards] (PRIoLEAST16): Likewise.
28191         [C99-based-standards] (PRIuLEAST16): Likewise.
28192         [C99-based-standards] (PRIxLEAST16): Likewise.
28193         [C99-based-standards] (PRIXLEAST16): Likewise.
28194         [C99-based-standards] (SCNdLEAST16): Likewise.
28195         [C99-based-standards] (SCNiLEAST16): Likewise.
28196         [C99-based-standards] (SCNoLEAST16): Likewise.
28197         [C99-based-standards] (SCNuLEAST16): Likewise.
28198         [C99-based-standards] (SCNxLEAST16): Likewise.
28199         [C99-based-standards] (PRIdFAST16): Likewise.
28200         [C99-based-standards] (PRIiFAST16): Likewise.
28201         [C99-based-standards] (PRIoFAST16): Likewise.
28202         [C99-based-standards] (PRIuFAST16): Likewise.
28203         [C99-based-standards] (PRIxFAST16): Likewise.
28204         [C99-based-standards] (PRIXFAST16): Likewise.
28205         [C99-based-standards] (SCNdFAST16): Likewise.
28206         [C99-based-standards] (SCNiFAST16): Likewise.
28207         [C99-based-standards] (SCNoFAST16): Likewise.
28208         [C99-based-standards] (SCNuFAST16): Likewise.
28209         [C99-based-standards] (SCNxFAST16): Likewise.
28210         [C99-based-standards] (PRId32): Likewise.
28211         [C99-based-standards] (PRIi32): Likewise.
28212         [C99-based-standards] (PRIo32): Likewise.
28213         [C99-based-standards] (PRIu32): Likewise.
28214         [C99-based-standards] (PRIx32): Likewise.
28215         [C99-based-standards] (PRIX32): Likewise.
28216         [C99-based-standards] (SCNd32): Likewise.
28217         [C99-based-standards] (SCNi32): Likewise.
28218         [C99-based-standards] (SCNo32): Likewise.
28219         [C99-based-standards] (SCNu32): Likewise.
28220         [C99-based-standards] (SCNx32): Likewise.
28221         [C99-based-standards] (PRIdLEAST32): Likewise.
28222         [C99-based-standards] (PRIiLEAST32): Likewise.
28223         [C99-based-standards] (PRIoLEAST32): Likewise.
28224         [C99-based-standards] (PRIuLEAST32): Likewise.
28225         [C99-based-standards] (PRIxLEAST32): Likewise.
28226         [C99-based-standards] (PRIXLEAST32): Likewise.
28227         [C99-based-standards] (SCNdLEAST32): Likewise.
28228         [C99-based-standards] (SCNiLEAST32): Likewise.
28229         [C99-based-standards] (SCNoLEAST32): Likewise.
28230         [C99-based-standards] (SCNuLEAST32): Likewise.
28231         [C99-based-standards] (SCNxLEAST32): Likewise.
28232         [C99-based-standards] (PRIdFAST32): Likewise.
28233         [C99-based-standards] (PRIiFAST32): Likewise.
28234         [C99-based-standards] (PRIoFAST32): Likewise.
28235         [C99-based-standards] (PRIuFAST32): Likewise.
28236         [C99-based-standards] (PRIxFAST32): Likewise.
28237         [C99-based-standards] (PRIXFAST32): Likewise.
28238         [C99-based-standards] (SCNdFAST32): Likewise.
28239         [C99-based-standards] (SCNiFAST32): Likewise.
28240         [C99-based-standards] (SCNoFAST32): Likewise.
28241         [C99-based-standards] (SCNuFAST32): Likewise.
28242         [C99-based-standards] (SCNxFAST32): Likewise.
28243         [C99-based-standards] (PRId64): Likewise.
28244         [C99-based-standards] (PRIi64): Likewise.
28245         [C99-based-standards] (PRIo64): Likewise.
28246         [C99-based-standards] (PRIu64): Likewise.
28247         [C99-based-standards] (PRIx64): Likewise.
28248         [C99-based-standards] (PRIX64): Likewise.
28249         [C99-based-standards] (SCNd64): Likewise.
28250         [C99-based-standards] (SCNi64): Likewise.
28251         [C99-based-standards] (SCNo64): Likewise.
28252         [C99-based-standards] (SCNu64): Likewise.
28253         [C99-based-standards] (SCNx64): Likewise.
28254         [C99-based-standards] (PRIdLEAST64): Likewise.
28255         [C99-based-standards] (PRIiLEAST64): Likewise.
28256         [C99-based-standards] (PRIoLEAST64): Likewise.
28257         [C99-based-standards] (PRIuLEAST64): Likewise.
28258         [C99-based-standards] (PRIxLEAST64): Likewise.
28259         [C99-based-standards] (PRIXLEAST64): Likewise.
28260         [C99-based-standards] (SCNdLEAST64): Likewise.
28261         [C99-based-standards] (SCNiLEAST64): Likewise.
28262         [C99-based-standards] (SCNoLEAST64): Likewise.
28263         [C99-based-standards] (SCNuLEAST64): Likewise.
28264         [C99-based-standards] (SCNxLEAST64): Likewise.
28265         [C99-based-standards] (PRIdFAST64): Likewise.
28266         [C99-based-standards] (PRIiFAST64): Likewise.
28267         [C99-based-standards] (PRIoFAST64): Likewise.
28268         [C99-based-standards] (PRIuFAST64): Likewise.
28269         [C99-based-standards] (PRIxFAST64): Likewise.
28270         [C99-based-standards] (PRIXFAST64): Likewise.
28271         [C99-based-standards] (SCNdFAST64): Likewise.
28272         [C99-based-standards] (SCNiFAST64): Likewise.
28273         [C99-based-standards] (SCNoFAST64): Likewise.
28274         [C99-based-standards] (SCNuFAST64): Likewise.
28275         [C99-based-standards] (SCNxFAST64): Likewise.
28276         [C99-based-standards] (PRIdMAX): Likewise.
28277         [C99-based-standards] (PRIiMAX): Likewise.
28278         [C99-based-standards] (PRIoMAX): Likewise.
28279         [C99-based-standards] (PRIuMAX): Likewise.
28280         [C99-based-standards] (PRIxMAX): Likewise.
28281         [C99-based-standards] (PRIXMAX): Likewise.
28282         [C99-based-standards] (SCNdMAX): Likewise.
28283         [C99-based-standards] (SCNiMAX): Likewise.
28284         [C99-based-standards] (SCNoMAX): Likewise.
28285         [C99-based-standards] (SCNuMAX): Likewise.
28286         [C99-based-standards] (SCNxMAX): Likewise.
28287         [C99-based-standards] (PRIdPTR): Likewise.
28288         [C99-based-standards] (PRIiPTR): Likewise.
28289         [C99-based-standards] (PRIoPTR): Likewise.
28290         [C99-based-standards] (PRIuPTR): Likewise.
28291         [C99-based-standards] (PRIxPTR): Likewise.
28292         [C99-based-standards] (PRIXPTR): Likewise.
28293         [C99-based-standards] (SCNdPTR): Likewise.
28294         [C99-based-standards] (SCNiPTR): Likewise.
28295         [C99-based-standards] (SCNoPTR): Likewise.
28296         [C99-based-standards] (SCNuPTR): Likewise.
28297         [C99-based-standards] (SCNxPTR): Likewise.
28298         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28299         allow.
28300         * conform/data/stdint.h-data: Update comments to clarify
28301         requirements.
28302         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28303         type.
28304         [C99-based standards] (INT8_MAX): Likewise.
28305         [C99-based standards] (INT16_MIN): Likewise.
28306         [C99-based standards] (INT16_MAX): Likewise.
28307         [C99-based standards] (INT32_MIN): Likewise.
28308         [C99-based standards] (INT32_MAX): Likewise.
28309         [C99-based standards] (INT64_MIN): Likewise.
28310         [C99-based standards] (INT64_MAX): Likewise.
28311         [C99-based standards] (UINT8_MAX): Likewise.
28312         [C99-based standards] (UINT16_MAX): Likewise.
28313         [C99-based standards] (UINT32_MAX): Likewise.
28314         [C99-based standards] (UINT64_MAX): Likewise.
28315         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28316         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28317         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28318         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28319         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28320         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28321         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28322         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28323         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28324         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28325         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28326         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28327         [C99-based standards] (INT_FAST8_MIN): Likewise.
28328         [C99-based standards] (INT_FAST8_MAX): Likewise.
28329         [C99-based standards] (INT_FAST16_MIN): Likewise.
28330         [C99-based standards] (INT_FAST16_MAX): Likewise.
28331         [C99-based standards] (INT_FAST32_MIN): Likewise.
28332         [C99-based standards] (INT_FAST32_MAX): Likewise.
28333         [C99-based standards] (INT_FAST64_MIN): Likewise.
28334         [C99-based standards] (INT_FAST64_MAX): Likewise.
28335         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28336         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28337         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28338         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28339         [C99-based standards] (INTPTR_MIN): Likewise.
28340         [C99-based standards] (INTPTR_MAX): Likewise.
28341         [C99-based standards] (UINTPTR_MAX): Likewise.
28342         [C99-based standards] (INTMAX_MIN): Likewise.
28343         [C99-based standards] (INTMAX_MAX): Likewise.
28344         [C99-based standards] (UINTMAX_MAX): Likewise.
28345         [C99-based standards] (PTRDIFF_MIN): Likewise.
28346         [C99-based standards] (PTRDIFF_MAX): Likewise.
28347         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28348         [C99-based standards] (SIZE_MAX): Likewise.
28349         [C99-based standards] (WCHAR_MAX): Likewise.
28350         [C99-based standards] (WINT_MAX): Likewise.
28351         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28352         constraint on value.
28353         [C99-based standards] (WCHAR_MIN): Likewise.
28354         [C99-based standards] (WINT_MIN): Likewise.
28355         [C99-based standards] (*_t): Allow.
28356         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28357         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28358         Include math.h-data and complex.h-data.  Remove all expectations
28359         of math.h and complex.h contents.
28360         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28361         at end of line.
28362         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28363         (struct tm): Expect tag.
28364         [C99-based-standards] (wcstof): Expect function.
28365         [C99-based-standards] (wcstold): Likewise.
28366         [C99-based-standards] (wcstoll): Likewise.
28367         [C99-based-standards] (wcstoull): Likewise.
28368         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28369         macro-int-constant.  Specify type.
28370         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28371         constraint on value.
28372         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28373         Specify type.
28374         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28375         Specify value.
28376         [ISO C standards]: Do not allow headers.
28377         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28378         wcs[abcdefghijklmnopqrstuvwxyz]*.
28379         [ISO C standards] (*_t): Do not allow.
28380         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28381         Expect function.
28382         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28383         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28384         Specify type.
28385         [ISO C standards]: Do not allow headers.
28386         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28387         is[abcdefghijklmnopqrstuvwxyz]*.
28388         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28389         to[abcdefghijklmnopqrstuvwxyz]*.
28390         [ISO C standards] (*_t): Do not allow.
28391         * conform/data/stdalign.h-data: New file.
28392         * conform/data/stdbool.h-data: Likewise.
28393         * conform/data/stdnoreturn.h-data: Likewise.
28394
28395 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28396
28397         [BZ #14815]
28398         * manual/filesys.texi (Directory Entries): Typo fix.
28399         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28400
28401 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28402
28403         * elf/elf.h (EM_AARCH64): New macro.
28404         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28405         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28406         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28407         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28408         (R_AARCH64_TLSDESC): Likewise.
28409         (NT_ARM_TLS): Likewise.
28410         (NT_ARM_HW_BREAK): Likewise.
28411         (NT_ARM_HW_WATCH): Likewise.
28412
28413 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28414
28415         [BZ #14811]
28416         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28417         (__ieee754_powl): Saturate nonzero exponents with absolute value
28418         below 0x1p-79 to +/- 0x1p-79.
28419         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28420         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28421         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28422         nonzero exponents with absolute value below 0x1p-32 to +/-
28423         0x1p-32.
28424         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28425         (__ieee754_powl): Saturate nonzero exponents with absolute value
28426         below 0x1p-79 to +/- 0x1p-79.
28427         * math/libm-test.inc (pow_test): Add more tests.
28428
28429 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28430
28431         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28432         _dl_s390_cap_flags with kernel. Increase string length.
28433         (_dl_s390_platforms): Add z196 and zEC12.
28434
28435 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28436
28437         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28438         Change XOPEN21K to XOPEN2K.
28439
28440 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28441
28442         * string/memmove.c: Use memcpy when possible.
28443
28444 2012-11-06  Andreas Jaeger  <aj@suse.de>
28445
28446         * po/eo.po: Update from translation team.
28447
28448 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28449
28450         [BZ #14793]
28451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28452         exponent and small x and y exponents, scale x or y up.  Increase
28453         by 2 the exponent used in scaling up.
28454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28456         * math/libm-test.inc (fma_test): Add more tests.
28457         (fma_test_towardzero): Likewise.
28458         (fma_test_downward): Likewise.
28459         (fma_test_upward): Likewise.
28460
28461 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28462
28463         [BZ #14805]
28464         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28465         fenv_t *.
28466
28467         [BZ #14801]
28468         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28469         namespace for names of struct fields.
28470         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28471         fenv_t fields.
28472         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28473         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28474
28475 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28476
28477         [BZ #3665]
28478         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28479
28480 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28481
28482         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28483         PTR_DEMANGLE.
28484
28485         [BZ #5246]
28486         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28487         PTR_DEMANGLE.
28488
28489 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28490
28491         [BZ #14797]
28492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28493         definitely overflow as x * y not x * y + z.
28494         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28495         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28496         * math/libm-test.inc (fma_test): Add more tests.
28497         (fma_test_towardzero): Likewise.
28498         (fma_test_downward): Likewise.
28499         (fma_test_upward): Likewise.
28500
28501 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28502
28503         [BZ #157]
28504
28505         * include/stub-tag.h: Remove file.
28506         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28507         '#include' of it.
28508         * manual/maint.texi (Porting): Don't reference it.
28509         * Makerules ($(objpfx)stubs): Likewise.
28510         * dirent/closedir.c: Don't include <stub-tag.h>.
28511         * dirent/dirfd.c: Likewise.
28512         * dirent/fdopendir.c: Likewise.
28513         * dirent/getdents.c: Likewise.
28514         * dirent/getdents64.c: Likewise.
28515         * dirent/opendir.c: Likewise.
28516         * dirent/readdir.c: Likewise.
28517         * dirent/readdir64.c: Likewise.
28518         * dirent/readdir64_r.c: Likewise.
28519         * dirent/readdir_r.c: Likewise.
28520         * dirent/rewinddir.c: Likewise.
28521         * dirent/seekdir.c: Likewise.
28522         * dirent/telldir.c: Likewise.
28523         * gmon/profil.c: Likewise.
28524         * grp/setgroups.c: Likewise.
28525         * inet/if_index.c: Likewise.
28526         * io/access.c: Likewise.
28527         * io/chdir.c: Likewise.
28528         * io/chmod.c: Likewise.
28529         * io/chown.c: Likewise.
28530         * io/close.c: Likewise.
28531         * io/dup.c: Likewise.
28532         * io/dup2.c: Likewise.
28533         * io/dup3.c: Likewise.
28534         * io/euidaccess.c: Likewise.
28535         * io/faccessat.c: Likewise.
28536         * io/fchdir.c: Likewise.
28537         * io/fchmod.c: Likewise.
28538         * io/fchmodat.c: Likewise.
28539         * io/fchown.c: Likewise.
28540         * io/fchownat.c: Likewise.
28541         * io/fcntl.c: Likewise.
28542         * io/flock.c: Likewise.
28543         * io/fstatfs.c: Likewise.
28544         * io/fstatfs64.c: Likewise.
28545         * io/fstatvfs.c: Likewise.
28546         * io/fstatvfs64.c: Likewise.
28547         * io/futimens.c: Likewise.
28548         * io/fxstat.c: Likewise.
28549         * io/fxstat64.c: Likewise.
28550         * io/fxstatat.c: Likewise.
28551         * io/fxstatat64.c: Likewise.
28552         * io/getcwd.c: Likewise.
28553         * io/isatty.c: Likewise.
28554         * io/lchmod.c: Likewise.
28555         * io/lchown.c: Likewise.
28556         * io/link.c: Likewise.
28557         * io/linkat.c: Likewise.
28558         * io/lseek.c: Likewise.
28559         * io/lseek64.c: Likewise.
28560         * io/lxstat64.c: Likewise.
28561         * io/mkdir.c: Likewise.
28562         * io/mkdirat.c: Likewise.
28563         * io/mkfifo.c: Likewise.
28564         * io/mkfifoat.c: Likewise.
28565         * io/open.c: Likewise.
28566         * io/open64.c: Likewise.
28567         * io/openat.c: Likewise.
28568         * io/openat64.c: Likewise.
28569         * io/pipe.c: Likewise.
28570         * io/pipe2.c: Likewise.
28571         * io/poll.c: Likewise.
28572         * io/posix_fadvise.c: Likewise.
28573         * io/posix_fadvise64.c: Likewise.
28574         * io/posix_fallocate.c: Likewise.
28575         * io/posix_fallocate64.c: Likewise.
28576         * io/read.c: Likewise.
28577         * io/readlink.c: Likewise.
28578         * io/readlinkat.c: Likewise.
28579         * io/rmdir.c: Likewise.
28580         * io/sendfile.c: Likewise.
28581         * io/sendfile64.c: Likewise.
28582         * io/statfs.c: Likewise.
28583         * io/statfs64.c: Likewise.
28584         * io/statvfs.c: Likewise.
28585         * io/statvfs64.c: Likewise.
28586         * io/symlink.c: Likewise.
28587         * io/symlinkat.c: Likewise.
28588         * io/ttyname.c: Likewise.
28589         * io/ttyname_r.c: Likewise.
28590         * io/umask.c: Likewise.
28591         * io/unlink.c: Likewise.
28592         * io/unlinkat.c: Likewise.
28593         * io/utime.c: Likewise.
28594         * io/utimensat.c: Likewise.
28595         * io/write.c: Likewise.
28596         * io/xmknod.c: Likewise.
28597         * io/xmknodat.c: Likewise.
28598         * io/xstat.c: Likewise.
28599         * io/xstat64.c: Likewise.
28600         * login/getpt.c: Likewise.
28601         * login/grantpt.c: Likewise.
28602         * login/unlockpt.c: Likewise.
28603         * math/e_acoshl.c: Likewise.
28604         * math/e_acosl.c: Likewise.
28605         * math/e_asinl.c: Likewise.
28606         * math/e_atan2l.c: Likewise.
28607         * math/e_atanhl.c: Likewise.
28608         * math/e_coshl.c: Likewise.
28609         * math/e_expl.c: Likewise.
28610         * math/e_fmodl.c: Likewise.
28611         * math/e_gammal_r.c: Likewise.
28612         * math/e_hypotl.c: Likewise.
28613         * math/e_j0l.c: Likewise.
28614         * math/e_j1l.c: Likewise.
28615         * math/e_jnl.c: Likewise.
28616         * math/e_lgammal_r.c: Likewise.
28617         * math/e_log10l.c: Likewise.
28618         * math/e_log2l.c: Likewise.
28619         * math/e_logl.c: Likewise.
28620         * math/e_powl.c: Likewise.
28621         * math/e_rem_pio2l.c: Likewise.
28622         * math/e_sinhl.c: Likewise.
28623         * math/e_sqrtl.c: Likewise.
28624         * math/fclrexcpt.c: Likewise.
28625         * math/fedisblxcpt.c: Likewise.
28626         * math/feenablxcpt.c: Likewise.
28627         * math/fegetenv.c: Likewise.
28628         * math/fegetexcept.c: Likewise.
28629         * math/fegetround.c: Likewise.
28630         * math/feholdexcpt.c: Likewise.
28631         * math/fesetenv.c: Likewise.
28632         * math/fesetround.c: Likewise.
28633         * math/feupdateenv.c: Likewise.
28634         * math/fgetexcptflg.c: Likewise.
28635         * math/fraiseexcpt.c: Likewise.
28636         * math/fsetexcptflg.c: Likewise.
28637         * math/ftestexcept.c: Likewise.
28638         * math/k_cosl.c: Likewise.
28639         * math/k_rem_pio2l.c: Likewise.
28640         * math/k_sinl.c: Likewise.
28641         * math/k_tanl.c: Likewise.
28642         * math/s_asinhl.c: Likewise.
28643         * math/s_atanl.c: Likewise.
28644         * math/s_cbrtl.c: Likewise.
28645         * math/s_erfl.c: Likewise.
28646         * math/s_expm1l.c: Likewise.
28647         * math/s_log1pl.c: Likewise.
28648         * math/s_tanhl.c: Likewise.
28649         * misc/acct.c: Likewise.
28650         * misc/brk.c: Likewise.
28651         * misc/chflags.c: Likewise.
28652         * misc/chroot.c: Likewise.
28653         * misc/fchflags.c: Likewise.
28654         * misc/fgetxattr.c: Likewise.
28655         * misc/flistxattr.c: Likewise.
28656         * misc/fremovexattr.c: Likewise.
28657         * misc/fsetxattr.c: Likewise.
28658         * misc/fsync.c: Likewise.
28659         * misc/ftruncate.c: Likewise.
28660         * misc/futimes.c: Likewise.
28661         * misc/futimesat.c: Likewise.
28662         * misc/getdomain.c: Likewise.
28663         * misc/getdtsz.c: Likewise.
28664         * misc/gethostid.c: Likewise.
28665         * misc/gethostname.c: Likewise.
28666         * misc/getloadavg.c: Likewise.
28667         * misc/getpagesize.c: Likewise.
28668         * misc/getsysstats.c: Likewise.
28669         * misc/getxattr.c: Likewise.
28670         * misc/gtty.c: Likewise.
28671         * misc/ioctl.c: Likewise.
28672         * misc/lgetxattr.c: Likewise.
28673         * misc/listxattr.c: Likewise.
28674         * misc/llistxattr.c: Likewise.
28675         * misc/lremovexattr.c: Likewise.
28676         * misc/lsetxattr.c: Likewise.
28677         * misc/lutimes.c: Likewise.
28678         * misc/madvise.c: Likewise.
28679         * misc/mincore.c: Likewise.
28680         * misc/mlock.c: Likewise.
28681         * misc/mlockall.c: Likewise.
28682         * misc/mmap.c: Likewise.
28683         * misc/mprotect.c: Likewise.
28684         * misc/msync.c: Likewise.
28685         * misc/munlock.c: Likewise.
28686         * misc/munlockall.c: Likewise.
28687         * misc/munmap.c: Likewise.
28688         * misc/preadv.c: Likewise.
28689         * misc/preadv64.c: Likewise.
28690         * misc/ptrace.c: Likewise.
28691         * misc/pwritev.c: Likewise.
28692         * misc/pwritev64.c: Likewise.
28693         * misc/readv.c: Likewise.
28694         * misc/reboot.c: Likewise.
28695         * misc/remap_file_pages.c: Likewise.
28696         * misc/removexattr.c: Likewise.
28697         * misc/revoke.c: Likewise.
28698         * misc/select.c: Likewise.
28699         * misc/setdomain.c: Likewise.
28700         * misc/setegid.c: Likewise.
28701         * misc/seteuid.c: Likewise.
28702         * misc/sethostid.c: Likewise.
28703         * misc/sethostname.c: Likewise.
28704         * misc/setregid.c: Likewise.
28705         * misc/setreuid.c: Likewise.
28706         * misc/setxattr.c: Likewise.
28707         * misc/sstk.c: Likewise.
28708         * misc/stty.c: Likewise.
28709         * misc/swapoff.c: Likewise.
28710         * misc/swapon.c: Likewise.
28711         * misc/sync.c: Likewise.
28712         * misc/syncfs.c: Likewise.
28713         * misc/syscall.c: Likewise.
28714         * misc/truncate.c: Likewise.
28715         * misc/ualarm.c: Likewise.
28716         * misc/usleep.c: Likewise.
28717         * misc/ustat.c: Likewise.
28718         * misc/utimes.c: Likewise.
28719         * misc/vhangup.c: Likewise.
28720         * misc/writev.c: Likewise.
28721         * posix/_exit.c: Likewise.
28722         * posix/alarm.c: Likewise.
28723         * posix/execve.c: Likewise.
28724         * posix/fexecve.c: Likewise.
28725         * posix/fork.c: Likewise.
28726         * posix/fpathconf.c: Likewise.
28727         * posix/getaddrinfo.c: Likewise.
28728         * posix/getegid.c: Likewise.
28729         * posix/geteuid.c: Likewise.
28730         * posix/getgid.c: Likewise.
28731         * posix/getgroups.c: Likewise.
28732         * posix/getlogin.c: Likewise.
28733         * posix/getlogin_r.c: Likewise.
28734         * posix/getpgid.c: Likewise.
28735         * posix/getpid.c: Likewise.
28736         * posix/getppid.c: Likewise.
28737         * posix/getresgid.c: Likewise.
28738         * posix/getresuid.c: Likewise.
28739         * posix/getsid.c: Likewise.
28740         * posix/getuid.c: Likewise.
28741         * posix/glob64.c: Likewise.
28742         * posix/nanosleep.c: Likewise.
28743         * posix/pathconf.c: Likewise.
28744         * posix/pause.c: Likewise.
28745         * posix/posix_madvise.c: Likewise.
28746         * posix/pread.c: Likewise.
28747         * posix/pread64.c: Likewise.
28748         * posix/pwrite.c: Likewise.
28749         * posix/pwrite64.c: Likewise.
28750         * posix/sched_getaffinity.c: Likewise.
28751         * posix/sched_getp.c: Likewise.
28752         * posix/sched_gets.c: Likewise.
28753         * posix/sched_primax.c: Likewise.
28754         * posix/sched_primin.c: Likewise.
28755         * posix/sched_rr_gi.c: Likewise.
28756         * posix/sched_setaffinity.c: Likewise.
28757         * posix/sched_setp.c: Likewise.
28758         * posix/sched_sets.c: Likewise.
28759         * posix/sched_yield.c: Likewise.
28760         * posix/setgid.c: Likewise.
28761         * posix/setlogin.c: Likewise.
28762         * posix/setpgid.c: Likewise.
28763         * posix/setresgid.c: Likewise.
28764         * posix/setresuid.c: Likewise.
28765         * posix/setsid.c: Likewise.
28766         * posix/setuid.c: Likewise.
28767         * posix/sleep.c: Likewise.
28768         * posix/spawni.c: Likewise.
28769         * posix/sysconf.c: Likewise.
28770         * posix/times.c: Likewise.
28771         * posix/wait.c: Likewise.
28772         * posix/wait3.c: Likewise.
28773         * posix/wait4.c: Likewise.
28774         * posix/waitpid.c: Likewise.
28775         * resolv/gai_sigqueue.c: Likewise.
28776         * resource/getpriority.c: Likewise.
28777         * resource/getrlimit.c: Likewise.
28778         * resource/getrusage.c: Likewise.
28779         * resource/nice.c: Likewise.
28780         * resource/setpriority.c: Likewise.
28781         * resource/setrlimit.c: Likewise.
28782         * resource/ulimit.c: Likewise.
28783         * rt/aio_cancel.c: Likewise.
28784         * rt/aio_fsync.c: Likewise.
28785         * rt/aio_read.c: Likewise.
28786         * rt/aio_sigqueue.c: Likewise.
28787         * rt/aio_suspend.c: Likewise.
28788         * rt/aio_write.c: Likewise.
28789         * rt/clock_getres.c: Likewise.
28790         * rt/clock_gettime.c: Likewise.
28791         * rt/clock_nanosleep.c: Likewise.
28792         * rt/clock_settime.c: Likewise.
28793         * rt/lio_listio.c: Likewise.
28794         * rt/mq_close.c: Likewise.
28795         * rt/mq_getattr.c: Likewise.
28796         * rt/mq_notify.c: Likewise.
28797         * rt/mq_open.c: Likewise.
28798         * rt/mq_receive.c: Likewise.
28799         * rt/mq_send.c: Likewise.
28800         * rt/mq_setattr.c: Likewise.
28801         * rt/mq_timedreceive.c: Likewise.
28802         * rt/mq_timedsend.c: Likewise.
28803         * rt/mq_unlink.c: Likewise.
28804         * rt/shm_open.c: Likewise.
28805         * rt/shm_unlink.c: Likewise.
28806         * rt/timer_create.c: Likewise.
28807         * rt/timer_delete.c: Likewise.
28808         * rt/timer_getoverr.c: Likewise.
28809         * rt/timer_gettime.c: Likewise.
28810         * rt/timer_settime.c: Likewise.
28811         * setjmp/__longjmp.c: Likewise.
28812         * setjmp/setjmp.c: Likewise.
28813         * signal/kill.c: Likewise.
28814         * signal/killpg.c: Likewise.
28815         * signal/raise.c: Likewise.
28816         * signal/sigaction.c: Likewise.
28817         * signal/sigaltstack.c: Likewise.
28818         * signal/sigblock.c: Likewise.
28819         * signal/sigignore.c: Likewise.
28820         * signal/sigintr.c: Likewise.
28821         * signal/signal.c: Likewise.
28822         * signal/sigpause.c: Likewise.
28823         * signal/sigpending.c: Likewise.
28824         * signal/sigqueue.c: Likewise.
28825         * signal/sigreturn.c: Likewise.
28826         * signal/sigset.c: Likewise.
28827         * signal/sigsetmask.c: Likewise.
28828         * signal/sigstack.c: Likewise.
28829         * signal/sigsuspend.c: Likewise.
28830         * signal/sigtimedwait.c: Likewise.
28831         * signal/sigvec.c: Likewise.
28832         * signal/sigwait.c: Likewise.
28833         * signal/sigwaitinfo.c: Likewise.
28834         * signal/sysv_signal.c: Likewise.
28835         * socket/accept.c: Likewise.
28836         * socket/accept4.c: Likewise.
28837         * socket/bind.c: Likewise.
28838         * socket/connect.c: Likewise.
28839         * socket/getpeername.c: Likewise.
28840         * socket/getsockname.c: Likewise.
28841         * socket/getsockopt.c: Likewise.
28842         * socket/isfdtype.c: Likewise.
28843         * socket/listen.c: Likewise.
28844         * socket/recv.c: Likewise.
28845         * socket/recvfrom.c: Likewise.
28846         * socket/recvmsg.c: Likewise.
28847         * socket/send.c: Likewise.
28848         * socket/sendmsg.c: Likewise.
28849         * socket/sendto.c: Likewise.
28850         * socket/setsockopt.c: Likewise.
28851         * socket/shutdown.c: Likewise.
28852         * socket/sockatmark.c: Likewise.
28853         * socket/socket.c: Likewise.
28854         * socket/socketpair.c: Likewise.
28855         * stdio-common/ctermid.c: Likewise.
28856         * stdio-common/cuserid.c: Likewise.
28857         * stdio-common/remove.c: Likewise.
28858         * stdio-common/rename.c: Likewise.
28859         * stdio-common/renameat.c: Likewise.
28860         * stdio-common/tempname.c: Likewise.
28861         * stdlib/getcontext.c: Likewise.
28862         * stdlib/makecontext.c: Likewise.
28863         * stdlib/setcontext.c: Likewise.
28864         * stdlib/swapcontext.c: Likewise.
28865         * stdlib/system.c: Likewise.
28866         * streams/fattach.c: Likewise.
28867         * streams/fdetach.c: Likewise.
28868         * streams/getmsg.c: Likewise.
28869         * streams/getpmsg.c: Likewise.
28870         * streams/putmsg.c: Likewise.
28871         * streams/putpmsg.c: Likewise.
28872         * sysdeps/unix/bsd/getpt.c: Likewise.
28873         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28874         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28875         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28877         Likewise.
28878         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28879         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28880         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28881         * sysvipc/msgctl.c: Likewise.
28882         * sysvipc/msgget.c: Likewise.
28883         * sysvipc/msgrcv.c: Likewise.
28884         * sysvipc/msgsnd.c: Likewise.
28885         * sysvipc/semctl.c: Likewise.
28886         * sysvipc/semget.c: Likewise.
28887         * sysvipc/semop.c: Likewise.
28888         * sysvipc/semtimedop.c: Likewise.
28889         * sysvipc/shmat.c: Likewise.
28890         * sysvipc/shmctl.c: Likewise.
28891         * sysvipc/shmdt.c: Likewise.
28892         * sysvipc/shmget.c: Likewise.
28893         * termios/tcdrain.c: Likewise.
28894         * termios/tcflow.c: Likewise.
28895         * termios/tcflush.c: Likewise.
28896         * termios/tcgetattr.c: Likewise.
28897         * termios/tcgetpgrp.c: Likewise.
28898         * termios/tcsendbrk.c: Likewise.
28899         * termios/tcsetattr.c: Likewise.
28900         * termios/tcsetpgrp.c: Likewise.
28901         * time/adjtime.c: Likewise.
28902         * time/clock.c: Likewise.
28903         * time/getitimer.c: Likewise.
28904         * time/gettimeofday.c: Likewise.
28905         * time/setitimer.c: Likewise.
28906         * time/settimeofday.c: Likewise.
28907         * time/stime.c: Likewise.
28908         * time/time.c: Likewise.
28909
28910 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28911
28912         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28913         /usr/old/bin.
28914
28915         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28916         instead of spaces.
28917         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28918
28919 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28920
28921         [BZ #14796]
28922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28923         FE_TONEAREST before applying Dekker multiplication and Knuth
28924         addition.  Clear inexact exceptions and check for exact zero
28925         results afterwards.
28926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28927         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28929         * math/libm-test.inc (fma_test): Add more tests.
28930         (fma_test_towardzero): Likewise.
28931         (fma_test_downward): Likewise.
28932         (fma_test_upward): Likewise.
28933         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28934         function.
28935         (libc_fesetround): New macro.
28936         (libc_fesetroundf): Likewise.
28937         (libc_fesetroundl): Likewise.
28938         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28939         function.
28940         (libc_fesetround_387): Likewise.
28941         (libc_fesetroundf): New macro.
28942         (libc_fesetround): Likewise.
28943         (libc_fesetroundl): Likewise.
28944         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28945         function.
28946         (libc_fesetroundf): New macro.
28947         (libc_fesetround): Likewise.
28948         (libc_fesetroundl): Likewise.
28949         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28950         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28951         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28952         libm_hidden_ver.
28953         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28954         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28955         libm_hidden_def.
28956         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28957         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28958         libm_hidden_ver.
28959         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28960         libm_hidden_def.
28961
28962         [BZ #3439]
28963         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28964         integer constant usable in #if and use that to give value to enum
28965         constant.
28966         (FE_DIVBYZERO): Likewise.
28967         (FE_UNDERFLOW): Likewise.
28968         (FE_OVERFLOW): Likewise.
28969         (FE_INVALID): Likewise.
28970         (FE_INVALID_SNAN): Likewise.
28971         (FE_INVALID_ISI): Likewise.
28972         (FE_INVALID_IDI): Likewise.
28973         (FE_INVALID_ZDZ): Likewise.
28974         (FE_INVALID_IMZ): Likewise.
28975         (FE_INVALID_COMPARE): Likewise.
28976         (FE_INVALID_SOFTWARE): Likewise.
28977         (FE_INVALID_SQRT): Likewise.
28978         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28979         (FE_TONEAREST): Likewise.
28980         (FE_TOWARDZERO): Likewise.
28981         (FE_UPWARD): Likewise.
28982         (FE_DOWNWARD): Likewise.
28983         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28984         (FE_DIVBYZERO): Likewise.
28985         (FE_OVERFLOW): Likewise.
28986         (FE_UNDERFLOW): Likewise.
28987         (FE_INEXACT): Likewise.
28988         (FE_TONEAREST): Likewise.
28989         (FE_DOWNWARD): Likewise.
28990         (FE_UPWARD): Likewise.
28991         (FE_TOWARDZERO): Likewise.
28992         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28993         (FE_UNDERFLOW): Likewise.
28994         (FE_OVERFLOW): Likewise.
28995         (FE_DIVBYZERO): Likewise.
28996         (FE_INVALID): Likewise.
28997         (FE_TONEAREST): Likewise.
28998         (FE_TOWARDZERO): Likewise.
28999         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29000         (FE_OVERFLOW): Likewise.
29001         (FE_UNDERFLOW): Likewise.
29002         (FE_DIVBYZERO): Likewise.
29003         (FE_INEXACT): Likewise.
29004         (FE_TONEAREST): Likewise.
29005         (FE_TOWARDZERO): Likewise.
29006         (FE_UPWARD): Likewise.
29007         (FE_DOWNWARD): Likewise.
29008         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29009         (FE_DIVBYZERO): Likewise.
29010         (FE_OVERFLOW): Likewise.
29011         (FE_UNDERFLOW): Likewise.
29012         (FE_INEXACT): Likewise.
29013         (FE_TONEAREST): Likewise.
29014         (FE_DOWNWARD): Likewise.
29015         (FE_UPWARD): Likewise.
29016         (FE_TOWARDZERO): Likewise.
29017
29018 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29019
29020         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29021
29022 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29023
29024         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29025         commands.  Quote $PWD.
29026         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29027         -x" by "export".
29028         (remove_newlines): Remove.
29029
29030 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29031
29032         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29033         * stdlib/stdlib.h (atof): Moved to ...
29034         * include/bits/stdlib-float.h: Here.  New file.
29035         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29036         * stdlib/bits/stdlib-float.h: New file.
29037         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29038         -mno-sse -mno-mmx.
29039         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29040         <xmmintrin.h>.
29041
29042 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29043
29044         * conform/conformtest.pl (@headers): Add fenv.h.
29045         * conform/data/fenv.h-data: New file.
29046         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29047         include of <math/fenv.h>.
29048
29049         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29050         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29051         && !UNIX98].  Enables tests for XOPEN2K8.
29052         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29053         POSIX2008]: Likewise.
29054
29055         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29056         (struct rusage): Do not expect type or its members.
29057
29058         [BZ #3439]
29059         * math/math.h (FP_NAN): Define macro to integer constant usable in
29060         #if and use that to give value to enum constant.
29061         (FP_INFINITE): Likewise.
29062         (FP_ZERO): Likewise.
29063         (FP_SUBNORMAL): Likewise.
29064         (FP_NORMAL): Likewise.
29065
29066 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29067
29068         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29069         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29070         arguments.
29071
29072 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29073
29074         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29075         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29076         autoconf-time if not.
29077         * configure.in: Remove AC_PREREQ.
29078
29079 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29080
29081         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29082         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29083         of the internal implementation.
29084
29085 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29086
29087         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29088         except include of <misc/sys/syslog.h>.
29089
29090 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29091
29092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29093         function returns with a NULL context exit with zero.
29094
29095 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29096
29097         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29098
29099 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29100
29101         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29102         (run_program_cmd): This.
29103         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29104         (tst_langinfo): New variable.  Use it.
29105
29106 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29107
29108         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29109         floating point opcodes.
29110
29111 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29112
29113         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29114         variable.
29115
29116         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29117
29118         * sysdeps/mach/hurd/powerpc: Remove directory.
29119         * sysdeps/mach/powerpc: Likewise.
29120
29121 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29122
29123         * scripts/check-local-headers.sh: Ignore c++ headers.
29124
29125 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29126
29127         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29128         __libc_cleanup_region_start argument.
29129
29130 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29131
29132         [BZ #14784]
29133         [BZ #14785]
29134         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29135         x * y using scaling, not as x * y + z.
29136         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29137         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29138         * math/libm-test.inc (fma_test): Add more tests.
29139         (fma_test_towardzero): Likewise.
29140         (fma_test_downward): Likewise.
29141         (fma_test_upward): Likewise.
29142
29143 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29144
29145         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29146
29147 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29148
29149         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29150         New variable.
29151
29152 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29153
29154         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29155
29156 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29157
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29159         Fix sort order.
29160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29161         Likewise.
29162
29163 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29164
29165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29166         Fix the order of the list for glibc 2.17.
29167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29168         Likewise.
29169
29170 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29171
29172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29173
29174 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29175
29176         [BZ #14610]
29177         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29178         for low part of x being zero before using __atanl (y).
29179         * math/libm-test.inc (atan2_test): Add another test.
29180
29181         * manual/install.texi (Configuring and compiling): Document
29182         general use of test-wrapper and test-wrapper-env.
29183         * INSTALL: Regenerated.
29184
29185         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29186         (__fma): Do not extract and scale down low bits on after-rounding
29187         systems when result rounded to normal precision would have normal
29188         exponent.
29189         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29190         (__fmal): Do not extract and scale down low bits on after-rounding
29191         systems when result rounded to normal precision would have normal
29192         exponent.
29193         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29194         (__fmal): Do not extract and scale down low bits on after-rounding
29195         systems when result rounded to normal precision would have normal
29196         exponent.
29197         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29198         macro.
29199         (fma_test): Add more tests.
29200         (fma_test_towardzero): Likewise.
29201         (fma_test_downward): Likewise.
29202         (fma_test_upward): Likewise.
29203
29204 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29205
29206         * sysdeps/i386/tininess.h: Renamed to ...
29207         * sysdeps/x86/tininess.h: This.
29208         * sysdeps/x86_64/tininess.h: Removed.
29209
29210 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29211
29212         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29213         input.  Use $(build-program-cmd).
29214         ($(objpfx)tst-array1-static.out): Likewise.
29215         ($(objpfx)tst-array2.out): Likewise.
29216         ($(objpfx)tst-array3.out): Likewise.
29217         ($(objpfx)tst-array4.out): Likewise.
29218         ($(objpfx)tst-array5.out): Likewise.
29219         ($(objpfx)tst-array5-static.out): Likewise.
29220
29221 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29222
29223         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29224         if defined.
29225
29226         * nss/nsswitch.h (nss_interface_function): Provide new
29227         macro for use with NSS functions.
29228         * grp/initgroups.c: Use new macro.
29229         * nss/getXXbyYY.c: Likewise.
29230         * nss/getXXbyYY_r.c: Likewise.
29231         * nss/getXXent.c: Likewise.
29232         * nss/getXXent_r.c: Likewise.
29233         * sysdeps/posix/getaddrinfo.c: Likewise.
29234
29235 2012-10-30  Andreas Jaeger  <aj@suse.de>
29236
29237         * po/ru.po: Update Russion translation from translation project.
29238
29239 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29240
29241         [BZ #14152]
29242         [BZ #14783]
29243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29244         result and shift together with sticky bit instead of replicating
29245         round-to-nearest rounding.
29246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29248         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29249         missing underflow exceptions.
29250         (fma_test_towardzero): Add more tests.
29251         (fma_test_downward): Likewise.
29252         (fma_test_upward): Likewise.
29253
29254         [BZ #14047]
29255         * sysdeps/generic/tininess.h: New file.
29256         * sysdeps/i386/tininess.h: Likewise.
29257         * sysdeps/sh/tininess.h: Likewise.
29258         * sysdeps/x86_64/tininess.h: Likewise.
29259         * stdlib/tst-strtod-underflow.c: Likewise.
29260         * stdlib/tst-tininess.c: Likewise.
29261         * stdlib/strtod_l.c: Include <tininess.h>.
29262         (round_and_return): Do not set errno for exact underflow cases.
29263         Force an underflow exception when setting errno for underflow.
29264         Determine underflow based on rounding to normal precision if
29265         TININESS_AFTER_ROUNDING.
29266         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29267         ERANGE for exact underflow cases.
29268         * stdlib/Makefile (tests): Add tst-tininess and
29269         tst-strtod-underflow.
29270         ($(objpfx)tst-tininess): Use $(link-libm).
29271         ($(objpfx)tst-strtod-underflow): Likewise.
29272
29273 2012-10-30  Andreas Jaeger  <aj@suse.de>
29274
29275         [BZ#14767]
29276         * elf/Makefile (tests): Remove conditional for have-initfini-array
29277         since this is now always required and the variable does not exist
29278         anymore.
29279         (tests-static): Likewise.
29280         (modules-names): Likewise.
29281
29282         * po/eo.po: Add Esperanto translation from translation project.
29283
29284         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29285         merged with constructor/destructor.
29286         (init_array): Likewise.
29287         * elf/tst-array2dep.c (fini_array): Likewise.
29288         (init_array): Likewise.
29289
29290 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29291
29292         * manual/message.texi: Delete @cartouche tags.
29293
29294 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29295
29296         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29297         EOPNOTSUPP.
29298         * sysdeps/mach/hurd/fsync.c: Likewise.
29299
29300         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29301         [_POSIX_REALTIME_SIGNALS]: Change condition to
29302         [_POSIX_REALTIME_SIGNALS > 0].
29303
29304 2012-10-27  Andreas Jaeger  <aj@suse.de>
29305
29306         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29307         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29308         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29309         [__WORDSIZE != 64]: Likewise.
29310
29311 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29312
29313         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29314         *  iconvdata/tst-tables.sh: Likewise.
29315
29316 2012-10-25  David S. Miller  <davem@davemloft.net>
29317
29318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29319         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29320         of strtoull.
29321
29322         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29323         ifunc-impl-list.c
29324         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29325         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29326         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29327         file.
29328
29329 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29330
29331         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29332         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29333         __getdirentries.
29334
29335 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29336             Jim Blandy  <jimb@codesourcery.com>
29337
29338         * scripts/cross-test-ssh.sh: New file.
29339         * manual/install.texi (Configuring and compiling): Document use of
29340         cross-test-ssh.sh.
29341         * INSTALL: Regenerated.
29342
29343 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29344
29345         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29346         EOPNOTSUPP.
29347
29348 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29349
29350         * Makeconfig (run-program-prefix): Fix comment.
29351
29352 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29353             Jim Blandy  <jimb@codesourcery.com>
29354
29355         * Makeconfig (test-wrapper): New variable,
29356         (test-wrapper-env): Likewise.
29357         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29358         (run-built-tests): Define to yes.
29359         (run-program-prefix): Use $(test-wrapper).
29360         (built-program-cmd): Likewise.
29361         * Rules (make-test-out): Use $(test-wrapper-env) and
29362         $(host-built-program-cmd).
29363         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29364         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29365         tst-pathopt.sh.
29366         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29367         $(test-wrapper-env) to tst-rtld-load-self.sh.
29368         ($(objpfx)order2.out): Use $(test-wrapper).
29369         ($(objpfx)tst-initorder.out): Likewise.
29370         ($(objpfx)tst-initorder2.out): Likewise.
29371         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29372         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29373         (test_wrapper_env): New variable.  Use it to run ld.so.
29374         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29375         Use it to run ld.so.
29376         (test_wrapper_env): Likewise.
29377         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29378         $(test-wrapper) to run-iconv-test.sh.
29379         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29380         (ICONV): Use $test_wrapper.
29381         * posix/Makefile ($(objpfx)globtest.out): Pass
29382         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29383         globtest.sh, not $(run-program-prefix).
29384         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29385         (test_wrapper): Likewise.
29386         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29387         set together with run_via_rtld_prefix.
29388         (run_program_prefix): Define in terms of test_wrapper and
29389         run_via_rtld_prefix.
29390
29391 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29392
29393         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29394         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29395         Targets removed.
29396
29397         [BZ #14743]
29398         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29399         Declare __clock_getres, __clock_gettime, __clock_settime,
29400         __clock_nanosleep, and __clock_getcpuclockid.
29401         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29402         Remove librt_hidden_def (clock_gettime).
29403         * sysdeps/unix/clock_gettime.c: Likewise.
29404         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29405         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29406         * rt/clock_getres.c: Define __clock_getres as an alias.
29407         * sysdeps/posix/clock_getres.c: Likewise.
29408         * rt/clock_settime.c: Define __clock_settime as an alias.
29409         * sysdeps/unix/clock_settime.c: Likewise.
29410         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29411         * sysdeps/unix/clock_nanosleep.c: Likewise.
29412         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29413         * rt/clock-compat.c: New file.
29414         * rt/Makefile (librt-routines): Add clock-compat and move
29415         $(clock-routines) to ...
29416         (routines): ... here, new variable.
29417         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29418         Don't add get_clockfreq here.
29419         * rt/Versions (libc: GLIBC_2.17): New version set.
29420         Add clock_* symbols here.
29421         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29422         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29423         (GLIBC_2.17): Add clock_* symbols.
29424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29426         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29428         Likewise.
29429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29430         Likewise.
29431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29435         * NEWS: Mention the move.
29436
29437         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29438         Use __open, __read, __close rather than their public counterparts.
29439         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29440         (__get_clockfreq_via_cpuinfo): Likewise.
29441         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29442         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29443
29444         * config.h.in (HAVE_IFUNC): New #undef.
29445         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29446         was successful.
29447         * configure: Regenerated.
29448
29449 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29450
29451         * configure.in: Move READELF check to start of file.
29452         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29453         libc_cv_asm_gnu_indirect_function in the process.
29454         * configure: Regenerated.
29455
29456 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29457
29458         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29459         send the output to /dev/null.
29460         (libc_cv_cc_with_libunwind): Likewise.
29461         (libc_cv_as_noexecstack): Likewise.
29462         * configure: Regenerate.
29463
29464 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29465
29466         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29467
29468         * posix/globtest.sh (TMPDIR): Do not set.
29469         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29470         (testout): Likewise.
29471
29472 2012-10-24  Andreas Jaeger  <aj@suse.de>
29473
29474         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29475         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29476         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29477         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29478         posix_fadvise64, posix_fallocate64.
29479
29480         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29481         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29482         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29483         Likewise.
29484         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29485         Likewise.
29486         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29487
29488         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29489         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29490         <bits/fcntl-linux.h>.
29491         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29492
29493         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29494         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29495         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29496         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29497         [__WORDSIZE != 64]: Likewise.
29498
29499 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29500
29501         * Makeconfig (run-built-tests): New variable.
29502         * Rules [$(cross-compiling) = yes]: Change condition to
29503         [$(run-built-tests) = no].
29504         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29505         to [$(run-built-tests) = yes].
29506         * elf/Makefile [$(cross-compiling) = no]: Likewise
29507         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29508         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29509         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29510         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29511         * io/Makefile [$(cross-compiling) = no]: Likewise.
29512         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29513         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29514         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29515         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29516         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29517         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29518         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29519         * string/Makefile [$(cross-compiling) = no]: Likewise.
29520
29521         * posix/Makefile ($(objpfx)globtest.out): Pass
29522         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29523         $(rtld-installed-name).
29524         * posix/globtest.sh (elf_objpfx): Remove variable.
29525         (rtld_installed_name): Likewise.
29526         (library_path): Likewise.
29527         (run_program_prefix): New variable.  Use for running globtest
29528         binary.
29529
29530 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29531             Joseph Myers  <joseph@codesourcery.com>
29532
29533         * Makeconfig (host-built-program-cmd): New variable.
29534         * elf/Makefile (tst-stackguard1-ARGS): Use
29535         $(host-built-program-cmd).
29536         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29537         (tst-spawn-ARGS): Likewise.
29538         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29539
29540 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29541             Jim Blandy  <jimb@codesourcery.com>
29542
29543         * Makeconfig (run-via-rtld-prefix): New variable.
29544         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29545         (built-program-cmd): Likewise.
29546
29547 2012-10-22  Andreas Jaeger  <aj@suse.de>
29548
29549         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29550         __O_RSYNC if it exists, otherwise to O_SYNC.
29551
29552 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29553             Joseph Myers  <joseph@codesourcery.com>
29554
29555         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29556         /dev/null.
29557         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29558         from /dev/null
29559         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29560         /dev/null.
29561
29562 2012-10-22  Andreas Jaeger  <aj@suse.de>
29563
29564         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29565         Define always.
29566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29567
29568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29569         bits/fcntl-linux.h.
29570
29571         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29572         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29573
29574         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29575         to __O_LARGEFILE.
29576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29577         to __O_LARGEFILE.
29578
29579 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29580             Joseph Myers  <joseph@codesourcery.com>
29581
29582         * config.make.in (NM): New variable.
29583
29584 2012-10-21  Andreas Jaeger  <aj@suse.de>
29585
29586         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29587         definitions and declarations that are provided by
29588         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29589
29590 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29591
29592         [BZ #14683]
29593         * elf/Makefile (tests-static): Add tst-leaks1-static.
29594         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29595         ($(objpfx)tst-leaks1-static): New rule.
29596         ($(objpfx)tst-leaks1-static-mem): Likewise.
29597         (tst-leaks1-static-ENV): New macro.
29598         * elf/dl-open.c (dl_open_worker): Check the main application
29599         only if SHARED is defined.
29600         * elf/tst-leaks1-static.c: New file.
29601
29602 2012-10-20  Andreas Jaeger  <aj@suse.de>
29603
29604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29605         generic values for Linux.
29606         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29607         and declarations that are provided by <bits/fcntl-linux.h> and
29608         include <bits/fcntl-linux.h>.
29609         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29611
29612 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29613
29614         * io/fcntl.h: Move include of <bits/types.h> to the top and
29615         include it unconditionally.
29616
29617 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29618
29619         * wcsmbs/Makefile (tests-ifunc): New variable.
29620         (tests): Add $(tests-ifunc).
29621         * wcsmbs/test-wcschr-ifunc.c: New file.
29622         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29623         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29624         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29625         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29626         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29627
29628         * string/Makefile (tests-ifunc): New variable.
29629         (tests): Add $(tests-ifunc).
29630         * string/test-memccpy.c (TEST_NAME): New macro.
29631         * string/test-memchr.c (TEST_NAME): Likewise.
29632         * string/test-memcmp.c (TEST_NAME): Likewise.
29633         * string/test-memcpy.c (TEST_NAME): Likewise.
29634         * string/test-memmem.c (TEST_NAME): Likewise.
29635         * string/test-memmove.c (TEST_NAME): Likewise.
29636         * string/test-memset.c (TEST_NAME): Likewise.
29637         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29638         * string/test-stpcpy.c (TEST_NAME): Likewise.
29639         * string/test-stpncpy.c (TEST_NAME): Likewise.
29640         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29641         * string/test-strcasestr.c (TEST_NAME): Likewise.
29642         * string/test-strcat.c (TEST_NAME): Likewise.
29643         * string/test-strchr.c (TEST_NAME): Likewise.
29644         * string/test-strcmp.c(TEST_NAME): Likewise.
29645         * string/test-strcpy.c (TEST_NAME): Likewise.
29646         * string/test-strcspn.c (TEST_NAME): Likewise.
29647         * string/test-strlen.c (TEST_NAME): Likewise.
29648         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29649         * string/test-strncmp.c (TEST_NAME): Likewise.
29650         * string/test-strncpy.c (TEST_NAME): Likewise.
29651         * string/test-strnlen.c (TEST_NAME): Likewise.
29652         * string/test-strpbrk.c (TEST_NAME): Likewise.
29653         * string/test-strrchr.c (TEST_NAME): Likewise.
29654         * string/test-strspn.c (TEST_NAME): Likewise.
29655         * string/test-strstr.c (TEST_NAME): Likewise.
29656         * string/test-bcopy-ifunc.c: New file.
29657         * string/test-bzero-ifunc.c: Likewise.
29658         * string/test-memccpy-ifunc.c: Likewise.
29659         * string/test-memchr-ifunc.c: Likewise.
29660         * string/test-memcmp-ifunc.c: Likewise.
29661         * string/test-memcpy-ifunc.c: Likewise.
29662         * string/test-memmem-ifunc.c: Likewise.
29663         * string/test-memmove-ifunc.c: Likewise.
29664         * string/test-mempcpy-ifunc.c: Likewise.
29665         * string/test-memset-ifunc.c: Likewise.
29666         * string/test-rawmemchr-ifunc.c: Likewise.
29667         * string/test-stpcpy-ifunc.c: Likewise.
29668         * string/test-stpncpy-ifunc.c: Likewise.
29669         * string/test-strcasecmp-ifunc.c: Likewise.
29670         * string/test-strcasestr-ifunc.c: Likewise.
29671         * string/test-strcat-ifunc.c: Likewise.
29672         * string/test-strchr-ifunc.c: Likewise.
29673         * string/test-strchrnul-ifunc.c: Likewise.
29674         * string/test-strcmp-ifunc.c: Likewise.
29675         * string/test-strcpy-ifunc.c: Likewise.
29676         * string/test-strcspn-ifunc.c: Likewise.
29677         * string/test-strlen-ifunc.c: Likewise.
29678         * string/test-strncasecmp-ifunc.c: Likewise.
29679         * string/test-strncat-ifunc.c: Likewise.
29680         * string/test-strncmp-ifunc.c: Likewise.
29681         * string/test-strncpy-ifunc.c: Likewise.
29682         * string/test-strnlen-ifunc.c: Likewise.
29683         * string/test-strpbrk-ifunc.c: Likewise.
29684         * string/test-strrchr-ifunc.c: Likewise.
29685         * string/test-strspn-ifunc.c: Likewise.
29686         * string/test-strstr-ifunc.c: Likewise.
29687
29688         * debug/Makefile (tests-ifunc): New variable.
29689         (tests): Add $(tests-ifunc).
29690         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29691         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29692         * debug/test-stpcpy_chk-ifunc.c: New file.
29693         * debug/test-strcpy_chk-ifunc.c: Likewise.
29694
29695 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29696
29697         [BZ #13601]
29698         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29699         header is not read in.
29700
29701 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29702
29703         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29704         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29705         directly.  Pass built executable to script as
29706         $(built-program-cmd).
29707         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29708         $testprogram without using LD_LIBRARY_PATH and $ldso.
29709
29710         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29711         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29712         $(rtld-installed-name).
29713         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29714         (rtld_installed_name): Likewise.
29715         (library_path): Likewise.
29716         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29717         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29718         $(run-program-prefix) to tst-tables.sh.
29719         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29720         it to run tst-table-from and tst-table-to.
29721         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29722         Pass it to tst-table.sh.
29723         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29724         $(run-program-prefix) to tst-gettext.sh.
29725         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29726         tst-translit.sh.
29727         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29728         tst-gettext2.sh.
29729         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29730         to run tst-gettext.
29731         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29732         to run tst-gettext2.
29733         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29734         to run tst-translit.
29735         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29736         $(run-program-prefix) to tst-mtrace.sh.
29737         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29738         to run tst-mtrace.
29739         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29740         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29741         $(rtld-installed-name).
29742         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29743         (rtld_installed_name): Likewise.
29744         (run_program_prefix): New variable.  Use it to run wordexp-test.
29745
29746         * Makeconfig (ARCH): Remove all definitions.
29747         (machine): Likewise.
29748         [ARCH]: Remove conditional code.
29749         [!objdir]: Give error.
29750         [!objdir] (objpfx): Remove.
29751         [!objdir] (common-objpfx): Likewise.
29752         [!objdir] (common-objdir): Likewise.
29753         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29754         AC_CONFIG_FILES call.
29755         * configure: Regenerated.
29756
29757         [BZ #13888]
29758         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29759         or TMPDIR.
29760         (testout): Likewise.
29761
29762         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29763         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29764         $(rtld-installed-name).
29765         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29766         (rtld_installed_name): Likwise.
29767         (runit): Remove function.
29768         (run_getconf): New variable,  Use it for running getconf binary.
29769
29770 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29771
29772         [BZ #14716]
29773         * string/test-memmem.c (check_result): New function.
29774         (do_one_test): Use it.
29775         (check1): New function.
29776         (test_main): Use it.
29777
29778 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29779
29780         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29781
29782 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29783
29784         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29785         (_G_LSEEK64): Likewise.
29786         (_G_MMAP64): Likewise.
29787         (_G_FSTAT64): Likewise.
29788         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29789         (_G_LSEEK64): Likewise.
29790         (_G_MMAP64): Likewise.
29791         (_G_FSTAT64): Likewise.
29792         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29793         unconditional.  Call __mmap64 directly.
29794         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29795         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29796         __lseek64 directly.
29797         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29798         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29799         __mmap64 directly.
29800         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29801         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29802         __lseek64 directly.
29803         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29804         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29805         __lseek64 directly.
29806         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29807         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29808         __lseek64 directly.
29809         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29810         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29811         __fxstat64 directly.
29812         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29813         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29814         unconditional.
29815         (freopen64) [!_G_OPEN64]: Remove conditional code.
29816         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29817         unconditional.
29818         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29819         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29820         unconditional.
29821         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29822         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29823         unconditional.
29824         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29825         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29826         unconditional.
29827         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29828         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29829         unconditional.
29830         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29831         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29832         unconditional.
29833         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29834         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29835         unconditional.
29836         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29837
29838 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29839
29840         [BZ #12140]
29841         * manual/memory.texi (Malloc Tunable Parameters): Add note
29842         about free list pointers overwriting some perturb bytes.
29843         Wording suggested by Roland McGrath.
29844
29845 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29846
29847         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29848         (lgamma_test): Likewise.
29849         (tgamma_test): Likewise.
29850
29851 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29852
29853         [BZ #14700]
29854         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29855         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29856
29857 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29858
29859         * NEWS: Mention BZ #14716.
29860         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29861         when removing AVAILABLE1_USES_J macro.
29862
29863 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29864
29865         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29866         (__bswap_64): __uint64_t for unsigned 64-bit int.
29867
29868 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29869
29870         * include/string.h (memmem): Declare libc hidden alias.
29871         * string/memmem.c (memmem): Define libc hidden alias.
29872         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29873         __read, __close instead of open, read, close.
29874
29875 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29876
29877         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29878         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29879         global and hidden.
29880         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29881         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29882         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29883         Likewise.
29884         (__rawmemchr_sse2): Likewise.
29885         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29886         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29887         (__strchr_sse2): Likewise.
29888         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29889         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29890         (__strcasecmp_sse2): Likewise.
29891         (__strncasecmp_sse2): Likewise.
29892         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29893         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29894         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29895         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29896         (__strrchr_sse2): Likewise.
29897         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29898         ifunc-impl-list.c.
29899         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29900         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29901         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29902         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29903         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29904         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29905         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29906         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29907         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29908         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29909         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29910         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29911         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29912         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29913         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29914         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29915         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29916         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29917         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29918         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29919         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29920         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29921         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29922         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29923         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29924         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29925         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29926         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29927         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29928         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29929
29930         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29931         global and hidden.
29932         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29933         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29934         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29935         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29936         Likewise.
29937         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29938         Likewise.
29939         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29940         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29941         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29942         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29943         ifunc-impl-list.c.
29944         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29945         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29946         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29947         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29948         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29949         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29950         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29951         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29952         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29953         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29954         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29955         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29956         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29957         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29958         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29959         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29960         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29961         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29962         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29963         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29964         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29965         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29966         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29967         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29968         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29969         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29970         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29971         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29972         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29973         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29974         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29975         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29976         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29977         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29978         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29979         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29980         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29981         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29982         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29983         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29984         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29985
29986         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29987         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29988         * include/ifunc-impl-list.h: New file.
29989         * misc/ifunc-impl-list.c: Likewise.
29990         * misc/Makefile (routines): Add ifunc-impl-list.
29991         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29992         * string/test-string.h: Include <ifunc-impl-list.h>.
29993         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29994         TEST_NAME]: New variables.
29995         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29996         are defined.
29997         (test_init): Call __libc_ifunc_impl_list to initialize
29998         func_list if TEST_IFUNC and TEST_NAME are defined.
29999
30000         * string/Makefile (strop-tests): Add bcopy and bzero.
30001         * string/test-bcopy.c: New file.
30002         * string/test-bzero.c: Likewise.
30003         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30004         defined.
30005         * string/test-memset.c: Support bzero test if TEST_BZERO is
30006         defined.
30007         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30008         __libc_memmove.
30009         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30010         __libc_memset.
30011         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30012         of memset.
30013
30014 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30015
30016         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30017         * configure: Regenerated.
30018
30019         * Makeconfig (+link-static-before-libc): Don't include
30020         $(link-static-libc).
30021
30022         * libio/libio.h (_IO_pos_t): Remove.
30023
30024 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30025
30026         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30027         McGrath.
30028
30029 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30030
30031         * crypt/crypt-entry.c: Include fips-private.h.
30032         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30033         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30034         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30035         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30036
30037 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30038
30039         * crypt/crypt-private.h: Include stdbool.h.
30040         (_ufc_setup_salt_r): Return bool.
30041         * crypt/crypt-entry.c: Include errno.h.
30042         (__crypt_r): Return NULL with EINVAL for bad salt.
30043         * crypt/crypt_util.c (bad_for_salt): New.
30044         (_ufc_setup_salt_r): Check that salt is long enough and within
30045         the specified alphabet.
30046         * crypt/badsalttest.c: New file.
30047         * crypt/Makefile (tests): Add it.
30048         ($(objpfx)badsalttest): New.
30049
30050 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30051
30052         * NEWS: Add entry for BZ #14602.
30053
30054 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30055
30056         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30057         type-generic.
30058         * math/libm-test.inc: Update comment listing what functions and
30059         macros are tested.
30060         (isgreater_test): New function.
30061         (isgreaterequal_test): Likewise.
30062         (isless_test): Likewise.
30063         (islessequal_test): Likewise.
30064         (islessgreater_test): Likewise.
30065         (isunordered_test): Likewise.
30066         (main): Call the new functions.
30067
30068 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30069
30070         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30071         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30072         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30073         * sysdeps/i386/configure: Regenerated.
30074         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30075         * sysdeps/mach/configure: Regenerated.
30076         * sysdeps/mach/hurd/configure: Regenerated.
30077         * sysdeps/powerpc/configure: Regenerated.
30078         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30079         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30080         * sysdeps/s390/s390-32/configure: Regenerated.
30081         * sysdeps/s390/s390-64/configure: Regenerated.
30082         * sysdeps/sh/configure: Regenerated.
30083         * sysdeps/sparc/configure: Regenerated.
30084         * sysdeps/unix/sysv/linux/configure: Regenerated.
30085         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30086         * sysdeps/x86_64/configure: Regenerated.
30087
30088         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30089         defined.  Don't check if MAP is NULL.
30090
30091 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30092
30093         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30094         (_G_stat64): Likewise.
30095         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30096         (_G_stat64): Likewise.
30097         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30098         instead of struct _G_stat64.
30099         * libio/fileops.c (mmap_remap_check): Likewise.
30100         (decide_maybe_mmap): Likewise.
30101         (_IO_new_file_seekoff): Likewise.
30102         (_IO_file_stat): Likewise.
30103         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30104         _G_off64_t.
30105         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30106         instead of struct _G_stat64.
30107         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30108
30109 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30110
30111         [BZ #14602]
30112         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30113         Replace with ...
30114         (CHECK_EOL): New macro.
30115         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30116         CHECK_EOL.
30117         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30118         Replace with CHECK_EOL.
30119         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30120         Replace with CHECK_EOL.
30121
30122 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30123
30124         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30125         type-generic.
30126         * math/libm-test.inc: Update comment listing what functions and
30127         macros are tested.
30128         (finite_test): New function.
30129         (isinf_test): Likewise.
30130         (isnan_test): Likewise.
30131         (fpclassify_test): Test subnormal input.
30132         (isfinite_test): Likewise.
30133         (isnormal_test): Likewise.
30134         (main): Call the new functions.
30135
30136 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30137
30138         [BZ #14660]
30139         * Makerules (%.dynsym): Force C locale when running
30140         $(OBJDUMP) --dynamic-syms.
30141
30142 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30143
30144         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30145         <stdint.h>.
30146
30147 2012-10-06  David S. Miller  <davem@davemloft.net>
30148
30149         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30150         upper 32-bits of the length value in %o2 since we use branch-on-register
30151         tests which consider the entire 64-bit register.
30152
30153 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30154
30155         * string/test-strstr.c (check2): Add a test for page boundary.
30156
30157 2012-10-05  David S. Miller  <davem@davemloft.net>
30158
30159         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30160         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30161         file.
30162         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30163         sysdep_routines.
30164         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30165         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30166         and bzero when HWCAP_SPARC_CRYPTO is present.
30167
30168 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30169
30170         [BZ #14602]
30171         * string/test-strstr.c (check2): New function.
30172         (test_main): Call check2.
30173
30174         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30175         and bug-strchr1.
30176         * string/bug-strcasestr1.c (do_test): Moved to ...
30177         * string/test-strcasestr.c (check1): Here.  New function.
30178         (do_one_test): Break out result checking code into ...
30179         (check_result): This.  New function.
30180         (do_one_test): Call check_result.
30181         (test_main): Call check1.
30182         * string/bug-strchr1.c (do_test): Moved to ...
30183         * string/test-strchr.c (check1): Here.  New function.
30184         (do_one_test): Break out result checking code into ...
30185         (check_result): This.  New function.
30186         (do_one_test): Call check_result.
30187         (test_main): Call check1.
30188         * string/bug-strstr1.c (main): Moved to ...
30189         * string/test-strstr.c (check1): Here.  New function.
30190         (do_one_test): Break out result checking code into ...
30191         (check_result): This.  New function.
30192         (do_one_test): Call check_result.
30193         (test_main): Call check1.
30194         * string/bug-strcasestr1.c: Removed.
30195         * string/bug-strchr1.c: Likewise.
30196         * string/bug-strstr1.c: Likewise.
30197
30198         * elf/Makefile (dl-routines): Add hwcaps.
30199         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30200         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30201         (_dl_important_hwcaps): Moved to ...
30202         * elf/dl-hwcaps.c: Here.  New file.
30203         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30204
30205         [BZ #14557]
30206         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30207         if IS_IN_rtld isn't defined.
30208
30209         * elf/dl-support.c (_dl_sysinfo_map): New.
30210         Include "get-dynamic-info.h" and "setup-vdso.h".
30211         (_dl_non_dynamic_init): Call setup_vdso.
30212         * elf/dynamic-link.h: Don't include <assert.h>.
30213         (elf_get_dynamic_info): Moved to ...
30214         * elf/get-dynamic-info.h: Here.  New file.
30215         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30216         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30217         * elf/setup-vdso.h: Here.  New file.
30218         * elf/rtld.c: Include "setup-vdso.h".
30219         (dl_main): Call setup_vdso.
30220
30221 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30222
30223         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30224         creal in comment listing functions tested.  List finite, isinf,
30225         isnan, isless, islessequal, isgreater, isgreaterequal,
30226         islessgreater, isunordered, lgamma_r and pow10 as functions and
30227         macros not tested.  Mention which functions not tested are aliases
30228         for other functions.  Fix typo.  Note that signs of NaNs are not
30229         tested.
30230
30231         * scripts/config.guess: Update from config.git.
30232         * scripts/config.sub: Likewise.
30233
30234 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30235
30236         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30237         * misc/madvise.c (madvise): Renamed to __madvise.
30238         Make madvise a weak alias.
30239         * include/sys/mman.h: Declare __madvise.
30240         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30241         * sysdeps/unix/syscalls.list
30242         (madvise): Make __madvise the strong name, and madvise a weak alias.
30243         * sysdeps/unix/sysv/linux/syscalls.list
30244         (madvise, mmap): Remove redundant entries.
30245         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30246         * malloc/malloc.c (mtrim): Likewise.
30247         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30248
30249 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30250
30251         * sysdeps/mach/hurd/dl-cache.c: File removed.
30252         * config.h.in (USE_LDCONFIG): New #undef.
30253         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30254         * configure: Regenerated.
30255         * elf/Makefile (dl-routines): Add dl-cache only under
30256         [$(use-ldconfig) = yes].
30257         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30258         cache on [USE_LDCONFIG].
30259         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30260         [USE_LDCONFIG].
30261         * elf/rtld.c (dl_main): Likewise.
30262
30263 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30264
30265         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30266         _SC_LEVEL4_CACHE_LINESIZE.
30267
30268 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30269
30270         * sysdeps/unix/bsd/confstr.h: File removed.
30271
30272 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30273
30274         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30275         sys/sdt-config.h.
30276
30277 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30278
30279         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30280         Make 'mapoff' field ElfW(Off) rather than off_t.
30281
30282 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30283
30284         * nscd/Makefile: Remove nscd-cflags and all its users.
30285         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30286         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30287
30288         [BZ #10631]
30289         * malloc.c (malloc_printerr): Clarify error message.
30290
30291 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30292
30293         [BZ #14648]
30294         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30295         Set bit_FMA_Usable if FMA is supported.
30296         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30297         macro.
30298         (bit_FMA4_Usable): Updated.
30299         (index_FMA_Usable): New macro.
30300         (CPUID_FMA): Likewise
30301         (HAS_FMA): Defined with bit_FMA_Usable.
30302
30303 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30304
30305         * bits/types.h (__swblk_t): Type removed.
30306         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30307         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30309         (__SWBLK_T_TYPE): Likewise.
30310         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30311         (__SWBLK_T_TYPE): Likewise.
30312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30313         (__SWBLK_T_TYPE): Likewise.
30314         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30315         (__SWBLK_T_TYPE): Likewise.
30316
30317 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30318             Honza Horak <hhorak@redhat.com>
30319
30320         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30321         (xdr_mapname): Use YPMAXMAP as maxsize.
30322         (xdr_peername): Use YPMAXPEER as maxsize.
30323         (xdr_keydat): Use YPAXRECORD as maxsize.
30324         (xdr_valdat): Use YPMAXRECORD as maxsize.
30325
30326 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30327
30328         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30329
30330         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30331         * csu/init-first.c: ... here.
30332         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30333         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30334         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30335         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30336         * sysdeps/i386/init-first.c: File removed.
30337         * sysdeps/sh/init-first.c: File removed.
30338
30339 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30340
30341         [BZ #14645]
30342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30343         if x * y might underflow to zero and z is zero.
30344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30346         * math/libm-test.inc (min_subnorm_value): New variable.
30347         (fma_test): Add more tests.
30348         (fma_test_towardzero): Likewise.
30349         (fma_test_downward): Likewise
30350         (fma_test_upward): Likewise.
30351         (initialize): Set min_subnorm_value.
30352
30353 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30354
30355         [BZ #14638]
30356         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30357         0 + 0.
30358         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30359         mode for addition resulting in exact zero.
30360         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30362         exact 0 + 0.
30363         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30365         * math/libm-test.inc (fma_test): Add more tests.
30366         (fma_test_towardzero): New function.
30367         (fma_test_downward): Likewise.
30368         (fma_test_upward): Likewise.
30369         (main): Call the new functions.
30370
30371 2012-09-28  David S. Miller  <davem@davemloft.net>
30372
30373         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30374
30375 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30376
30377         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30378         instead of SIGALRM.
30379
30380         * sysdeps/gnu/_G_config.h: Moved to ...
30381         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30382         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30383         * sysdeps/generic/_G_config.h: ... here.
30384
30385         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30386
30387         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30388
30389         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30390         Conditionalize target on [libnss_test1.so-version].
30391
30392         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30393
30394         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30395         (elfobjdir): Move out of conditionals.
30396
30397         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30398         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30399         (__nss_lookup_function): Conditionalize label remove_from_tree on
30400         [!DO_STATIC_NSS || SHARED], matching its only use.
30401
30402 2012-09-28  David S. Miller  <davem@davemloft.net>
30403
30404         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30405         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30406         file.
30407         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30408         sysdep_routines.
30409         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30410         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30411         when HWCAP_SPARC_CRYPTO is present.
30412
30413 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30414
30415         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30416
30417 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30418
30419         [BZ #6530]
30420         * stdio-common/vfprintf.c (process_string_arg): Revert
30421         2000-07-22 change.
30422
30423 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30424
30425         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30426         for testcase.
30427         * stdio-common/tst-sprintf.c: Include <locale.h>
30428         (main): Test sprintf's handling of incomplete multibyte
30429         characters.
30430
30431 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30432
30433         * elf/dl-runtime.c (VERSYMIDX): Removed.
30434         * elf/dl-version.c (VERSYMIDX): Likewise.
30435         * elf/do-rel.h (VERSYMIDX): Likewise.
30436         (VALIDX): Likewise.
30437         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30438         * elf/rtld.c (VALIDX): Likewise.
30439         (ADDRIDX): Likewise.
30440         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30441         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30442         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30443         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30444         (VALIDX): Likewise.
30445         (ADDRIDX): Likewise.
30446
30447 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30448
30449         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30450
30451 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30452
30453         [BZ #11438]
30454         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30455         to global scope.
30456         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30457         addresses are in the same scope as 192.0.2/24.
30458         * posix/gai.conf: Document new scope table defaults.
30459
30460 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30461
30462         [BZ #5298]
30463         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30464         for ftell.  Compute offsets from write pointers instead.
30465         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30466
30467 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30468
30469         [BZ #14543]
30470         * libio/Makefile (tests): New test case tst-fseek.
30471         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30472         combination works in wide mode.
30473         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30474         state when the external buffer state changes.
30475
30476 2012-09-27  David S. Miller  <davem@davemloft.net>
30477
30478         [BZ #14376]
30479         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30480         pass reloc->r_addend in as the 'high' argument to
30481         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30482
30483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30484
30485 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30486
30487         * rt/tst-aio2.c: Include <pthread.h>.
30488         * rt/tst-aio3.c: Likewise.
30489
30490 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30491
30492         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30493
30494 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30495
30496         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30497         contents on [SHARED].
30498
30499 2012-09-26  Marek Polacek  <polacek@redhat.com>
30500
30501         [BZ #14530]
30502         [BZ #13741]
30503         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30504         for C++ and GCC <4.3 as well as for non GCC compilers.
30505
30506 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30507
30508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30509
30510 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30511
30512         * Makefile.in (all, install): Declare with .PHONY.
30513         Reported by Michael Hope <michael.hope@linaro.org>.
30514
30515 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30516
30517         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30518         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30519         system header.
30520         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30521         Likewise.
30522         (sydep_routines): Add the new and the internal functions.
30523         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30524         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30526         (GLIBC_2.17): Add the new function.
30527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30528         (GLIBC_2.17): Likewise.
30529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30530         (GLIBC_2.17): Likewise.
30531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30532         (GLIBC_2.17): Likewise.
30533         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30534
30535 2012-09-25  Alan Modra  <amodra@gmail.com>
30536
30537         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30538         Add release barrier before setting once_control to say
30539         initialisation is done.  Add hints on lwarx.  Use macro in
30540         place of isync.
30541         (clear_once_control): Add release barrier.
30542
30543 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30544
30545         [BZ #13629]
30546         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30547         specially.
30548         * math/s_clog10.c (__clog10): Likewise.
30549         * math/s_clog10f.c (__clog10f): Likewise.
30550         * math/s_clog10l.c (__clog10l): Likewise.
30551         * math/s_clogf.c (__clogf): Likewise.
30552         * math/s_clogl.c (__clogl): Likewise.
30553         * math/Makefile (libm-calls): Add x2y2m1.
30554         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30555         (__x2y2m1): Likewise.
30556         (__x2y2m1l): Likewise.
30557         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30558         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30559         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30560         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30561         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30562         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30563         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30564         * sysdeps/i386/fpu/libm-test-ulps: Update.
30565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30566
30567         [BZ #14621]
30568         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30569         int as type of variable DEPTH.
30570         (glob): Use size_t instead of int as type of variables NEWCOUNT
30571         and OLD_PATHC.
30572
30573 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30574
30575         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30576         Add s_sincosf-sse2.
30577         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30578         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30579         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30580         macros for using routine as __sincosf_ia32.
30581         Use macro for function declaration and weak_alias.
30582         * sysdeps/i386/fpu/libm-test-ulps: Update.
30583
30584         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30586
30587         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30588         subnormal argument.
30589         * math/s_cexpf.c (__cexpf): Likewise.
30590         * math/s_csinf.c (__csinf): Likewise.
30591         * math/s_csinhf.c (__csinhf): Likewise.
30592         * math/s_ctanf.c (__ctanf): Likewise.
30593         * math/s_ctanhf.c (__ctanhf): Likewise.
30594         * math/s_ccosh.c (__ccoshf): Likewise.
30595         * math/s_cexp.c (__cexpl): Likewise.
30596         * math/s_csin.c (__csin): Likewise.
30597         * math/s_csinh.c (__csinh): Likewise.
30598         * math/s_ctan.c (__ctan): Likewise.
30599         * math/s_ctanh.c (ctanh): Likewise.
30600         * math/s_ccoshl.c (__ccoshl): Likewise.
30601         * math/s_cexpl.c (__cexpl): Likewise.
30602         * math/s_csinl.c (__csinl): Likewise.
30603         * math/s_csinhl.c (__csinhl): Likewise.
30604         * math/s_ctanl.c (__ctanl): Likewise.
30605         * math/s_ctanhl.c (__ctanhl): Likewise.
30606
30607 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30608
30609         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30610         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30611         (_IO_off_t): Define to __off_t, not _G_off_t.
30612         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30613         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30614         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30615         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30616         type of __dummy and __dummy2 fields.
30617         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30618         (_G_ssize_t): Likewise.
30619         (_G_off_t): Likewise.
30620         (_G_pid_t): Likewise.
30621         (_G_uid_t): Likewise.
30622         (_G_wchar_t): Likewise.
30623         (_G_wint_t): Likewise.
30624         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30625         (_G_ssize_t): Likewise.
30626         (_G_off_t): Likewise.
30627         (_G_pid_t): Likewise.
30628         (_G_uid_t): Likewise.
30629         (_G_wchar_t): Likewise.
30630         (_G_wint_t): Likewise.
30631         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30632         (_G_ssize_t): Likewise.
30633         (_G_off_t): Likewise.
30634         (_G_pid_t): Likewise.
30635         (_G_uid_t): Likewise.
30636         (_G_wchar_t): Likewise.
30637         (_G_wint_t): Likewise.
30638
30639 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30640
30641         * malloc/arena.c: Include malloc-sysdep.h.
30642         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30643         is sufficient to shrink the heap or an unmap is needed.
30644         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30645         new function check_may_shrink_heap.
30646         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30647         new function check_may_shrink_heap.
30648
30649 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30650
30651         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30652         comments.
30653
30654 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30655
30656         * catgets/test-gencat.sh: Add "set -e".
30657         * elf/tst-pathopt.sh: Likewise.
30658         * grp/tst_fgetgrent.sh: Likewise.
30659         * iconvdata/run-iconv-test.sh: Likewise.
30660         * intl/tst-gettext.sh: Likewise.
30661         * intl/tst-gettext2.sh: Likewise.
30662         * intl/tst-gettext4.sh: Likewise.
30663         * intl/tst-gettext6.sh: Likewise.
30664         * intl/tst-translit.sh: Likewise.
30665         * io/ftwtest-sh: Likewise.
30666         * libio/test-freopen.sh: Likewise.
30667         * malloc/tst-mtrace.sh: Likewise.
30668         * posix/globtest.sh: Likewise.
30669         * posix/tst-getconf.sh: Likewise.
30670         * posix/wordexp-tst.sh: Likewise.
30671         * stdio-common/tst-printf.sh: Likewise.
30672         * stdio-common/tst-unbputc.sh: Likewise.
30673         * stdlib/tst-fmtmsg.sh: Likewise.
30674         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30675         * catgets/Makefile: Do not specify -e option when running
30676         testsuite shell scripts.
30677         * elf/Makefile: Likewise.
30678         * grp/Makefile: Likewise.
30679         * iconvdata/Makefile: Likewise.
30680         * intl/Makefile: Likewise.
30681         * io/Makefile: Likewise.
30682         * libio/Makefile: Likewise.
30683         * malloc/Makefile: Likewise.
30684         * posix/Makefile: Likewise.
30685         * stdio-common/Makefile: Likewise.
30686         * stdlib/Makefile: Likewise.
30687         * sysdeps/x86_64/Makefile: Likewise.
30688
30689         * io/ftwtest-sh: Add copyright header.
30690         * posix/globtest.sh: Likewise.
30691         * posix/tst-getconf.sh: Likewise.
30692         * posix/wordexp-tst.sh: Likewise.
30693         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30694
30695 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30696
30697         [BZ #13679]
30698         * Makeconfig (+link): Defined as $(+link-static) if
30699         $(build-shared) isn't yes.
30700         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30701         isn't yes.
30702         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30703
30704         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30705
30706         [BZ #14562]
30707         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30708         new chunk size with MALLOC_ALIGN_MASK.
30709
30710 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30711
30712         [BZ #5044]
30713         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30714         <rounding-mode.h>.
30715         (__printf_fphex): Determine rounding using get_rounding_mode and
30716         round_away.
30717         * stdio-common/tst-printf-round.c (struct hex_test): New
30718         structure.
30719         (hex_tests): New variable.
30720         (test_hex_in_one_mode): New function.
30721         (do_test): Also run tests for hex float output.
30722
30723 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30724
30725         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30726         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30727         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30728         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30729         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30730         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30731         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30732         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30733
30734 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30735
30736         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30737         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30738         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30739         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30740
30741 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30742
30743         [BZ #14579]
30744         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30745         mode only.
30746         * elf/tst-rtld-load-self.sh: New test.
30747         * elf/Makefile: Run it.
30748
30749 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30750
30751         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30752         (tst-writev-ENV): Remove.
30753         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30754
30755 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30756
30757         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30758
30759 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30760
30761         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30762         unconditional.
30763         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30764         Likewise.
30765         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30766         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30767         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30768         Likewise.
30769
30770 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30771
30772         [BZ #14587]
30773         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30774         * config.make.in (have-cpp-asm-debuginfo): Removed.
30775         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30776         * configure: Regenerated.
30777
30778 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30779
30780         [BZ #5044]
30781         * stdio-common/printf_fp.c: Include <stdbool.h> and
30782         <rounding-mode.h>.
30783         (___printf_fp): Determine rounding using get_rounding_mode and
30784         round_away.
30785         * stdio-common/tst-printf-round.c: New file.
30786         * stdio-common/Makefile (tests): Add tst-printf-round.
30787         (link-libm): New variable.
30788         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30789
30790 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30791
30792         [BZ #14576]
30793         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30794         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30795         Likewise.
30796         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30797         Likewise.
30798
30799 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30800
30801         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30802         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30803         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30804         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30805
30806 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30807
30808         [BZ #14518]
30809         * include/rounding-mode.h: New file.
30810         * sysdeps/generic/get-rounding-mode.h: Likewise.
30811         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30812         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30813         (MAX_VALUE): New macro.
30814         (MIN_VALUE): Likewise.
30815         (overflow_value): New function.
30816         (underflow_value): Likewise.
30817         (round_and_return): Use overflow_value and underflow_value to
30818         determine return values in overflow and underflow cases.  Use
30819         round_away to determine rounding depending on rounding mode.
30820         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30821         determine return values in overflow and underflow cases.
30822         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30823         (struct test_results): New structure.
30824         (struct test): Use struct test_results to store expected results
30825         for all rounding modes.
30826         (TEST): Include expected results for all rounding modes.
30827         (test_in_one_mode): New function.
30828         (do_test): Use test_in_one_mode to compute and check results.
30829         Check results for all rounding modes.
30830         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30831         $(link-libm).
30832
30833 2012-12-09  Allan McRae  <allan@archlinux.org>
30834
30835         * sysdeps/i386/fpu/libm-test-ulps: Update
30836
30837 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30838
30839         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30840         (_G_int32_t): Likewise.
30841         (_G_uint16_t): Likewise.
30842         (_G_uint32_t): Likewise.
30843         (_G_HAVE_BOOL): Likewise.
30844         (_G_HAVE_ATEXIT): Likewise.
30845         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30846         (_G_HAVE_IO_FILE_OPEN): Likewise.
30847         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30848         (_G_int32_t): Likewise.
30849         (_G_uint16_t): Likewise.
30850         (_G_uint32_t): Likewise.
30851         (_G_HAVE_BOOL): Likewise.
30852         (_G_HAVE_ATEXIT): Likewise.
30853         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30854         (_G_HAVE_IO_FILE_OPEN): Likewise.
30855         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30856         (_G_int32_t): Likewise.
30857         (_G_uint16_t): Likewise.
30858         (_G_uint32_t): Likewise.
30859         (_G_HAVE_BOOL): Likewise.
30860         (_G_HAVE_ATEXIT): Likewise.
30861         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30862         (_G_HAVE_IO_FILE_OPEN): Likewise.
30863
30864 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30865
30866         * csu/libc-tls.c: Update copyright years.
30867
30868 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30869
30870         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30871         [!_G_USING_THUNKS]: Remove conditional code.
30872         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30873         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30874
30875         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30876         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30877         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30878         (_G_VTABLE_LABEL_PREFIX): Likewise.
30879         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30880         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30881         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30882         (_G_VTABLE_LABEL_PREFIX): Likewise.
30883         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30884         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30885         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30886         (_G_VTABLE_LABEL_PREFIX): Likewise.
30887         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30888
30889 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30890
30891         * libio/Makefile: Include ../Makeconfig before tests.
30892         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30893         only if $(build-shared) is yes.
30894
30895         * iconv/gconv_db.c: Update copyright years.
30896
30897 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30898
30899         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30900         unwind info if defined PIC. Fix special cases description.
30901         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30902
30903         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30904         DP_HI_MASK entry.
30905         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30906
30907 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30908
30909         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30910
30911         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30912         is NULL.
30913
30914         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30915         (LDLIBS-tst-chk4): This.
30916         (LDFLAGS-tst-chk5): Renamed to ...
30917         (LDLIBS-tst-chk5): This.
30918         (LDFLAGS-tst-chk6): Renamed to ...
30919         (LDLIBS-tst-chk6): This.
30920         (LDFLAGS-tst-lfschk4): Renamed to ...
30921         (LDLIBS-tst-lfschk4): This.
30922         (LDFLAGS-tst-lfschk5): Renamed to ...
30923         (LDLIBS-tst-lfschk5): This.
30924         (LDFLAGS-tst-lfschk6): Renamed to ...
30925         (LDLIBS-tst-lfschk6): This.
30926
30927         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30928         on $(common-objpfx)soversions.mk.
30929
30930 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30931
30932         [BZ #10014]
30933         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30934         example host name.
30935
30936 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30937
30938         * malloc/arena.c (arena_get_retry): New function that gets
30939         another arena for the caller to try its request on.
30940         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30941         current arena cannot fulfill the request.
30942         (__libc_memalign): Likewise.
30943         (__libc_memalign): Likewise.
30944         (__libc_pvalloc): Likewise.
30945         (__libc_calloc): Likewise.
30946
30947 2012-09-05  John Tobey  <john.tobey@gmail.com>
30948
30949         [BZ #13542]
30950         * manual/arith.texi (Operations on Complex): Fix description
30951         of carg branch cut.
30952
30953 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30954
30955         [BZ #10014]
30956         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30957         host name.
30958
30959         [BZ #10038]
30960         * manual/memory.texi (Memory): Make order of menu items match
30961         order of sections.
30962
30963 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30964
30965         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30966         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30967         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30968
30969 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30970
30971         * csu/libc-tls.c (static_dtv): Renamed to ...
30972         (_dl_static_dtv): This.  Make it global.
30973         (_dl_initial_dtv): Removed.
30974         (__libc_setup_tls): Updated.
30975         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30976         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30977         DL_INITIAL_DTV.
30978
30979 2012-09-06  Petr Machata  <pmachata@redhat.com>
30980
30981         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30982         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30983         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30984         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30985
30986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30987
30988         [BZ #14545]
30989         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30990         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30991         freeing dtv[-1].
30992
30993 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30994
30995         [BZ #14544]
30996         * Makeconfig (link-static-before-libc): Replace $(+prector)
30997         with $(+prectorT).
30998         (link-static-after-libc): Replace $(+postctor) with
30999         $(+postctorT).
31000         (link-bounded): Replace $(+prector)/$(+postctor) with
31001         $(+prectorT)/$(+postctorT).
31002         (+prectorT): New macro.
31003         (+postctorT): Likewise.
31004
31005 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31006
31007         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31008         (round_str): Handle values above the maximum for IBM long double
31009         as inexact.
31010         * stdlib/tst-strtod-round.c (tests): Regenerated.
31011
31012 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31013
31014         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31015         assembler flag.
31016         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31017         zarch_nohighgprs around the zarch optimized routines.
31018         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31019         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31021         for zarch.
31022
31023 2012-09-05  David S. Miller  <davem@davemloft.net>
31024
31025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31026
31027         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31028         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31029         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31030         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31031         entries.
31032
31033 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31034
31035         * malloc/arena.c: Fold copyright years.
31036         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31037
31038 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31039
31040         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31041
31042 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31043
31044         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31045
31046 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31047
31048         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31049         change internal state upon failure.
31050
31051 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31052
31053         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31054         * malloc/memusage.c (mmap): Likewise.
31055         (mmap64, mremap): Likewise.  Adjust name in comment.
31056
31057 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31058
31059         * libio/fileops.c: Fix typos in comments.
31060         * libio/oldfileops.c: Likewise.
31061         * libio/wfileops.c: Likewise.
31062
31063 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31064
31065         [BZ #1349]
31066         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31067         (tst-malloc-usable-ENV): Set environment for test case.
31068         * malloc/hooks.c (malloc_check_get_size): New function to get
31069         requested size.
31070         * malloc/malloc.c (musable): Use malloc_check_get_size.
31071         * malloc/tst-malloc-usable.c: New test case.
31072
31073 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31074
31075         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31076
31077 2012-09-05  Allan McRae  <allan@archlinux.org>
31078
31079         [BZ #13966]
31080         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31081         determine header location.
31082         * configure: Regenerated.
31083
31084 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31085
31086         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31087         float format.
31088         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31089         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31090         format.
31091         (test): Regenerate.
31092
31093 2012-09-04  David S. Miller  <davem@davemloft.net>
31094
31095         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31096         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31097         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31098
31099 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31100
31101         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31102         failures.
31103
31104         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31105
31106 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31107
31108         [BZ #9914]
31109         * libio/iogetdelim.c: Include <limits.h>.
31110         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31111         + len + 1 would overflow.
31112
31113 2012-09-03  Andreas Jaeger  <aj@suse.de>
31114
31115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31116         * sysdeps/i386/fpu/libm-test-ulps: Update.
31117
31118 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31119
31120         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31121         Add s_sinf-sse2, s_conf-sse2.
31122
31123         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31124         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31125         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31126         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31127
31128         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31129         for using routine as __sinf_ia32.
31130         Use macro for function declaration and weak_alias.
31131         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31132         for using routine as __cosf_ia32.
31133         Use macro for function declaration and weak_alias.
31134
31135         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31136         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31137
31138         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31139         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31141
31142         * math/libm-test.inc (cos_test): Add more test cases.
31143         (sin_test): Likewise.
31144         (sincos_test): Likewise.
31145
31146 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31147
31148         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31149         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31150         hidden.
31151         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31152
31153 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31154
31155         [BZ #14538]
31156         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31157         first element of the GOT.
31158         (elf_machine_load_address): Return the difference between
31159         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31160
31161 2012-09-01  Allan McRae  <allan@archlinux.org>
31162
31163         [BZ #13412]
31164         * configure.in (AWK): Require gawk version 3.0 or later.
31165         * configure: Regenerated.
31166
31167 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31168
31169         * sysdeps/unix/sysv/linux/kernel-features.h
31170         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31171         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31172         [__NR_clock_getres]: Make code unconditional.
31173         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31174         (clock_getcpuclockid): Remove code left unreachable by removal of
31175         conditionals.
31176         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31177         code unconditional.
31178         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31179         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31180         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31181         Make code unconditional.
31182         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31183         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31184         * sysdeps/unix/sysv/linux/clock_settime.c
31185         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31186         conditional code.
31187         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31188         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31189
31190 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31191
31192         [BZ #14476]
31193         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31194         scripts/test-installation.pl.
31195
31196         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31197         and $ld_so_version if it is set.
31198
31199 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31200
31201         [BZ #14516]
31202         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31203         failure if reading from procfs failed.
31204         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31205
31206 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31207
31208         * sysdeps/unix/sysv/linux/kernel-features.h
31209         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31210         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31211         Remove conditional code.
31212         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31213         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31214         Remove conditional code.
31215         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31216         * sysdeps/unix/sysv/linux/i386/fxstat.c
31217         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31218         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31219         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31220         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31222         * sysdeps/unix/sysv/linux/i386/lxstat.c
31223         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31224         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31225         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31226         Remove conditional code.
31227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31228         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31229         Remove conditional code.
31230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31231         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31232         <kernel-features.h>.
31233         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31234         Remove.
31235         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31236         Remove conditional code.
31237         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31238         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31239         Remove conditional.
31240
31241 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31242
31243         [BZ #5400]
31244         * NEWS: Add fixed bug number.
31245
31246 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31247
31248         [BZ #14519]
31249         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31250         underflowing exponent in case of negative sign.
31251         * stdlib/tst-strtod-round-data: Add more tests.
31252         * stdlib/tst-strtod-round.c (tests): Regenerated.
31253
31254         [BZ #3479]
31255         * stdlib/strtod_l.c (NDIG): Remove.
31256         (HEXNDIG): Likewise.
31257         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31258         smallest representable value.
31259         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31260         lie within an exact representation of 1/2 ulp of the result.
31261         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31262         unconditionally.
31263         (TENS_P9_IDX): Define unconditionally.
31264         (TENS_P9_SIZE): Likewise.
31265         (TENS_P10_IDX): Likewise.
31266         (TENS_P10_SIZE): Likewise.
31267         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31268         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31269         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31270         entries for 10^2^13 and 10^2^14.
31271         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31272         (TENS_P13_IDX): Define.
31273         (TENS_P13_SIZE): Likewise.
31274         (TENS_P14_IDX): Likewise.
31275         (TENS_P14_SIZE): Likewise.
31276         (_fpioconst_pow10): Change array size to
31277         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31278         unconditional.
31279         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31280         1024]: Add entries for 10^2^13 and 10^2^14.
31281         [LAST_POW10 > _LAST_POW10]: Remove #error.
31282         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31283         (_fpioconst_pow10): Change array size to
31284         FPIOCONST_POW10_ARRAY_SIZE.
31285         * stdlib/gen-fpioconst.c: New file.
31286         * stdlib/gen-tst-strtod-round.c: Likewise.
31287         * stdlib/tst-strtod-round-data: Likewise.
31288         * stdlib/tst-strtod-round.c: Likewise.
31289         * stdlib/Makefile (tests): Add tst-strtod-round.
31290
31291         [BZ #14459]
31292         * stdlib/strtod_l.c: Include <stdint.h>.
31293         (NDEBUG): Do not define.
31294         (round_and_return): Change EXPONENT parameter to type intmax_t.
31295         Rearrange calculations to avoid internal overflow possibilities.
31296         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31297         Rearrange calculations to avoid internal overflow possibilities.
31298         Assert that number fits inside MPNSIZE limbs.
31299         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31300         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31301         calculations and add assertions to avoid internal overflow
31302         possibilities.  Add casts to avoid signed/unsigned operations.
31303         * stdlib/tst-strtod-overflow.c: New file.
31304         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31305
31306 2012-08-25  Marek Polacek  <polacek@redhat.com>
31307
31308         * time/time.h: Fix some typos in comments.
31309
31310 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31311
31312         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31313         * posix/tst-rfc3484-2.c: Likewise.
31314         * posix/tst-rfc3484-3.c: Likewise.
31315
31316 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31317
31318         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31319         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31320
31321 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31322
31323         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31324         #include of fxstatat64.c.
31325
31326 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31327
31328         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31329         * shadow/getspent_r.c: Likewise.
31330         * shadow/getspnam.c: Likewise.
31331         * shadow/getspnam_r.c: Likewise.
31332         * gshadow/getsgent.c: Likewise.
31333         * gshadow/getsgent_r.c: Likewise.
31334         * gshadow/getsgnam.c: Likewise.
31335         * gshadow/getsgnam_r.c: Likewise.
31336         * inet/getnetbyad.c: Likewise.
31337         * inet/getnetbyad_r.c: Likewise.
31338         * inet/getnetbynm.c: Likewise.
31339         * inet/getnetbynm_r.c: Likewise.
31340         * inet/getnetent.c: Likewise.
31341         * inet/getnetent_r.c: Likewise.
31342         * inet/getproto.c: Likewise.
31343         * inet/getproto_r.c: Likewise.
31344         * inet/getprtent.c: Likewise.
31345         * inet/getprtent_r.c: Likewise.
31346         * inet/getprtname.c: Likewise.
31347         * inet/getprtname_r.c: Likewise.
31348         * inet/getrpcbyname.c: Likewise.
31349         * inet/getrpcbyname_r.c: Likewise.
31350         * inet/getrpcbynumber.c: Likewise.
31351         * inet/getrpcbynumber_r.c: Likewise.
31352         * inet/getrpcent.c: Likewise.
31353         * inet/getrpcent_r.c: Likewise.
31354         * inet/getaliasent.c: Likewise.
31355         * inet/getaliasent_r.c: Likewise.
31356         * inet/getaliasname.c: Likewise.
31357         * inet/getaliasname_r.c: Likewise.
31358         * nscd/getgrgid_r.c: Likewise.
31359         * nscd/getgrnam_r.c: Likewise.
31360         * nscd/gethstbyad_r.c: Likewise.
31361         * nscd/gethstbynm3_r.c: Likewise.
31362         * nscd/getpwnam_r.c: Likewise.
31363         * nscd/getpwuid_r.c: Likewise.
31364         * nscd/getsrvbynm_r.c: Likewise.
31365         * nscd/getsrvbypt_r.c: Likewise.
31366         * nscd/gai.c: Likewise.
31367
31368         * configure.in (build_nscd): New substituted variable, set
31369         by --disable-build-nscd and defaults to $use_nscd.
31370         * configure: Regenerated.
31371         * config.make.in (build-nscd): New substituted variable.
31372         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31373         Change conditional to require [$(build-nscd) = yes] as well.
31374         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31375
31376         [BZ# 13696]
31377         * configure.in (use_nscd): New substituted variable, set by
31378         --disable-nscd.  If enabled, define USE_NSCD.
31379         * configure: Regenerated.
31380         * config.h.in: Add USE_NSCD.
31381         * config.make.in (use-nscd): New substituted variable.
31382         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31383         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31384         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31385         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31386         (CFLAGS-getgrnam_r.c): Likewise.
31387         (CFLAGS-initgroups.c): Likewise.
31388         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31389         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31390         Variables removed.
31391         * inet/getnetgrent_r.c
31392         (nscd_setnetgrent): New function, broken out of ...
31393         (setnetgrent): ... here.  Call it.
31394         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31395         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31396         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31397         * nscd/Makefile (routines, aux): Move definitions after include of
31398         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31399         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31400         Conditionalize on [USE_NSCD].
31401         (is_nscd, nscd_init_cb): Likewise.
31402         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31403         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31404         * nss/nss_db/db-init.c: Likewise.
31405         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31406         [USE_NSCD].
31407         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31408         (make_request): Use it.
31409         (cache_valid_p): New function.
31410         (__check_pf): Use it.
31411         * NEWS: Add item for --disable-nscd.
31412
31413 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31414
31415         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31416         to support sed >= 4.2.1-20-ga9bf076.
31417         * configure: Regenerated.
31418
31419 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31420
31421         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31422         Conditionalize whole body on [IREL].
31423
31424 2012-08-22  Jeff Law <law@redhat.com>
31425
31426         [BZ #14505]
31427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31428         if the family is PF_UNSPEC.
31429
31430 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31431
31432         * Makerules (lib-version): Rename from V.
31433         (install-lib-nosubdir): Change V to lib-version.
31434
31435 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31436
31437         [BZ #14252]
31438         * powerpc32/power6/wcschr.c: New file.
31439         * powerpc32/power6/wcscpy.c: New file.
31440         * powerpc32/power6/wcsrchr.c: New file.
31441         * powerpc64/power6/wcschr.c: New file.
31442         * powerpc64/power6/wcscpy.c: New file.
31443         * powerpc64/power6/wcsrchr.c: New file.
31444
31445 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31446
31447         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31448         (two_way_short_needle): Use it.
31449         * string/strstr.c (AVAILABLE1_USES_J): Define.
31450         * string/strcasestr.c: Likewise.
31451
31452         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31453         array references.
31454         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31455
31456         [BZ #11607]
31457         * NEWS: Add an entry.
31458         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31459         define their defaults.
31460         (two_way_short_needle): Detect end-of-string on-the-fly.
31461         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31462         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31463         * string/bug-strcasestr1.c: New test.
31464         * string/Makefile: Run it.
31465
31466 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31467
31468         [BZ #11607]
31469         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31470         the first character.
31471
31472 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31473
31474         * csu/elf-init.c (__libc_csu_irel): Function removed.
31475         * csu/libc-start.c (apply_irel): New function.
31476         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31477
31478 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31479
31480         * sysdeps/unix/sysv/linux/kernel-features.h
31481         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31482         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31483         <kernel-features.h>.
31484         [__NR_fadvise64_64]: Make code unconditional.
31485         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31486         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31487         !__NR_fadvise64_64)]: Likewise.
31488         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31489         !__NR_fadvise64_64))]: Likewise.
31490         [__NR_fadvise64]: Make code unconditional.
31491         [!__NR_fadvise64]: Remove conditional code.
31492         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31493         <kernel-features.h>.
31494         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31495         unconditional.
31496         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31497         conditional code.
31498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31499         not include <kernel-features.h>.
31500         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31501         unconditional.
31502         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31503         conditional code.
31504         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31505         include <kernel-features.h>.
31506         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31507         unconditional.
31508         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31509         conditional code.
31510
31511 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31512
31513         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31514         slight instruction rearrangements per scrollpipe analysis.
31515         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31516
31517 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31518
31519         * manual/syslog.texi (syslog; vsyslog, closelog):
31520         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31521         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31522
31523         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31524         DSOCAPS to match condition on defining it.
31525
31526 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31527
31528         * sysdeps/unix/sysv/linux/kernel-features.h
31529         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31531         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31532         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31534         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31535         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31537         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31538         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31539
31540         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31541         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31542
31543         * sysdeps/unix/sysv/linux/kernel-features.h
31544         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31545         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31546         unconditional.
31547         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31548         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31549         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31550         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31551         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31552         Make code unconditional.
31553         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31554         (__mmap64) [!__NR_mmap2]: Likewise.
31555         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31556         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31557         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31558         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31559         [__NR_mmap2]: Make code unconditional.
31560         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31561         (__mmap64) [!__NR_mmap2]: Likewise.
31562
31563 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31564
31565         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31566
31567 2012-08-18  Andreas Jaeger  <aj@suse.de>
31568
31569         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31570
31571 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31572
31573         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31574         * include/unistd.h (__have_sock_cloexec): Likewise.
31575         (__have_pipe2): Likewise.
31576         (__have_dup3): Likewise.
31577
31578 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31579
31580         [BZ #9685]
31581         * include/unistd.h (__have_pipe2): Change define into an extern int.
31582         (__have_dup3): Likewise.
31583         * socket/have_sock_cloexec.c: Include fcntl.h.
31584         (__have_pipe2): New variable.
31585         (__have_dup3): Likewise.
31586
31587 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31588
31589         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31590
31591 2012-08-17  Marek Polacek  <polacek@redhat.com>
31592
31593         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31594         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31595
31596 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31597
31598         * configure.in: Add AC_SUBST for sysheaders.
31599         * configure: Regenerated.
31600         * config.make.in (sysheaders): New substituted variable.
31601
31602         * sysdeps/unix/mkfifo.c: Moved ...
31603         * sysdeps/posix/mkfifo.c: ... here.
31604         * sysdeps/unix/mkfifoat.c: Moved ...
31605         * sysdeps/posix/mkfifoat.c: ... here.
31606
31607         * sysdeps/unix/utime.c: Moved ...
31608         * sysdeps/posix/utime.c: ... here.
31609
31610         * sysdeps/unix/time.c: Moved ...
31611         * sysdeps/posix/time.c: ... here.
31612         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31613         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31614
31615         * sysdeps/unix/nice.c: Moved ...
31616         * sysdeps/posix/nice.c: ... here.
31617
31618         * sysdeps/unix/alarm.c: Moved ...
31619         * sysdeps/posix/alarm.c: ... here.
31620
31621         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31622
31623 2012-08-17  Jeff Law <law@redhat.com>
31624
31625         * intl/Makefile (codeset_mo): New variable.
31626         ($(codeset_mo)): New target.
31627         (tst-codeset.out): Depend on that.  Remove explicit rule.
31628         (tst-gettext3.out, tst-gettext5.out): Likewise.
31629         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31630         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31631         * intl/tst-codeset.sh: Remove.
31632         * intl/tst-gettext3.sh: Likewise.
31633         * intl/tst-gettext5.sh: Likewise.
31634
31635 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31636
31637         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31638         * sysdeps/unix/syscalls.list: ... here.
31639
31640         * sysdeps/posix/getaddrinfo.c
31641         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31642         (gaiconf_init, gaiconf_reload): Use them.
31643         [!_STATBUF_ST_NSEC]
31644         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31645         Define using time_t rather than struct timespec.
31646
31647         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31648         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31649         Macros removed.
31650         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31651         [!NO_THREADS].
31652         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31653         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31654         Likewise.
31655
31656         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31657         __libc_cleanup_push argument.
31658
31659         * bits/param.h: New file.
31660         * misc/sys/param.h: New file.
31661         * include/sys/param.h: New file.
31662         * misc/Makefile (headers): Add bits/param.h.
31663         * sysdeps/generic/sys/param.h: File removed.
31664         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31665         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31666         * sysdeps/mach/hurd/bits/param.h: New file.
31667         * sysdeps/mach/hurd/sys/param.h: File removed.
31668
31669         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31670         last change.
31671
31672         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31673         [_IO_MTSAFE_IO].
31674         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31675         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31676         New macros.
31677
31678         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31679         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31680         rather than -D_IO_MTSAFE_IO conditionally.
31681         * stdio-common/Makefile (CPPFLAGS): Likewise.
31682         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31683         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31684         Use $(libio-mtsafe).
31685         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31686         of -D_IO_MTSAFE_IO.
31687         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31688         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31689         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31690         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31691         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31692         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31693         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31694         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31695         (CFLAGS-fread_u_chk.c): Likewise.
31696         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31697         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31698         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31699         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31700         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31701         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31702         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31703         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31704         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31705
31706         * libio/Makefile: Test [$(libc-reentrant) = yes]
31707         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31708
31709         * Makeconfig
31710         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31711         * sysdeps/pthread/configure: File removed.
31712         * sysdeps/pthread/Makeconfig: New file.
31713         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31714         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31715
31716 2012-08-16  Gary Benson  <gbenson@redhat.com>
31717
31718         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31719         unmapping the first object in a namespace.
31720
31721 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31722
31723         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31724         (__internal_setnetgrent): ... this.  Add internal_function to
31725         definition.  Add libc_hidden_def.
31726         (setnetgrent): Update caller.
31727         (internal_endnetgrent): Renamed to ...
31728         (__internal_endnetgrent): ... this.  Add internal_function to
31729         definition.  Add libc_hidden_def.
31730         (endnetgrent): Update caller.
31731         (internal_getnetgrent_r): Renamed to ...
31732         (__internal_getnetgrent_r): ... this.  Add internal_function to
31733         definition.  Add libc_hidden_def.
31734         (__getnetgrent_r): Update caller.
31735         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31736
31737 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31738
31739         * stdlib/longlong.h: Update from GCC.
31740
31741 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31742
31743         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31744         on _QL, which is set by umul_ppmm but never used.
31745         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31746         variables, which are set by GMP macros but never used.
31747         * stdio-common/_itowa.c (_itowa): Likewise.
31748         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31749         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31750
31751 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31752
31753         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31754         struct La_sh_regs is not constant.
31755         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31756         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31757         and struct La_sparc64_regs are not constant.
31758
31759 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31760
31761         * sysdeps/unix/sysv/linux/kernel-features.h
31762         (__ASSUME_POSIX_TIMERS): Remove.
31763         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31764         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31765         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31766         Make code unconditional.
31767         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31768         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31769         Make code unconditional.
31770         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31771         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31772         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31773         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31774         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31775         Make code unconditional.
31776         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31777         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31778         (__libc_missing_posix_timers): Remove.
31779
31780 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31781
31782         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31783         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31784
31785         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31786
31787         * elf/dl-sym.c: Include <stdlib.h>.
31788
31789         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31790         constants, which avoids warnings in 32-bit builds.
31791
31792         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31793         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31794
31795         * misc/lseek.c: File moved to ...
31796         * io/lseek.c: ... here.
31797
31798         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31799
31800         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31801         shifting LEN more than 31 bits at once.
31802
31803 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31804
31805         [BZ #14195]
31806         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31807         segmentation fault for a case of two empty input strings.
31808         * string/test-strncasecmp.c (check1): Renamed to...
31809         (bz12205): ...this.
31810         (bz14195): Add new testcase for two empty input strings and N > 0.
31811         (test_main): Call new testcase, adapt for renamed function.
31812
31813 2012-08-15  Andreas Jaeger  <aj@suse.de>
31814
31815         [BZ #14090]
31816         * crypt/md5test2.c: New test, based on test supplied by Serge
31817         Belyshev <belyshev@depni.sinp.msu.ru>.
31818         * crypt/Makefile (xtests): Add md5test-giant..
31819         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31820
31821 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31822
31823         [BZ #14090]
31824         * crypt/md5.c (md5_process_block): Don't assume the buffer
31825         length is less than 2**32.
31826         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31827         length is less than 2**64.
31828
31829 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31830
31831         * string/str-two-way.h: Include <sys/param.h>.
31832         (MAX): Macro removed.
31833
31834         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31835         Move #define and #undef of memmove to just before and after
31836         including <string.h>.
31837
31838         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31839         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31840         and after including <string.h>.  Move declarations of
31841         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31842         to before #include "string/memmove.c".
31843
31844         * include/dirent.h: Declare __getdirentries.
31845
31846         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31847         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31848
31849 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31850
31851         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31852         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31853         * sysdeps/i386/configure: Regenerated.
31854         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31855         STABS_CURRENT_FILE, and STABS_FUN.
31856         (END): Remove call to STABS_FUN_END.
31857         (STABS_CURRENT_FILE1): Delete.
31858         (STABS_CURRENT_FILE): Likewise.
31859         (STABS_FUN): Likewise.
31860         (STABS_FUN_END): Likewise.
31861         (STABS_FUN2): Likewise.
31862         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31863         * sysdeps/x86_64/configure: Regenerated.
31864
31865 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31866
31867         * elf/dl-open.c: Include <atomic.h>.
31868         * elf/dl-lookup.c: Likewise.
31869
31870 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31871
31872         * sysdeps/unix/sysv/linux/kernel-features.h
31873         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31874         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31875         unconditionally.
31876         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31877         unconditionally.
31878         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31879         condition on __ASSUME_CLONE_THREAD_FLAGS.
31880
31881 2012-08-14  Andreas Jaeger  <aj@suse.de>
31882
31883         * sysdeps/i386/fpu/libm-test-ulps: Update.
31884
31885 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31886
31887         * include/atomic.h (atomic_exchange_and_add): Split into ...
31888         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31889         New atomic macros.
31890
31891 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31892
31893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31894
31895 2012-08-13  Jeff Law <law@redhat.com>
31896
31897         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31898         null byte in the output string.
31899
31900 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31901
31902         * sysdeps/unix/sysv/linux/kernel-features.h
31903         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31904         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31905         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31906         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31907         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31908         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31909         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31910
31911 2012-08-09  Jeff Law <law@redhat.com>
31912
31913         [BZ #13939]
31914         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31915         When avoid_arena is set, don't retry in the that arena.  Pick the
31916         next one, whatever it might be.
31917         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31918         (arena_lock): Pass in new parameter to arena_get2.
31919         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31920         arena_get2.
31921         (__libc_malloc): Unify retrying after main arena failure with
31922         __libc_memalign version.
31923         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31924
31925 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31926
31927         [BZ #14166]
31928         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31929         to __redirect_strstr.
31930         (__strstr_sse42): Use typeof __redirect_strstr.
31931         (__strstr_ia32): Likewise.
31932         (__libc_strstr): New prototype.
31933         (strstr): Renamed to ...
31934         (__libc_strstr): This.
31935         (strstr): New strong alias of __libc_strstr.
31936         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31937         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31938         __redirect_time.
31939         Include <time.h>.
31940         (__libc_time): New prototype.
31941         (time_ifunc): Replace time with __libc_time.
31942         (time): New strong alias and hidden definition of __libc_time.
31943         (__GI_time): Remove strong alias.
31944         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31945         Include <stddef.h>.
31946         (memmove): Redefined to __redirect_memmove.
31947         (__memmove_sse2): Use typeof __redirect_memmove.
31948         (__memmove_ssse3): Likewise.
31949         (__memmove_ssse3_back): Likewise.
31950         (__libc_memmove): New prototype.
31951         (memmove): Renamed to ...
31952         (__libc_memmove): This.
31953         (memmove): New strong alias of __libc_memmove.
31954
31955 2012-08-08  Mark Salter  <msalter@redhat.com>
31956
31957         * elf/elf.h
31958         (R_MN10300_TLS_GD): Define.
31959         (R_MN10300_TLS_LD): Likewise.
31960         (R_MN10300_TLS_LDO): Likewise.
31961         (R_MN10300_TLS_GOTIE): Likewise.
31962         (R_MN10300_TLS_IE): Likewise.
31963         (R_MN10300_TLS_LE): Likewise.
31964         (R_MN10300_TLS_DTPMOD): Likewise.
31965         (R_MN10300_TLS_DTPOFF): Likewise.
31966         (R_MN10300_TLS_TPOFF): Likewise.
31967         (R_MN10300_SYM_DIFF): Likewise.
31968         (R_MN10300_ALIGN): Likewise.
31969         (R_MN10300_NUM): Update.
31970
31971 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31972
31973         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31974         Remove.
31975
31976 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31977
31978         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31979
31980         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31981         sysdeps/unix -> sysdeps/posix move.
31982         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31983
31984 2012-08-07      Allan McRae     <allan@archlinux.org>
31985
31986         [BZ #14303]
31987         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31988         (SUNOS_CPP): Likewise.
31989         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31990         not found.
31991         (open_input): Call CPP using execvp.
31992
31993 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31994
31995         * sysdeps/unix/sysv/linux/kernel-features.h
31996         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31997         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31998         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31999         (__ASSUME_WAITID_SYSCALL): Likewise.
32000         * sysdeps/unix/sysv/linux/dl-execstack.c
32001         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32002         code unconditional.
32003         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32004         conditional code.
32005         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32006         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32007         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32008         code.
32009         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32010         unconditional.
32011         [__ASSUME_WAITID_SYSCALL]: Likewise.
32012         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32013
32014 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32015
32016         * sysdeps/unix/closedir.c: Renamed to ...
32017         * sysdeps/posix/closedir.c: ... here.
32018         * sysdeps/unix/dirfd.c: Renamed to ...
32019         * sysdeps/posix/dirfd.c: ... here.
32020         * sysdeps/unix/dirstream.h: Renamed to ...
32021         * sysdeps/posix/dirstream.h: ... here.
32022         * sysdeps/unix/fdopendir.c: Renamed to ...
32023         * sysdeps/posix/fdopendir.c: ... here.
32024         * sysdeps/unix/opendir.c: Renamed to ...
32025         * sysdeps/posix/opendir.c: ... here.
32026         * sysdeps/unix/readdir.c: Renamed to ...
32027         * sysdeps/posix/readdir.c: ... here.
32028         * sysdeps/unix/readdir_r.c: Renamed to ...
32029         * sysdeps/posix/readdir_r.c: ... here.
32030         * sysdeps/unix/rewinddir.c: Renamed to ...
32031         * sysdeps/posix/rewinddir.c: ... here.
32032         * sysdeps/unix/seekdir.c: Renamed to ...
32033         * sysdeps/posix/seekdir.c: ... here.
32034         * sysdeps/unix/telldir.c: Renamed to ...
32035         * sysdeps/posix/telldir.c: ... here.
32036         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32037         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32038         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32039         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32040
32041         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32042         * bits/fcntl.h: ... here.
32043
32044         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32045         not 0.
32046         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32047         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32048         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32049         (struct flock): Move l_start, l_len to the beginning.
32050         Use __pid_t for l_pid.
32051         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32052         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32053         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32054         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32055         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32056         [__USE_LARGEFILE64] (struct flock64): New type.
32057         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32058
32059         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32060         * bits/dirent.h: ... here.
32061
32062         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32063         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32064
32065 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32066
32067         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32068         Change from 2.6.0 to 2.6.16.
32069         * sysdeps/unix/sysv/linux/configure: Regenerated.
32070         * sysdeps/unix/sysv/linux/kernel-features.h
32071         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32072         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32073         version.
32074         (__ASSUME_UTIMES): Likewise.
32075         (__ASSUME_CLONE_STOPPED): Remove.
32076         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32077         architectures, not kernel version.
32078         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32079         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32080         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32081         (__ASSUME_WAITID_SYSCALL): Likewise.
32082         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32083         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32084         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32085         refer to older versions.
32086
32087 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32088
32089         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32090         Define alphasort64 as an alias.
32091         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32092         Define versionsort64 as an alias.
32093         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32094         Define scandir64 as an alias.
32095         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32096         Define scandirat64 as an alias.
32097         * dirent/alphasort64.c (alphasort64):
32098         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32099         * dirent/versionsort64.c: Likewise.
32100         * dirent/scandir64.c: Likewise.
32101         * dirent/scandirat64.c: Likewise.
32102         * sysdeps/wordsize-64/alphasort.c: File removed.
32103         * sysdeps/wordsize-64/alphasort64.c: File removed.
32104         * sysdeps/wordsize-64/scandir.c: File removed.
32105         * sysdeps/wordsize-64/scandir64.c: File removed.
32106         * sysdeps/wordsize-64/scandirat.c: File removed.
32107         * sysdeps/wordsize-64/scandirat64.c: File removed.
32108         * sysdeps/wordsize-64/versionsort.c: File removed.
32109         * sysdeps/wordsize-64/versionsort64.c: File removed.
32110         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32111         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32112         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32113         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32114         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32115         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32116         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32117         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32118
32119         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32121         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32122         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32123         [defined __arch64__ || defined __sparcv9]
32124         (__INO_T_MATCHES_INO64_T): New macro.
32125         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32126         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32127         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32128         * sysdeps/unix/sysv/linux/bits/dirent.h
32129         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32130         (_DIRENT_MATCHES_DIRENT64): New macro.
32131
32132         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32133         Define lockf64 as an alias.
32134         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32135         Define fseeko64 as an alias.
32136         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32137         Define ftello64 as an alias.
32138         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32139         Define _IO_fgetpos64 and fgetpos64 as aliases.
32140         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32141         Define _IO_fsetpos64 and fsetpos64 as aliases.
32142         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32143         Conditionalize body on this.
32144         * libio/fseeko64.c: Likewise.
32145         * libio/ftello64.c: Likewise.
32146         * libio/iofgetpos64.c: Likewise.
32147         * libio/iofsetpos64.c: Likewise.
32148         * sysdeps/wordsize-64/lockf.c: File removed.
32149         * sysdeps/wordsize-64/lockf64.c: File removed.
32150         * sysdeps/wordsize-64/fseeko.c: File removed.
32151         * sysdeps/wordsize-64/fseeko64.c: File removed.
32152         * sysdeps/wordsize-64/ftello.c: File removed.
32153         * sysdeps/wordsize-64/ftello64.c: File removed.
32154         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32155         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32156         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32157         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32158         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32159         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32160         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32161         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32162         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32163         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32164         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32165         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32166         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32167         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32168
32169         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32171         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32172         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32173         [defined __arch64__ || defined __sparcv9]
32174         (__OFF_T_MATCHES_OFF64_T): New macro.
32175         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32176         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32178         (__OFF_T_MATCHES_OFF64_T): New macro.
32179
32180 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32181
32182         * stdlib/secure-getenv.c (__secure_getenv): Replace
32183         GLIBC_2_16 with GLIBC_2_17.
32184
32185 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32186
32187         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32188         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32189
32190 2012-08-03  David S. Miller  <davem@davemloft.net>
32191
32192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32193
32194 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32195
32196         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32197         Remove.
32198         (__ASSUME_CORRECT_SI_PID): Likewise.
32199         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32200         (__ASSUME_TMPFS_NAME): Likewise.
32201         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32202         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32203         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32204         (HAVE_AUX_SECURE): Make definition unconditional.
32205         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32206         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32207
32208 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32209
32210         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32211         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32212         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32213         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32214         __eloop_threshold instead of SYMLOOP_MAX.
32215
32216         * sysdeps/generic/eloop-threshold.h: New file.
32217         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32218         of MAXSYMLINKS.
32219         * elf/chroot_canon.c (chroot_canon): Likewise.
32220
32221 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32222
32223         [BZ #13717]
32224         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32225         Change to 2.6.0 everywhere.
32226         * sysdeps/unix/sysv/linux/configure: Regenerated.
32227         * sysdeps/unix/sysv/linux/kernel-features.h
32228         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32229         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32230         kernel versions.
32231         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32232         (__ASSUME_FUTEX_REQUEUE): Remove.
32233         (__ASSUME_STATFS64): Define unconditionally.
32234         (__ASSUME_AT_SECURE): Likewise.
32235         (__ASSUME_CORRECT_SI_PID): Likewise.
32236         (__ASSUME_TGKILL): Define without depending on kernel version for
32237         i386.
32238         (__ASSUME_UTIMES): Likewise.
32239         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32240         kernel version.
32241         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32242         (__ASSUME_TMPFS_NAME): Likewise.
32243         * README: Update reference to Linux kernel versions.
32244
32245 2012-08-02  Marek Polacek  <polacek@redhat.com>
32246
32247         [BZ# 14150]
32248         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32249         libc_cv_asm_type_prefix with %.
32250         * configure: Regenerated.
32251         * include/libc-symbols.h: Remove comment about
32252         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32253         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32254         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32255         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32256         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32257         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32258         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32259         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32260         * elf/tst-unique2mod1.c: Likewise.
32261         * elf/tst-unique1mod2.c: Likewise.
32262         * elf/tst-unique1mod1.c: Likewise.
32263         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32264         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32265         Replace ASM_TYPE_DIRECTIVE with .type.
32266         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32267         * sysdeps/i386/sysdep.h: Likewise.
32268         * sysdeps/x86_64/sysdep.h: Likewise.
32269         * sysdeps/sh/sysdep.h: Likewise.
32270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32271         Do not define ASM_TYPE_DIRECTIVE.
32272         * sysdeps/powerpc/sysdep.h: Likewise.
32273         * sysdeps/powerpc/powerpc32/sysdep.h:
32274         Replace ASM_TYPE_DIRECTIVE with .type.
32275         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32276         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32277         * sysdeps/i386/fpu/e_powf.S: Likewise.
32278         * sysdeps/i386/fpu/e_expl.S: Likewise.
32279         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32280         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32281         * sysdeps/i386/fpu/e_pow.S: Likewise.
32282         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32283         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32284         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32285         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32286         * sysdeps/i386/fpu/e_log2.S: Likewise.
32287         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32288         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32289         * sysdeps/i386/fpu/e_powl.S: Likewise.
32290         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32291         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32292         * sysdeps/i386/fpu/e_logl.S: Likewise.
32293         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32294         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32295         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32296         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32297         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32298         * sysdeps/i386/fpu/e_log.S: Likewise.
32299         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32300         * sysdeps/i386/fpu/e_logf.S: Likewise.
32301         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32302         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32303         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32304         * sysdeps/i386/fpu/e_log10.S: Likewise.
32305         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32306         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32307         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32308         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32309         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32310         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32311         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32312         * sysdeps/i386/i686/strtok.S: Likewise.
32313         * sysdeps/i386/i386-mcount.S: Likewise.
32314         * sysdeps/i386/strtok.S: Likewise.
32315         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32316         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32317         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32318         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32319         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32320         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32321         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32322         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32323         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32324         * sysdeps/x86_64/_mcount.S: Likewise.
32325         * sysdeps/x86_64/strtok.S: Likewise.
32326         * sysdeps/sh/_mcount.S: Likewise.
32327
32328 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32329
32330         * libio/iofopen.c: Include <fcntl.h>.
32331         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32332         (_IO_fopen64, fopen64): Define as aliases.
32333         * libio/iofopen64.c: Include <fcntl.h>.
32334         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32335         Conditionalize body on this.
32336         * sysdeps/wordsize-64/iofopen.c: File removed.
32337         * sysdeps/wordsize-64/iofopen64.c: File removed.
32338
32339 2012-08-01  Marek Polacek  <polacek@redhat.com>
32340
32341         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32342         Use dlfcn directly instead of a variable.
32343         (binfmt-subdir): Do not define.
32344         (dlfcn): Likewise.
32345
32346 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32347
32348         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32349         Remove all definitions.
32350         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32351         <kernel-features.h>.
32352         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32353         (miss_F_GETOWN_EX): Remove all definitions.
32354         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32355         macro definition.
32356         [!__ASSUME_FCNTL64]: Remove conditional code.
32357         [__ASSUME_FCNTL64]: Make code unconditional.
32358         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32359         <kernel-features.h>.
32360         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32361         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32362         (lockf64) [__NR_fcntl64]: Make code unconditional.
32363         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32364
32365         * sysdeps/unix/sysv/linux/kernel-features.h
32366         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32367         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32368         Make code unconditional.
32369         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32370         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32372         [__NR_vfork]: Make code unconditional.
32373         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32374         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32376         [__NR_vfork]: Make code unconditional.
32377         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32378         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32379
32380 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32381
32382         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32383         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32384
32385         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32386         Define mkstemp64 as an alias.
32387         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32388         Define mkstemps64 as an alias.
32389         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32390         Define mkostemp64 as an alias.
32391         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32392         Define mkostemps64 as an alias.
32393         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32394         Conditionalize body on this.
32395         * misc/mkostemp64.c: Likewise.
32396         * misc/mkostemps64.c: Likewise.
32397         * misc/mkstemps64.c: Likewise.
32398         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32399         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32400         * sysdeps/wordsize-64/mkostemp.c: File removed.
32401         * sysdeps/wordsize-64/mkstemp.c: File removed.
32402         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32403         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32404         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32405         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32406
32407         [BZ #14138]
32408         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32409         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32410         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32411         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32412
32413         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32414         compat_symbol macros from <shlib-compat.h> rather than the underlying
32415         default_symbol_version and symbol_version macros, so that DEFAULT
32416         lines in shlib-versions are respected.
32417         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32418
32419 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32420
32421         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32422         Declare with warn_unused_result.
32423         (setgid, setregid, setegid, setresgid): Likewise.
32424         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32425         Likewise.
32426         * WUR-REPORT: Remove set*id functions.
32427
32428 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32429
32430         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32431
32432 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32433
32434         [BZ #10191]
32435         * include/sys/socket.h (__libc_accept, __libc_accept4):
32436         Add attribute_hidden.
32437         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32438
32439         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32440         use of PTR_MANGLE.
32441         * inet/getnetgrent_r.c (setup): Likewise.
32442
32443         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32444
32445 2012-07-31  David S. Miller  <davem@davemloft.net>
32446
32447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32448
32449 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32450
32451         [BZ #13629]
32452         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32453         value between 1.0 and 2.0 and smaller part has absolute value less
32454         than 1.0.
32455         * math/s_clog10.c (__clog10): Likewise.
32456         * math/s_clog10f.c (__clog10f): Likewise.
32457         * math/s_clog10l.c (__clog10l): Likewise.
32458         * math/s_clogf.c (__clogf): Likewise.
32459         * math/s_clogl.c (__clogl): Likewise.
32460         * math/libm-test.inc (clog_test): Add more tests.
32461         (clog10_test): Likewise.
32462         * sysdeps/i386/fpu/libm-test-ulps: Update.
32463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32464
32465 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32466
32467         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32468         Exit with zero in case no suitable GID is found, and write a
32469         message to standard error.
32470
32471 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32472
32473         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32474         rather than to 1.
32475         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32476         (MAXPATHLEN): Removed.
32477         (NOGROUP, NODEV): New macros.
32478         (setbit, clrbit, isset, isclr): New macros.
32479         (howmany, roundup, powerof2): New macros.
32480         (DEV_BSIZE): New macro.
32481
32482         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32483         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32484
32485         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32486         definition on [!__NO_LONG_DOUBLE_MATH].
32487
32488         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32489         PTR_MANGLE and PTR_DEMANGLE.
32490
32491         * socket/accept4.c (accept4): Rename to __libc_accept4.
32492         Define accept4 as a weak alias.
32493
32494         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32495         on [_DIRENT_HAVE_D_TYPE].
32496         * io/ftw.c (ftw_dir): Likewise.
32497
32498         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32499
32500         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32501
32502         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32503         Use the BSD numbers rather than the arbitrary ones we had.
32504         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32505         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32506         (SIGXCPU, SIGXFSZ): New macros.
32507         (_NSIG): Now 32.
32508
32509         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32510         initializer on [_LIBC_REENTRANT].
32511
32512         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32513         definitions inside [_POSIX_MAPPED_FILES].
32514
32515         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32516
32517         * dirent/opendir.c: Include <fcntl.h>.
32518
32519         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32520         (__libc_getspecific): Likewise.
32521         (__libc_key_create): Likewise.
32522
32523         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32524         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32525         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32526         (tmpfile64): Define as alias.
32527         * sysdeps/wordsize-64/tmpfile.c: File removed.
32528         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32529         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32530         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32531
32532         * stdio-common/vfscanf.c: Include <stdbool.h>.
32533         * nss/makedb.c: Likewise.
32534         * stdio-common/_i18n_number.h: Likewise.
32535         * argp/argp-help.c: Likewise.
32536         * posix/wordexp.c: Likewise.
32537         * sysdeps/posix/spawni.c: Likewise.
32538         * nss/nss_files/files-initgroups.c: Likewise.
32539         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32540         * nss/nss_files/files-initgroups.c: Likewise.
32541         * nss/nss_db/db-netgrp.c: Likewise.
32542         * nss/nss_db/db-initgroups.c: Likewise.
32543         * io/fchmodat.c: Include <sys/stat.h>.
32544
32545         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32546         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32547
32548         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32549         [HAVE_MMAP].
32550
32551         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32552         Add multiple inclusion protection.
32553
32554 2012-07-27  David S. Miller  <davem@davemloft.net>
32555
32556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32557
32558 2012-07-27  Gary Benson  <gbenson@redhat.com>
32559
32560         [BZ #14298]
32561         * elf/rtld.c: Include <stap-probe.h>.
32562         (dl_main): Added static probes "init_start" and "init_complete".
32563         * elf/dl-load.c: Include <stap-probe.h>.
32564         (lose): Take new parameter "nsid".
32565         Added static probe "map_failed".
32566         (_dl_map_object_from_fd): Pass namespace id to lose.
32567         Added static probe "map_start".
32568         (open_verify): Pass namespace id to lose.
32569         * elf/dl-open.c: Include <stap-probe.h>.
32570         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32571         and "reloc_complete".
32572         * elf/dl-close.c: Include <stap-probe.h>.
32573         (_dl_close_worker): Added static probes "unmap_start" and
32574         "unmap_complete".
32575         * elf/rtld-debugger-interface.txt: New file documenting the above.
32576
32577 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32578
32579         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32580         rather than a string variable.
32581         * sunrpc/rpc_main.c (h_output): Likewise.
32582         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32583
32584 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32585
32586         * inet/check_native.c: New file.
32587
32588 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32589
32590         [BZ #13629]
32591         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32592         if larger part has absolute value 1.0.
32593         * math/s_clog10.c (__clog10): Likewise.
32594         * math/s_clog10f.c (__clog10f): Likewise.
32595         * math/s_clog10l.c (__clog10l): Likewise.
32596         * math/s_clogf.c (__clogf): Likewise.
32597         * math/s_clogl.c (__clogl): Likewise.
32598         * math/libm-test.inc (clog_test): Add more tests.
32599         (clog10_test): Likewise.
32600         * sysdeps/i386/fpu/libm-test-ulps: Update.
32601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32602
32603         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32604         (pltexit): Likewise.
32605         (La_regs): Likewise.
32606         (La_retval): Likewise.
32607         (int_retval): Likewise.
32608         Update #error for removed macros to refer only to definitions in
32609         tst-audit.h.
32610         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32611         macro.
32612         (pltexit): Likewise.
32613         (La_regs): Likewise.
32614         (La_retval): Likewise.
32615         (int_retval): Likewise.
32616         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32617         macro.
32618         (pltexit): Likewise.
32619         (La_regs): Likewise.
32620         (La_retval): Likewise.
32621         (int_retval): Likewise.
32622         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32623         macro.
32624         (pltexit): Likewise.
32625         (La_regs): Likewise.
32626         (La_retval): Likewise.
32627         (int_retval): Likewise.
32628         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32629         macro.
32630         (pltexit): Likewise.
32631         (La_regs): Likewise.
32632         (La_retval): Likewise.
32633         (int_retval): Likewise.
32634         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32635         macro.
32636         (pltexit): Likewise.
32637         (La_regs): Likewise.
32638         (La_retval): Likewise.
32639         (int_retval): Likewise.
32640         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32641         macro.
32642         (pltexit): Likewise.
32643         (La_regs): Likewise.
32644         (La_retval): Likewise.
32645         (int_retval): Likewise.
32646         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32647         macro definitions in tst-audit.h.
32648         * sysdeps/i386/tst-audit.h: New file.
32649         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32650         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32651         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32652         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32653         * sysdeps/sh/tst-audit.h: Likewise.
32654         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32655         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32656         * sysdeps/x86_64/tst-audit.h: Likewise.
32657
32658 2012-07-26  Andreas Jaeger  <aj@suse.de>
32659
32660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32661         ptrace.
32662
32663         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32664         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32665         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32666         PTRACE_O_MASK.
32667         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32668         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32669         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32670
32671         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32672         value.
32673
32674         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32675         _sigsys.
32676         (si_call_addr, si_syscall, si_arch): Define new macro.
32677         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32678         _sigsys.
32679         (si_call_addr, si_syscall, si_arch): Define new marcro.
32680         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32681         _sigsys.
32682         (si_call_addr, si_syscall, si_arch): Define new macro.
32683         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32684         _sigsys.
32685         (si_call_addr, si_syscall, si_arch): Define new macro.
32686
32687 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32688
32689         [BZ #13717]
32690         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32691         Change to 2.4.21 where previously 2.4.1.
32692         * sysdeps/unix/sysv/linux/configure: Regenerated.
32693         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32694         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32695         Linux kernel version.
32696         (__ASSUME_STD_AUXV): Remove.
32697         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32698         kernel version.
32699         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32700         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32701         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32702         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32703         (__ASSUME_NETLINK_SUPPORT): Likewise.
32704         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32705         (__no_netlink_support): Remove conditional definition.
32706         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32707         Remove.
32708         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32709         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32710         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32711         (if_nameindex_ioctl): Remove.
32712         (if_nameindex_netlink): Do not handle __no_netlink_support.
32713         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32714         code.
32715         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32716         Remove conditional code.
32717         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32718         code.
32719         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32720         unconditional.
32721         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32722         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32723         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32724         Remove.
32725         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32726         [!__ASSUME_STD_AUXV]: Remove conditional code.
32727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32728         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32729         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32731         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32732         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32733         code.
32734         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32736         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32737         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32738         conditional code.
32739         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32741         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32742         code.
32743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32744         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32745         conditional code.
32746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32747         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32748         code unconditional.
32749         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32750         conditional code.
32751         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32752         unconditional.
32753         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32754         conditional code.
32755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32756         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32757         unconditional.
32758         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32759         conditional code.
32760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32761         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32762         code unconditional.
32763         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32764         conditional code.
32765         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32766         unconditional.
32767         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32768         conditional code.
32769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32770         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32771         code unconditional.
32772         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32773         conditional code.
32774         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32775         unconditional.
32776         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32777         conditional code.
32778
32779 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32780
32781         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32782         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32783         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32784         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32785         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32786         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32787         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32788         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32789         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32790         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32791         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32792         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32793         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32794         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32795         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32796         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32797         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32798         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32799         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32801         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32802         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32803         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32804
32805 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32806
32807         * Versions.def: Add GLIBC_2.17.
32808         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32809         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32810         Introduce __libc_secure_getenv.
32811         * stdlib/Versions (2.17): Add secure_getenv
32812         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32813         * stdlib/secure-getenv.c: Rename __secure_getenv to
32814         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32815         symbol __secure_getenv for GLIBC_2.0.
32816         * stdlib/tst-secure-getenv.c: New.
32817         * stdlib/Makefile (tests): Add testcase.
32818         * manual/startup.texi (Environment Access): Document
32819         secure_getenv.
32820         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32821         __libc_secure_getenv.
32822         * inet/ruserpass.c (ruserpass): Likewise.
32823         * malloc/mtrace.c (mtrace): Likewise.
32824         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32825         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32826         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32827         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32828         HAVE_SECURE_GETENV.
32829         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32830         __secure_getenv to __libc_secure_getenv.
32831         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32833         Likewise.
32834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32835         Likewise.
32836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32838         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32843
32844 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32845
32846         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32847         (struct La_i86_retval): Likewise.
32848         (struct La_x86_64_regs): Likewise.
32849         (struct La_x86_64_retval): Likewise.
32850         (struct La_x32_regs): Likewise.
32851         (struct La_x32_retval): Likewise.
32852         (struct La_ppc32_regs): Likewise.
32853         (struct La_ppc32_retval): Likewise.
32854         (struct La_ppc64_regs): Likewise.
32855         (struct La_ppc64_retval): Likewise.
32856         (struct La_sh_regs): Likewise.
32857         (struct La_sh_retval): Likewise.
32858         (struct La_s390_32_regs): Likewise.
32859         (struct La_s390_32_retval): Likewise.
32860         (struct La_s390_64_regs): Likewise.
32861         (struct La_s390_64_retval): Likewise.
32862         (struct La_sparc32_regs): Likewise.
32863         (struct La_sparc32_retval): Likewise.
32864         (struct La_sparc64_regs): Likewise.
32865         (struct La_sparc64_retval): Likewise.
32866         (struct audit_ifaces): Remove architecture-specific pltenter and
32867         pltexit members.
32868         * sysdeps/i386/ldsodefs.h: New file.
32869         * sysdeps/powerpc/ldsodefs.h: Likewise.
32870         * sysdeps/s390/ldsodefs.h: Likewise.
32871         * sysdeps/sh/ldsodefs.h: Likewise.
32872         * sysdeps/sparc/ldsodefs.h: Likewise.
32873         * sysdeps/x86_64/ldsodefs.h: Likewise.
32874
32875 2012-07-25  Marek Polacek  <polacek@redhat.com>
32876
32877         [BZ #6808]
32878         * math/libm-test.inc (yn_test): Add another test.
32879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32880         to ERANGE when the result is +-Inf.
32881         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32882         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32883         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32884         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32885
32886 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32887
32888         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32889         equal to 0.
32890         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32891         clock_t.
32892         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32893
32894 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32895
32896         * configure.in <sysdeps resolving>: Correct printing
32897         Implies_before.
32898         * configure: Regenerate.
32899
32900 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32901
32902         * math/w_ilogb.c: Include <limits.h>.
32903         * math/w_ilogbl.c: Likewise.
32904
32905 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32906
32907         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32908         va_copy.  Document allowing for unavailable va_copy only as
32909         pre-C99 compatibility.
32910         * manual/string.texi (Copying and Concatenation): Use va_copy
32911         instead of __va_copy in concat example.
32912
32913 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32914
32915         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32916         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32917         it if not null.
32918
32919         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32920         with O_NOLINK passed to __file_name_lookup.
32921
32922         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32923         with O_NOLINK passed to __file_name_lookup.
32924
32925         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32926         negative N or less than NGIDS.
32927
32928         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32929         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32930         enough.  Use memcpy instead of strncpy.
32931
32932 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32933
32934         * elf/Makefile (check-data): Remove.
32935         (localplt.data): New vpath directive.
32936         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32937         instead of $(check-data).
32938         * scripts/data/localplt-generic.data: Move to ...
32939         * sysdeps/generic/localplt.data: ... here.
32940         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32941         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32942         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32944         ... here.
32945         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32947         ... here.
32948         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32950         ... here.
32951         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32953         ... here.
32954         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32956         ... here.
32957         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32959         ... here.
32960
32961 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32962
32963         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32964         PPC32 and PPC64 files.
32965         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32966         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32967
32968 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32969
32970         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32971         __makecontext_ret to ...
32972         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32973         ... here and call exit if uc_link is NULL.  New file.
32974         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32975         __makecontext_ret.S.
32976         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32977         __makecontext_ret to ...
32978         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32979         ... here and call exit if uc_link is NULL.  New file.
32980         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32981         __makecontext_ret.S.
32982
32983 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32984
32985         * elf/elf.h (R_390_IRELATIVE): New definition.
32986         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32987         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32988         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32989         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32990         (elf_machine_lazy_rel): Likewise.
32991         * sysdeps/s390/dl-irel.h: New file.
32992         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32993         * sysdeps/s390/s390-64/memset.S: New asm code.
32994         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32995         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32996         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32997         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32998         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32999         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33000         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33001         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33002         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33003         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33004         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33005         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33006         * sysdeps/s390/s390-32/memset.S: New asm code.
33007         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33008
33009 2012-07-17  Marek Polacek  <polacek@redhat.com>
33010
33011         [BZ #14349]
33012         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33013         * sysdeps/s390/s390-64/configure.in: Likewise.
33014         * sysdeps/sparc/configure.in: Likewise.
33015         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33016         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33017         * sysdeps/i386/configure.in: Likewise.
33018         * sysdeps/x86_64/configure.in: Likewise.
33019         * sysdeps/sh/configure.in: Likewise.
33020         * sysdeps/s390/s390-32/configure: Regenerated.
33021         * sysdeps/s390/s390-64/configure: Likewise.
33022         * sysdeps/x86_64/configure: Likewise.
33023         * sysdeps/sh/configure: Likewise.
33024         * sysdeps/powerpc/powerpc64/configure: Likewise.
33025         * sysdeps/powerpc/powerpc32/configure: Likewise.
33026         * sysdeps/sparc/configure: Likwise.
33027         * sysdeps/i386/configure: Likewise.
33028
33029         * elf/dl-open.c: Comment fixes.
33030
33031 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33032
33033         * Makefile [CXX] (check-data): Remove.
33034         [CXX] (c++-types.data): New vpath directive.
33035         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33036         vpath.  Do not allow for C++ type data being missing.
33037         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33038         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33039         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33040         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33041         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33042         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33043         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33045         ... here.
33046         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33048         ... here.
33049         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33051         ... here.
33052         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33054         ... here.
33055         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33057         ... here.
33058         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33060         ... here.
33061         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33063         ... here.
33064         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33066
33067         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33068         definitions to architecture-specific files.
33069         (TLS_IE): Likewise.
33070         (TLS_LD): Likewise.
33071         (TLS_GD): Likewise.
33072         * sysdeps/i386/tls-macros.h: New file.
33073         * sysdeps/powerpc/tls-macros.h: Likewise.
33074         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33075         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33076         * sysdeps/sh/tls-macros.h: Likewise.
33077         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33078         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33079         * sysdeps/x86_64/tls-macros.h: Likewise.
33080
33081 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33082
33083         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33084         zero value for regular exit case.
33085
33086         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33087         (__start_context): Preserve zero value for regular exit case.
33088
33089 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33090             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33091
33092         * manual/setjmp.texi (setcontext): Clarify normal process
33093         termination when uc_link is the null pointer.
33094         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33095         exit call.
33096
33097 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33098
33099         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33100         preprocessor.  Test for each exception mask separately.
33101
33102 2012-07-16  Andreas Jaeger  <aj@suse.de>
33103
33104         * po/ru.po: Update from translation team.
33105
33106 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33107
33108         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33109         equal to 0.
33110         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33111         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33112         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33113         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33114         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33115
33116 2012-07-13  Andreas Jaeger  <aj@suse.de>
33117
33118         * po/fr.po: Update from translation team.
33119
33120 2012-07-12  Marek Polacek  <polacek@redhat.com>
33121
33122         [BZ #14173]
33123         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33125         loop condition.
33126
33127 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33128
33129         [BZ #13717]
33130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33131         Change to 2.4.1 where previously 2.4.0.
33132         * sysdeps/unix/sysv/linux/configure: Regenerated.
33133         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33134         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33135         version.
33136         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33137         (__ASSUME_AT_CLKTCK): Remove.
33138         (__ASSUME_AT_PAGESIZE): Likewise.
33139         (__ASSUME_AT_XID): Likewise.
33140         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33141         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33142         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33143         unconditionally.
33144         (HAVE_AUX_PAGESIZE): Likewise.
33145         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33146         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33147         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33148
33149 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33150
33151         [BZ #14307]
33152         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33153         the temporary buffer used to invoke __gethostbyname2_r,
33154         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33155         host_data / struct gaih_addrtuple.
33156         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33157         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33158         header file nss/nsswitch.h.
33159         * nss/nsswitch.h (global scope): Add definition of implementation
33160         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33161         resolv/nss_dns/dns-host.c).
33162
33163 2012-07-11  Andreas Jaeger  <aj@suse.de>
33164
33165         * po/fr.po: Update from translation team.
33166
33167         * po/sv.po: Update from translation team
33168         * po/fr.po: Another update from translation team.
33169
33170 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33171
33172         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33173         for subnormals or multiply small sinh result by itself.
33174         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33176
33177 2012-07-11  David S. Miller  <davem@davemloft.net>
33178
33179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33180
33181 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33182
33183         [BZ #14347]
33184         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33185         (INTERNAL_MARK): Shift it here.
33186
33187 2012-07-10  Marek Polacek  <polacek@redhat.com>
33188
33189         [BZ #14151]
33190         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33191         libc_cv_asm_global_directive with .globl.
33192         * configure: Regenerated.
33193         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33194         with .globl.
33195         * sysdeps/i386/configure: Regenerated.
33196         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33197         with .globl.
33198         * sysdeps/x86_64/configure: Regenerated.
33199         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33200         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33201         * elf/tst-unique2mod2.c: Likewise.
33202         * elf/tst-unique2mod1.c: Likewise.
33203         * elf/tst-unique1mod2.c: Likewise.
33204         * elf/tst-unique1mod1.c: Likewise.
33205         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33206         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33207         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33208         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33209         * sysdeps/mach/sysdep.h: Likewise.
33210         * sysdeps/i386/sysdep.h: Likewise.
33211         * sysdeps/i386/i386-mcount.S: Likewise.
33212         * sysdeps/x86_64/_mcount.S: Likewise.
33213         * sysdeps/x86_64/sysdep.h: Likewise.
33214         * sysdeps/sh/_mcount.S: Likewise.
33215         * sysdeps/sh/sysdep.h: Likewise.
33216         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33217         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33218         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33219         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33220         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33221         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33222         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33223         * locale/localeinfo.h: Likewise.
33224         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33225         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33226
33227 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33228
33229         [BZ #14336]
33230         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33231         system".
33232         * manual/message.texi (The Uniforum approach): Likewise.
33233         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33234         (glibc iconv Implementation): Likewise.
33235
33236 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33237
33238         [BZ #14337]
33239         * math/s_clog.c (__clog): Avoid scaling a value down where that
33240         could result in underflow.
33241         * math/s_clog10.c (__clog10): Likewise.
33242         * math/s_clog10f.c (__clog10f): Likewise.
33243         * math/s_clog10l.c (__clog10l): Likewise.
33244         * math/s_clogf.c (__clogf): Likewise.
33245         * math/s_clogl.c (__clogl): Likewise.
33246         * math/libm-test.inc (clog_test): Add more tests.
33247         (clog10_test): Likewise.
33248         * sysdeps/i386/fpu/libm-test-ulps: Update.
33249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33250
33251 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33252
33253         [BZ #14283]
33254         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33255         by 7 not 8 to examine high bit of fractional part.
33256
33257         [BZ #14042]
33258         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33259         for call to __mcount_internal.
33260         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33261         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33262         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33263
33264 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33265
33266         [BZ #14154]
33267         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33268         approximation for values within 0x1p-13f of an odd multiple of
33269         pi/4.
33270         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33271         exception.  Add more tests.
33272         * sysdeps/i386/fpu/libm-test-ulps: Update.
33273
33274         [BZ #6778]
33275         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33276         inputs and return -1 for them.  Do not check for +Inf in case not
33277         reachable for +Inf.
33278         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33279         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33280         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33281         and return -1 for them.  Do not check for +Inf in case not
33282         reachable for +Inf.
33283         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33284         define.
33285         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33286         and return -1 for them.  Do not check for +Inf in case not
33287         reachable for +Inf.
33288         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33289         spurious underflow.
33290         * sysdeps/i386/fpu/libm-test-ulps: Update.
33291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33292
33293 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33294
33295         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33296
33297 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33298
33299         [BZ #14157]
33300         [BZ #14331]
33301         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33302         could result in spurious underflow.  Scale down values above
33303         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33304         * math/s_csqrtf.c (__csqrtf): Likewise.
33305         * math/s_csqrtl.c (__csqrtl): Likewise.
33306         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33307         spurious underflow.
33308         * sysdeps/i386/fpu/libm-test-ulps: Update.
33309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33310
33311 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33312
33313         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33314         xopen-msg.sed.
33315         * catgets/xopen-msg.awk: New file.
33316         * catgets/xopen-msg.sed: Removed.
33317
33318         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33319         po2text.sed.
33320         * intl/po2test.awk: New file.
33321         * intl/po2test.sed: Removed.
33322
33323 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33324
33325         [BZ #14328]
33326         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33327         or multiply small sinh result by itself.
33328         * math/s_ctanf.c (__ctanf): Likewise.
33329         * math/s_ctanh.c (__ctanh): Likewise.
33330         * math/s_ctanhf.c (__ctanhf): Likewise.
33331         * math/s_ctanhl.c (__ctanhl): Likewise.
33332         * math/s_ctanl.c (__ctanl): Likewise.
33333         * math/libm-test.inc (ctan_test_tonearest): New function.
33334         (ctan_test_towardzero): Likewise.
33335         (ctan_test_downward): Likewise.
33336         (ctan_test_upward): Likewise.
33337         (ctanh_test_tonearest): Likewise.
33338         (ctanh_test_towardzero): Likewise.
33339         (ctanh_test_downward): Likewise.
33340         (ctanh_test_upward): Likewise.
33341         (main): Call these new functions.
33342         * sysdeps/i386/fpu/libm-test-ulps: Update.
33343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33344
33345 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33346
33347         * .gitignore: Delete /ports entry.
33348
33349 2012-07-03  Andreas Jaeger  <aj@suse.de>
33350
33351         * po/bg.po: Update from translation team.
33352         * po/cs.po: Likewise.
33353         * po/de.po: Likewise.
33354         * po/hr.po: Likewise.
33355         * po/nl.pl: Likewise.
33356         * po/pl.po: Likewise.
33357         * po/vi.po: Likewise.
33358
33359 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33360
33361         * Makeconfig [!+link] (+link-before-libc): New variable.
33362         [!+link] (+link-after-libc): Likewise.
33363         [!+link] (+link-tests): Likewise.
33364         [!+link] (+link): Define in terms of $(+link-before-libc) and
33365         $(+link-after-libc).
33366         [!+link-static] (+link-static-before-libc): New variable.
33367         [!+link-static] (+link-static-after-libc): Likewise.
33368         [!+link-static] (+link-static-tests): Likewise.
33369         [!+link-static] (+link-static): Define in terms of
33370         $(+link-static-before-libc) and $(+link-static-after-libc).
33371         [build-shared] (link-libc-before-gnulib): New variable.
33372         [build-shared] (link-libc-tests): Likewise.
33373         [build-shared] (link-libc): Define in terms of
33374         $(link-libc-before-gnulib).
33375         [!build-shared] (link-libc-tests): New variable.
33376         (link-libc-static-tests): New variable.
33377         [!gnulib] (gnulib-arch): New variable.
33378         [!gnulib] (gnulib-tests): Likewise.
33379         [!gnulib] (static-gnulib-arch): Likewise.
33380         [!gnulib] (static-gnulib-tests): Likewise.
33381         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33382         Define with "=" instead of ":=".
33383         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33384         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33385         * Rules (binaries-all-notests): New variable.
33386         (binaries-all-tests): Likewise.
33387         (binaries-static-notests): Likewise.
33388         (binaries-static-tests): Likewise.
33389         (binaries-all): Define using $(binaries-all-notests) and
33390         $(binaries-all-tests).
33391         (binaries-static): Define using $(binaries-static-notests) and
33392         $(binaries-static-tests).
33393         (binaries-shared-tests): New variable.
33394         (binaries-shared-notests): Likewise.
33395         (binaries-shared): Remove variable.
33396         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33397         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33398         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33399         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33400         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33401         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33402         * elf/Makefile (sln-modules): New variable.
33403         (extra-objs): Add $(sln-modules:=.o).
33404         (ldconfig-modules): Add static-stubs.
33405         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33406         * elf/static-stubs.c: New file.
33407
33408         [BZ #14283]
33409         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33410         by 7 not 8 to examine high bit of fractional part.  Use volatile
33411         variables when splitting into final array of floats if
33412         __FLT_EVAL_METHOD__ != 0.
33413         * math/libm-test.inc (cos_test): Add another test.
33414         (sin_test): Likewise.
33415         * sysdeps/i386/fpu/libm-test-ulps: Update.
33416
33417         [BZ #14273]
33418         * math/libm-test.inc (cosh_test): Add more tests.
33419
33420         * version.h (RELEASE): Set to "development".
33421         (VERSION): Set to "2.16.90".
33422
33423 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33424
33425         * NEWS: Update copyright. Remove last-updated date.
33426         Mention math library bug fixes and timezone data changes.
33427         * README: Mention GNU/Hurd, x32, and HPPA support status.
33428
33429 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33430
33431         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33432
33433 2012-06-27  Andreas Jaeger  <aj@suse.de>
33434
33435         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33436
33437 2012-06-25  Andreas Jaeger  <aj@suse.de>
33438
33439         * sysdeps/s390/fpu/libm-test-ulps: Update.
33440
33441 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33442             Thomas Schwinge  <thomas@codesourcery.com>
33443
33444         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33445         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33447         fanotify_mark.
33448
33449 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33450
33451         * sysdeps/mach/start.c: Remove file.
33452         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33453         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33454         * sysdeps/sh/init-first.c: Likewise.
33455
33456         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33457         registers for frame unwinding purposes, add CFI directives.
33458         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33459         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33460         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33461         Likewise.
33462
33463         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33464         __fortify_fail returning.
33465         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33466
33467         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33468         sysdeps/sh/____longjmp_chk.S.
33469         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33470         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33471         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33472         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33473
33474         * sysdeps/sh/abort-instr.h: New file.
33475         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33476         process in case exit returns.
33477
33478         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33479         initialize the GOT register before use.
33480
33481         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33482         calculation of ARGC > 4.
33483
33484         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33485         meaningful names to some local labels.
33486
33487 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33488             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33489
33490         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33491         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33492         (__arch_compare_and_exchange_val_16_acq): Likewise.
33493         (__arch_compare_and_exchange_val_32_acq): Likewise.
33494         (atomic_exchange_and_add): Fix gUSA sequence.
33495         (atomic_add): Likewise.
33496         (atomic_add_negative): Likewise.
33497         (atomic_add_zero): Likewise.
33498         (atomic_bit_test_set): Likewise.
33499
33500 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33501
33502         [BZ #13579]
33503         * include/link.h (struct link_map): Add l_free_initfini.
33504         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33505         l_initfini.
33506         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33507         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33508         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33509         set.
33510
33511 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33512
33513         * configure.in: Use AC_LANG_SOURCE.
33514         * configure: Regenerate.
33515
33516 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33517
33518         * configure.in (libc_cv_localstatedir): New substituted variable.
33519         * configure: Regenerated.
33520         * config.make.in (localstatedir): New variable, substituted from
33521         libc_cv_localstatedir.
33522         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33523         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33524         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33525         * sysdeps/gnu/configure: Regenerated.
33526
33527 2012-06-21  Jeff Law  <law@redhat.com>
33528
33529         [BZ #14277]
33530         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33531         free.  Simplify list management for _LIBC case.
33532
33533 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33534
33535         [BZ #14273]
33536         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33537         Clear sign bit of 64-bit integer value before comparing against
33538         overflow value.
33539
33540         * sysdeps/mach/configure: Regenerated.
33541
33542 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33543
33544         [BZ #14278]
33545         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33546
33547 2012-06-21  Jeff Law  <law@redhat.com>
33548
33549         [BZ #13882]
33550         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33551         uint16_t for elements in the "seen" array to avoid char overflows.
33552         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33553         * elf/dl-open.c (dl_open_worker): Likewise.
33554
33555 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33556
33557         * scripts/list-sources.sh: Scan PORTS for translations.
33558         * po/libc.pot: Regenerated.
33559
33560 2012-06-21  Andreas Jaeger  <aj@suse.de>
33561
33562         [BZ #12194]
33563         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33564         warning.
33565         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33566         * bits/byteswap-16.h (__bswap_16): Likewise.
33567         * bits/byteswap.h (__bswap_constant_16): Likewise.
33568
33569 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33570
33571         [BZ #14117]
33572         * sysdeps/i386/fpu_control.h: Removed.
33573         * sysdeps/x86_64/fpu_control.h: Moved to ...
33574         * sysdeps/x86/fpu_control.h: Here.
33575
33576         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33577         (_FPU_SETCW): Likewise.
33578
33579 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33580
33581         [BZ #14117]
33582         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33583         * sysdeps/x86/fpu/bits/mathinline.h: This.
33584         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33585
33586         [BZ #14050]
33587         [BZ #14117]
33588         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33589         functions if __x86_64__ is defined.
33590
33591 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33592
33593         * string/endian.h: Add !__ASSEMBLER__ condition for including
33594         conversion interfaces.
33595
33596 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33597
33598         [BZ #14241]
33599         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33600         of ABS(x) in calculating zero to negative powers other than odd
33601         integers.
33602         * math/libm-test.inc (pow_test): Add more tests.
33603
33604 2012-06-15  Andreas Jaeger  <aj@suse.de>
33605
33606         * manual/contrib.texi (Contributors): Update entry of Liubov
33607         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33608         Machado Filho.
33609
33610 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33611
33612         * string/string.h: Add __wur to GNU version of strerror_r.
33613
33614 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33615
33616         [BZ #14229]
33617         * string/Makefile (tests): Add tst-strtok_r.
33618         * string/tst-strtok_r.c: New file.
33619         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33620         RAX_LP/RDX_LP on SAVE_PTR.
33621
33622 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33623
33624         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33625
33626 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33627
33628         * libm_test.inc (csqrt_test): Allow more spurious underflow
33629         exceptions.
33630         (j0_test): Likewise.
33631         (j1_test): Likewise.
33632         (y0_test): Likewise.
33633         (y1_test): Likewise.
33634
33635 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33636
33637         * po/Makefile (libc.pot): Use UTF-8 charset.
33638
33639 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33640
33641         [BZ #14210]
33642         Suppress sign-conversion warning from FD_SET.
33643         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33644         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33645         not unsigned long int.
33646         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33647
33648 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33649
33650         [BZ #14050]
33651         [BZ #14117]
33652         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33653         __extern_always_inline instead of __extern_inline.
33654         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33655         (__signbit): Likewise.
33656         (__signbitl): Support C++ namespace.
33657         (lrintf): New inline function.
33658         (lrint): Likewise.
33659         (llrintf): Likewise.
33660         (llrint): Likewise.
33661         (fmaxf): Likewise.
33662         (fmax): Likewise.
33663         (fminf): Likewise.
33664         (fmin): Likewise.
33665         (rint): Likewise.
33666         (rintf): Likewise.
33667         (ceil): Likewise.
33668         (ceilf): Likewise.
33669         (floor): Likewise.
33670         (floorf): Likewise.
33671         (nearbyint): Likewise.
33672         (nearbyintf): Likewise.
33673
33674 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33675
33676         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33677         non-default versions.
33678
33679 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33680
33681         [BZ #14218]
33682         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33683
33684 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33685
33686         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33687         (FE_UPWARD, FE_DOWNWARD): Don't define.
33688         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33689         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33690
33691         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33692         reading it.
33693         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33694         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33695
33696 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33697
33698         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33700         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33701         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33702
33703 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33704
33705         [BZ #14117]
33706         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33707         * sysdeps/i386/fpu/Implies: New file.
33708         * sysdeps/x86_64/fpu/Implies: Likewise.
33709         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33710         * sysdeps/x86/fpu/bits/fenv.h: This.
33711
33712         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33713         __SSE_MATH__.
33714
33715 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33716
33717         [BZ #14134]
33718         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33719         character 0xffff that matches the last element of the
33720         conversion table.
33721
33722 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33723
33724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33725         fmodl commit.
33726
33727 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33728
33729         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33730         values higher than 25.6283.
33731
33732 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33733
33734         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33735         subnormal exponent extraction and add some __builtin_expect.
33736         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33737         Fix for subnormal mantissa calculation.
33738
33739 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33740
33741         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33742         cpu2 is -1 and errno is not ENOSYS.
33743
33744 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33745
33746         [BZ #14117]
33747         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33748         * sysdeps/x86/bits/string.h: This.
33749         * sysdeps/x86_64/bits/string.h: Removed.
33750
33751         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33752         if not compiling for x86-64, but compiling for >= i486.
33753
33754         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33755         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33756
33757         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33758         New macro from Linux kernel 3.4.0.
33759         (FP_XSTATE_MAGIC2): Likewise.
33760         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33761         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33762         (struct _fpx_sw_bytes): New struct.
33763         (struct _xsave_hdr): Likewise.
33764         (struct _ymmh_state): Likewise.
33765         (struct _xstate): Likewise.
33766
33767         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33768         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33769         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33770         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33771         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33772         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33773
33774         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33775         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33776         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33777         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33778         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33779         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33780
33781 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33782
33783         [BZ #13743]
33784         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33785         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33786         (sysdep_headers): Include sys/platform/ppc.h.
33787         * sysdeps/powerpc/test-gettimebase.c: Test for
33788         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33789         * manual/Makefile (appendices): Include platform.texi.
33790         * manual/contrib.texi (Contributors): Update @node pointers.
33791         * manual/maint.texi (Maintenance): Likewise.
33792         (Platform): New node.
33793         * manual/platform.texi: New file.  Document the new features.
33794
33795 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33796             Jakub Jelinek  <jakub@redhat.com>
33797
33798         [BZ #14188]
33799         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33800         where __builtin_expect is unavailable.
33801
33802 2012-06-03  David S. Miller  <davem@davemloft.net>
33803
33804         * stdlib/longlong.h: Updated from GCC.
33805
33806 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33807
33808         [BZ #14042]
33809         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33810         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33811         __mcount_internal.
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33813         (GLIBC_2.16): Likewise.
33814
33815 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33816
33817         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33818
33819 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33820
33821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33822         (default-abi): New variable.
33823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33824         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33825         variable.
33826         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33827         Likewise.
33828         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33829         Likewise.
33830         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33831         Likewise.
33832
33833         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33834         definition.  Document in comment.
33835
33836 2012-06-01  David S. Miller  <davem@davemloft.net>
33837
33838         * stdlib/longlong.h: Updated from GCC.
33839
33840 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33841
33842         [BZ #14117]
33843         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33844         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33845         sys/debugreg.h sys/io.h here.
33846         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33847         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33848         sys/io.h.
33849         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33850         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33851         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33852         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33853         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33854         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33855
33856         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33857         Define only if __x86_64__ is defined.
33858
33859 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33860
33861         [BZ #14048]
33862         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33863         Use int64_t for variable i.
33864         * math/libm-test.inc (fmod_test): Add more tests.
33865
33866         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33867         z computation is not scheduled after fetestexcept.
33868         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33869         Use math_force_eval instead of asm to ensure calculation scheduled
33870         before exception test.
33871         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33872         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33873
33874 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33875
33876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33877         computation is not scheduled after fetestexcept.
33878
33879 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33880
33881         [BZ #14117]
33882         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33883         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33884
33885 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33886
33887         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33888         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33889
33890 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33891
33892         [BZ #14117]
33893         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33894         <bits/wordsize.h>.
33895         (__WCHAR_MIN): Support __WORDSIZE == 64.
33896         (__WCHAR_MAX): Likewise.
33897
33898         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33899         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33900
33901         [BZ #14183]
33902         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33903         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33904
33905         [BZ #14117]
33906         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33907         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33908
33909         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33910         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33911
33912         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33913         Defined to 1 if __x86_64__ isn't defined.
33914         (_STAT_VER_LINUX_OLD): New.
33915         (st_atime): Remove duplicate.
33916         (st_mtime): Likewise.
33917         (st_ctime): Likewise.
33918
33919 2012-05-31  David S. Miller  <davem@davemloft.net>
33920
33921         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33922         entries.
33923
33924 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33925
33926         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33927         gen-libm-test.pl.
33928
33929         [BZ #14132]
33930         * elf/dl-reloc.c: Include <_itoa.h>.
33931         (_dl_reloc_bad_type): Remove use of INTUSE.
33932         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33933         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33934         * stdio-common/psiginfo.c (psiginfo): Likewise.
33935         * stdio-common/psignal.c (psignal): Likewise.
33936         * string/strsignal.c (strsignal): Likewise.
33937         * include/signal.h (_sys_siglist): Declare hidden proto.
33938         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33939         INTVARDEF with libc_hidden_data_def.
33940         * stdio-common/itoa-udigits.c: Likewise.
33941         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33942         (_itoa_lower_digits_internal): Remove declaration.
33943         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33944         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33945         (_sys_sigabbrev_internal): Remove aliases.
33946         (_sys_siglist): Define hidden alias.
33947
33948 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33949
33950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33951         bits/sysctl.h.
33952
33953 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33954
33955         [BZ #14117]
33956         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33957         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33958
33959         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33960         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33961         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33962         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33963         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33964         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33965
33966         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33967         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33968         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33969
33970         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33971         with __addr.
33972         (insw): Likewise.
33973         (insl): Likewise.
33974         (outsb): Likewise.
33975         (outsw): Likewise.
33976         (outsl): Likewise.
33977
33978         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33979         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33980         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33981
33982         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33983         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33984         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33985         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33986         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33987         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33988
33989         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33990         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33991
33992         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33993         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33994
33995         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33996         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33997         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33998
33999         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34000         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34001         to ...
34002         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34003
34004         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34005         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34006         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34007
34008         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34009         for x86-64.
34010         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34011
34012 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34013
34014         * math/math.h (M_El): Use two more decimal places.
34015         (M_LOG2El): Likewise.
34016         (M_LOG10El): Likewise.
34017         (M_LN2l): Likewise.
34018         (M_LN10l): Likewise.
34019         (M_PIl): Likewise.
34020         (M_PI_2l): Likewise.
34021         (M_PI_4l): Likewise.
34022         (M_1_PIl): Likewise.
34023         (M_2_PIl): Likewise.
34024         (M_2_SQRTPIl): Likewise.
34025         (M_SQRT2l): Likewise.
34026         (M_SQRT1_2l): Likewise.
34027
34028 2012-05-31  David S. Miller  <davem@davemloft.net>
34029
34030         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34031         values between float registers.
34032         * sysdeps/sparc/sparc64/memset.S: Likewise.
34033         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34034
34035 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34036
34037         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34038         -D_FORTIFY_SOURCE=1.
34039         (CPPFLAGS-tst-longjmp_chk.c): Define.
34040         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34041         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34042         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34043         CFLAGS-tst-wchar-h.c.
34044
34045 2012-05-31  Marek Polacek  <polacek@redhat.com>
34046
34047         [BZ #14132]
34048         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34049         __endmntent_internal): Remove declaration.
34050         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34051         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34052         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34053
34054 2012-05-30  David S. Miller  <davem@davemloft.net>
34055
34056         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34057         (___Q_simulate_exceptions): Use real FP ops rather than writing
34058         into the %fsr.
34059         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34060         Likewise.
34061
34062 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34063
34064         [BZ #14117]
34065         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34066         * sysdeps/x86/bits/xtitypes.h: This.
34067
34068         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34069         * sysdeps/x86/bits/wordsize.h: This.
34070
34071         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34072         * sysdeps/x86/bits/huge_vall.h: This.
34073
34074         * sysdeps/i386/bits/select.h: Removed.
34075         * sysdeps/x86_64/bits/select.h: Renamed to ...
34076         * sysdeps/x86/bits/select.h: This.
34077
34078         * sysdeps/i386/bits/setjmp.h: Removed.
34079         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34080         * sysdeps/x86/bits/setjmp.h: This.
34081
34082         * sysdeps/i386/bits/mathdef.h: Removed.
34083         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34084         * sysdeps/x86/bits/mathdef.h: This.
34085
34086 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34087
34088         [BZ #14132]
34089         * include/sys/socket.h (__connect_internal)
34090         (__libc_sa_len_internal): Remove declaration.
34091         (__connect, __libc_sa_len): Declare hidden_proto.
34092         (SA_LEN): Remove use of INTUSE.
34093         * socket/connect.c: Add libc_hidden_def.
34094         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34095         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34096         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34097         alias.
34098         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34099         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34100         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34101         of adding _internal alias.
34102
34103 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34104
34105         [BZ #14117]
34106         * sysdeps/i386/bits/link.h: Removed.
34107         * sysdeps/i386/bits/linkmap.h: Likewise.
34108         * sysdeps/x86_64/bits/link.h: Renamed to ...
34109         * sysdeps/x86/bits/link.h: This.
34110         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34111         * sysdeps/x86/bits/linkmap.h: This.
34112
34113         * sysdeps/i386/bits/endian.h: Removed.
34114         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34115         * sysdeps/x86/bits/endian.h: This.
34116
34117         * sysdeps/i386/bits/byteswap.h: Removed.
34118         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34119         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34120         * sysdeps/x86/bits/byteswap.h: This.
34121         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34122         * sysdeps/x86/bits/byteswap-16.h: This.
34123         * sysdeps/i386/Implies: Add x86.
34124         * sysdeps/x86_64/Implies: Likewise.
34125
34126 2012-05-30  David S. Miller  <davem@davemloft.net>
34127
34128         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34129         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34130         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34131         (FP_TRAPPING_EXCEPTIONS): Define.
34132         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34133         (FP_TRAPPING_EXCEPTIONS): Define.
34134         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34135         subnormals only when inexact has been signalled or underflow
34136         exceptions are enabled.
34137         (_FP_PACK_CANONICAL): Likewise.
34138
34139 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34140
34141         [BZ #14183]
34142         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34143         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34144
34145 2012-05-30  Richard Henderson  <rth@twiddle.net>
34146
34147         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34148         with #ifndef NOT_IN_libc.
34149
34150         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34151         marked to avoid plt entry.
34152
34153 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34154
34155         [BZ #14112]
34156         * Makeconfig (default-abi): New macro.
34157         (abi-includes): Likewise.
34158         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34159         $(abi-$(default-abi)-lib-soname) for soname if defined.
34160         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34161         abi-variants.
34162         * Makefile (installed-stubs): Likewise.
34163         * include/stubs-biarch.h: Removed.
34164         * scripts/lib-names.awk: Only handle one library at a time.
34165         * scripts/soversions.awk: Remove WORDSIZE support.
34166         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34167         entries.
34168         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34169         Removed.
34170         (syscall-list-default-condition): Likewise.
34171         (syscall-list-default-condition): Likewise.
34172         (syscall-list-includes): Likewise.
34173         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34174         syscall-list-* with abi-*.  Handle undefined abi-variants.
34175         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34176         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34177         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34178         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34179         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34180         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34181         Removed.
34182         (syscall-list-32-options): Likewise.
34183         (syscall-list-32-condition): Likewise.
34184         (syscall-list-64-options): Likewise.
34185         (syscall-list-64-condition): Likewise.
34186         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34187         macro.
34188         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34189         Renamed to ...
34190         (abi-*): This.
34191         (abi-64-ld-soname): New macro.
34192         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34193         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34194         Renamed to ...
34195         (abi-*): This.
34196         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34197         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34198
34199 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34200
34201         * sysdeps/unix/sysv/linux/kernel-features.h
34202         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34203         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34204         include <kernel-features.h>.
34205         [!__NR_ftruncate64]: Remove conditional code.
34206         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34207         [__NR_ftruncate64]: Make code unconditional.
34208         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34209         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34210         include <kernel-features.h>.
34211         [!__NR_ftruncate64]: Remove conditional code.
34212         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34213         [__NR_ftruncate64]: Make code unconditional.
34214         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34216         include <kernel-features.h>.
34217         [!__NR_ftruncate64]: Remove conditional code.
34218         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34219         [__NR_ftruncate64]: Make code unconditional.
34220         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34222         include <kernel-features.h>.
34223         [!__NR_ftruncate64]: Remove conditional code.
34224         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34225         [__NR_ftruncate64]: Make code unconditional.
34226         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34227
34228         * configure.in (libc_cv_fpie): Weaken to a compile test using
34229         LIBC_TRY_CC_OPTION.
34230         * configure: Regenerated.
34231
34232 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34233
34234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34238         Refreshed.
34239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34245         Refreshed.
34246
34247 2012-05-27  David S. Miller  <davem@davemloft.net>
34248
34249         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34250         (___Q_zero): New.
34251         (__Q_simulate_exceptions): Return void.  Change to simulate
34252         exceptions by writing into the %fsr.
34253         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34254         (__Qp_handle_exceptions): Likewise.
34255         (numbers): Delete.
34256         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34257         __Qp_handle_exceptions.
34258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34259         __Qp_handle_exceptions.
34260         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34261         as unused and give dummy FP_RND_NEAREST initializer.
34262         (FP_INHIBIT_RESULTS): Define.
34263         (___Q_simulate_exceptions): Update declaration.
34264         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34265         formatting.
34266         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34267         as unused and give dummy FP_RND_NEAREST initializer.
34268         (__Qp_handle_exceptions): Update declaration.
34269         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34270         formatting.
34271
34272 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34273
34274         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34275         the temporary FPU control word.
34276         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34277         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34278         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34279         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34280         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34281         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34282         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34283         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34284         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34285         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34286         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34287
34288 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34289
34290         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34291         fields.
34292
34293 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34294
34295         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34296         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34297         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34298         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34299         Likewise.
34300         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34301         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34302         Likewise.
34303
34304 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34305
34306         * po/h.po: Update from translation team.
34307
34308 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34309
34310         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34311
34312         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34313         handling of denormals.
34314         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34315         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34316         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34317         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34318         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34319         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34321         Likewise.
34322
34323 2012-05-26  Marek Polacek  <polacek@redhat.com>
34324
34325         [BZ #14152]
34326         * math/libm-test.inc (fma_test): Don't always expect underflow
34327         exception.
34328
34329 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34330
34331         [BZ #12416]
34332         * elf/tst-execstack.c: Include stackinfo.h.
34333         (do_test): Adjust test case to ensure that pthread_getattr_np
34334         behaviour remains the same after marking stack executable.
34335
34336 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34337
34338         * sysdeps/unix/sysv/linux/kernel-features.h
34339         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34340         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34341         kernel-features.h.
34342         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34343         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34344         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34345         kernel-features.h.
34346         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34347         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34348
34349 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34350
34351         * configure.in: Define the default includes to being none.
34352         * configure: Regenerated.
34353
34354 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34355
34356         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34357         * sysdeps/x86_64/setjmp.S: Likewise.
34358         * sysdeps/i386/bsd-setjmp.S: Likewise.
34359         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34360         * sysdeps/i386/setjmp.S: Likewise.
34361         * sysdeps/i386/__longjmp.S: Likewise.
34362         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34363         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34364
34365         * include/stap-probe.h: New file.
34366         * configure.in: Handle --enable-systemtap.
34367         * configure: Regenerated.
34368         * config.h.in (USE_STAP_PROBE): New #undef.
34369         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34370         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34371         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34372
34373 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34374
34375         [BZ #13717]
34376         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34377         to 2.4.0 where earlier.
34378         * sysdeps/unix/sysv/linux/configure: Regenerated.
34379         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34380         <kernel-features.h>.
34381         [__ASSUME_32BITUIDS]: Make code unconditional.
34382         [!__ASSUME_32BITUIDS]: Remove conditional code.
34383         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34384         <kernel-features.h>.
34385         [__ASSUME_32BITUIDS]: Make code unconditional.
34386         [!__ASSUME_32BITUIDS]: Remove conditional code.
34387         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34388         [__ASSUME_32BITUIDS]: Make code unconditional.
34389         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34390         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34391         <kernel-features.h>.
34392         [__ASSUME_32BITUIDS]: Make code unconditional.
34393         [!__ASSUME_32BITUIDS]: Remove conditional code.
34394         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34395         <kernel-features.h>.
34396         [__ASSUME_32BITUIDS]: Make code unconditional.
34397         [!__ASSUME_32BITUIDS]: Remove conditional code.
34398         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34399         <kernel-features.h>.
34400         [__ASSUME_32BITUIDS]: Make code unconditional.
34401         [!__ASSUME_32BITUIDS]: Remove conditional code.
34402         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.c: Do not include
34411         <kernel-features.h>.
34412         [__ASSUME_32BITUIDS]: Make code unconditional.
34413         [!__ASSUME_32BITUIDS]: Remove conditional code.
34414         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34415         <kernel-features.h>.
34416         [__ASSUME_32BITUIDS]: Make code unconditional.
34417         [!__ASSUME_32BITUIDS]: Remove conditional code.
34418         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34419         <kernel-features.h>.
34420         [__ASSUME_32BITUIDS]: Make code unconditional.
34421         [!__ASSUME_32BITUIDS]: Remove conditional code.
34422         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34423         <kernel-features.h>.
34424         [__ASSUME_32BITUIDS]: Make code unconditional.
34425         [!__ASSUME_32BITUIDS]: Remove conditional code.
34426         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34427         <kernel-features.h>.
34428         [__ASSUME_32BITUIDS]: Make code unconditional.
34429         [!__ASSUME_32BITUIDS]: Remove conditional code.
34430         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34431         <kernel-features.h>.
34432         [__NR_setresgid] (__setresgid): Do not declare.
34433         [__ASSUME_32BITUIDS]: Make code unconditional.
34434         [!__ASSUME_32BITUIDS]: Remove conditional code.
34435         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34436         <kernel-features.h>.
34437         [__NR_setresuid] (__setresuid): Do not declare.
34438         [__ASSUME_32BITUIDS]: Make code unconditional.
34439         [!__ASSUME_32BITUIDS]: Remove conditional code.
34440         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34441         <kernel-features.h>.
34442         [__ASSUME_32BITUIDS]: Make code unconditional.
34443         [!__ASSUME_32BITUIDS]: Remove conditional code.
34444         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34445         <kernel-features.h>.
34446         [__ASSUME_32BITUIDS]: Make code unconditional.
34447         [!__ASSUME_32BITUIDS]: Remove conditional code.
34448         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34449         <kernel-features.h>.
34450         [__ASSUME_32BITUIDS]: Make code unconditional.
34451         [!__ASSUME_32BITUIDS]: Remove conditional code.
34452         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34453         <kernel-features.h>.
34454         [__ASSUME_32BITUIDS]: Make code unconditional.
34455         [!__ASSUME_32BITUIDS]: Remove conditional code.
34456         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34457         <kernel-features.h>.
34458         [__ASSUME_32BITUIDS]: Make code unconditional.
34459         [!__ASSUME_32BITUIDS]: Remove conditional code.
34460         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34461         <kernel-features.h>.
34462         [__ASSUME_32BITUIDS]: Make code unconditional.
34463         [!__ASSUME_32BITUIDS]: Remove conditional code.
34464         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34465         <kernel-features.h>.
34466         [__ASSUME_32BITUIDS]: Make code unconditional.
34467         [!__ASSUME_32BITUIDS]: Remove conditional code.
34468         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34469         <kernel-features.h>.
34470         [__ASSUME_32BITUIDS]: Make code unconditional.
34471         [!__ASSUME_32BITUIDS]: Remove conditional code.
34472         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34473         <kernel-features.h>.
34474         [__ASSUME_32BITUIDS]: Make code unconditional.
34475         [!__ASSUME_32BITUIDS]: Remove conditional code.
34476         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34477         <kernel-features.h>.
34478         [__ASSUME_32BITUIDS]: Make code unconditional.
34479         [!__ASSUME_32BITUIDS]: Remove conditional code.
34480         * sysdeps/unix/sysv/linux/kernel-features.h
34481         (__ASSUME_SETRESUID_SYSCALL): Remove.
34482         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34483         (__ASSUME_32BITUIDS): Likewise.
34484         (__ASSUME_LDT_WORKS): Likewise.
34485         (__ASSUME_O_DIRECTORY): Likewise.
34486         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34487         architecture but not kernel version.
34488         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34489         (__ASSUME_MMAP2_SYSCALL): Likewise.
34490         (__ASSUME_STAT64_SYSCALL): Likewise.
34491         (__ASSUME_IPC64): Likewise.
34492         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34493         <kernel-features.h>.
34494         [__ASSUME_32BITUIDS]: Make code unconditional.
34495         [!__ASSUME_32BITUIDS]: Remove conditional code.
34496         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34497         <kernel-features.h>.
34498         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34499         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34500         132096]: Remove conditional code.
34501         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34502         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34503         <kernel-features.h>.
34504         [__ASSUME_32BITUIDS]: Make code unconditional.
34505         [!__ASSUME_32BITUIDS]: Remove conditional code.
34506         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34507         <kernel-features.h>.
34508         [__ASSUME_32BITUIDS]: Make code unconditional.
34509         [!__ASSUME_32BITUIDS]: Remove conditional code.
34510         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34511         <kernel-features.h>.
34512         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34513         unconditional.
34514         (__setresgid): Do not declare.
34515         [__ASSUME_32BITUIDS]: Make code unconditional.
34516         [!__ASSUME_32BITUIDS]: Remove conditional code.
34517         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34518         <kernel-features.h>.
34519         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34520         unconditional.
34521         (__setresuid): Do not declare.
34522         [__ASSUME_32BITUIDS]: Make code unconditional.
34523         [!__ASSUME_32BITUIDS]: Remove conditional code.
34524         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34525         <kernel-features.h>.
34526         [__ASSUME_32BITUIDS]: Make code unconditional.
34527         [!__ASSUME_32BITUIDS]: Remove conditional code.
34528         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34529         <kernel-features.h>.
34530         [__ASSUME_32BITUIDS]: Make code unconditional.
34531         [!__ASSUME_32BITUIDS]: Remove conditional code.
34532
34533 2012-05-25  Richard Henderson  <rth@twiddle.net>
34534
34535         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34536         dl_hwcap to ifunc resolver.
34537         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34538         elf_ifunc_invoke.
34539         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34540         dl_hwcap to ifunc resolver.
34541         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34542
34543 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34544
34545         [BZ #14153]
34546         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34547         for |x| <= 2**-26, not 2**-57.
34548         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34549         exception.
34550
34551 2012-05-24  Jeff Law  <law@redhat.com>
34552
34553         * stdio-common/Makefile (tests): Add bug25.
34554         * stdio-common/bug25.c: New test.
34555
34556 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34557
34558         [BZ #13576]
34559         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34560         multiple of MALLOC_ALIGNMENT in size.
34561         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34562
34563 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34564
34565         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34566         Require >= 256.
34567         (FILENAME_MAX): Use macro-int-constant.
34568         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34569         (_IOFBF): Use macro-int-constant.
34570         (_IOLBF): Likewise.
34571         (_IONBF): Likewise.
34572         (SEEK_CUR): Likewise.
34573         (SEEK_END): Likewise.
34574         (SEEK_SET): Likewise.
34575         (TMP_MAX): Likewise.
34576         (EOF): Use macro-int-constant.  Require < 0.
34577         (NULL): Use macro-constant.  Require == 0.
34578         (stdin): Require type to be FILE *.
34579         (stdout): Likewise.
34580         (stderr): Likewise.
34581         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34582         macro-int-constant.
34583         (EXIT_SUCCESS): Likewise.
34584         (NULL): Use macro-constant.  Require == 0.
34585         (RAND_MAX): Use macro-int-constant.
34586         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34587         [C99-based standards] (strtof): Require function.
34588         [C99-based standards] (strtold): Likewise.
34589         [C99-based standards] (strtoll): Likewise.
34590         [C99-based standards] (strtoull): Likewise.
34591         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34592         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34593         [ISO || ISO99 || ISO11] (math.h): Likewise.
34594         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34595         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34596         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34597
34598 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34599
34600         [BZ #14132]
34601         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34602         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34603         * intl/dgettext.c (DCGETTEXT): Likewise.
34604         * intl/gettext.c (DCGETTEXT): Likewise.
34605         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34606         * posix/regex_internal.h (gettext): Likewise.
34607         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34608         Remove declaration.
34609         * include/argz.h (__argz_count_internal)
34610         (__argz_stringify_internal): Remove declaration.
34611         (__argz_count, __argz_stringify): Declare hidden proto.
34612         * intl/dcgettext.c: Remove use of INTDEF.
34613         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34614         * string/argz-stringify.c: Likewise.
34615         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34616         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34617         Declare hidden proto.
34618         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34619         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34620         Declare hidden proto.
34621         * include/stdio.h (__asprintf_internal): Don't declare.
34622         (__asprintf): Don't define as macro.  Declare hidden proto.
34623         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34624         (__fsetlocking): Declare hidden proto.
34625         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34626         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34627         hidden proto.
34628         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34629         (_IO_setlinebuf): Remove use of INTUSE.
34630         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34631         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34632         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34633         Remove declaration.
34634         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34635         (_IO_do_flush): Remove use of INTUSE.
34636         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34637         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34638         (_IO_adjust_column, _IO_least_wmarker)
34639         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34640         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34641         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34642         (_IO_default_doallocate, _IO_wdefault_doallocate)
34643         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34644         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34645         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34646         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34647         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34648         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34649         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34650         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34651         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34652         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34653         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34654         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34655         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34656         proto.
34657         (_IO_flush_all_internal, _IO_adjust_column_internal)
34658         (_IO_default_uflow_internal, _IO_default_finish_internal)
34659         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34660         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34661         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34662         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34663         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34664         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34665         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34666         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34667         (_IO_file_close_internal, _IO_file_close_it_internal)
34668         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34669         (_IO_file_init_internal, _IO_file_attach_internal)
34670         (_IO_file_fopen_internal, _IO_file_read_internal)
34671         (_IO_file_sync_internal, _IO_file_seek_internal)
34672         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34673         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34674         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34675         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34676         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34677         (_IO_list_all_internal, _IO_link_in_internal)
34678         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34679         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34680         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34681         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34682         (_IO_do_write_internal, _IO_padn_internal)
34683         (_IO_getline_info_internal, _IO_getline_internal)
34684         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34685         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34686         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34687         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34688         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34689         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34690         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34691         with libc_hidden_ver, remove use of INTUSE.
34692         * libio/genops.c: Likewise.
34693         * libio/freopen.c: Likewise.
34694         * libio/freopen64.c: Likewise.
34695         * libio/iofclose.c: Likewise.
34696         * libio/iofdopen.c: Likewise.
34697         * libio/iofflush.c: Likewise.
34698         * libio/iofflush_u.c: Likewise.
34699         * libio/iofgets.c: Likewise.
34700         * libio/iofgets_u.c: Likewise.
34701         * libio/iofopen.c: Likewise.
34702         * libio/iofopncook.c: Likewise.
34703         * libio/iofread.c: Likewise.
34704         * libio/iofread_u.c: Likewise.
34705         * libio/ioftell.c: Likewise.
34706         * libio/iofwrite.c: Likewise.
34707         * libio/iogetline.c: Likewise.
34708         * libio/iogets.c: Likewise.
34709         * libio/iogetwline.c: Likewise.
34710         * libio/iopadn.c: Likewise.
34711         * libio/iopopen.c: Likewise.
34712         * libio/ioseekoff.c: Likewise.
34713         * libio/ioseekpos.c: Likewise.
34714         * libio/iosetbuffer.c: Likewise.
34715         * libio/iosetvbuf.c: Likewise.
34716         * libio/ioungetc.c: Likewise.
34717         * libio/ioungetwc.c: Likewise.
34718         * libio/iovdprintf.c: Likewise.
34719         * libio/iovsprintf.c: Likewise.
34720         * libio/iovsscanf.c: Likewise.
34721         * libio/memstream.c: Likewise.
34722         * libio/obprintf.c: Likewise.
34723         * libio/oldfileops.c: Likewise.
34724         * libio/oldiofclose.c: Likewise.
34725         * libio/oldiofdopen.c: Likewise.
34726         * libio/oldiofopen.c: Likewise.
34727         * libio/oldiopopen.c: Likewise.
34728         * libio/oldstdfiles.c: Likewise.
34729         * libio/putc.c: Likewise.
34730         * libio/setbuf.c: Likewise.
34731         * libio/setlinebuf.c: Likewise.
34732         * libio/stdfiles.c: Likewise.
34733         * libio/strops.c: Likewise.
34734         * libio/vasprintf.c: Likewise.
34735         * libio/vscanf.c: Likewise.
34736         * libio/vsnprintf.c: Likewise.
34737         * libio/vswprintf.c: Likewise.
34738         * libio/wfiledoalloc.c: Likewise.
34739         * libio/wfileops.c: Likewise.
34740         * libio/wgenops.c: Likewise.
34741         * libio/wmemstream.c: Likewise.
34742         * libio/wstrops.c: Likewise.
34743         * libio/__fpurge.c: Likewise.
34744         * libio/__fsetlocking.c: Likewise.
34745         * assert/assert.c: Likewise.
34746         * debug/fgets_chk.c: Likewise.
34747         * debug/fgets_u_chk.c: Likewise.
34748         * debug/fread_chk.c: Likewise.
34749         * debug/fread_u_chk.c: Likewise.
34750         * debug/gets_chk.c: Likewise.
34751         * debug/obprintf_chk.c: Likewise.
34752         * debug/vasprintf_chk.c: Likewise.
34753         * debug/vdprintf_chk.c: Likewise.
34754         * debug/vsnprintf_chk.c: Likewise.
34755         * debug/vsprintf_chk.c: Likewise.
34756         * malloc/mtrace.c: Likewise.
34757         * misc/error.c: Likewise.
34758         * misc/syslog.c: Likewise.
34759         * stdio-common/asprintf.c: Likewise.
34760         * stdio-common/fxprintf.c: Likewise.
34761         * stdio-common/getw.c: Likewise.
34762         * stdio-common/isoc99_fscanf.c: Likewise.
34763         * stdio-common/isoc99_scanf.c: Likewise.
34764         * stdio-common/isoc99_vfscanf.c: Likewise.
34765         * stdio-common/isoc99_vscanf.c: Likewise.
34766         * stdio-common/isoc99_vsscanf.c: Likewise.
34767         * stdio-common/printf-prs.c: Likewise.
34768         * stdio-common/printf_fp.c: Likewise.
34769         * stdio-common/printf_fphex.c: Likewise.
34770         * stdio-common/printf_size.c: Likewise.
34771         * stdio-common/putw.c: Likewise.
34772         * stdio-common/scanf.c: Likewise.
34773         * stdio-common/sprintf.c: Likewise.
34774         * stdio-common/tmpfile.c: Likewise.
34775         * stdio-common/vfprintf.c: Likewise.
34776         * stdio-common/vfscanf.c: Likewise.
34777         * stdlib/strfmon_l.c: Likewise.
34778         * sunrpc/openchild.c: Likewise.
34779         * sunrpc/xdr_stdio.c: Likewise.
34780         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34781         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34782
34783 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34784
34785         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34786
34787         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34788         in the third column, to generate for the shared library an IFUNC
34789         that uses _dl_vdso_vsym.
34790         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34791         * Makeconfig (object-suffixes-noshared): New variable.
34792
34793         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34794         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34795         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34796         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34797
34798         [BZ #14132]
34799         * include/sys/time.h (__gettimeofday): Remove macro.
34800         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34801         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34802         Remove INTDEF.
34803         (__gettimeofday): Add libc_hidden_def.
34804         (gettimeofday): Add libc_hidden_weak.
34805         * sysdeps/mach/gettimeofday.c: Likewise.
34806         * sysdeps/posix/gettimeofday.c: Likewise.
34807         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34808         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34809         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34810         (__gettimeofday_internal): Remove strong_alias.
34811         (__gettimeofday): Add libc_hidden_def.
34812         (gettimeofday): Add libc_hidden_weak.
34813         * sysdeps/unix/syscalls.list (gettimeofday):
34814         Remove __gettimeofday_internal alias.
34815
34816 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34817             H.J. Lu  <hongjiu.lu@intel.com>
34818
34819         [BZ #12495]
34820         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34821         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34822         (largebin_index_32_big): New.
34823         (largebin_index): Use it for 16-byte alignment.
34824         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34825         correction with front_misalign.
34826
34827 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34828
34829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34831         Likewise.
34832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34833         Likewise.
34834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34835         Likewise.
34836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34837         Likewise.
34838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34839         Likewise.
34840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34841         Likewise.
34842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34843         Likewise.
34844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34845         Likewise.
34846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34847         Likewise.
34848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34849         Likewise.
34850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34851         Likewise.
34852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34853         Likewise.
34854
34855         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34856         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34857
34858 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34859
34860         [BZ #10846]
34861         [BZ #14036]
34862         * math/libm-test.inc (exp_test): Add test from bug 14036.
34863         (pow_test): Add test from bug 10846.
34864
34865         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34866         and other flags.
34867         (special_function): Do not include flags in test name.
34868         (parse_args): Likewise.
34869         * sysdeps/i386/fpu/libm-test-ulps: Update.
34870         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34871         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34872         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34874
34875         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34876         exceptions.
34877         * math/libm-test.inc ("Philosophy"): Update comment about
34878         exception testing.
34879         (UNDERFLOW_EXCEPTION): New macro.
34880         (UNDERFLOW_EXCEPTION_OK): Likewise.
34881         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34882         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34883         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34884         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34885         (INVALID_EXCEPTION_OK): Update value.
34886         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34887         (OVERFLOW_EXCEPTION_OK): Likewise.
34888         (IGNORE_ZERO_INF_SIGN): Likewise.
34889         (test_exceptions): Handle underflow exceptions.
34890         (acos_test): Update for underflow exception expectations.
34891         (cexp_test): Likewise.
34892         (clog_test): Likewise.
34893         (clog10_test): Likewise.
34894         (csqrt_test): Likewise.
34895         (ctan_test): Likewise.
34896         (ctanh_test): Likewise.
34897         (exp_test): Likewise.
34898         (exp10_test): Likewise.
34899         (exp2_test): Likewise.
34900         (expm1_test): Likewise.
34901         (fma_test): Likewise.
34902         (j0_test): Likewise.
34903         (jn_test): Likewise.
34904         (nexttoward_test): Likewise.
34905         (pow_test): Likewise.
34906         (scalbn_test): Likewise.
34907         (scalbln_test): Likewise.
34908         (tan_test): Likewise.
34909         (y1_test): Likewise.
34910         * sysdeps/i386/fpu/libm-test-ulps: Update.
34911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34912
34913 2012-05-23  David S. Miller  <davem@davemloft.net>
34914
34915         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34916         (__libc_sigaction): Remove unused local variables.
34917
34918 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34919
34920         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34921
34922 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34923
34924         mktime: avoid signed integer overflow
34925         * time/mktime.c (__mktime_internal): Do not mishandle the case
34926         where diff == INT_MIN.
34927
34928         mktime: simplify computation of average
34929         * time/mktime.c (ranged_convert): Use new time_t_avg function
34930         instead of rolling our own (probably-slower) code.
34931
34932         mktime: do not assume signed right shift propagates sign bit
34933         * time/mktime.c (isdst_differ): New static function.
34934         (__mktime_internal): No need to normalize tm_isdst now.
34935         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34936         tm_isdst values.
34937
34938         mktime: merge another wrapv change from gnulib
34939         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34940         from some compilers.
34941
34942         mktime: remove incorrect attempt at unusual arithmetics
34943         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34944         The code didn't really work on such machines anyway.
34945         (TYPE_MINIMUM): Assume two's complement.
34946         (twos_complement_arithmetic): Verify that long_int and time_t
34947         are two's complement (or unsigned, in the latter case).
34948
34949         mktime: check signed shifts on long_int and time_t, too
34950         * time/mktime.c (SHR): Check that shifts work as desired
34951         on the types long_int and time_t too, as SHR is used on
34952         such types.
34953
34954         mktime: do not assume 'long' is wide enough
34955         * time/mktime.c (verify): Move decl up.
34956         (long_int): New type.
34957         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34958         to remove assumption in the code that 'long' is wide enough to
34959         store year values.  This assumption is not true on x32 and on
34960         some non-glibc platforms.
34961
34962         mktime: merge wrapv change from gnulib
34963         * time/mktime.c (WRAPV): New macro.
34964         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34965         (guess_time_tm, __mktime_internal): Do not assume that signed
34966         integer overflow wraps around; modern compilers generate code
34967         where this assumption is no longer valid.
34968
34969 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34970
34971         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34972         Replace "jmp L(pseudo_end)" with "ret".
34973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34974         Likewise.
34975
34976 2012-05-23  Andreas Jaeger  <aj@suse.de>
34977
34978         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34979         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34980
34981 2012-05-23  Andreas Jaeger  <aj@suse.de>
34982             Maximilian Attems  <max@stro.at>
34983
34984         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34985         New macros.
34986
34987 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34988
34989         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34990         code so that pseudo_end is just ret and the stack pointer is
34991         correct also for static library in error case.
34992
34993 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34994
34995         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34996         move to syscalls.list.
34997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35001
35002         * manual/install.texi (Running make install): Do not mention Linux
35003         kernel version for which pt_chown is not needed.
35004         (Linux): Do not mention problems with nscd with 2.0 kernels.
35005         * INSTALL: Regenerated.
35006
35007 2012-05-23  Andreas Jaeger  <aj@suse.de>
35008
35009         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35010         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35011         macro.
35012         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35013         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35014         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35015         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35016         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35017         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35018         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35019         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35020         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35021         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35022         * sysdeps/unix/sysv/linux/bits/in.h
35023         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35024
35025 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35026
35027         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35028         (PREPARE_VERSION): Just use assert instead, it will be elided
35029         under [NDEBUG] anyway.
35030
35031 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35032
35033         * sysdeps/unix/sysv/linux/Makefile: Include
35034         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35035         (sysdep_routines): Remove sysctl.
35036         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35037         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35038         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35039         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35040         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35041
35042 2012-05-22  Andreas Jaeger  <aj@suse.de>
35043
35044         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35045         that pseudo_end is just ret and the stack pointer is correct also
35046         for static library in error case.
35047
35048 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35049
35050         [BZ #14122]
35051         * nss/nsswitch.c (defconfig_entries): New variable.
35052         (__nss_database_lookup): Don't leak defconfig entries.
35053         (nss_parse_service_list): Don't leak on error paths.
35054         (free_database_entries): New function.
35055         (free_defconfig): New function.
35056         (free_mem): Move common code to free_database_entries.
35057
35058 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35059
35060         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35061         Add arch_prctl.
35062         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35063
35064         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35065         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35067         New macro.
35068         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35069         (INTERNAL_SYSCALL_TYPES): Likewise.
35070         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35071         (LOAD_REGS_TYPES_[1-6]): Likewise.
35072         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35073         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35074
35075 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35076
35077         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35078         copysignl for GLIBC_2_0.
35079         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35080         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35081         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35082         logbl for GLIBC_2_0.
35083         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35084         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35085
35086 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35087
35088         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35089         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35090
35091         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35092         Use "neg %eax".
35093
35094         * time/mktime.c: Update copyright years.
35095
35096 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35097
35098         mktime: merge comment-quoting-style change from gnulib
35099         * time/mktime.c: Quote 'like this' in comments.
35100         The GNU coding standards suggest that we no longer quote `like this',
35101         as "`" and "'" are typically rendered asymmetrically nowadays.
35102         The typical gnulib style is to quote 'like this' when quoting
35103         code, and "like this" when quoting English.
35104
35105         * time/mktime.c (compile-command): Add "-I.".
35106
35107         mktime: merge mktime-internal.h change from gnulib
35108         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35109
35110         mktime: merge time_r change from gnulib
35111         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35112
35113         mktime: merge DEBUG change from gnulib
35114         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35115         case system <time.h> has a #define.
35116
35117         mktime: merge <sys/types.h> change from gnulib
35118         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35119         since <time.t> is now guaranteed to define time_t.
35120
35121         mktime: merge HAVE_CONFIG_H change from gnulib
35122         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35123
35124 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35125
35126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35127         Use "neg %eax".
35128
35129         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35130         __rlim_t cast.
35131         (struct rusage): Use anonymous union to pad each field to
35132         __syscall_slong_t.
35133
35134 2012-05-21  David S. Miller  <davem@davemloft.net>
35135
35136         * Makefules (o-iterator): Remove .s cases.
35137         (compile-command.s): Delete.
35138         (COMPILE.s): Delete.
35139         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35140
35141 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35142
35143         * configure.in (libc_cv_predef_stack_protector): Only consider
35144         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35145         * configure: Regenerated.
35146
35147 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35148
35149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35150         New macro.  Use R*LP on int and pointer.
35151         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35152         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35153         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35154         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35155
35156         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35157         [__WORDSIZE_TIME64_COMPAT32] instead of
35158         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35159         (struct utmp): Likewise.
35160         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35161         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35162         Renamed to ...
35163         (__WORDSIZE_TIME64_COMPAT32): This.
35164         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35165         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35166         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35167         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35168         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35169         (__WORDSIZE_TIME64_COMPAT32): New macro.
35170
35171 2012-05-21  Andreas Jaeger  <aj@suse.de>
35172
35173         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35174         only if [SHARED]. Add prototype for __wcschr_ia32.
35175
35176 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35177
35178         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35179         of %rbp unmolested in the jmp_buf while mangling the low bits.
35180         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35181         unmolested high bits of %rbp while demangling the low bits.
35182         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35183
35184 2012-05-21  Andreas Jaeger  <aj@suse.de>
35185
35186         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35187         * sunrpc/svc_simple.c: Use it for registerrpc.
35188         * sunrpc/xcrypt.c: Use it for passwd2des.
35189
35190         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35191
35192 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35193
35194         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35195         Don't define if [__SYSCALL_WORDSIZE != 32].
35196         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35197         New macro.
35198
35199 2012-05-21  Bruno Haible  <bruno@clisp.org>
35200             Andreas Jaeger  <aj@suse.de>
35201
35202         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35203         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35204         inptr and inend for must_buffer_ch.
35205         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35206         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35207         * stdio-common/Makefile (tests): Remove bug15.
35208         (bug15-ENV): Remove macro.
35209         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35210         anymore.
35211
35212 2012-05-19  Andreas Jaeger  <aj@suse.de>
35213             Roland McGrath  <roland@hack.frob.com>
35214
35215         * manual/contrib.texi: Completely rewritten. It contains now an
35216         alphabetical list of contributors and their contributions.
35217
35218 2012-05-21  Richard Henderson  <rth@twiddle.net>
35219
35220         * misc/getauxval.c (__getauxval): Use unsigned long int.
35221         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35222         (getauxval): Use unsigned long int.
35223
35224 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35225
35226         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35227
35228 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35229
35230         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35231         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35232         __alignof__ (long double).
35233
35234 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35235
35236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35237
35238 2012-05-20  Richard Henderson  <rth@twiddle.net>
35239
35240         * misc/getauxval.c: New file.
35241         * misc/sys/auxv.h: New file.
35242         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35243         (routines): Add getauxval.
35244         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35245         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35246         * elf/dl-sysdep.c (_dl_auxv): Remove.
35247         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35248         * elf/dl-support.c (_dl_auxv): New variable.
35249         (_dl_aux_init): Initialize it.
35250         * manual/startup.texi (Auxiliary Vector): New node.
35251         * sysdeps/generic/bits/hwcap.h: New file.
35252         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35253         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35254         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35255         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35256         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35257         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35259         Update.
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35268
35269 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35270
35271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35272
35273 2012-05-19  David S. Miller  <davem@davemloft.net>
35274
35275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35276
35277 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35278
35279         [BZ #14123]
35280         * math/s_ccosh.c: Include <float.h>
35281         (__ccosh): Avoid internal overflow calculating sinh and cosh
35282         values before multiplying by sin and cos values.
35283         * math/s_ccoshf.c: Likewise.
35284         * math/s_ccoshl.c: Likewise.
35285         * math/s_csin.c: Likewise.
35286         * math/s_csinf.c: Likewise.
35287         * math/s_csinl.c: Likewise.
35288         * math/s_csinh.c: Likewise.
35289         * math/s_csinhf.c: Likewise.
35290         * math/s_csinhl.c: Likewise.
35291         * math/libm-test.inc (ccos_test): Add more tests.
35292         (ccosh_test): Likewise.
35293         (csin_test): Likewise.
35294         (csinh_test): Likewise.
35295         * sysdeps/i386/fpu/libm-test-ulps: Update.
35296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35297
35298 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35299
35300         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35301         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35302
35303         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35304
35305 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35306
35307         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35308         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35309         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35310         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35311         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35312         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35313         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35314         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35315         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35316         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35317         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35318         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35319         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35320         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35321         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35322         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35323         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35324         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35325         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35326         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35327         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35328         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35329         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35330         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35331         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35332         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35333         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35334         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35335         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35336         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35337         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35338
35339 2012-05-18  Andreas Jaeger  <aj@suse.de>
35340
35341         * csu/.gitignore: Delete.
35342
35343 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35344
35345         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35346         (timex): Use __syscall_slong_t.
35347
35348 2012-05-18  Andreas Jaeger  <aj@suse.de>
35349             Carlos O'Donell  <carlos_odonell@mentor.com>
35350
35351         * manual/install.texi (Configuring and compiling): Update
35352         description about files modified in the source directory.
35353         * INSTALL: Regenerated.
35354
35355 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35356
35357         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35358         value.  Use "or" to set return value to -1.
35359         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35360         negate return value.
35361
35362 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35363
35364         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35365         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35366         failure if the compiler has Graphite support disabled.
35367         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35368         Likewise.
35369         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35370         (CFLAGS-memmove.c): Likewise.
35371         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35372         Likewise.
35373
35374 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35375
35376         * sysdeps/x86_64/x32/_itoa.h: New file.
35377
35378         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35379         getdents system call only if kernel and user dirents have the
35380         same d_ino and d_off.
35381
35382         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35383         LLONG_MAX != LONG_MAX.
35384         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35385         (_fitoa_word): Likewise.
35386
35387         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35388         years.
35389         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35390         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35391         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35392
35393         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35394         include <bits/wordsize.h>.  Check __x86_64__ instead of
35395         __WORDSIZE.
35396         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35397         if __x86_64__ is defined.  Use anonymous union on fpstate.
35398
35399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35400         anonymous union.
35401
35402 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35403
35404         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35405         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35406         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35407         Refer to _rtld_local_ro instead of _rtld_global_ro.
35408         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35409         Likewise.
35410         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35411         Likewise.
35412         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35413         Likewise.
35414         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35415         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35416         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35417
35418         * sysdeps/powerpc/powerpc32/dl-machine.c
35419         (__elf_machine_runtime_setup) [PROF]: Don't reference
35420         _dl_prof_resolve.
35421
35422 2012-05-18  Andreas Jaeger  <aj@suse.de>
35423
35424         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35425         function only available for GCCs before 3.4 since GCC 3.4
35426         introduced a builtin.
35427         (lrint): Likewise.
35428         (llrintf): Likewise.
35429         (llrint): Likewise.
35430         (fmaxf): Likewise.
35431         (fmax): Likewise.
35432         (fminf): Likewise.
35433         (fmin): Likewise.
35434         (rint): Likewise.
35435         (rintf): Likewise.
35436         (nearbyint): Likewise.
35437         (nearbyintf): Likewise.
35438         (ceil): Likewise.
35439         (ceilf): Likewise.
35440         (floor): Likewise.
35441         (floorf): Likewise.
35442
35443 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35444
35445         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35446         on both fields and cast pointer to __syscall_ulong_t.
35447
35448         * bits/types.h (__fsword_t): New type.
35449         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35450         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35451         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35452         (__FSWORD_T_TYPE): Likewise.
35453         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35454         (__FSWORD_T_TYPE): Likewise.
35455         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35456         (__FSWORD_T_TYPE): Likewise.
35457         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35458         (__FSWORD_T_TYPE): Likewise.
35459         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35460         __SWORD_TYPE with __fsword_t.
35461         (statfs64): Likewise.
35462
35463 2012-05-17  David S. Miller  <davem@davemloft.net>
35464
35465         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35466
35467 2012-05-17  Andreas Jaeger  <aj@suse.de>
35468
35469         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35470         warning.
35471
35472 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35473
35474         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35475
35476 2012-05-17  Andreas Jaeger  <aj@suse.de>
35477
35478         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35479         when it is used.
35480
35481 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35482
35483         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35484
35485 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35486
35487         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35488         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35489
35490 2012-05-17  Andreas Jaeger  <aj@suse.de>
35491             Carlos O'Donell  <carlos_odonell@mentor.com>
35492
35493         [BZ #14059]
35494         * sysdeps/x86_64/multiarch/init-arch.h
35495         (bit_YMM_Usable): Rename to...
35496         (bit_AVX_Usable): ... this.
35497         (bit_FMA4_Usable): New macro.
35498         (bit_XMM_state): New macro.
35499         (bit_YMM_state): New macro.
35500         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35501         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35502         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35503         (CPUID_OSXSAVE): New macro.
35504         (CPUID_AVX): New macro.
35505         (CPUID_FMA4): New macro.
35506         (index_YMM_Usable): Rename to...
35507         (index_AVX_Usable): ... this.
35508         (HAS_AVX): Use HAS_ARCH_FEATURE.
35509         (HAS_FMA4): Likewise.
35510         (HAS_YMM_USABLE): Remove.
35511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35512         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35513         are present.
35514         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35515         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35516         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35517         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35518         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35519
35520 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35521
35522         * math/libm-test.c: Support platforms without multiple rounding modes.
35523         * math/bug-nextafter.c: Support platforms without FP exceptions.
35524         * math/bug-nexttoward.c: Likewise.
35525         * math/test-fenv.c: Likewise.
35526         * math/test-misc.c: Likewise.
35527         * stdlib/bug-getcontext.c: Likewise.
35528
35529 2012-05-17  Andreas Jaeger  <aj@suse.de>
35530
35531         * manual/examples/search.c (critter_cmp): Change signature to
35532         avoid warnings.
35533         * manual/string.texi (Collation Functions): Likewise.
35534
35535 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35536
35537         * bits/types.h: Fold copyright years.
35538         * bits/typesizes.h: Likewise.
35539         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35540         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35541         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35542         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35543         * time/time.h: Likewise.
35544
35545 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35546
35547         [BZ #208]
35548         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35549         in instead of returning them.  Return void.
35550         (__libc_mallinfo): Accumulate over all arenas.
35551         (__malloc_stats): Adjust for change in int_mallinfo interface.
35552
35553 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35554
35555         [BZ #10375]
35556         * configure.in (NM): Add AC_CHECK_TOOL for it.
35557         (libc_extra_cflags): New substituted variable.
35558         Check for -fstack-protector being used implicitly.
35559         * configure: Regenerated.
35560         * config.make.in (config-extra-cflags): New variable,
35561         gets @libc_extra_cflags@.
35562         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35563
35564         [BZ #10375]
35565         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35566         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35567         * configure: Regenerated.
35568         * config.make.in (CPPUNDEFS): New substituted variable.
35569         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35570         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35571         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35572
35573 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35574
35575         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35576         (mq_attr): Use __syscall_slong_t.
35577
35578 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35579
35580         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35581         Check __x86_64__ instead of __WORDSIZE.
35582         (_STAT_VER_LINUX): Likewise.
35583         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35584         __syscall_ulong_t and __syscall_slong_t.
35585         (stat64): Likewise.
35586
35587 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35588
35589         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35590
35591 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35592
35593         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35594
35595 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35596
35597         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35598         __syscall_ulong_t.
35599
35600         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35601         include <bits/wordsize.h>.  Check __x86_64__ instead of
35602         __WORDSIZE.
35603         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35604         defined.
35605         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35606
35607         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35608         include <bits/wordsize.h>.  Check __x86_64__ instead of
35609         __WORDSIZE.
35610         (user_regs_struct): Use "__extension__ unsigned long long"
35611         instead of "unsigned long" if __x86_64__ is defined.
35612         (user): Likewise.  Pad after pointer field if __ILP32__ is
35613         defined.
35614
35615 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35616
35617         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35618         versions 5 to 9.
35619         * configure: Regenerated.
35620         * manual/install.texi (texinfo): Increase version requirement to
35621         4.5 or later.
35622         * INSTALL: Regenerated.
35623
35624         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35625
35626 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35627
35628         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35629
35630         * sysdeps/x86_64/x32/ffs.c: New file.
35631
35632         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35633         __syscall_ulong_t.
35634         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35635         defined.  Use __syscall_ulong_t.
35636         (shminfo): Use __syscall_ulong_t.
35637         (shm_info): Likewise.
35638
35639         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35640         __syscall_ulong_t.
35641
35642         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35643         <bits/wordsize.h>.
35644         (msgqnum_t): Use __syscall_ulong_t.
35645         (msglen_t): Likewise.
35646         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35647         __syscall_ulong_t.
35648
35649         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35650         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35651
35652         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35653
35654         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35655         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35656
35657         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35658         __syscall_slong_t.
35659
35660         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35661         include <bits/wordsize.h>.  Check __x86_64__ instead of
35662         __WORDSIZE.
35663
35664         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35665         "unsigned long long int" if __x86_64__ is defined.
35666         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35667
35668         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35669         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35670         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35671
35672         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35673         <stdint.h>.
35674         (GET_PC): Cast to uintptr_t first.
35675         (GET_FRAME): Likewise.
35676         (GET_STACK): Likewise.
35677
35678         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35679         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35680         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35681         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35682         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35683         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35684         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35685         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35686         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35687         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35688         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35689         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35690         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35691         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35692         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35693         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35694         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35695         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35696         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35697         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35699         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35700         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35701         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35702         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35703         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35704         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35705         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35706         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35707
35708 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35709
35710         * Makerules (+depfiles): Also collect depfiles from .oS in
35711         $(extra-objs).
35712         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35713         .oS, $(libnldbl-routines)).
35714
35715         * Makerules (native-compile-mkdep-flags): Define.
35716         * sunrpc/Makefile (extra-objs): Add $(addprefix
35717         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35718         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35719         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35720         calling $(make-target-directory).
35721
35722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35723
35724         * bits/types.h (__snseconds_t): Removed.
35725         * time/time.h (struct timespec): Replace __snseconds_t with
35726         __syscall_slong_t.
35727         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35728         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35729         Likewise.
35730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35731         (__SNSECONDS_T_TYPE): Likewise.
35732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35733         (__SNSECONDS_T_TYPE): Likewise.
35734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35735         (__SNSECONDS_T_TYPE): Likewise.
35736
35737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35738
35739         * sysdeps/mach/hurd/bits/typesizes.h
35740         (__SYSCALL_SLONG_TYPE): New macro.
35741         (__SYSCALL_ULONG_TYPE): Likewise.
35742
35743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35744
35745         * bits/types.h (__syscall_slong_t): New type.
35746         (__syscall_ulong_t): Likewise.
35747
35748         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35749         (__SYSCALL_ULONG_TYPE): Likewise.
35750         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35751         (__SYSCALL_SLONG_TYPE): Likewise.
35752         (__SYSCALL_ULONG_TYPE): Likewise.
35753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35754         (__SYSCALL_SLONG_TYPE): Likewise.
35755         (__SYSCALL_ULONG_TYPE): Likewise.
35756         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35757         (__SYSCALL_SLONG_TYPE): Likewise.
35758         (__SYSCALL_ULONG_TYPE): Likewise.
35759
35760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35761
35762         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35763         Add sigaltstack-offsets.sym.
35764         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35765         <sigaltstack-offsets.h>.
35766         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35767         longjmp_msg pointer.
35768         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35769         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35770         signal stack.
35771         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35772
35773 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35774
35775         * elf/stackguard-macros.h: Remove file.
35776         * sysdeps/generic/stackguard-macros.h: New file.
35777         * sysdeps/i386/stackguard-macros.h: Likewise.
35778         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35779         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35780         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35781         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35782         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35783         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35784         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35785         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35786         <elf/stackguard-macros.h>.
35787
35788         [BZ #14109]
35789         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35790         __aligned__ in attribute.
35791         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35792         (gregset_t): Likewise.
35793
35794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35795
35796         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35797         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35798         * sysdeps/x86_64/x32/Implies-after: New file.
35799
35800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35801
35802         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35803         and access return value for _dl_profile_fixup.  Use R10_LP to
35804         load frame size.
35805
35806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35807
35808         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35809
35810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35811
35812         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35813         * sysdeps/x86_64/x32/sysdep.h: New file.
35814
35815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35816
35817         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35818         * sysdeps/x86_64/setjmp.S: Likewise.
35819
35820 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35821
35822         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35823         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35824         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35825         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35826         remove unused global constant.
35827
35828 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35829
35830         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35831         include of <not-cancel.h>.
35832
35833 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35834
35835         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35836
35837 2012-05-15  Jeff Law  <law@redhat.com>
35838             Andreas Jaeger  <aj@suse.de>
35839
35840         [BZ #13594]
35841         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35842         out from...
35843         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35844         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35845         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35846         code changing __hst_map_handle.map.
35847
35848 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35849
35850         * configure.in (sysnames): Look for Implies-before and Implies-after
35851         files.
35852         * configure: Regenerated.
35853
35854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35855
35856         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35857         8-byte data alignment with LP_SIZE alignment.
35858
35859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35860
35861         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35862         into R10_LP.
35863
35864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35865
35866         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35867
35868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35869
35870         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35871         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35872         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35873         Likewise.
35874         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35875
35876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35877
35878         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35879         (stackinfo_sub_sp): Likewise.
35880
35881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35882
35883         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35884         RAX_LP.
35885
35886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35887
35888         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35889         into R*_LP.
35890
35891 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35892
35893         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35894         sizes into R*_LP.
35895
35896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35897
35898         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35899
35900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35901
35902         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35903         into R11_LP and load __x86_64_shared_cache_size_half into
35904         R8_LP.
35905
35906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35907
35908         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35909         R8_LP.
35910
35911 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35912
35913         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35914         logb for POWER7.
35915         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35916         logbf for POWER7.
35917         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35918         logbl for POWER7.
35919         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35920         powerpc32/power7/fpu/s_logb.c via #include.
35921         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35922         powerpc32/power7/fpu/s_logbf.c via #include.
35923         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35924         powerpc32/power7/fpu/s_logbl.c via #include.
35925
35926 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35927
35928         * README.libm: Remove file.
35929
35930 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35931
35932         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35933         count for x32.  Use R*_LP and omit operand-size suffix.
35934
35935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35936
35937         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35938         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35939         * sysdeps/x86_64/x32/shlib-versions: New file.
35940
35941 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35942
35943         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35944         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35945         Use _dl_fatal_printf instead.
35946
35947 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35948
35949         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35950         set if not set by the user.  Do not allow for being unset.
35951         * sysdeps/unix/sysv/linux/configure: Regenerated.
35952
35953 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35954
35955         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35956         the `q' suffix from lea and replace .quad with ASM_ADDR.
35957
35958 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35959
35960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35961         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35962         instead of $17.
35963         (PTR_DEMANGLE): Likewise.
35964
35965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35966
35967         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35968         (LP_OP): Likewise.
35969         (ASM_ADDR): Likewise.
35970         (RAX_LP): Likewise.
35971         (RBP_LP): Likewise.
35972         (RBX_LP): Likewise.
35973         (RCX_LP): Likewise.
35974         (RDI_LP): Likewise.
35975         (RSI_LP): Likewise.
35976         (RSP_LP): Likewise.
35977         (R8_LP): Likewise.
35978         (R9_LP): Likewise.
35979         (R10_LP): Likewise.
35980         (R10_LP): Likewise.
35981         (R11_LP): Likewise.
35982         (R12_LP): Likewise.
35983         (R13_LP): Likewise.
35984         (R14_LP): Likewise.
35985         (R15_LP): Likewise.
35986
35987 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35988
35989         * sysdeps/x86_64/x32/dl-machine.h: New file.
35990
35991 2012-05-14  Andreas Jaeger  <aj@suse.de>
35992
35993         * manual/Makefile (subdir): Remove export of subdir.
35994         (all): Remove target.
35995         (.PHONY): Remove all from list.
35996         (mkinstalldirs): Remove.
35997         (.PHONY): Remove installdirs from list.
35998         ($(inst_infodir)/libc.info): Use make-target-directory.
35999         (installdirs): Remove.
36000         (subdir_%): Remove.
36001         (glibc-targets): Remove.
36002         (lib): Remove.
36003         (stubs): Remove.
36004         ($(objpfx)stubs ../po/manual.pot): Remove.
36005         ($(objpfx)stamp%): Remove.
36006         (make-target-directory): Remove.
36007         (subdir_install): Remove.
36008         (routines): Remove.
36009         (aux): Remove.
36010         (sources): Remove.
36011         (objects): Remove.
36012         (headers): Remove.
36013
36014         [BZ #13750]
36015         * manual/.gitignore: Remove, it's not needed anymore.
36016         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36017         all files in it.
36018         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36019         directory.
36020         (texis): Renamed to $(objpfx)texis.
36021         (texis-path): New, contains path to generated files.
36022         (chapters.%): Use texis-path for complete path, add extra argument
36023         libc-texinfo.sh.
36024         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36025         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36026         (summary,texi, stamp-summary): Use complete path of
36027         files. Generate files in build dir.
36028         (dir-add.texi): Build in build dir.
36029         (libm-err.texi,stamp-libm-err): Likewise.
36030         (version.texi, stamp-version): Likewise.
36031         (.%c.texi): Likewise.
36032         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36033         (mostlyclean): Remove target.
36034         (realclean): Remove target.
36035         (generated): Add new variable with contents from mostlyclean and
36036         realclean, remove entries duplicated in common-mostlyclean, add
36037         stamp-libm-err and stamp-version.
36038         (generated-dirs): Add libc directory.
36039         ($(inst_infodir)/libc.info): Install files from build dir.
36040
36041         * manual/install.texi (Configuring and compiling): Adjust since
36042         the info files are not part of the tar ball anymore.
36043
36044 2012-05-14  Andreas Jaeger  <aj@suse.de>
36045
36046         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36047         variable.
36048
36049 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36050
36051         [BZ #13717]
36052         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36053         to 2.2.0 where earlier.
36054         * sysdeps/unix/sysv/linux/configure: Regenerated.
36055         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36056         Remove conditional code.
36057         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36058         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36059         Remove conditional code.
36060         [!__NR_lchown]: Likewise.
36061         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36062         [__NR_lchown]: Likewise.
36063         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36064         comment referencing __ASSUME_LCHOWN_SYSCALL.
36065         * sysdeps/unix/sysv/linux/i386/sigaction.c
36066         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36067         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36068         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36069         Remove conditional code.
36070         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36071         (__protocol_available): Remove #if 0 code.
36072         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36073         conditional code.
36074         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36075         * sysdeps/unix/sysv/linux/kernel-features.h
36076         (__ASSUME_GETCWD_SYSCALL): Don't define.
36077         (__ASSUME_REALTIME_SIGNALS): Likewise.
36078         (__ASSUME_PREAD_SYSCALL): Likewise.
36079         (__ASSUME_PWRITE_SYSCALL): Likewise.
36080         (__ASSUME_POLL_SYSCALL): Likewise.
36081         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36082         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36083         non-SPARC.
36084         (__ASSUME_SIOCGIFNAME): Don't define.
36085         (__ASSUME_MSG_NOSIGNAL): Likewise.
36086         (__ASSUME_SENDFILE): Define unconditionally.
36087         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36088         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36089         conditional code.
36090         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36091         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36092         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36093         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36094         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36095         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36096         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36098         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36099         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36101         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36102         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36104         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36105         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36107         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36108         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36110         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36111         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36113         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36116         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36117         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36119         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36121         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36122         Remove conditional code.
36123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36124         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36125         Remove conditional code.
36126         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36127         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36128         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36129         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36130         Remove conditional code.
36131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36132         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36133         Remove conditional code.
36134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36135         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36136         Remove conditional code.
36137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36138         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36139         Remove conditional code.
36140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36141         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36142         Remove conditional code.
36143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36144         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36145         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36147         * sysdeps/unix/sysv/linux/sigaction.c
36148         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36149         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36150         * sysdeps/unix/sysv/linux/sigpending.c
36151         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36152         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36153         * sysdeps/unix/sysv/linux/sigprocmask.c
36154         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36155         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36156         * sysdeps/unix/sysv/linux/sigsuspend.c
36157         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36158         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36159         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36160         (__libc_missing_rt_sigs): Remove.
36161         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36162         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36163         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36164         Remove conditional code.
36165         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36166         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36167         return 1.
36168         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36169         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36170         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36171         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36172
36173 2012-05-14  Andreas Jaeger  <aj@suse.de>
36174
36175         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36176         it's not used in glibc.
36177         (__coshm1): Likewise.
36178         (__acosh1p): Likewise.
36179         (__sgn): Likewise.
36180
36181         * manual/string.texi (Copying and Concatenation): Add missing
36182         variable in concat example.
36183         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36184
36185 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36186
36187         [BZ #14103]
36188         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36189         __builtin_clzl with __builtin_clzll.
36190
36191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36192
36193         [BZ #14104]
36194         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36195         libc_freeres_ptr.
36196
36197 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36198
36199         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36200         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36201         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36202         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36203
36204 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36205
36206         * NEWS: Update ia64 info.
36207
36208 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36209
36210         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36211         used as bcopy.
36212
36213 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36214
36215         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36216         * sysdeps/unix/syscalls.list (dup3): Likewise.
36217         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36218         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36219
36220 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36221
36222         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36223         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36224
36225 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36226
36227         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36228         thread pointer.
36229         (TLS_IE): Use mov/add instead of movq/addq to load thread
36230         pointer.
36231         (TLS_GD_PREFIX): New.
36232         (TLS_GD): Use it.
36233
36234 2012-05-11  David S. Miller  <davem@davemloft.net>
36235
36236         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36237         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36238         (_FPU_SETCW): Likewise.
36239
36240 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36241
36242         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36243         is 32-byte aligned.
36244
36245 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36246
36247         [BZ #11837]
36248         * iconvdata/gb18030.c: Update tables.
36249         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36250         characters specially.
36251         (BODY for TO_LOOP): Add encoding of missing ranges.
36252
36253 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36254
36255         [BZ #13673]
36256         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36257         * sysdeps/mach/hurd/dup3.c: Likewise.
36258         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36259         * sysdeps/powerpc/memmove.c:: Likewise.
36260
36261 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36262
36263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36264         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36265
36266 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36267
36268         * elf/elf.h (R_X86_64_RELATIVE64): New.
36269         (R_X86_64_NUM): Updated.
36270         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36271         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36272         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36273         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36274         tst-quad1pie tst-quad2pie
36275         (modules-names): Add tst-quadmod1 tst-quadmod2.
36276         ($(objpfx)tst-quad1): New dependency.
36277         ($(objpfx)tst-quad2): Likewise.
36278         ($(objpfx)tst-quad1pie): Likewise.
36279         ($(objpfx)tst-quad2pie): Likewise.
36280         * sysdeps/x86_64/tst-quad1.c: New file.
36281         * sysdeps/x86_64/tst-quad1pie.c: New file.
36282         * sysdeps/x86_64/tst-quad2.c: Likewise.
36283         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36284         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36285         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36286         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36287         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36288
36289 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36290
36291         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36292         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36293         * streams/stropts.h (t_scalar_t): Define type.
36294
36295         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36296         (_PATH_PRESERVE): Set to "/var/lib".
36297         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36298
36299         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36300         instead of int.
36301
36302         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36303         if __dir_mkfile succeeded.
36304
36305         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36306         checking for _hurd_dtablesize.  Unlock it right after having
36307         finished _hurd_dtable allocation.
36308
36309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36310
36311         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36312         * sysdeps/mach/hurd/configure: Regenerated.
36313         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36314         special-casing to...
36315         * sysdeps/gnu/configure.in: ... this new file.
36316         * sysdeps/unix/sysv/linux/configure: Regenerated.
36317         * sysdeps/gnu/configure: New generated file.
36318
36319         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36320         for Linux: use nsec instead of usec, as well as:
36321         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36322         members of type struct timespec.
36323         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36324         New macros.
36325         (struct stat64): Likewise.
36326         (_STATBUF_ST_NSEC): New macro.
36327         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36328
36329         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36330         __strtoul_internal rather than strtoul.
36331
36332 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36333
36334         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36335         and reject them.
36336
36337 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36338
36339         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36340         which preserves existing values.
36341         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36342
36343 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36344
36345         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36346         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36347         greater than FD_SETSIZE.
36348
36349 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36350
36351         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36352         allocated, call __vm_protect to finish enabling the existing space, and
36353         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36354         allocate the remainder.
36355
36356 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36357
36358         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36359         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36360
36361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36362
36363         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36364         sysdeps/mach/hurd/readlink.c.
36365
36366         * posix/tst-sysconf.c (posix_options): Only use
36367         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36368         _POSIX_SYNCHRONIZED_IO when they are defined
36369         * sysdeps/mach/hurd/bits/posix_opt.h:
36370         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36371         (_XOPEN_REALTIME): Undefine macro.
36372         (_XOPEN_REALTIME_THREADS): Undefine macro.
36373         (_XOPEN_SHM): Undefine macro.
36374         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36375         macro to -1.
36376         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36377         macro to -1.
36378         (_POSIX_ASYNC_IO): Undefine macro.
36379         (_POSIX_PRIORITIZED_IO): Undefine macro.
36380         (_POSIX_SPIN_LOCKS): Define macro to -1.
36381
36382         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36383         SA_NODEFER, SA_RESETHAND.
36384         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36385         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36386         F_DUPFD_CLOEXEC.
36387
36388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36389
36390         * elf/Makefile (pldd-modules): Define unconditionally.
36391
36392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36393
36394         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36395
36396 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36397
36398         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36399         Return ENOENT when name is empty.
36400         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36401
36402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36403
36404         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36405
36406         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36407
36408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36409
36410         Fix mlock in all cases except non-readable pages.
36411         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36412         instead of VM_PROT_ALL as parameter to __vm_wire function.
36413
36414         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36415         (__mkdir): When path is `/', just fail with EEXIST.
36416         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36417
36418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36419
36420         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36421         <sys/uio.h> (for writev).
36422         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36423         and <sys/param.h> (for MIN).
36424
36425 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36426
36427         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36428         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36429         if interrupted.
36430
36431 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36432
36433         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36434         Depend on against $(link-rpcuserlibs).
36435
36436 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36437
36438         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36439         (__libc_stack_end): Do not use attribute_relro.
36440         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36441         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36442         to libthread-provided value.
36443         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36444         attribute_relro.
36445
36446 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36447
36448         [BZ #3748]
36449         * bits/libc-lock.h (__libc_once_get): New macro.
36450         * sysdeps/mach/bits/libc-lock.h: Likewise.
36451         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36452         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36453         instead of using implementation details.
36454
36455         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36456         * libio/freopen.c: Likewise.
36457         * libio/freopen64.c: Likewise.
36458         * misc/syslog.c: Likewise.
36459         * nscd/connections.c: Likewise.
36460         * nscd/netgroupcache.c: Likewise.
36461         * sysdeps/posix/getcwd.c: Likewise.
36462
36463 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36464
36465         * math/w_ilogbf.c: Add #include <limits.h>.
36466
36467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36468
36469         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36470         path instead of returning without unlocking.
36471
36472         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36473         immediate-write ioctls.
36474         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36475
36476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36477
36478         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36479         __builtin_frame_address instead of making assumptions about the
36480         location of the return address relative to DATA.  Force early load of
36481         the return address.
36482         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36483         __builtin_frame_address.
36484
36485         dup3 for GNU Hurd.
36486         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36487         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36488         implement dup3 and do some further code clean-ups.
36489         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36490         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36491
36492 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36493
36494         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36495
36496         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36497         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36498         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36499         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36500         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36501         d->port.lock.
36502
36503         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36504         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36505         when handler == SIG_ERR, not when handler != SIG_ERR.
36506
36507 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36508
36509         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36510         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36511         definitions.
36512
36513         accept4 for GNU Hurd.
36514         * include/sys/socket.h (__libc_accept4): New prototype.
36515         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36516         to implement __libc_accept4.
36517         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36518         __libc_accept4.
36519         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36520
36521         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36522         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36523         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36524         signal-defines.sym.
36525
36526 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36527
36528         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36529
36530 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36531
36532         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36533         assertion on O_CLOEXEC flag.
36534         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36535         * hurd/intern-fd.c: Likewise.
36536         * hurd/port2fd.c: Likewise.
36537
36538 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36539
36540         [BZ #3906]
36541         * bits/in.h (IPV6_PKTINFO): Define new macro.
36542         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36543
36544 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36545
36546         [BZ #13954]
36547         [BZ #13955]
36548         [BZ #13956]
36549         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36550         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36551         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36552         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36553         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36554         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36555         * math/libm-test.inc (logb_test) : Additional logb tests.
36556
36557 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36558             Andreas Jaeger  <aj@suse.de>
36559
36560         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36561         * configure: Regenerated.
36562         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36563         * config.make.in (link-obsolete-rpc): New substituted variable.
36564         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36565         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36566         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36567         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36568         so that libc.a contains the symbols.
36569         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36570         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36571         * sunrpc/auth_none.c: Likewise.
36572         * sunrpc/auth_unix.c: Likewise.
36573         * sunrpc/authdes_prot.c: Likewise.
36574         * sunrpc/authuxprot.c: Likewise.
36575         * sunrpc/clnt_gen.c: Likewise.
36576         * sunrpc/clnt_perr.c: Likewise.
36577         * sunrpc/clnt_raw.c: Likewise.
36578         * sunrpc/clnt_simp.c: Likewise.
36579         * sunrpc/clnt_tcp.c: Likewise.
36580         * sunrpc/clnt_udp.c: Likewise.
36581         * sunrpc/clnt_unix.c: Likewise.
36582         * sunrpc/des_crypt.c: Likewise.
36583         * sunrpc/des_soft.c: Likewise.
36584         * sunrpc/get_myaddr.c: Likewise.
36585         * sunrpc/key_call.c: Likewise.
36586         * sunrpc/key_prot.c: Likewise.
36587         * sunrpc/netname.c: Likewise.
36588         * sunrpc/pm_getmaps.c: Likewise.
36589         * sunrpc/pm_getport.c: Likewise.
36590         * sunrpc/pmap_clnt.c: Likewise.
36591         * sunrpc/pmap_prot.c: Likewise.
36592         * sunrpc/pmap_prot2.c: Likewise.
36593         * sunrpc/pmap_rmt.c: Likewise.
36594         * sunrpc/publickey.c: Likewise.
36595         * sunrpc/rpc_cmsg.c: Likewise.
36596         * sunrpc/rpc_common.c: Likewise.
36597         * sunrpc/rpc_dtable.c: Likewise.
36598         * sunrpc/rpc_prot.c: Likewise.
36599         * sunrpc/rpc_thread.c: Likewise.
36600         * sunrpc/rtime.c: Likewise.
36601         * sunrpc/svc.c: Likewise.
36602         * sunrpc/svc_auth.c: Likewise.
36603         * sunrpc/svc_raw.c: Likewise.
36604         * sunrpc/svc_run.c: Likewise.
36605         * sunrpc/svc_tcp.c: Likewise.
36606         * sunrpc/svc_udp.c: Likewise.
36607         * sunrpc/svc_unix.c: Likewise.
36608         * sunrpc/svcauth_des.c: Likewise.
36609         * sunrpc/xcrypt.c: Likewise.
36610         * sunrpc/xdr.c: Likewise.
36611         * sunrpc/xdr_array.c: Likewise.
36612         * sunrpc/xdr_float.c: Likewise.
36613         * sunrpc/xdr_intXX_t.c: Likewise.
36614         * sunrpc/xdr_mem.c: Likewise.
36615         * sunrpc/xdr_rec.c: Likewise.
36616         * sunrpc/xdr_ref.c: Likewise.
36617         * sunrpc/xdr_sizeof.c: Likewise.
36618         * sunrpc/xdr_stdio.c: Likewise.
36619
36620 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36621
36622         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36623         change.  Update copyright years.
36624
36625 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36626
36627         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36628
36629 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36630             Joseph Myers  <joseph@codesourcery.com>
36631             Paul Pluzhnikov  <ppluzhnikov@google.com>
36632
36633         [BZ #14012]
36634         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36635         requiring rpcgen.
36636         [cross-compiling] (extra-libs): Likewise.
36637         [cross-compiling] (extra-libs-others): Likewise.
36638         [cross-compiling] (librpcsvc-routines): Likewise.
36639         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36640         [cross-compiling] (omit-deps): Likewise.
36641         (sunrpc-CPPFLAGS): New variable.
36642         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36643         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36644         (cross-rpcgen-objs): New variable.
36645         (extra-objs): Append $(cross-rpcgen-objs).
36646         ($(cross-rpcgen-objs)): New rule.
36647         ($(objpfx)cross-rpcgen): Likewise.
36648         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36649         comment.
36650         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36651         ($(objpfx)x%.stmp): Likewise.
36652         * sunrpc/proto.h [IS_IN_build] (_): Define.
36653         [IS_IN_build] (_libc_intl_domainname): Likewise.
36654
36655 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36656
36657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36658         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36659         and R_X86_64_TPOFF64.
36660
36661 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36662
36663         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36664         sysdeps/unix/sysv/syscalls.list.
36665         (stime): Likewise.
36666         (utime): Likewise.
36667         * sysdeps/unix/sysv/syscalls.list: Remove file.
36668
36669 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36670
36671         [BZ #3440]
36672         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36673         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36674         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36675         (__LC_IDENTIFICATION): Make these macros useful in #if
36676         expressions, as required by C99.
36677
36678 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36679
36680         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36681         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36682         after this.
36683
36684 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36685
36686         * stdlib/longlong.h: Updated from GCC.
36687
36688 2012-05-09  Andreas Jaeger  <aj@suse.de>
36689
36690         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36691         default is first entry.
36692         (run_mode): Set type.
36693         (main): Remove informal message about syslog.
36694         (options): Fix typo.
36695
36696         [BZ #14053]
36697         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36698         to asm.
36699         (lrint): Likewise.
36700         (llrintf): Likewise.
36701         (llrint): Likewise.
36702         (rint): Likewise.
36703         (rintf): Likewise.
36704         (nearbyint): Likewise.
36705         (nearbyintf): Likewise.
36706
36707 2012-05-09  Andreas Jaeger  <aj@suse.de>
36708             Pedro Alves  <palves@redhat.com>
36709
36710         * nscd/nscd.c (run_mode): Use enum.
36711         (main): Cleanup coding style issue.
36712
36713 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36714             Andreas Jaeger  <aj@suse.de>
36715
36716         * nscd/nscd.c (go_background): Replaced with...
36717         (run_mode): ... this.
36718         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36719         (options): Add -F --foreground.
36720         (main): Implement it.
36721         (parse_opt): Parse it.
36722
36723 2012-05-09  Andreas Jaeger  <aj@suse.de>
36724
36725         [BZ #14083]
36726         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36727         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36728         -Wconversion warning.
36729         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36730         Likewise.
36731
36732 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36733
36734         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36735         == 0.
36736         (LC_ALL): Use macro-int-constant.
36737         (LC_COLLATE): Likewise.
36738         (LC_CTYPE): Likewise.
36739         (LC_MESSAGES): Likewise.
36740         (LC_MONETARY): Likewise.
36741         (LC_NUMERIC): Likewise.
36742         (LC_TIME): Likewise.
36743         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36744         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36746         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36747         Specify type.
36748         [C99-based standards] (float_t): Expect type.
36749         [C99-based standards] (double_t): Expect type.
36750         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36751         type.
36752         [C99-based standards] (HUGE_VALL): Likewise.
36753         [C99-based standards] (INFINITY): Likewise.
36754         [C99-based standards] (NAN): Likewise.
36755         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36756         [C99-based standards] (FP_NAN): Likewise.
36757         [C99-based standards] (FP_NORMAL): Likewise.
36758         [C99-based standards] (FP_SUBNORMAL): Likewise.
36759         [C99-based standards] (FP_ZERO): Likewise.
36760         [C99-based standards] (FP_FAST_FMA): Use
36761         optional-macro-int-constant.  Specify type.  Require == 1.
36762         [C99-based standards] (FP_FAST_FMAF): Likewise.
36763         [C99-based standards] (FP_FAST_FMAL): Likewise.
36764         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36765         [C99-based standards] (FP_ILOGBNAN): Likewise.
36766         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36767         Specify type.
36768         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36769         [C99-based standards] (math_errhandling): Specify type.
36770         [ISO99 || ISO11] (signgam): Do not allow.
36771         [non-C99-based standards] (copysignf): Do not allow.
36772         [non-C99-based standards] (exp2f): Likewise.
36773         [non-C99-based standards] (log2f): Likewise.
36774         [non-C99-based standards] (modff): Allow.
36775         [non-C99-based standards] (erff): Do not allow.
36776         [non-C99-based standards] (erfcf): Likewise.
36777         [non-C99-based standards] (gammaf): Likewise.
36778         [non-C99-based standards] (hypotf): Likewise.
36779         [non-C99-based standards] (j0f): Likewise.
36780         [non-C99-based standards] (j1f): Likewise.
36781         [non-C99-based standards] (jnf): Likewise.
36782         [non-C99-based standards] (lgammaf): Likewise.
36783         [non-C99-based standards] (tgammaf): Likewise.
36784         [non-C99-based standards] (y0f): Likewise.
36785         [non-C99-based standards] (y1f): Likewise.
36786         [non-C99-based standards] (ynf): Likewise.
36787         [non-C99-based standards] (isnanf): Likewise.
36788         [non-C99-based standards] (acoshf): Likewise.
36789         [non-C99-based standards] (asinhf): Likewise.
36790         [non-C99-based standards] (atanhf): Likewise.
36791         [non-C99-based standards] (cbrtf): Likewise.
36792         [non-C99-based standards] (expm1f): Likewise.
36793         [non-C99-based standards] (ilogbf): Likewise.
36794         [non-C99-based standards] (log1pf): Likewise.
36795         [non-C99-based standards] (logbf): Likewise.
36796         [non-C99-based standards] (nextafterf): Likewise.
36797         [non-C99-based standards] (remainderf): Likewise.
36798         [non-C99-based standards] (rintf): Likewise.
36799         [non-C99-based standards] (scalbf): Likewise.
36800         [non-C99-based standards] (copysignl): Likewise.
36801         [non-C99-based standards] (exp2l): Likewise.
36802         [non-C99-based standards] (log2l): Likewise.
36803         [non-C99-based standards] (modfl): Allow.
36804         [non-C99-based standards] (erfl): Do not allow.
36805         [non-C99-based standards] (erfcl): Likewise.
36806         [non-C99-based standards] (gammal): Likewise.
36807         [non-C99-based standards] (hypotl): Likewise.
36808         [non-C99-based standards] (j0l): Likewise.
36809         [non-C99-based standards] (j1l): Likewise.
36810         [non-C99-based standards] (jnl): Likewise.
36811         [non-C99-based standards] (lgammal): Likewise.
36812         [non-C99-based standards] (tgammal): Likewise.
36813         [non-C99-based standards] (y0l): Likewise.
36814         [non-C99-based standards] (y1l): Likewise.
36815         [non-C99-based standards] (ynl): Likewise.
36816         [non-C99-based standards] (isnanl): Likewise.
36817         [non-C99-based standards] (acoshl): Likewise.
36818         [non-C99-based standards] (asinhl): Likewise.
36819         [non-C99-based standards] (atanhl): Likewise.
36820         [non-C99-based standards] (cbrtl): Likewise.
36821         [non-C99-based standards] (expm1l): Likewise.
36822         [non-C99-based standards] (ilogbl): Likewise.
36823         [non-C99-based standards] (log1pl): Likewise.
36824         [non-C99-based standards] (logbl): Likewise.
36825         [non-C99-based standards] (nextafterl): Likewise.
36826         [non-C99-based standards] (remainderl): Likewise.
36827         [non-C99-based standards] (rintl): Likewise.
36828         [non-C99-based standards] (scalbl): Likewise.
36829         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36830         [non-C99-based standards] (FP_*): Do not allow.
36831         [C99-based standards] (FP_*): Change to
36832         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36833         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36834         allow.
36835         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36836         (SIG_ERR): Likewise.
36837         [X/Open-based standards] (SIG_HOLD): Likewise.
36838         (SIG_IGN): Likewise.
36839         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36840         positive value.
36841         (SIGFPE): Likewise.
36842         (SIGILL): Likewise.
36843         (SIGINT): Likewise.
36844         (SIGSEGV): Likewise.
36845         (SIGTER): Likewise.
36846         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36847         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36848         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36849         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36850         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36851         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36852         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36853         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36854         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36855         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36856         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36857         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36858         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36859         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36860         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36861         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36862         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36863         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36864         [X/Open-based standards] (SIGTRAP): Likewise.
36865         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36866         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36867         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36868         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36869         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36870         allow.
36871
36872 2012-05-08  Ian Wienand  <ianw@vmware.com>
36873
36874         [BZ #14080]
36875         * time/tzset.c (__tzset_parse_tz): Update default rules for
36876         daylight time changes in the Energy Policy Act of 2005.
36877
36878 2012-05-09  Andreas Jaeger  <aj@suse.de>
36879
36880         [BZ #13983]
36881         * elf/ldconfig.c (parse_conf): Change string to make clear that
36882         ldconfig only issued a warning if ld.so.conf does not exist.
36883
36884 2012-05-08  David S. Miller  <davem@davemloft.net>
36885
36886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36887         movxtod instead of popping the value on the stack.
36888
36889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36890
36891 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36892
36893         * config.h.in: Add HAVE_ARM_PCS_VFP.
36894
36895 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36896
36897         [BZ #13979]
36898         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36899         checking but the checks are disabled for any reason.
36900
36901 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36902
36903         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36904         and ELF64_R_TYPE with ELFW(R_TYPE).
36905
36906 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36907
36908         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36909         (ulimit): Likewise.
36910
36911         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36912         (settimeofday): Likewise.
36913
36914 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36915
36916         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36917         a struct th_u2 inside the union, and move tu_block/tu_code into
36918         a new th_u3 union of tu_block/tu_code inside of that.  Move
36919         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36920         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36921         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36922         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36923         (th_stuff): Change to th_u1.tu_stuff.
36924         (th_data): Define.
36925         (th_msg): Change to th_u1.th_u2.tu_data.
36926
36927 2012-05-07  David S. Miller  <davem@davemloft.net>
36928
36929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36930
36931         [BZ #14074]
36932         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36933         (SETUP_PIC_REG): Use it.
36934         (SETUP_PIC_REG_LEAF): Use it.
36935
36936 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36937
36938         [BZ #13885]
36939         [BZ #13923]
36940         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36941         USE_AS_EXPM1L.
36942         (EXPL_FINITE): Likewise.
36943         (FLDLOG): Likewise.
36944         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36945         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36946         e_expl.S.
36947         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36948         USE_AS_EXPM1L.
36949         (EXPL_FINITE): Likewise.
36950         (FLDLOG): Likewise.
36951         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36952         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36953         e_expl.S.
36954         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36955         test of -max_value argument for long double.
36956         * sysdeps/i386/fpu/libm-test-ulps: Update.
36957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36958
36959 2012-05-06  David S. Miller  <davem@davemloft.net>
36960
36961         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36962         quad soft-float symbols whose references which are compiler
36963         generated.
36964         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36965
36966 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36967
36968         [BZ #13884]
36969         [BZ #13914]
36970         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36971         USE_AS_EXP10L.
36972         (EXPL_FINITE): Likewise.
36973         (FLDLOG): Likewise.
36974         (c0): Likewise.
36975         (c1): Likewise.
36976         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36977         Adjust comments for base varying.
36978         (__expl_finite): Change alias to EXPL_FINITE.
36979         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36980         e_expl.S.
36981         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36982         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36983         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36984         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36985         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36986         USE_AS_EXP10L.
36987         (EXPL_FINITE): Likewise.
36988         (FLDLOG): Likewise.
36989         (c0): Likewise.
36990         (c1): Likewise.
36991         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36992         Adjust comments for base varying.
36993         (__expl_finite): Change alias to EXPL_FINITE.
36994         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36995         tests for bugs.
36996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36997
36998         [BZ #14064]
36999         * math/libm-test.inc (check_float_internal): Correct ulp
37000         calculation for subnormal expected results.
37001
37002 2012-05-06  Andreas Jaeger  <aj@suse.de>
37003
37004         * Makeconfig (+math-flags): New, set to -frounding-math.
37005         (+cflags): Add +math-flags so that all of glibc gets compiled with
37006         it.
37007
37008         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37009
37010 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37011
37012         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37013         Disable one test.
37014
37015         [BZ #13787]
37016         [BZ #13922]
37017         [BZ #14036]
37018         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37019         (__ieee754_expl): Allow for and saturate large arguments.
37020         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37021         (u_threshold): Likewise.
37022         (__exp): Call __ieee754_exp before checking for overflow and
37023         underflow.
37024         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37025         (u_threshold): Likewise.
37026         (__expf): Call __ieee754_expf before checking for overflow and
37027         underflow.
37028         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37029         (u_threshold): Likewise.
37030         (__expl): Call __ieee754_expl before checking for overflow and
37031         underflow.
37032         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37033         (__ieee754_expl): Allow for and saturate large arguments.
37034         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37035         missing overflow exception on overflow.
37036         (expm1_test): Do not allow missing overflow exception on overflow.
37037
37038         * sysdeps/i386/fpu/e_expl.c: Move to ...
37039         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37040         rather than using inline asm.
37041         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37042         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37043         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37044
37045         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37046         (nice): Likewise.
37047         (poll): Likewise.
37048         (signal): Likewise.
37049         (time): Likewise.
37050         (times): Likewise.
37051
37052 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37053
37054         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37055         sysdeps/unix/common/syscalls.list.
37056         (fchmod): Likewise.
37057         (fchown): Likewise.
37058         (ftruncate): Likewise.
37059         (getrusage): Likewise.
37060         (gettimeofday): Likewise.
37061         (setpgid): Likewise.
37062         (setregid): Likewise.
37063         (setreuid): Likewise.
37064         (sigaction): Likewise.
37065         (truncate): Likewise.
37066         (vhangup): Likewise.
37067         * sysdeps/unix/common/syscalls.list: Remove file.
37068         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37069         * sysdeps/unix/sysv/linux/Implies: Likewise.
37070
37071 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37072
37073         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37075         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37076         Moved to ...
37077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37078         Here.
37079         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37080         to ...
37081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37082         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37083         to ...
37084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37085         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37086         to ...
37087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37088         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37089         to ...
37090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37091         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37092         to ...
37093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37094         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37095         to ...
37096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37097         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37098         to ...
37099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37100         Here.
37101         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37102         to ...
37103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37104         Here.
37105         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37106         to ...
37107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37108         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37109         Moved to ...
37110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37111         Here.
37112         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37113         to ...
37114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37115
37116 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37117
37118         * sysdeps/unix/common/bits/dirent.h: Remove file.
37119         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37120
37121         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37122         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37123         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37124         * sysdeps/unix/bsd/isatty.c: Likewise.
37125         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37126         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37127         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37128
37129 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37130
37131         [BZ #13563]
37132         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37133         long double comparison inaccuracies.
37134         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37136
37137 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37138
37139         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37140         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37141
37142 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37143
37144         [BZ #14049]
37145         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37146         nonzero digits before rounding a hex value.
37147         * stdlib/tst-strtod.c (tests): Add another test.
37148
37149 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37150
37151         * sysdeps/s390/fpu/libm-test-ulps: Update.
37152
37153 2012-05-03  Andreas Jaeger  <aj@suse.de>
37154
37155         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37156         does not get optimized out.
37157         (malloc_opt_barrier): New.
37158
37159 2012-05-03  Andreas Jaeger  <aj@suse.de>
37160             Roland McGrath  <roland@hack.frob.com>
37161
37162         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37163         intermediate file deletion.
37164         (generated): Add .symlist files.
37165
37166 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37167
37168         [BZ #13775]
37169         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37170         Redirect under this condition.
37171         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37172         [__USE_GNU] (__dprintf_chk): Not under this condition.
37173         [__USE_GNU] (__vdprintf_chk): Likewise.
37174         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37175         under this condition.
37176         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37177         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37178         [__USE_XOPEN2K8] (vdprintf): Likewise.
37179         [__USE_GNU] (__dprintf_chk): Not under this condition.
37180         [__USE_GNU] (__vdprintf_chk): Likewise.
37181         [__USE_GNU] (dprintf): Likewise.
37182         [__USE_GNU] (vdprintf): Likewise.
37183
37184 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37185
37186         * elf/Makefile (common-generated): Set this instead of generated for
37187         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37188         $(all-built-dso)-derived lists.
37189
37190 2012-05-03  Andreas Jaeger  <aj@suse.de>
37191
37192         * sysdeps/i386/fpu/libm-test-ulps: Update.
37193
37194         * FAQ: Removed.
37195         * FAQ.in: Likewise.
37196         * scripts/gen-FAQ.pl: Likewise.
37197         * manual/install.texi (Installation): Point to online location of
37198         FAQ.
37199         * Makefile (files-for-dist): Remove FAQ.
37200         (FAQ): Remove.
37201
37202 2012-05-02  Allan McRae  <allan@archlinux.org>
37203
37204         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37205         (LDFLAGS-reldepmod5.so): Likewise.
37206         (LDFLAGS-reldep6mod1.so): Likewise.
37207         (LDFLAGS-reldep6mod4.so): Likewise.
37208         (LDFLAGS-reldep8mod3.so): Likewise.
37209         (LDFLAGS-unload4mod1.so): Likewise.
37210         (LDFLAGS-unload4mod2.so): Likewise.
37211         (LDFLAGS-tst-initorder): Likewise.
37212         (LDFLAGS-tst-initordera2.so): Likewise.
37213         (LDFLAGS-tst-initordera3.so): Likewise.
37214         (LDFLAGS-tst-initordera4.so): Likewise.
37215         (LDFLAGS-tst-initorderb2.so): Likewise.
37216         (LDFLAGS-noload): Likewise.
37217         (LDFLAGS-next): Likewise.
37218         (LDFLAGS-order2mod1.so): Likewise.
37219         (LDFLAGS-order2mod2.so): Likewise.
37220         (LDFLAGS-tst-initorder2): Likewise.
37221         (LDFLAGS-tst-initorder2a.so): Likewise.
37222         (LDFLAGS-tst-initorder2b.so): Likewise.
37223         (LDFLAGS-tst-initorder2c.so): Likewise.
37224         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37225
37226 2012-05-02  David S. Miller  <davem@davemloft.net>
37227
37228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37229
37230 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37231
37232         [BZ #14055]
37233         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37234
37235 2012-05-02  Andreas Jaeger  <aj@suse.de>
37236
37237         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37238         since we manipulate rounding mode.
37239         (CPPFLAGS-test-idouble.c): Likewise.
37240         (CPPFLAGS-test-ifloat.c): Likewise.
37241         (CFLAGS-test-ldouble.c): Likewise.
37242         (CFLAGS-test-double.c): Likewise.
37243         (CFLAGS-test-float.c): Likewise.
37244         (CFLAGS-test-misc.c): Likewise.
37245         (CFLAGS-test-test-fenv.c): Likewise.
37246
37247 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37248
37249         [BZ #2550]
37250         [BZ #2570]
37251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37252         comparisons to determine direction to adjust input.
37253
37254 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37255
37256         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37257         output to the target.
37258
37259         * scripts/localplt.awk: New file.
37260         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37261         (check-localplt-CFLAGS): Variable removed.
37262         ($(all-built-dso:=.jmprel)): New static pattern rule.
37263         (generated): Add those targets.
37264         (localplt-built-dso): New variable.
37265         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37266
37267         * elf/check-localplt.c: File removed.
37268
37269         * scripts/check-execstack.awk: New file.
37270         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37271         (check-execstack-CFLAGS): Variable removed.
37272         ($(objpfx)check-execstack.h): Target removed.
37273         ($(objpfx)execstack-default): New target.
37274         (generated): Add that instead of check-execstack.h.
37275         ($(all-built-dso:=.phdr)): New static pattern rule.
37276         (generated): Add those targets.
37277         * elf/check-execstack.c: File removed.
37278
37279         * scripts/check-textrel.awk: New file.
37280         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37281         (check-textrel-CFLAGS): Variable removed.
37282         (all-built-dso): Use := to define.o
37283         ($(all-built-dso:=.dyn)): New static pattern rule.
37284         (generated): Add those targets.
37285         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37286         * config.make.in (READELF): New substituted variable.
37287         * elf/check-textrel.c: File removed.
37288
37289 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37290
37291         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37292         allow.
37293         * conform/data/ctype.h-data [C99-based standards] (isblank):
37294         Expect function.
37295         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37296         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37297         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37298         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37299         Specify type.  Require positive value.
37300         (EILSEQ): Likewise.
37301         (ERANGE): Likewise.
37302         [ISO || POSIX] (EILSEQ): Do not expect.
37303         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37304         Specify type.  Require positive value.
37305         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37306         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37307         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37308         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37309         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37310         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37311         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37312         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37313         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37314         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37315         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37316         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37317         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37318         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37319         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37320         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37321         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37322         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37323         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37324         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37325         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37326         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37327         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37328         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37329         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37330         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37331         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37332         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37333         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37334         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37335         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37336         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37337         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37338         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37339         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37340         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37341         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37342         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37343         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37344         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37345         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37346         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37347         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37348         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37349         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37350         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37351         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37352         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37353         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37354         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37355         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37356         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37357         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37358         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37359         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37360         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37361         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37362         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37363         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37364         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37365         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37366         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37367         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37368         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37369         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37370         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37371         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37372         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37373         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37374         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37375         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37376         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37377         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37378         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37379         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37380         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37381         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37382         Require >= 2.
37383         (FLT_ROUNDS): Expect as macro, not constant.
37384         (FLT_MANT_DIG): Use macro-int-constant.
37385         (DBL_MANT_DIG): Likewise.
37386         (LDBL_MANT_DIG): Likewise.
37387         (FLT_DIG): Likewise.
37388         (DBL_DIG): Likewise.
37389         (LDBL_DIG): Likewise.
37390         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37391         (DBL_MIN_EXP): Likewise.
37392         (LDBL_MIN_EXP): Likewise.
37393         (FLT_MAX_EXP): Use macro-int-constant.
37394         (DBL_MAX_EXP): Likewise.
37395         (LDBL_MAX_EXP): Likewise.
37396         (FLT_MAX_10_EXP): Likewise.
37397         (DBL_MAX_10_EXP): Likewise.
37398         (LDBL_MAX_10_EXP): Likewise.
37399         (FLT_MAX): Use macro-constant.
37400         (DBL_MAX): Likewise.
37401         (LDBL_MAX): Likewise.
37402         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37403         (DBL_EPSILON): Likewise.
37404         (LDBL_EPSILON): Likewise.
37405         (FLT_MIN): Likewise.
37406         (DBL_MIN): Likewise.
37407         (LDBL_MIN): Likewise.
37408         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37409         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37410         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37411         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37412         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37413         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37414         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37415         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37416         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37417         [ISO11] (FLT_TRUE_MIN): Likewise.
37418         [ISO11] (LDBL_TRUE_MIN): Likewise.
37419         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37420         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37421         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37422         (SCHAR_MAX): Likewise.
37423         (UCHAR_MAX): Likewise.
37424         (CHAR_MIN): Likewise.
37425         (CHAR_MAX): Likewise.
37426         (MB_LEN_MAX): Use macro-int-constant.
37427         (SHRT_MIN): Use macro-int-constant.  Specify type.
37428         (SHRT_MAX): Likewise.
37429         (USHRT_MAX): Likewise.
37430         (INT_MAX): Likewise.
37431         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37432         bound negative.
37433         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37434         bound with "U".
37435         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37436         bound with "L".
37437         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37438         bound negative.  Suffix upper bound with "L".
37439         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37440         bound with "UL".
37441         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37442         Specify type.
37443         [C99-based standards] (LLONG_MAX): Likewise.
37444         [C99-based standards] (ULLONG_MAX): Likewise.
37445         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37446         == 0.
37447         [ISO11] (max_align_t): Require type.
37448         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37449
37450         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37451         from $CFLAGS, without defining away __attribute__ calls.
37452         (checknamespace): Use $CFLAGS_namespace.
37453
37454         * conform/conformtest.pl (@keywords): Only include C99 keywords
37455         for standards based on C99 or C11.
37456
37457         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37458         Disable tests.
37459         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37460         UNIX98]: Likewise.
37461
37462         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37463         usability of symbols in #if.
37464
37465         * conform/conformtest.pl: If macro or constant types start
37466         "promoted:", expect the symbol to be of the following type
37467         promoted by the integer promotions.
37468
37469         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37470         in one place.  Also handle "macro-constant".
37471
37472         * conform/conformtest.pl: Only accept expected macro values with
37473         "==".  Parse all "macro" lines in one place.
37474         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37475
37476         * conform/conformtest.pl: Handle braced types on "constant" lines
37477         instead of handling "typed-constant".
37478         * conform/data/signal.h-data: Use "constant" instead of
37479         "typed-constant".
37480
37481         * conform/conformtest.pl: Handle "optional-" at start of lines in
37482         one place rather than duplicating several cases.  Handle each
37483         format of "macro" line with initial "optional-".
37484
37485         * conform/conformtest.pl: Only accept expected constant or
37486         optional-constant values with "==".  Parse all "constant" lines in
37487         one place.  Parse all "optional-constant" lines in one place.
37488         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37489         * conform/data/fmtmsg.h-data: Likewise.
37490         * conform/data/netinet/in.h-data: Likewise.
37491         * conform/data/tar.h-data: Likewise.
37492         * conform/data/limits.h-data: Use "==" form on "constant" and
37493         "optional-constant" lines.
37494
37495         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37496         Use -std=c99 for XOPEN2K.
37497         (@knownproblems): Remove.
37498         (newtoken): Don't check %isknown.
37499
37500         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37501         Do not expect macro.
37502         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37503         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37504         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37505         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37506         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37507         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37508         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37509         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37510         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37511         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37512         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37513         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37514         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37515         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37516         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37517         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37518         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37519         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37520         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37521         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37522         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37523         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37524         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37525         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37526         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37527         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37528         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37529         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37530         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37531         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37532         [XPG3] (acosh): Likewise.
37533         [XPG3] (asinh): Likewise.
37534         [XPG3] (atanh): Likewise.
37535         [XPG3] (cbrt): Likewise.
37536         [XPG3] (expm1): Likewise.
37537         [XPG3] (ilogb): Likewise.
37538         [XPG3] (log1p): Likewise.
37539         [XPG3] (logb): Likewise.
37540         [XPG3] (nextafter): Likewise.
37541         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37542         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37543         [XPG3] (remainder): Likewise.
37544         [XPG3] (rint): Likewise.
37545         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37546         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37547         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37548         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37549         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37550         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37551         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37552         [UNIX98 || XOPEN2K] (scalb): Expect.
37553         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37554         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37555         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37556         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37557         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37558         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37559         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37560         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37561         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37562         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37563         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37564         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37565         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37566         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37567         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37568         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37569         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37570         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37571         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37572         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37573         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37575         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37576         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37577         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37584         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37585         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37596         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37597         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37602         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37603         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37604         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37605         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37606         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37607         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37608         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37609         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37610         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37613         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37614         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37648         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37649         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37650         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37651         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37652         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37653         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37654         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37655         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37668         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37685         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37686         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37687         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37688         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37689         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37690
37691         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37692         _XOPEN_SOURCE_EXTENDED for XPG4.
37693
37694         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37695
37696         * Makeconfig (localtime): Remove variable.
37697         (inst_localtime-file): Likewise.
37698
37699 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37700
37701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37702         Update.
37703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37704         Update.
37705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37706         Update.
37707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37708         Update.
37709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37710         Update.
37711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37712         Update.
37713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37714         Update.
37715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37716         Update.
37717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37718         Update.
37719
37720 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37721
37722         [BZ #2550]
37723         [BZ #2570]
37724         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37725         comparisons to determine direction to adjust input.
37726         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37727         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37728         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37729         Likewise.
37730         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37731         Likewise.
37732         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37733         Likewise.
37734         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37735         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37736         Likewise.
37737         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37738         Likewise.
37739         * math/libm-test.inc (nexttoward_test): Add more tests.
37740
37741 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37742
37743         [BZ #14040]
37744         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37745         in version GLIBC_2.1, not GLIBC_2.0.
37746         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37747         Likewise.
37748
37749 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37750
37751         [BZ #13942]
37752         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37753         (1 - x) * (1 + x).
37754         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37755         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37756         * math/libm-test.inc (acos_test): Add more tests.
37757         (asin_test): Likewise.
37758         * sysdeps/i386/fpu/libm-test-ulps: Update.
37759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37760
37761         [BZ #14034]
37762         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37763         of square root.
37764         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37765         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37766         * math/libm-test.inc (acos_test_tonearest): New function.
37767         (acos_test_towardzero): Likewise.
37768         (acos_test_downward): Likewise.
37769         (acos_test_upward): Likewise.
37770         (asin_test_tonearest): Likewise.
37771         (asin_test_towardzero): Likewise.
37772         (asin_test_downward): Likewise.
37773         (asin_test_upward): Likewise.
37774         (main): Call the new functions.
37775         * sysdeps/i386/fpu/libm-test-ulps: Update.
37776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37777
37778         [BZ #13884]
37779         [BZ #13924]
37780         * math/e_exp10.c: Include <float.h>.
37781         (__ieee754_exp10): Handle underflow here rather than multiplying
37782         large negative argument by M_LN10.
37783         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37784         of __ieee754_expf.
37785         * math/e_exp10l.c: Include <float.h>.
37786         (__ieee754_exp10l): Handle underflow here rather than multiplying
37787         large negative argument by M_LN10l.
37788         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37789         spurious overflow exception on underflow.
37790
37791 2012-04-29  Marek Polacek  <polacek@redhat.com>
37792
37793         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37794         (__fortify_function): New macro.
37795         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37796         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37797         __extern_always_inline.
37798         * libio/bits/stdio2.h: Likewise.
37799         * libio/bits/stdio.h: Likewise.
37800         * string/string.h: Likewise.
37801         * string/bits/string3.h: Likewise.
37802         * include/stdio.h: Likewise.
37803         * stdlib/bits/stdlib.h: Likewise.
37804         * stdlib/stdlib.h: Likewise.
37805         * rt/bits/mqueue2.h: Likewise.
37806         * rt/mqueue.h: Likewise.
37807         * posix/bits/unistd.h: Likewise.
37808         * posix/unistd.h: Likewise.
37809         * io/bits/poll2.h: Likewise.
37810         * io/bits/fcntl2.h: Likewise.
37811         * io/fcntl.h: Likewise.
37812         * io/sys/poll.h: Likewise.
37813         * misc/bits/syslog.h: Likewise.
37814         * misc/bits/syslog-ldbl.h: Likewise.
37815         * misc/sys/syslog.h: Likewise.
37816         * socket/bits/socket2.h: Likewise.
37817         * socket/sys/socket.h: Likewise.
37818         * debug/tst-chk1.c: Likewise.
37819         * wcsmbs/bits/wchar2.h: Likewise.
37820         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37821         * wcsmbs/wchar.h: Likewise.
37822
37823 2012-04-29  Andreas Jaeger  <aj@suse.de>
37824
37825         * Makerules (tests): Remove enable-check-abi protection.
37826         (check-abi-warn): Remove.
37827         (check-abi-%): Remove check-abi-warn usage.
37828
37829         * configure.in: Remove check-abi configure option.
37830         * configure: Regenerated.
37831         * config.make.in (enable-check-abi): Remove.
37832
37833 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37834
37835         [BZ #14033]
37836         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37837         double functions to double *_finite functions.
37838
37839         [BZ #13941]
37840         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37841         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37842         LDBL_MIN_EXP.
37843         * stdio-common/Makefile (tests): Add tst-sprintf3.
37844         * stdio-common/tst-sprintf3.c: New file.
37845
37846         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37847         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37848
37849 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37850
37851         * conform/conformtest.pl: Remove duplicate typed-constant
37852         handling.
37853
37854 2012-04-28  David S. Miller  <davem@davemloft.net>
37855
37856         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37857         (check-abi-%): Remove AWK script prerequisite and explicit
37858         abilist directory.
37859         (check-abi): Rewrite to just diff the symlist with the abilist.
37860         (config-tls, config-abi-config): Delete, no longer used.
37861         (update-abi-%): Remove AWK script and explicit abilist directory.
37862         (update-abi): Rewrite to simply compare and conditionally copy the
37863         symlist and the sysdep abilist file.  Remove update-abi-config
37864         checks.
37865         * abilist/ld.abilist: Remove.
37866         * abilist/libBrokenLocale.abilist: Remove.
37867         * abilist/libanl.abilist: Remove.
37868         * abilist/libcrypt.abilist: Remove.
37869         * abilist/libdl.abilist: Remove.
37870         * abilist/librt.abilist: Remove.
37871         * abilist/libthread_db.abilist: Remove.
37872         * abilist/libutil.abilist: Remove.
37873         * scripts/extract-abilist.awk: Remove.
37874         * scripts/merge-abilist.awk: Remove.
37875         * sysdeps/generic/libcidn.abilist: New file.
37876         * sysdeps/generic/libnss_compat.abilist: New file.
37877         * sysdeps/generic/libnss_db.abilist: New file.
37878         * sysdeps/generic/libnss_dns.abilist: New file.
37879         * sysdeps/generic/libnss_files.abilist: New file.
37880         * sysdeps/generic/libnss_hesiod.abilist: New file.
37881         * sysdeps/generic/libnss_nis.abilist: New file.
37882         * sysdeps/generic/libnss_nisplus.abilist: New file.
37883         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37884         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37885         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37886         file.
37887         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37888         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37889         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37890         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37891         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37892         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37893         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37894         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37895         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37896         file.
37897         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37898         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37899         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37900         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37901         file.
37902         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37903         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37904         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37905         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37906         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37907         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37908         file.
37909         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37910         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37911         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37912         file.
37913         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37915         New file.
37916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37917         New file.
37918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37919         New file.
37920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37921         New file.
37922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37923         New file.
37924         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37925         New file.
37926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37927         New file.
37928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37929         New file.
37930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37931         New file.
37932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37933         New file.
37934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37935         New file.
37936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37937         New file.
37938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37939         New file.
37940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37941         file.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37943         New file.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37945         New file.
37946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37947         file.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37949         New file.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37951         New file.
37952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37953         file.
37954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37955         New file.
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37957         New file.
37958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37959         New file.
37960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37961         New file.
37962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37963         New file.
37964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37965         New file.
37966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37968         file.
37969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37970         New file.
37971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37972         file.
37973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37974         file.
37975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37976         file.
37977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37978         file.
37979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37980         file.
37981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37982         New file.
37983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37984         file.
37985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37986         file.
37987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37988         New file.
37989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37990         file.
37991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37993         file.
37994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37995         New file.
37996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37997         file.
37998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37999         file.
38000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38001         file.
38002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38003         file.
38004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38005         file.
38006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38007         New file.
38008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38009         file.
38010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38011         file.
38012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38013         New file.
38014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38015         file.
38016         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38017         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38018         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38019         file.
38020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38021         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38022         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38023         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38024         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38025         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38026         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38027         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38028         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38029         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38032         file.
38033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38034         New file.
38035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38036         file.
38037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38038         file.
38039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38040         file.
38041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38042         file.
38043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38044         file.
38045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38046         New file.
38047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38048         New file.
38049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38050         file.
38051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38052         New file.
38053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38054         file.
38055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38057         file.
38058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38059         New file.
38060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38061         file.
38062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38063         file.
38064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38065         file.
38066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38067         file.
38068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38069         file.
38070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38071         New file.
38072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38073         New file.
38074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38075         file.
38076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38077         New file.
38078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38079         file.
38080
38081 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38082
38083         * conform/conformtest.pl: Fix typo in handling typed-constant from
38084         allow-header.
38085
38086 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38087
38088         * README: Cut down references to pre-2.6 Linux kernels and
38089         Linuxthreads.  Update lists of configurations in libc and ports
38090         and sort alphabetically.  Say "or newer" with Linux kernel version
38091         requirements.
38092
38093         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38094
38095 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38096
38097         [BZ #887]
38098         * math/libm-test.inc (logb_test_downward): New test to expose
38099         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38100         rounding mode.
38101
38102 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38103
38104         [BZ #14027]
38105         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38106         to be done.
38107         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38108         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38109
38110 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38111
38112         * sysdeps/unix/i386/brk.S: Remove file.
38113         * sysdeps/unix/i386/dl-brk.S: Likewise.
38114         * sysdeps/unix/i386/pipe.S: Likewise.
38115         * sysdeps/unix/i386/sigreturn.S: Likewise.
38116         * sysdeps/unix/i386/syscall.S: Likewise.
38117         * sysdeps/unix/i386/vfork.S: Likewise.
38118         * sysdeps/unix/i386/wait.S: Likewise.
38119
38120         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38121         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38122
38123         * configure.in (arm*-none*): Do not allow without
38124         --enable-hacker-mode.
38125         (netbsd*): Remove case setting base_os.
38126         (386bsd*): Likewise.
38127         (freebsd*): Likewise.
38128         (bsdi*): Likewise.
38129         (osf*): Likewise.
38130         (sunos*): Likewise.
38131         (ultrix*): Likewise.
38132         (newsos*): Likewise.
38133         (dynix*): Likewise.
38134         (*bsd*): Likewise.
38135         (sysv*): Likewise.
38136         (isc*): Likewise.
38137         (esix*): Likewise.
38138         (sco*): Likewise.
38139         (minix*): Likewise.
38140         (irix4*): Likewise.
38141         (irix6*): Likewise.
38142         (solaris[2-9]*): Likewise.
38143         (none): Likewise.
38144         * configure: Regenerated.
38145
38146 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38147
38148         [BZ #11521]
38149         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38150         overflow or cancellation in calculating denominator.
38151         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38153         down expression to avoid unexpected rounding in newer GCCs.
38154         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38155
38156 2012-04-26  David S. Miller  <davem@davemloft.net>
38157
38158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38159         long-double compat symbols.
38160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38173
38174 2012-04-25  David S. Miller  <davem@davemloft.net>
38175
38176         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38177         HWCAP_* values only after the memory barriers have been defined.
38178         (atomic_full_barrier): Define.
38179         (atomic_read_barrier): Define.
38180         (atomic_write_barrier): Define.
38181
38182 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38183
38184         * shlib-versions: Add libgcc_s version information.
38185         * sysdeps/generic/libgcc_s.h: Remove.
38186         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38187         libgcc_s.h.
38188         * sysdeps/gnu/unwind-resume.c: Likewise.
38189         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38190
38191 2012-04-25  David S. Miller  <davem@davemloft.net>
38192
38193         * sysdeps/unix/sparc/brk.S: Delete.
38194         * sysdeps/unix/sparc/dl-brk.S: Delete.
38195         * sysdeps/unix/sparc/pipe.S: Delete.
38196         * sysdeps/unix/sparc/sysdep.S: Delete.
38197         * sysdeps/unix/sparc/sysdep.h: Delete.
38198         * sysdeps/unix/sparc/vfork.S: Delete.
38199         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38200         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38201         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38202         (ret_ERRVAL, r0, r1, MOVE): Define.
38203         (JUMPTARGET): Remove.
38204         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38205         sysdeps/unix/sparc/sysdep.h
38206         (ENTRY, END): Remove.
38207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38208
38209 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38210
38211         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38212         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38213         -DIS_IN_build.
38214
38215         * timezone/README: Update upstream location and email address for
38216         tzcode and tzdata.
38217         * timezone/zdump.c: Update from tzcode 2012b.
38218         * timezone/zic.c: Likewise.
38219
38220         * configure.in (libc_cv_as_needed): Remove test.
38221         * configure: Regenerated.
38222         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38223         conditional definition.
38224         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38225         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38226         * config.make.in (have-as-needed): Remove variable.
38227
38228 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38229             Paul Pluzhnikov  <ppluzhnikov@google.com>
38230
38231         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38232         strings correctly.
38233
38234 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38235
38236         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38237         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38238         * sysdeps/sh/strlen.S: Likewise.
38239
38240 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38241
38242         * sysdeps/unix/fork.S: Remove file.
38243         * sysdeps/unix/i386/fork.S: Likewise.
38244         * sysdeps/unix/sparc/fork.S: Likewise.
38245
38246         * sysdeps/unix/system.c: Remove file.
38247         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38248
38249         * sysdeps/unix/getegid.S: Remove file.
38250         * sysdeps/unix/geteuid.S: Likewise.
38251
38252 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38253
38254         * scripts/check-localplt.awk: New file.
38255         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38256         of diff.
38257         * scripts/data/localplt-generic.data: Add a comment.
38258
38259         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38260         NODE when __dir_mkfile failed.
38261         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38262         Reported by Ludovic Courtès <ludo@gnu.org>.
38263
38264 2012-04-24  Andreas Jaeger  <aj@suse.de>
38265
38266         * Makerules (common-clean): Also remove gen-as-const-headers
38267         files.
38268
38269 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38270
38271         * Makerules (native-compile): Do not change working directory for
38272         build.  Use $(OUTPUT_OPTION) in command.
38273         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38274
38275 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38276
38277         [BZ #13886]
38278         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38279         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38280         * math/libm-test.inc (floor_test): Add more tests.
38281         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38282
38283 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38284
38285         * sysdeps/unix/getdents.c: Remove file.
38286         * sysdeps/unix/sysv/getdents.c: Likewise.
38287         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38288
38289         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38290         sysdeps/unix/mman/syscalls.list.
38291         (mmap): Likewise.
38292         (mprotect): Likewise.
38293         (msync): Likewise.
38294         (munmap): Likewise.
38295         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38296         * sysdeps/unix/mman/syscalls.list: Remove.
38297         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38298
38299         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38300         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38301         * configure: Regenerated.
38302         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38303         $(libgcc_s_suffix).
38304         * config.make.in (libgcc_s_suffix): Remove variable.
38305
38306 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38307
38308         * sysdeps/unix/sysv/gethostname.c: Move to ...
38309         * sysdeps/posix/gethostname.c: ... here.
38310
38311         * sysdeps/unix/execve.S: Remove file.
38312
38313         * sysdeps/unix/_exit.S: Remove file.
38314
38315 2012-04-23  Andreas Jaeger  <aj@suse.de>
38316
38317         [BZ #13739]
38318         * manual/Makefile: Remove make dist support, there's no
38319         need for a stand-alone documentation tar ball.
38320         (TEXI2DVI): Define always, it's not in Makeconfig.
38321         (dist): Removed.
38322         (tar-it): Removed.
38323         (edition): Removed.
38324         (glibc-doc-$(edition).tar): Removed
38325         (%.Z): Removed.
38326         (%.gz): Removed.
38327         (%.uu): Removed.
38328         (ETAGS): Remove, it's in Makeconfig.
38329         (move-if-change): Remove, it's in Makeconfig.
38330
38331 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38332
38333         [BZ #13970]
38334         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38335         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38336         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38337         (strtod_l, strtof_l, strtold_l): Remove __wur.
38338         It is not necessarily an error to ignore strtol's return value.
38339         One can reliably look at the stored endptr to decide whether
38340         the number had valid syntax.
38341
38342 2012-04-21  Andreas Jaeger  <aj@suse.de>
38343
38344         [BZ #13739]
38345         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38346
38347 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38348
38349         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38350         * sysdeps/unix/sysv/Versions: Remove file.
38351
38352 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38353
38354         [BZ #13927]
38355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38356
38357 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38358
38359         [BZ #7064]
38360         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38361         version from __vm86.
38362
38363 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38364
38365         * sysdeps/unix/common/lxstat.c: Remove file.
38366         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38367
38368         * sysdeps/unix/sysv/Makefile: Remove file.
38369
38370         * sysdeps/unix/sysv/direct.h: Remove file.
38371
38372         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38373         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38374         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38375         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38376         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38377         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38378         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38379
38380         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38381
38382         * sysdeps/unix/xmknod.c: Remove file.
38383         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38384
38385         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38386
38387         * sysdeps/unix/sysv/i386/time.S: Remove file.
38388
38389         * sysdeps/unix/fxstat.c: Remove file.
38390         * sysdeps/unix/xstat.c: Likewise.
38391         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38392
38393         * sysdeps/unix/sysv/sigaction.c: Remove file.
38394
38395         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38396         (sysdep_headers): Remove variable.
38397         [termio.h not in sysdep_headers] (generated): Likewise.
38398         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38399         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38400         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38401         * sysdeps/unix/sysv/tcflow.c: Likewise.
38402         * sysdeps/unix/sysv/tcflush.c: Likewise.
38403         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38404         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38405         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38406         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38407         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38408
38409         * sysdeps/unix/siglist.c: Remove file.
38410
38411         * sysdeps/unix/getppid.S: Remove file.
38412
38413         * sysdeps/unix/mkdir.c: Remove file.
38414         * sysdeps/unix/rmdir.c: Likewise.
38415
38416 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38417
38418         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38419         ERR_MAX value.
38420         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38421         errlist-compat value.
38422
38423 2012-04-18  David S. Miller  <davem@davemloft.net>
38424
38425         * sysdeps/generic/memcopy.h (reg_char): Delete.
38426         * debug/strcat_chk.c: Use char, not reg_char.
38427         * debug/strcpy_chk.c: Likewise.
38428         * debug/strncat_chk.c: Likewise.
38429         * debug/strncpy_chk.c: Likewise.
38430         * string/memchr.c: Likewise.
38431         * string/memrchr.c: Likewise.
38432         * string/rawmemchr.c: Likewise.
38433         * string/strcat.c: Likewise.
38434         * string/strchr.c: Likewise.
38435         * string/strchrnul.c: Likewise.
38436         * string/strcmp.c: Likewise.
38437         * string/strcpy.c: Likewise.
38438         * string/strncat.c: Likewise.
38439         * string/strncmp.c: Likewise.
38440         * string/strncpy.c: Likewise.
38441
38442 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38443
38444         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38445         __builtin_memcopy is called when src and dest ranges are known to not
38446         overlap.
38447
38448 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38449
38450         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38451         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38452         fwd_align_merge macro call.
38453         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38454         bwd_align_merge macro call.
38455         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38456
38457 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38458
38459         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38460         bwd_align_merge macros.
38461         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38462         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38463         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38464
38465 2012-04-18  David S. Miller  <davem@davemloft.net>
38466
38467         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38468
38469 2012-04-18  Andreas Jaeger  <aj@suse.de>
38470
38471         [BZ# 6794]
38472         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38473         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38474         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38475
38476         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38477         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38478         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38479
38480         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38481         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38482         Adjust for changed ldbl-128 files.
38483
38484         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38485         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38486         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38487
38488 2012-04-17  David S. Miller  <davem@davemloft.net>
38489
38490         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38491
38492 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38493
38494         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38495         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38496         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38497         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38498         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38499         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38500
38501 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38502
38503         [BZ #6794]
38504         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38505         * math/libm-test.inc: Add ilogb errno and exception tests.
38506         * math/w_ilogb.c: New file: ilogb wrapper.
38507         * math/w_ilogbf.c: New file: ilogbf wrapper.
38508         * math/w_ilogbl.c: New file: ilogbl wrapper.
38509         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38510         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38511         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38512         exception being thrown with 0.0 as argument.
38513         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38514         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38515         exception being thrown with 0.0 as argument.
38516         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38517         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38518         exception being thrown with 0.0 as argument.
38519         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38520         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38521         exception being thrown with 0.0 as argument.
38522         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38523         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38524         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38525         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38526         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38527         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38528         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38529         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38530         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38531
38532 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38533
38534         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38535         with altivec.
38536
38537 2012-04-16  Marek Polacek  <polacek@redhat.com>
38538
38539         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38540
38541 2012-04-16  Marek Polacek  <polacek@redhat.com>
38542
38543         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38544         operands of fdivp instruction.
38545
38546 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38547
38548         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38549         * elf/tst-auditmod3b.c: Likewise.
38550         * elf/tst-auditmod4b.c: Likewise.
38551         * elf/tst-auditmod5b.c: Likewise.
38552         * elf/tst-auditmod6b.c: Likewise.
38553         * elf/tst-auditmod6c.c: Likewise.
38554         * elf/tst-auditmod7b.c: Likewise.
38555         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38556         * sysdeps/x86_64/preconfigure.in: Likewise.
38557         * sysdeps/x86_64/preconfigure: Regenerated.
38558
38559 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38560
38561         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38562         __ILP32__.
38563
38564 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38565
38566         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38567         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38568
38569 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38570
38571         [BZ #13973]
38572         * locale/iso-639.def: Fix gl language name. Spotted by
38573         Yaron Shahrabani.
38574
38575 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38576
38577         [BZ #2074]
38578         * libio/libio.h (__io_write_fn): Update comment.
38579
38580 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38581
38582         [BZ #2074]
38583         * stdio.texi (Hook Functions): The user provided writer function
38584         is not allowed to return -1.
38585
38586 2012-04-11  David S. Miller  <davem@davemloft.net>
38587
38588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38589
38590 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38591
38592         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38593         Add a leading slash to rtkaio.
38594
38595 2012-04-11  Jim Meyering  <meyering@redhat.com>
38596
38597         [BZ #11959]
38598         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38599         It is not necessarily an error to ignore fwrite's return
38600         value.  One can reliably use ferror to test for errors after
38601         the fact.
38602
38603 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38604
38605         * bits/types.h (__snseconds_t): New type.
38606         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38607
38608         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38610         (__SNSECONDS_T_TYPE): Likewise.
38611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38612         (__SNSECONDS_T_TYPE): Likewise.
38613         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38614         (__SNSECONDS_T_TYPE): Likewise.
38615
38616 2012-04-10  Andreas Jaeger  <aj@suse.de>
38617
38618         [BZ #2636]
38619         * manual/time.texi (Processor Time): Return type of times is
38620         elapsed real time since an arbitrary point in the past.
38621         (CPU Time): Move CLK_TCK from here...
38622         (Processor Time): ...to here.  Correct description.
38623         * manual/conf.texi (Constants for Sysconf): Correct description of
38624         _SC_CLK_TCK.
38625
38626 2012-04-10  David S. Miller  <davem@davemloft.net>
38627
38628         [BZ #13967]
38629         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38630         where the is a gap between DT_REL(A) and DT_JMPREL.
38631
38632 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38633
38634         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38635         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38636         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38637
38638 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38639
38640         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38641         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38642         (dl_main): Handle --inhibit-cache.
38643         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38644         _dl_inhibit_cache.
38645         * elf/dl-load.c (_dl_map_object): Use it.
38646         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38647
38648 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38649
38650         [BZ #13872]
38651         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38652         (__ieee754_powl): Saturate large exponents rather than testing for
38653         overflow of y*log2(x).
38654         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38655         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38656         exceptions.
38657
38658         [BZ #11521]
38659         * math/s_ctan.c: Include <float.h>.
38660         (__ctan): Avoid internal overflow or cancellation in calculating
38661         denominator.
38662         * math/s_ctanf.c: Likewise.
38663         * math/s_ctanl.c: Likewise.
38664         * math/s_ctanh.c: Likewise.
38665         * math/s_ctanhf.c: Likewise.
38666         * math/s_ctanhl.c: Likewise.
38667         * math/libm-test.inc (ctan_test): Add more tests.
38668         (ctanh_test): Likewise.
38669         * sysdeps/i386/fpu/libm-test-ulps: Update.
38670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38671
38672 2012-04-09  Andreas Jaeger  <aj@suse.de>
38673
38674         [BZ #6894]
38675         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38676         is an optional BSD extension.
38677
38678         [BZ #10254]
38679         * manual/stdio.texi (Opening Streams): Document additional fopen
38680         parameters.
38681
38682 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38683
38684         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38685         %eax without telling the compiler.
38686
38687 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38688
38689         [BZ # 13963]
38690         * manual/install.texi: Use sourceware.org.
38691
38692 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38693
38694         [BZ #13873]
38695         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38696         (__ieee754_pow): Generate overflow and underflow using huge*huge
38697         and tiny*tiny rather than just returning constant infinity or zero
38698         for large exponents.
38699         * math/libm-test.inc (pow_test): Require overflow exceptions for
38700         applicable cases of large exponents.
38701
38702         [BZ #706]
38703         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38704         (__ieee754_pow): Use iterative multiplication algorithm only for
38705         integer exponents with absolute value below 1024.  Check for odd
38706         integer exponents when using algorithm for real exponents.
38707         * math/libm-test.inc (pow_test): Add more tests.
38708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38709
38710 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38711
38712         [BZ #13705]
38713         * math/libm-test.inc (exp_test): Do not allow overflow exception
38714         on underflow test.
38715
38716 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38717
38718         [BZ #13705]
38719         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38720         instead of __kernel_standard_f.
38721
38722 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38723
38724         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38725         * sysdeps/x86_64/memset_chk.S: Likewise.
38726
38727 2012-04-08  Andreas Jaeger  <aj@suse.de>
38728
38729         [BZ #10153]
38730         * manual/startup.texi (Environment Access): Describe return value
38731         for putenv and setenv.
38732
38733         [BZ #6895]
38734         * manual/filesys.texi (Directory Entries): Add description for
38735         DT_LNK.
38736
38737         [BZ #6890]
38738         * manual/filesys.texi (Directory Entries): Clarify that it's file
38739         system not operating system in the description of DT_UNKNOWN.
38740
38741         [BZ #6578]
38742         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38743
38744 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38745
38746         [BZ #6649]
38747         * manual/llio.texi (Opening and Closing Files): Add cross
38748         reference to explain mode argument.
38749
38750 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38751
38752         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38753         * sysdeps/x86_64/memset_chk.S: Likewise.
38754
38755 2012-04-07  David S. Miller  <davem@davemloft.net>
38756
38757         * elf/elf.h (R_SPARC_WDISP10): Define.
38758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38759         R_SPARC_SIZE32.
38760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38761         R_SPARC_SIZE64 and R_SPARC_H34.
38762
38763 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38764
38765         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38766         conditions and remove no longer applicable assertion.
38767
38768 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38769
38770         * bits/byteswap.h: Include <features.h>.
38771         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38772         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38773
38774 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38775
38776         * bits/byteswap.h (__bswap_16): Removed.
38777         Include <bits/byteswap-16.h> to get __bswap_16.
38778         * sysdeps/i386/bits/byteswap.h: Likewise.
38779         * sysdeps/s390/bits/byteswap.h: Likewise.
38780         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38781         * bits/byteswap-16.h: New file.
38782         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38783         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38784         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38785         * string/Makefile (headers): Add bits/byteswap-16.h.
38786
38787 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38788
38789         [BZ #13895]
38790         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38791         extra indirection.
38792         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38793         * nss/tst-nss-static.c: New.
38794
38795 2012-04-06  Robert Millan  <rmh@gnu.org>
38796
38797         [BZ #6486]
38798         * manual/llio.texi (File Position Primitive): lseek
38799         refers to WHENCE when it really means OFFSET.
38800
38801 2012-04-06  Andreas Jaeger  <aj@suse.de>
38802
38803         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38804         strncmp declarations.
38805
38806         * abilist/libc.abilist: Add __poll and __ppoll.
38807
38808 2012-04-05  David S. Miller  <davem@davemloft.net>
38809
38810         * scripts/check-local-headers.sh: Accept a host triplet in the
38811         path matched by the exclude regexp.
38812
38813         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38814         definition.
38815         * sysdeps/powerpc/powerpc32/dl-machine.h
38816         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38817         * sysdeps/s390/s390-32/dl-machine.h
38818         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38819         * sysdeps/sparc/sparc32/dl-machine.h
38820         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38821         * sysdeps/sparc/sparc64/dl-machine.h
38822         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38823
38824         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38825         lazy binding.
38826         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38827         undefined symbol errors.
38828
38829         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38830         DT_NEEDED entries.
38831
38832 2012-04-05  Michael Matz  <matz@suse.de>
38833
38834         [BZ #13592]
38835         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38836
38837 2012-04-05  Andreas Jaeger  <aj@suse.de>
38838
38839         [BZ #13908]
38840         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38841         comment.
38842
38843 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38844
38845         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38846         which ROUND is no valid rounding mode.
38847
38848 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38849
38850         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38851         read again.
38852         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38853
38854 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38855
38856         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38857         an exception using FPU order intentionally.
38858
38859 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38860
38861         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38862         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38863         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38864         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38865
38866 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38867
38868         [BZ #12340]
38869         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38870         EINVAL when BUFLEN is too smal.
38871
38872 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38873
38874         [BZ #13553]
38875         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38876         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38877
38878 2012-04-03  Andreas Jaeger  <aj@suse.de>
38879
38880         [BZ #13938]
38881         * manual/setjmp.texi (System V contexts): Fix sentence.
38882
38883         [BZ #13926]
38884         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38885         New macro for this case.
38886         [!__GNUC__] (__bswap_64): New inline function for this case.
38887         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38888         * bits/byteswap.h: Likewise.
38889         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38890         ull, guard with __GLIBC_HAVE_LONG_LONG.
38891
38892         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38893         __GLIBC_HAVE_LONG_LONG.
38894
38895         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38896         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38897
38898 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38899
38900         [BZ #13691]
38901         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38902         inptr and inend, rather than using last_ch.
38903
38904 2012-04-02  David S. Miller  <davem@davemloft.net>
38905
38906         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38907         * stdio-common/printf-parse.h (read_int): Change return type to
38908         'int', return -1 on INT_MAX overflow.
38909         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38910         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38911         overflows INT_MAX.  Check for overflow of in-format-string precision
38912         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38913         SIZE_MAX not INT_MAX for integer overflow test.
38914         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38915         skip the construct in the format string but do not record anything.
38916         * stdio-common/bug22.c: Adjust to test both width/prevision
38917         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38918         explicitly for proper errno values.
38919
38920 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38921
38922         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38923         CHAR_MAX.
38924         * string/test-strcmp.c [! WIDE]: Likewise.
38925         * time/tst-mktime2.c: Likewise for INT_MAX.
38926         * string/test-string.h: #include <sys/param.h> for MIN.
38927
38928         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38929         * sysdeps/i386/init-first.c (init): Likewise.
38930         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38931         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38932         * sysdeps/sh/init-first.c (init): Likewise.
38933
38934 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38935
38936         * po/ru.po: Update from translation team.
38937         * po/vi.po: Likewise.
38938
38939 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38940
38941         * resolv/nss_dns/dns-host.c: Merge copyright years.
38942
38943 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38944
38945         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38946         Optimize memcpy with prefetch if
38947         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38948         src, dst pointers have unequal 16 byte alignments.
38949
38950 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38951
38952         [BZ #13928]
38953         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38954         from a CNAME entry and return the minimum ttl for the query.
38955         (gaih_getanswer_slice): Likewise.
38956
38957 2012-03-30  Jeff Law  <law@redhat.com>
38958
38959         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38960         due to long keys.
38961         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38962         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38963
38964         * resolv/nss_dns/dns-host.c: Update copyright year.
38965
38966 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38967
38968         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38969         requests to save a system call.  Fix check that all bytes are sent.
38970
38971         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38972         comments for sendmmsg.
38973
38974 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38975
38976         [BZ #13691]
38977         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38978         with only 1 character between 0x0041 and 0x01b0.
38979         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38980         * wcsmbs/tst-mbsnrtowcs.c: New file.
38981
38982 2012-03-29  David S. Miller  <davem@davemloft.net>
38983
38984         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38985         small copies by hand.
38986
38987 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38988
38989         [BZ #13761]
38990         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38991         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38992         group memberships.
38993
38994 2012-03-28  David S. Miller  <davem@davemloft.net>
38995
38996         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38997         that branches into memcpy.
38998         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38999         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39000         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39001         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39002         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39003         bits.
39004         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39005         implementation too.
39006         * sysdeps/sparc/mempcpy.S: New file.
39007
39008         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39009         the IFUNC routine in the libc case.
39010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39011
39012         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39013         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39014         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39015         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39016         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39017         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39018         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39019         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39020
39021         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39022         loop to 256 bytes instead of 64 bytes and fix test signedness.
39023
39024         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39025         * sysdeps/sparc/sparc32/Makefile: rather than here...
39026         * sysdeps/sparc/sparc64/Makefile: and here.
39027
39028 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39029
39030         * malloc/mallocbug.c: Avoid warnings about unused variables.
39031
39032 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39033
39034         [BZ #13760]
39035         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39036         in the right place. Discard and retry query if response is
39037         larger than input buffer size.
39038
39039 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39040
39041         [BZ #369]
39042         [BZ #2678]
39043         [BZ #3866]
39044         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39045         x for large integer exponent.
39046         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39047         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39048         sign of result as needed afterwards.
39049         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39050         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39051         result for underflowing pow the same as for overflow.
39052         (__kernel_standard_l): Handle powl overflow and underflow here
39053         rather than calling __kernel_standard.
39054         * math/libm-test.inc (pow_test): Add more tests.
39055
39056         [BZ #3868]
39057         [BZ #13879]
39058         [BZ #13910]
39059         [BZ #13911]
39060         [BZ #13912]
39061         [BZ #13913]
39062         [BZ #13915]
39063         [BZ #13916]
39064         [BZ #13917]
39065         [BZ #13918]
39066         [BZ #13919]
39067         [BZ #13920]
39068         [BZ #13921]
39069         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39070         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39071         (__kernel_standard_l): New function.
39072         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39073         __kernel_standard.
39074         * math/w_acosl.c (__acosl): Likewise.
39075         * math/w_asinl.c (__asinl): Likewise.
39076         * math/w_atan2l.c (__atan2l): Likewise.
39077         * math/w_atanhl.c (__atanhl): Likewise.
39078         * math/w_coshl.c (__coshl): Likewise.
39079         * math/w_exp10l.c (__exp10l): Likewise.
39080         * math/w_exp2l.c (__exp2l): Likewise.
39081         * math/w_fmodl.c (__fmodl): Likewise.
39082         * math/w_hypotl.c (__hypotl): Likewise.
39083         * math/w_j0l.c (__j0l, __y0l): Likewise.
39084         * math/w_j1l.c (__j1l, __y1l): Likewise.
39085         * math/w_jnl.c (__jnl, __ynl): Likewise.
39086         * math/w_lgammal.c (__lgammal): Likewise.
39087         * math/w_log10l.c (__log10l): Likewise.
39088         * math/w_log2l.c (__log2l): Likewise.
39089         * math/w_logl.c (__logl): Likewise.
39090         * math/w_powl.c (__powl): Likewise.
39091         * math/w_remainderl.c (__remainderl): Likewise.
39092         * math/w_scalbl.c (sysv_scalbl): Likewise.
39093         * math/w_sinhl.c (__sinhl): Likewise.
39094         * math/w_sqrtl.c (__sqrtl): Likewise.
39095         * math/w_tgammal.c (__tgammal): Likewise.
39096         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39097         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39098         * math/libm-test.inc (acos_test): Add more tests.
39099         (acosh_test): Likewise.
39100         (asin_test): Likewise.
39101         (atanh_test): Likewise.
39102         (exp_test): Likewise.
39103         (exp10_test): Likewise.
39104         (exp2_test): Likewise.
39105         (expm1_test): Likewise.
39106         (lgamma_test): Likewise.
39107         (log_test): Likewise.
39108         (log10_test): Likewise.
39109         (log1p_test): Likewise.
39110         (log2_test): Likewise.
39111         (pow_test): Do not allow some spurious overflow exceptions.
39112         (sqrt_test): Add more tests.
39113         (tgamma_test): Likewise.
39114         (y0_test): Likewise.
39115         (y1_test): Likewise.
39116         (yn_test): Likewise.
39117
39118 2012-03-27  Anton Blanchard  <anton@samba.org>
39119
39120         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39121         MAP_HUGETLB.
39122         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39123         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39124         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39125
39126 2012-03-27  David S. Miller  <davem@davemloft.net>
39127
39128         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39129
39130         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39131         have-as-vis3 check.
39132
39133 2012-03-27  Andreas Jaeger  <aj@suse.de>
39134
39135         * sysdeps/x86_64/elf/configure.in: Moved to ...
39136         * sysdeps/x86_64/configure.in: ... here.
39137         * sysdeps/x86_64/elf/start.S: Moved to ...
39138         * sysdeps/x86_64/start.S: ... here.
39139         * sysdeps/x86_64/elf/configure: Delete.
39140
39141         * sysdeps/x86_64/configure.in: Merge contents from
39142         sysdeps/i386/configure.in (without i686 check).
39143
39144         * sysdeps/i386/elf/Versions: Merge into ...
39145         * sysdeps/i386/Versions: ... this.
39146         * sysdeps/i386/elf/Versions: Delete file.
39147         * sysdeps/i386/elf/start.S: Moved to ...
39148         * sysdeps/i386/start.S: ...here.
39149         * sysdeps/i386/elf/configure.in: Merge into...
39150         * sysdeps/i386/configure.in: ...here.
39151         * sysdeps/i386/elf/configure.in: Delete file.
39152         * sysdeps/i386/elf/configure: Delete file.
39153
39154         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39155         * debug/backtracesyms.c: ... here.
39156         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39157         * debug/backtracesymsfd.c: ... here.
39158         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39159         * sysdeps/generic/ifunc-sel.h: ... here.
39160
39161         * sysdeps/unix/i386/start.c: Delete file.
39162         * sysdeps/unix/sparc/start.c: Delete file.
39163         * sysdeps/unix/start.c: Delete file.
39164
39165         * sysdeps/sh/elf/configure.in: Moved to ...
39166         * sysdeps/sh/configure.in: ... here.
39167         * sysdeps/sh/elf/start.S: Moved to ...
39168         * sysdeps/sh/start.S: ... here.
39169         * sysdeps/sh/elf/configure: Delete file.
39170
39171         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39172         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39173         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39174         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39175         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39176         * sysdeps/powerpc/powerpc64/start.S: here.
39177         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39178         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39179         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39180         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39181         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39182
39183         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39184         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39185         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39186         * sysdeps/powerpc/powerpc32/start.S: ... here.
39187         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39188         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39189         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39190
39191         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39192         * sysdeps/powerpc/ifunc-sel.h: ... here.
39193         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39194         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39195
39196         * sysdeps/sparc/elf/configure.in: Moved to ...
39197         * sysdeps/sparc/configure.in: ... here.
39198         * sysdeps/sparc/elf/configure: Delete file.
39199         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39200         * sysdeps/sparc/sparc32/start.S: ... here.
39201         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39202         * sysdeps/sparc/sparc64/start.S: ... here.
39203         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39204         * sysdeps/sparc/sparc32/Makefile: ... this.
39205         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39206         * sysdeps/sparc/sparc64/Makefile: ... this.
39207
39208         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39209         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39210         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39211         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39212         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39213         * sysdeps/s390/s390-32/setjmp.S: ... here.
39214         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39215         * sysdeps/s390/s390-32/configure.in: ... here.
39216         * sysdeps/s390/s390-32/elf/configure: Delete file.
39217         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39218         * sysdeps/s390/s390-32/start.S: ... here.
39219
39220         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39221         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39222         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39223         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39224         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39225         * sysdeps/s390/s390-64/setjmp.S: ... here.
39226         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39227         * sysdeps/s390/s390-64/configure.in: ... here
39228         * sysdeps/s390/s390-64/elf/configure: Delete file.
39229         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39230         * sysdeps/s390/s390-64/start.S: ... here.
39231         * sysdeps/s390/s390-64/elf/configure: Delete.
39232
39233         * configure.in: Remove support for elf directories in sysdeps.
39234
39235         * configure: Regenerated.
39236         * sysdeps/i386/configure: Regenerated.
39237         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39238         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39239         * sysdeps/s390/s390-32/configure: Regenerated.
39240         * sysdeps/s390/s390-64/configure: Regenerated.
39241         * sysdeps/sh/configure: Regenerated.
39242         * sysdeps/sparc/configure: Regenerated.
39243         * sysdeps/x86_64/configure: Regenerated.
39244
39245 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39246
39247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39248
39249         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39250         denormal result into account.
39251
39252 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39253
39254         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39255         Reported by Allan McRae <allan@archlinux.org>.
39256
39257 2012-03-23  Jeff Law  <law@redhat.com>
39258
39259         * nss/getnssent.c (__nss_getent): Fix typo.
39260
39261 2012-03-23  David S. Miller  <davem@davemloft.net>
39262
39263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39264
39265 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39266
39267         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39268         to pad to uint64_t for each field.
39269         (dl_tls_index): Replace unsigned long with uint64_t.
39270
39271 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39272         Paul Pluzhnikov  <ppluzhnikov@google.com>
39273
39274         [BZ #6528]
39275         * grp/Makefile (otherlibs): Don't set it.
39276         * inet/Makefile (otherlibs): Likewise.
39277         * login/Makefile (otherlibs): Likewise.
39278         * nscd/Makefile (otherlibs): Likewise.
39279         * posix/Makefile (otherlibs): Likewise.
39280         * pwd/Makefile (otherlibs): Likewise.
39281         * rt/Makefile (otherlibs): Likewise.
39282         * sunrpc/Makefile (otherlibs): Likewise.
39283         * nss/Makefile (otherlibs): Likewise.
39284         Add libnss_files to routines and static-only-routines.
39285         ($(objpfx)getent): Remove rule.
39286         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39287         static-only-routines.
39288
39289 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39290
39291         [BZ #13892]
39292         * math/s_cexp.c: Include <float.h>.
39293         (__cexp): Handle exp result overflowing not necessarily
39294         overflowing both real and imaginary parts of result.
39295         * math/s_cexpf.c: Likewise.
39296         * math/s_cexpl.c: Likewise.
39297         * math/libm-test.inc (cexp_test): Add more tests.
39298         * sysdeps/i386/fpu/libm-test-ulps: Update.
39299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39300
39301 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39302
39303         * include/link.h (ELFW): New macro.
39304         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39305         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39306
39307 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39308
39309         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39310         with uint64_t.
39311
39312 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39313
39314         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39315         declaration.
39316         (struct La_x32_retval): Likewise.
39317
39318 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39319
39320         * sysdeps/x86_64/preconfigure.in: New file.
39321         * sysdeps/x86_64/preconfigure: New generated file.
39322
39323 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39324
39325         [BZ #13824]
39326         * math/e_exp2l.c: Include <float.h>.
39327         (__ieee754_exp2l): Handle overflow and underflow cases
39328         separately.  Only pass fractional part of argument to
39329         __ieee754_expl.
39330         * math/libm-test.inc (exp2_test): Add more tests.
39331
39332         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39333         negating x to take absolute value.
39334         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39335         Likewise.
39336         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39337         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39338         Likewise.
39339         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39340         computing low part if x was negated.
39341         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39342
39343 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39344
39345         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39346         la_x32_gnu_pltexit.
39347         (pltexit): Cast int_retval to ptrdiff_t.
39348         * elf/tst-auditmod3b.c: Likewise.
39349         * elf/tst-auditmod4b.c: Likewise.
39350         * elf/tst-auditmod5b.c: Likewise.
39351         * elf/tst-auditmod6b.c: Likewise.
39352         * elf/tst-auditmod6c.c: Likewise.
39353         * elf/tst-auditmod7b.c: Likewise.
39354
39355         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39356         and x32_gnu_pltexit.
39357
39358         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39359         __ELF_NATIVE_CLASS.
39360         (La_x32_regs): New macro.
39361         (La_x32_retval): Likewise.
39362         (la_x32_gnu_pltenter): New function prototype.
39363         (la_x32_gnu_pltexit): Likewise.
39364
39365 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39366
39367         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39368         exponent.
39369
39370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39371
39372         * configure.in (libc_cv_cc_nofma): Check for option to disable
39373         generation of FMA instructions.
39374         * configure: Regenerate.
39375         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39376         * sysdeps/ieee754/dbl-64/Makefile: New file.
39377         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39378         Remove brandred-fma4.
39379         (CFLAGS-brandred-fma4.c): Remove.
39380         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39381         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39382         define.
39383         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39384         define.
39385
39386 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39387
39388         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39389         LLONG_MAX != LONG_MAX.
39390         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39391         (_fitoa_word): Likewise.
39392         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39393         LLONG_MAX != LONG_MAX.
39394         * stdio-common/_itowa.h: Include <_itoa.h>.
39395         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39396         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39397         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39398         only if not defined.
39399         (_ITOA_WORD_TYPE): Likewise.
39400         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39401         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39402
39403 2012-03-21  David S. Miller  <davem@davemloft.net>
39404
39405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39406
39407 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39408
39409         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39410         of x86_64 when setting libc_cv_slibdir, libdir and
39411         libc_cv_localedir.
39412         * sysdeps/unix/sysv/linux/configure: Regenerated.
39413
39414 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39415
39416         * manual/lang.texi (Old Varargs): Remove section.
39417         (How Variadic): Update menu.
39418         (va_start): Do not mention varargs.h.
39419
39420 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39421             Joseph Myers  <joseph@codesourcery.com>
39422
39423         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39424         link test.
39425         * configure: Regenerated.
39426
39427 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39428
39429         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39430         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39431         conformtest.pl
39432
39433 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39434
39435         * NOTES: Remove.
39436         * Makefile (files-for-dist): Remove NOTES.
39437         (NOTES): Remove rule.
39438         * README: Don't refer to NOTES.
39439         * manual/creature.texi: Don't include macros.texi.
39440         * manual/intro.texi (creature.texi): Remove comment referring to
39441         NOTES.
39442
39443         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39444         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39445         * configure: Regenerated.
39446         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39447         LIBC_TRY_CC_OPTION.
39448         (libc_cv_as_i686): Likewise.
39449         (libc_cv_cc_avx): Likewise.
39450         (libc_cv_cc_sse2avx): Likewise.
39451         (libc_cv_cc_fma4): Likewise.
39452         (libc_cv_cc_novzeroupper): Likewise.
39453         * sysdeps/i386/configure: Regenerated.
39454
39455         [BZ #13883]
39456         * sysdeps/i386/fpu/s_cexp.S: Remove.
39457         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39458         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39459         * math/libm-test.inc (cexp_test): Add more tests.
39460         * sysdeps/i386/fpu/libm-test-ulps: Update.
39461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39462
39463 2012-03-21  Allan McRae  <allan@archlinux.org>
39464
39465         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39466
39467 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39468
39469         [BZ #13871]
39470         * math/w_exp2.c: Do not include <float.h>.
39471         (o_threshold, u_threshold): Remove.
39472         (__exp2): Calculate result before checking finiteness and calling
39473         __kernel_standard.
39474         * math/w_exp2f.c: Likewise.
39475         * math/w_exp2l.c: Likewise.
39476         * math/libm-test.inc (exp2_test): Require overflow exception for
39477         1e6 input.
39478
39479         [BZ #3866]
39480         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39481         range of signed 64-bit integers before using fistpll.  Remove
39482         checks for whether integers fit in mantissa bits.
39483         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39484         the range of signed 32-bit integers before using fistpl.  Remove
39485         checks for whether integers fit in mantissa bits.
39486         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39487         (__ieee754_powl): Test for y outside the range of signed 64-bit
39488         integers before using fistpll.  Reduce 64-bit values to 63-bit
39489         ones as needed.
39490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39491         divide-by-zero is raised for zero to large negative powers.
39492         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39493         (__ieee754_powl): Test for y outside the range of signed 64-bit
39494         integers before using fistpll.  Reduce 64-bit values to 63-bit
39495         ones as needed.
39496         * math/libm-test.inc (pow_test): Add more tests.
39497
39498 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39499
39500         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39501         <stdio-common/_itoa.h>.
39502         * debug/segfault.c: Likewise.
39503         * elf/dl-cache.c: Likewise.
39504         * elf/dl-minimal.c: Likewise.
39505         * elf/dl-misc.c: Likewise.
39506         * elf/dl-sysdep.c: Likewise.
39507         * elf/dl-version.c: Likewise.
39508         * elf/rtld.c: Likewise.
39509         * hurd/hurdsock.c: Likewise.
39510         * hurd/lookup-retry.c: Likewise.
39511         * malloc/malloc.c: Likewise.
39512         * malloc/mtrace.c: Likewise.
39513         * nscd/nscd_getgr_r.c: Likewise.
39514         * nscd/nscd_getpw_r.c: Likewise.
39515         * nscd/nscd_getserv_r.c: Likewise.
39516         * posix/getopt_init.c: Likewise.
39517         * posix/wordexp.c: Likewise.
39518         * stdio-common/_itoa.c: Likewise.
39519         * stdio-common/printf_fphex.c: Likewise.
39520         * stdio-common/vfprintf.c: Likewise.
39521         * string/_strerror.c: Likewise.
39522         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39523         * sysdeps/i386/i686/hp-timing.h: Likewise.
39524         * sysdeps/mach/_strerror.c: Likewise.
39525         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39526         * sysdeps/mach/hurd/sethostid.c: Likewise.
39527         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39528         * sysdeps/mach/xpg-strerror.c: Likewise.
39529         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39530         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39531         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39532         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39533         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39534         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39536         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39537         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39538         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39539         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39540         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39541         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39542         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39543         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39544         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39545         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39546         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39547         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39548         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39549         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39550
39551         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39552
39553         * stdio-common/_itoa.h: Moved to ...
39554         * sysdeps/generic/_itoa.h: Here.
39555
39556         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39557
39558         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39559         instead of "_itoa.h" and "_itowa.h".
39560         * stdio-common/vfprintf.: Likewise.
39561
39562 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39563
39564         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39565         <bits/wordsize.h>.
39566         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39567         (__signbit): Likwise.
39568         (llrintf): Likwise.
39569         (llrint): Likwise.
39570
39571 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39572
39573         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39574         __WORDSIZE != 64.
39575
39576 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39577
39578         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39579         OVERFLOW_EXCEPTION_OK.
39580         * math/libm-test.inc ("Philosophy"): Update comment about
39581         exception testing.
39582         (OVERFLOW_EXCEPTION): Define.
39583         (OVERFLOW_EXCEPTION_OK): Likewise.
39584         (INVALID_EXCEPTION_OK): Renumber.
39585         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39586         (IGNORE_ZERO_INF_SIGN): Likewise.
39587         (test_exceptions): Handle FE_OVERFLOW.
39588         (exp10_test): Expect overflow exceptions.
39589         (exp2_test): Likewise.
39590         (expm1_test): Likewise.
39591         (nextafter_test): Likewise.
39592         (pow_test): Likewise.
39593         (scalbn_test): Likewise.
39594         (scalbln_test): Likewise.
39595
39596 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39597
39598         * sysdeps/x86_64/bits/atomic.h
39599         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39600         64bit integer.
39601         (atomic_exchange_acq): Likewise.
39602         (__arch_exchange_and_add_body): Likewise.
39603         (__arch_add_body): Likewise.
39604         (atomic_add_negative): Likewise.
39605         (atomic_add_zero): Likewise.
39606
39607 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39608
39609         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39610         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39611
39612 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39613
39614         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39615         Check __x86_64__ instead of __WORDSIZE.
39616
39617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39618
39619         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39620
39621 2012-03-19  David S. Miller  <davem@davemloft.net>
39622
39623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39624
39625         * sysdeps/sparc/fpu/fenv_private.h: New file.
39626         * sysdeps/sparc/fpu/math_private.h: Use it.
39627         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39628         Remove.
39629         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39630         (libc_feholdexcept_setroundl): Remove.
39631         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39632         Remove.
39633         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39634         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39635
39636 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39637
39638         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39639         int64_t instead of long int.
39640         (INSERT_WORDS64): Likwise.
39641
39642 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39643
39644         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39645         _Unwind_GetCFA return to _Unwind_Ptr first.
39646
39647 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39648
39649         [BZ #13629]
39650         * math/s_clog.c: Include <float.h>.
39651         (__clog): Scale large or subnormal inputs.
39652         * math/s_clogf.c: Likewise.
39653         * math/s_clogl.c: Likewise.
39654         * math/s_clog10.c: Include <float.h>.
39655         (M_LOG10_2): Define.
39656         (__clog10): Scale large or subnormal inputs.
39657         * math/s_clog10f.c: Likewise.
39658         * math/s_clog10l.c: Likewise.
39659         * math/libm-test.inc (clog_test): Add more tests.
39660         (clog10_test): Likewise.
39661         * sysdeps/i386/fpu/libm-test-ulps: Update.
39662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39663
39664         [BZ #11451]
39665         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39666         x and y.
39667         * math/libm-test.inc (atan2_test): Add another test.
39668
39669         * Makerules (common-objdir-compile): Remove.
39670         * sysdeps/unix/Makefile (config-generated): Do not add
39671         $(unix-generated) to variable.
39672         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39673         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39674         Remove rule.
39675         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39676         Likewise.
39677         [generic bits/local_lim.h] (before-compile): Do not append to
39678         variable.
39679         [generic bits/local_lim.h] (common-generated): Likewise.
39680         [generic sys/param.h] (before-compile): Do not append to variable.
39681         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39682         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39683         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39684         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39685         include.
39686         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39687         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39688         [generic sys/param.h] ($(addprefix
39689         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39690         [generic sys/param.h] (common-generated): Do not append to
39691         variable.
39692         [generic sys/param.h] (sysdep_headers): Likewise.
39693         [generic bits/errno.h] (before-compile): Do not append to
39694         variable.
39695         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39696         rule.
39697         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39698         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39699         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39700         [generic bits/errno.h] (common-generated): Do not append to
39701         variable.
39702         [generic bits/ioctls.h] (before-compile): Do not append to
39703         variable.
39704         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39705         rule.
39706         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39707         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39708         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39709         rule.
39710         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39711         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39712         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39713         [generic bits/ioctls.h] (common-generated): Do not append to
39714         variable.
39715         [generic sys/syscall.h] (syscall.h): Remove variable.
39716         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39717         rule.
39718         [generic sys/syscall.h] (before-compile): Do not append to
39719         variable.
39720         [generic sys/syscall.h] (common-generated): Likewise.
39721         * sysdeps/unix/errnos-tmpl.c: Remove file.
39722         * sysdeps/unix/errnos.awk: Likewise.
39723         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39724         * sysdeps/unix/ioctls.awk: Likewise.
39725         * sysdeps/unix/mk-local_lim.c: Likewise.
39726         * sysdeps/unix/snarf-ioctls: Likewise.
39727
39728 2012-03-19  Richard Henderson  <rth@twiddle.net>
39729
39730         * sysdeps/i386/fpu/fenv_private.h: New file.
39731         * sysdeps/i386/fpu/math_private.h: Use it.
39732         (math_opt_barrier, math_force_eval): Remove.
39733         (libc_feholdexcept_setround_53bit): Remove.
39734         (libc_feupdateenv_53bit): Remove.
39735         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39736         (math_opt_barrier, math_force_eval): Remove.
39737         (libc_feholdexcept): Remove.
39738         (libc_feholdexcept_setround): Remove.
39739         (libc_fetestexcept, libc_fesetenv): Remove.
39740         (libc_feupdateenv_test): Remove.
39741         (libc_feupdateenv, libc_feholdsetround): Remove.
39742         (libc_feresetround): Remove.
39743
39744         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39745         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39746
39747         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39748         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39749         (libc_feupdateenv_testl): New.
39750         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39751         (libc_feupdateenv_testf): New.
39752         (libc_feupdateenv): Use libc_feupdateenv_test.
39753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39754         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39755
39756         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39757         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39758         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39759         (libc_feresetround_noex): New.
39760         (libc_feresetround_noexf): New.
39761         (libc_feresetround_noexl): New.
39762         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39763         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39764         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39765         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39766         SET_RESTORE_ROUND.
39767         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39768         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39769         (__cos): Likewise.
39770         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39771         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39772         SET_RESTORE_ROUND_NOEX.
39773         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39774         SET_RESTORE_ROUND_NOEXF.
39775         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39776         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39777         (libc_feholdsetroundf): New.
39778         (libc_feresetround, libc_feresetroundf): New.
39779
39780         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39781         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39782         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39783
39784         * sysdeps/generic/math_private.h: Include <fenv.h>.
39785         (default_libc_feholdexcept): New.
39786         (default_libc_feholdexcept_setround): New.
39787         (default_libc_fesetenv, default_libc_feupdateenv): New.
39788         (libc_feholdexcept): Only define if undefined.
39789         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39790         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39791         (libc_feholdexcept_setroundl): Likewise.
39792         (libc_feholdexcept_setround_53bit): Likewise.
39793         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39794         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39795         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39796         (libc_feupdateenv_53bit): Likewise.
39797         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39798         (libc_feholdexcept): Convert from macro to inline function.
39799         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39800         (libc_fesetenv, libc_feupdateenv): Likewise.
39801
39802         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39803         not previously defined.
39804         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39805         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39806         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39807         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39808         * sysdeps/ieee754/flt-32/math_private.h: New file.
39809         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39810         math_private.h below SET_FLOAT_WORD.
39811         (__isnan, __isinf_ns, __finite): Remove.
39812         (__isnanf, __isinf_nsf, __finitef): Remove.
39813
39814 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39815
39816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39817
39818 2012-03-17  David S. Miller  <davem@davemloft.net>
39819
39820         [BZ #6471]
39821         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39822         for 2.16.
39823
39824 2012-03-16  David S. Miller  <davem@davemloft.net>
39825
39826         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39827         warnings.
39828
39829         [BZ #6471]
39830         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39831         properly.
39832         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39833         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39834         sysdep_routines when subdir is sysvipc.
39835         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39836         __getshmlba helper.
39837
39838         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39839
39840 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39841
39842         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39843         [__LP64__].
39844
39845 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39846
39847         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39848         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39849         (__lround): Renamed to ...
39850         (__llround): This.  Replace long int with long long int.
39851         Define lround functions as aliases of llround functions.
39852         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39853
39854 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39855
39856         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39857         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39858         adresses to uintptr_t.  Replace "long int" and "unsigned long
39859         int" with "greg_t" on va_arg.
39860
39861 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39862
39863         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39864         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39865
39866         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39867         Move e_machine check before EI_CLASS check.  Handle x32
39868         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39869         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39870         SKIP_EM_IA_64 and include
39871         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39872
39873         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39874         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39875         (add_system_dir): New macro.
39876
39877         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39878         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39879
39880 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39881
39882         [BZ #2551]
39883         [BZ #2552]
39884         [BZ #2553]
39885         [BZ #2554]
39886         [BZ #2562]
39887         [BZ #2563]
39888         [BZ #2565]
39889         [BZ #2566]
39890         [BZ #2576]
39891         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39892         (y0): Likewise.
39893         * math/w_j0f.c (j0f): Likewise.
39894         (y0f): Likewise.
39895         * math/w_j0l.c (__j0l): Likewise.
39896         (__y0l): Likewise.
39897         * math/w_j1.c (j1): Likewise.
39898         (y1): Likewise.
39899         * math/w_j1f.c (j1f): Likewise.
39900         (y1f): Likewise.
39901         * math/w_j1l.c (__j1l): Likewise.
39902         (__y1l): Likewise.
39903         * math/w_jn.c (jn): Likewise.
39904         (yn): Likewise.
39905         * math/w_jnf.c (jnf): Likewise.
39906         (ynf): Likewise.
39907         * math/w_jnl.c (__jnl): Likewise.
39908         (__ynl): Likewise.
39909         * math/libm-test.inc (j0_test): Add more tests.
39910         (j1_test): Likewise.
39911         (jn_test): Likewise.  Add trailing semicolon to existing test.
39912         (y0_test): Likewise.
39913         (y1_test): Likewise.
39914         * sysdeps/i386/fpu/libm-test-ulps: Update.
39915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39916
39917         [BZ #13851]
39918         [BZ #13854]
39919         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39920         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39921         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39922         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39923         (__tanl): Set errno for infinite argument.
39924         * sysdeps/i386/fpu/mptan.c: Remove.
39925         * sysdeps/i386/fpu/s_tan.S: Likewise.
39926         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39927         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39928         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39929         * math/libm-test.inc (tan_test): Add more tests and enable more
39930         tests for double and long double.
39931         * sysdeps/i386/fpu/libm-test-ulps: Update.
39932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39933
39934 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39935
39936         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39937         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39938
39939 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39940
39941         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39942         * configure.in: Use it for both main tree and add-ons.
39943         * configure: Regenerated.
39944
39945 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39946
39947         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39948
39949 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39950
39951         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39952         in comment.
39953
39954         [BZ #13851]
39955         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39956         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39957         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39958         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39959         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39960         infinite argument.
39961         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39963         != 0 for prec == 2.
39964         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39965         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39966         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39967         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39968         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39969         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39970         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39971         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39972         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39973         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39974         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39975         * math/libm-test.inc (cos_test): Add more tests and enable more
39976         tests for long double.
39977         (sin_test): Likewise.
39978         (sincos_test): Likewise.
39979         * sysdeps/i386/fpu/libm-test-ulps: Update.
39980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39981
39982 2012-03-16  David S. Miller  <davem@davemloft.net>
39983
39984         * sysdeps/sparc/fpu/math_private.h: New file.
39985
39986 2012-03-15  David S. Miller  <davem@davemloft.net>
39987
39988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39989         file.
39990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39992         file.
39993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39998         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39999         sysdep routines.
40000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40001
40002         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40003         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40004
40005         * sysdeps/sparc/sparc-ifunc.h: New file.
40006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40007         sparc-ifunc.h
40008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40010         Likewise.
40011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40012         Likewise.
40013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40017         Likewise.
40018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40023         Likewise.
40024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40025         Likewise.
40026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40030         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40032         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40033         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40034         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40041         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40044         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40045         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40046         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40047         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40048         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40049         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40050
40051 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40052
40053         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40054         scaling.
40055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40056
40057 2012-03-15  Andreas Jaeger  <aj@suse.de>
40058
40059         [BZ #13852]
40060         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40061         ieee754/flt-32 implementation for sin, cos and sincos.
40062         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40063         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40064         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40065         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40066         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40067         ieee754/flt-32 implementation for tan.
40068
40069         * math/libm-test.inc (cos_test): Enable some large input tests for
40070         float as well
40071         (sin_test): Likewise.
40072         (sincos_test): Likewise.
40073         (tan_test): Add tests for large input.
40074
40075         * sysdeps/i386/fpu/libm-test-ulps: Update.
40076
40077 2012-03-15  Andreas Jaeger  <aj@suse.de>
40078
40079         [BZ #13658]
40080         * math/libm-test.inc (cos_test): Add more test cases.
40081         (sin_test): Likewise.
40082         (sincos_test): Likewise.
40083
40084 2012-03-15  Andreas Jaeger  <aj@suse.de>
40085
40086         [BZ #13837]
40087         * math/libm-test.inc (cos_test): Add a test case for large input
40088         value.
40089         (sin_test): Likewise.
40090         (sincos_test): Likewise.
40091
40092 2012-03-15  Andreas Jaeger  <aj@suse.de>
40093             Joseph Myers  <joseph@codesourcery.com>
40094
40095         [BZ #13658]
40096         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40097         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40098         * sysdeps/i386/fpu/branred.c: Likewise.
40099         * sysdeps/i386/fpu/dosincos.c: Likewise.
40100         * sysdeps/i386/fpu/mpa.c: Likewise.
40101         * sysdeps/i386/fpu/s_cos.S: Likewise.
40102         * sysdeps/i386/fpu/s_sin.S: Likewise.
40103         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40104         * sysdeps/i386/fpu/sincos32.c: Likewise.
40105
40106         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40107         Define.
40108         (libc_feupdateenv_53bit): Define.
40109         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40110         Define.
40111         (libc_feupdateenv_53bit): Define.
40112
40113         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40114         53 bit (without extend i386 double precision).
40115
40116         * math/libm-test.inc (sincos_test): Add tests for large input.
40117         (sin): Likewise.
40118         (cos): Likewise.
40119
40120         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40121
40122 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40123
40124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40125
40126 2012-03-15  David S. Miller  <davem@davemloft.net>
40127
40128         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40129         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40130         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40131         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40144         file.
40145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40147         file.
40148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40150         file.
40151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40153         file.
40154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40155         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40156         fmin/fmax sysdep routines.
40157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40158
40159 2012-03-14  David S. Miller  <davem@davemloft.net>
40160
40161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40163         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40166         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40167         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40168         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40169         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40178         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40181         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40182         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40183         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40184         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40185         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40186         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40187         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40188         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40190         routines.
40191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40192         file.
40193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40195         file.
40196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40198         file.
40199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40201         file.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40204         file.
40205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40207         file.
40208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40209         file.
40210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40211         file.
40212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40213         file.
40214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40215         New file.
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40217         file.
40218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40219         file.
40220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40222         file.
40223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40225         file.
40226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40228         file.
40229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40231         VIS3 routines.
40232
40233         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40234         New file.
40235
40236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40237
40238         * sysdeps/sparc/configure.in: New file.
40239         * sysdeps/sparc/configure: Generate.
40240         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40241         * configure: Regenerate.
40242         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40243         * config.make.in (have-as-vis3): New.
40244         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40245         available use -Av9d instead of -Av9a.
40246         * sysdeps/sparc/sparc64/Makefile: Likewise.
40247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40249         New file.
40250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40251         file.
40252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40253         New file.
40254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40255         file.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40258         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40259         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40260         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40261
40262         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40263         fzeros/fnegs to load 0x80000000 into a float register instead of
40264         using the stack.
40265         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40266
40267 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40268
40269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40270         bits/syscall.h.
40271         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40272         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40273         ($(inst_includedir)/bits/syscall.h): Remove rule.
40274         ($(objpfx)bits/syscall.d): Include instead of
40275         $(objpfx)syscall-list.d.
40276         (generated): Change syscall-list.h and syscall-list.d to
40277         bits/syscall.h and bits/syscall.d.
40278
40279 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40280
40281         [BZ #13846]
40282         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40283
40284 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40285
40286         [BZ #13841]
40287         * math/s_csqrt.c: Include <float.h>.
40288         (__csqrt): Scale large or subnormal inputs.
40289         * math/s_csqrtf.c: Likewise.
40290         * math/s_csqrtl.c: Likewise.
40291         * math/libm-test.inc (csqrt_test): Add more tests.
40292         * sysdeps/i386/fpu/libm-test-ulps: Update.
40293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40294
40295         [BZ #13840]
40296         * math/libm-test.inc (hypot_test): Add more tests.
40297
40298 2012-03-13  David S. Miller  <davem@davemloft.net>
40299
40300         [BZ #13840]
40301         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40302         double-precision for the calculation instead of scaling.
40303
40304 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40305
40306         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40307         manipulate bits before adding and subtracting TWO52[sx].
40308         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40309         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40310         Likewise.
40311         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40312
40313 2012-03-13  David S. Miller  <davem@davemloft.net>
40314
40315         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40316         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40317         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40318         rtld-global-offsets.h
40319         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40320
40321         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40322         large parameters.
40323
40324         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40325
40326         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40327         'err' in the ifdef scope in which it is actually used.
40328
40329         * nss/nss_db/db-init.c: Include string.h
40330
40331 2012-03-12  David S. Miller  <davem@davemloft.net>
40332
40333         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40334         masking out of the most significant byte of random value used.
40335         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40336         Fix coding style in previous change.
40337
40338         * sysdeps/unix/sysv/linux/kernel-features.h
40339         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40340         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40341         expression.
40342         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40343         later.
40344
40345 2012-03-11  David S. Miller  <davem@davemloft.net>
40346
40347         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40348         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40349         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40350         for 'resultvar' otherwise things get truncated on 64-bit.
40351
40352         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40353         Fix masking out of the most significant byte of random value used.
40354
40355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40356
40357 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40358
40359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40360
40361 2012-03-09  David S. Miller  <davem@davemloft.net>
40362
40363         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40364         variables with appropriate CPP guards.
40365         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40366         from the frame pointer, not the stack pointer.  Correct layout
40367         comments.  Fix test on resulting framesize and the management of
40368         the outregs buffer for pltexit.  Preserve floating point return
40369         values across _dl_call_pltexit call.
40370         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40371         framesize and the management of the outregs buffer for pltexit.
40372         Preserve floating point return values across _dl_call_pltexit
40373         call.
40374         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40375         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40376         (la_sparc64_gnu_pltexit): New functions.
40377         (print_exit): Fix format string for return register value.
40378
40379 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40380
40381         * sunrpc/Makefile (others): Add rpcgen.
40382         ($(objpfx)rpcgen): Remove special build rule and dependency on
40383         libc.
40384         * sunrpc/rpcgen.c: New file.
40385
40386 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40387
40388         [BZ #13673]
40389         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40390         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40391         * sysdeps/i386/crti.S: Likewise.
40392         * sysdeps/i386/crtn.S: Likewise.
40393         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40394         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40395         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40396         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40397         * sysdeps/sh/crti.S: Likewise.
40398         * sysdeps/sh/crtn.S: Likewise.
40399         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40400
40401         [BZ #13673]
40402         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40403         with URL.
40404         * locale/programs/locfile-kw.gperf: Likewise.
40405         * locale/programs/charmap-kw.h: Regenerated.
40406         * locale/programs/locfile-kw.h: Likewise.
40407
40408         [BZ #13673]
40409         * intl/plural.y: Replace FSF snail mail address with URL.
40410         * intl/plural.c: Regenerated.
40411
40412 2012-03-09  Richard Henderson  <rth@twiddle.net>
40413
40414         * include/math_private.h: Remove file.
40415         * math/math_private.h: Move file ...
40416         * sysdeps/generic/math_private.h: ... here.
40417
40418         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40419         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40420         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40421
40422         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40423         and <math_private.h>.
40424         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40425         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40426         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40427         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40428         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40432         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40433         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40434         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40440         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40478         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40481         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40489         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40490         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40491         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40492         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40493         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40494         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40495         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40496         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40497         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40498         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40499         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40502         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40503         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40504         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40505         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40507         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40508         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40509         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40510         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40512         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40513         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40514         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40515         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40516         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40517         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40518         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40519         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40520         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40521         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40522         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40523         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40524         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40525         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40526         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40527         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40528         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40529         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40530         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40531         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40532         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40533         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40534         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40535         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40536         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40537         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40538         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40539         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40540         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40541         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40542         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40543         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40544         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40545         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40546         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40547         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40548         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40549         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40550         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40551         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40552         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40553         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40554         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40555         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40556         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40557         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40558         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40559         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40560         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40561         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40562         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40563         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40564         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40565         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40566         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40567         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40568         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40569         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40570         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40571         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40572         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40573         * sysdeps/ieee754/k_standard.c: Likewise.
40574         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40575         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40576         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40577         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40578         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40579         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40583         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40586         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40587         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40588         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40589         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40590         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40591         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40592         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40593         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40594         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40595         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40626         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40628         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40630         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40641         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40644         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40647         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40648         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40649         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40678         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40679         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40683         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40684         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40687         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40688         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40689         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40693         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40694         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40696         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40699         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40701         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40702         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40703         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40706         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40711         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40712         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40717         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40718         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40721         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40722         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40723         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40724         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40725         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40734         * sysdeps/ieee754/s_lib_version.c: Likewise.
40735         * sysdeps/ieee754/s_matherr.c: Likewise.
40736         * sysdeps/ieee754/s_signgam.c: Likewise.
40737         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40738         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40739         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40740         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40741         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40742         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40743         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40744         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40745         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40746         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40747         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40748         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40749         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40750         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40751         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40752         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40753         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40754         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40755         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40756         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40757         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40758
40759 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40760
40761         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40762         * sunrpc/rpc_main.c: Likewise.
40763         * sunrpc/rpc_svcout.c: Likewise.
40764
40765 2012-03-09  David S. Miller  <davem@davemloft.net>
40766
40767         * include/math_private.h: New file.
40768
40769 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40770
40771         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40772         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40773         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40774         from <bits/socket_type.h>.
40775         (enum __socket_type): Don't define here.
40776         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40778         bits/socket_type.h.
40779
40780         [BZ #13566]
40781         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40782         checking __USE_GNU.
40783
40784         * Makerules ($(inst_includedir)/%.h): New rule.
40785         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40786         (install-others): Remove variable setting.
40787         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40788
40789 2012-03-08  Richard Henderson  <rth@twiddle.net>
40790
40791         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40792         from macro to inline function; merge with the
40793         !__LIBC_INTERNAL_MATH_INLINES version.
40794         (__ieee754_sqrtf): Likewise.
40795
40796         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40797         to inline function.
40798         (__rintf, __floor, __floorf): Likewise.
40799
40800         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40801         macro to inline function.
40802         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40803
40804         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40805         not <math/math_private.h>.
40806
40807 2012-03-08  David S. Miller  <davem@davemloft.net>
40808
40809         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40810         copyright year.
40811         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40812
40813 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40814
40815         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40816         normalization.
40817         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40818         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40819
40820 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40821
40822         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40823         be defined individually, they must be defined as a block.  Define
40824         S for printing a string instead of hidint the different by using a
40825         macro for adding the 'l'.
40826         * stdio-common/tst-fphex-wide.c: Adjust.
40827
40828 2012-03-07  Marek Polacek  <polacek@redhat.com>
40829
40830         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40831
40832 2012-03-08  Marek Polacek  <polacek@redhat.com>
40833
40834         [BZ #13806]
40835         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40836         * stdio-common/tst-fphex.c: Define a few macros to make the
40837         test reusable.  Use them.
40838         * stdio-common/tst-fphex-wide.c: New file.
40839
40840 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40841
40842         [BZ #6911]
40843         * manual/macros.texi (gnusystems): New macro.
40844         (nongnusystems): Likewise.
40845         (gnulinuxhurdsystems): Likewise.
40846         (gnuhurdsystems): Likewise..
40847         (gnulinuxsystems): Likewise.
40848         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40849         variants of the GNU system, not "GNU system".
40850         * manual/conf.texi: Likewise.
40851         * manual/errno.texi: Likewise.  Update example of errno macro
40852         expansion.
40853         * manual/filesys.texi: Likewise.
40854         (getumask): Document as specific to GNU/Hurd.
40855         * manual/install.texi: Likewise.  Reword some references to
40856         GNU/Linux.
40857         * manual/intro.texi: Likewise.
40858         * manual/io.texi: Likewise.
40859         (File Name Portability): Detail which constraints are inapplicable
40860         to all GNU systems and which are only inapplicable to GNU/Hurd.
40861         * manual/job.texi: Likewise.
40862         * manual/llio.texi: Likewise.
40863         (O_NOCTTY): Document as present on GNU/Linux.
40864         * manual/maint.texi: Likewise.
40865         * manual/memory.texi: Likewise.
40866         * manual/pattern.texi: Likewise.
40867         * manual/pipe.texi: Likewise.
40868         * manual/process.texi: Likewise.
40869         * manual/resource.texi: Likewise.
40870         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40871         child on GNU/Hurd.
40872         * manual/setjmp.texi: Likewise.
40873         * manual/signal.texi: Likewise.
40874         * manual/startup.texi: Likewise.
40875         * manual/stdio.texi: Likewise.
40876         * manual/terminal.texi: Likewise.
40877         (ONLCR): Document as POSIX.
40878         (OXTABS): Document availability on GNU/Linux as XTABS.
40879         (ONOEOT): Document availability separately from other bits.
40880         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40881         * manual/time.texi: Likewise.
40882         * manual/users.texi: Likewise.
40883         * INSTALL: Regenerated.
40884         * sysdeps/gnu/errlist.c: Regenerated.
40885
40886         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40887         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40888         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40889         puts.
40890         * configure: Regenerated.
40891
40892 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40893
40894         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40895         default includes instead of AC_HEADER_CHECK.
40896         * sysdeps/i386/configure: Regenerated.
40897
40898         [BZ #10716]
40899         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40900         * math/s_cacoshf.c (__cacoshf): Likewise.
40901         * math/s_cacoshl.c (__cacoshl): Likewise.
40902         * math/s_casinh.c (__casinh): Set signs of result from argument.
40903         * math/s_casinhf.c (__casinhf): Likewise.
40904         * math/s_casinhl.c (__casinhl): Likewise.
40905         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40906         (casinh_test): Add more tests.
40907         * sysdeps/i386/fpu/libm-test-ulps: Update.
40908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40909
40910 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40911
40912         * po/zh_TW.po: Update from translation team.
40913
40914         * login/Makefile (distribute): Remove variable.
40915         * catgets/Makefile: Likewise.
40916         * mach/Makefile: Likewise.
40917         * malloc/Makefile: Likewise.
40918         * misc/Makefile: Likewise.
40919         * iconv/Makefile: Likewise.
40920         * nscd/Makefile: Likewise.
40921         * hurd/Makefile: Likewise.
40922         * manual/Makefile: Likewise.
40923         * locale/Makefile: Likewise.
40924         * intl/Makefile: Likewise.
40925         * conform/Makefile: Likewise.
40926         * nss/Makefile: Likewise.
40927         * time/Makefile: Likewise.
40928         * soft-fp/Makefile: Likewise.
40929         * dirent/Makefile: Likewise.
40930         * gmon/Makefile: Likewise.
40931         * po/Makefile: Likewise.
40932         * rt/Makefile: Likewise.
40933         * socket/Makefile: Likewise.
40934         * math/Makefile: Likewise.
40935         * signal/Makefile: Likewise.
40936         * debug/Makefile: Likewise.
40937         * elf/Makefile: Likewise.
40938         * timezone/Makefile: Likewise.
40939         * stdlib/Makefile: Likewise.
40940         * iconvdata/Makefile: Likewise.
40941         * sunrpc/Makefile: Likewise.
40942         * io/Makefile: Likewise.
40943         * argp/Makefile: Likewise.
40944         * inet/Makefile: Likewise.
40945         * hesiod/Makefile: Likewise.
40946         * grp/Makefile: Likewise.
40947         * csu/Makefile: Likewise.
40948         * wctype/Makefile: Likewise.
40949         * crypt/Makefile: Likewise.
40950         * libio/Makefile: Likewise.
40951         * string/Makefile: Likewise.
40952         * nis/Makefile: Likewise.
40953         * resolv/Makefile: Likewise.
40954         * stdio-common/Makefile: Likewise.
40955         * wcsmbs/Makefile: Likewise.
40956         * dlfcn/Makefile: Likewise.
40957         * posix/Makefile: Likewise.
40958
40959         [BZ #6959]
40960         * timezone/Makefile: Don't install timezone files, just the programs
40961         and scripts.
40962
40963 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40964
40965         * nss/databases.def: Add missing gshadow entry.
40966
40967         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40968
40969 2012-03-06  Marek Polacek  <polacek@redhat.com>
40970
40971         [BZ #13726]
40972         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40973         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40974         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40975         * stdio-common/tst-long-dbl-fphex.c: New file.
40976
40977 2012-03-06  David S. Miller  <davem@davemloft.net>
40978
40979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40980         (set_obp_int): New function.
40981         (get_obp_int): New function.
40982         (__get_clockfreq_via_dev_openprom): Likewise.
40983         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40984         Avoid unused variable warnings on 'val' and use builtin_expect.
40985         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40986         __builtin_expect.
40987         (INLINE_CLONE_SYSCALL): Likewise.
40988
40989 2012-03-05  David S. Miller  <davem@davemloft.net>
40990
40991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40992
40993 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40994
40995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40996
40997         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40998         only for |x| >= 40.
40999         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41000
41001 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41002
41003         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41004         Replace gettimeofday with __vdso_gettimeofday.
41005
41006         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41007         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41008         __vdso_clock_gettime and __vdso_getcpu.
41009
41010         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41011         time with __vdso_time.
41012
41013 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41014
41015         * manual/lang.texi (size_t): Note types to which size_t may be
41016         equivalent with the GNU C Library, but do not describe when
41017         differences between them are significant.
41018
41019 2012-03-05  Andreas Jaeger  <aj@suse.de>
41020
41021         * sysdeps/i386/fpu/libm-test-ulps: Update.
41022
41023 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41024
41025         [BZ #3976]
41026         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41027         (__ieee754_pow): Save and restore rounding mode and use
41028         round-to-nearest for main computations.
41029         * math/libm-test.inc (pow_test_tonearest): New function.
41030         (pow_test_towardzero): Likewise.
41031         (pow_test_downward): Likewise.
41032         (pow_test_upward): Likewise.
41033         (main): Call the new functions.
41034         * sysdeps/i386/fpu/libm-test-ulps: Update.
41035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41036
41037         [BZ #3976]
41038         * math/libm-test.inc (cosh_test_tonearest): New function.
41039         (cosh_test_towardzero): Likewise.
41040         (cosh_test_downward): Likewise.
41041         (cosh_test_upward): Likewise.
41042         (sinh_test_tonearest): Likewise.
41043         (sinh_test_towardzero): Likewise.
41044         (sinh_test_downward): Likewise.
41045         (sinh_test_upward): Likewise.
41046         (main): Call the new functions.
41047         * sysdeps/i386/fpu/libm-test-ulps: Update.
41048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41049
41050 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41051
41052         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41053         default stack guard is set in last bytes.
41054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41055
41056 2012-03-05  Kees Cook  <keescook@chromium.org>
41057
41058         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41059
41060         [BZ #13656]
41061         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41062         possibly allocate from heap instead of stack.
41063         * stdio-common/bug-vfprintf-nargs.c: New file.
41064         * stdio-common/Makefile (tests): Add nargs overflow test.
41065
41066 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41067
41068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41069
41070 2012-03-03  Marek Polacek  <polacek@redhat.com>
41071
41072         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41073         * math/math_private.h: Likewise.
41074         * stdlib/tst-strtod.c: Likewise.
41075         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41076         * sysdeps/x86_64/bits/atomic.h: Likewise.
41077
41078 2012-03-02  David S. Miller  <davem@davemloft.net>
41079
41080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41084         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41085         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41086         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41087         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41088
41089 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41090
41091         [BZ #13792]
41092         * manual/examples/README: New file, says the example source files
41093         can be used under GPL>=2.
41094         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41095         line containing just "*/".
41096         * manual/examples/add.c: Add copyright header (GPL>=2).
41097         * manual/examples/argp-ex1.c: Likewise.
41098         * manual/examples/argp-ex2.c: Likewise.
41099         * manual/examples/argp-ex3.c: Likewise.
41100         * manual/examples/argp-ex4.c: Likewise.
41101         * manual/examples/atexit.c: Likewise.
41102         * manual/examples/db.c: Likewise.
41103         * manual/examples/dir.c: Likewise.
41104         * manual/examples/dir2.c: Likewise.
41105         * manual/examples/execinfo.c: Likewise.
41106         * manual/examples/filecli.c: Likewise.
41107         * manual/examples/filesrv.c: Likewise.
41108         * manual/examples/fmtmsgexpl.c: Likewise.
41109         * manual/examples/genpass.c: Likewise.
41110         * manual/examples/inetcli.c: Likewise.
41111         * manual/examples/inetsrv.c: Likewise.
41112         * manual/examples/isockad.c: Likewise.
41113         * manual/examples/longopt.c: Likewise.
41114         * manual/examples/memopen.c: Likewise.
41115         * manual/examples/memstrm.c: Likewise.
41116         * manual/examples/mkfsock.c: Likewise.
41117         * manual/examples/mkisock.c: Likewise.
41118         * manual/examples/mygetpass.c: Likewise.
41119         * manual/examples/pipe.c: Likewise.
41120         * manual/examples/popen.c: Likewise.
41121         * manual/examples/rprintf.c: Likewise.
41122         * manual/examples/search.c: Likewise.
41123         * manual/examples/select.c: Likewise.
41124         * manual/examples/setjmp.c: Likewise.
41125         * manual/examples/sigh1.c: Likewise.
41126         * manual/examples/sigusr.c: Likewise.
41127         * manual/examples/stpcpy.c: Likewise.
41128         * manual/examples/strdupa.c: Likewise.
41129         * manual/examples/strftim.c: Likewise.
41130         * manual/examples/strncat.c: Likewise.
41131         * manual/examples/subopt.c: Likewise.
41132         * manual/examples/swapcontext.c: Likewise.
41133         * manual/examples/termios.c: Likewise.
41134         * manual/examples/testopt.c: Likewise.
41135         * manual/examples/testpass.c: Likewise.
41136         * manual/examples/timeval_subtract.c: Likewise.
41137
41138         [BZ #13792]
41139         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41140         function to ...
41141         * manual/timeval_subtract.c.texi: ... here, new file.
41142
41143 2012-03-02  David S. Miller  <davem@davemloft.net>
41144
41145         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41146
41147 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41148
41149         [BZ #3976]
41150         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41151         (__sin): Save and restore rounding mode and use round-to-nearest
41152         for all computations.
41153         (__cos): Save and restore rounding mode and use round-to-nearest
41154         for all computations.
41155         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41156         <fenv.h>.
41157         (tan): Save and restore rounding mode and use round-to-nearest for
41158         all computations.
41159         * math/libm-test.inc (cos_test_tonearest): New function.
41160         (cos_test_towardzero): Likewise.
41161         (cos_test_downward): Likewise.
41162         (cos_test_upward): Likewise.
41163         (sin_test_tonearest): Likewise.
41164         (sin_test_towardzero): Likewise.
41165         (sin_test_downward): Likewise.
41166         (sin_test_upward): Likewise.
41167         (tan_test_tonearest): Likewise.
41168         (tan_test_towardzero): Likewise.
41169         (tan_test_downward): Likewise.
41170         (tan_test_upward): Likewise.
41171         (main): Call the new functions.
41172         * sysdeps/i386/fpu/libm-test-ulps: Update.
41173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41174
41175         [BZ #10135]
41176         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41177         small n, then large n, before computing and testing k+n.
41178         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41179         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41180         Likewise.
41181         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41182         Likewise.
41183         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41184         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41187         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41188         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41189         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41190         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41191         * math/libm-test.inc (scalbn_test): Add more tests.
41192         (scalbln_test): Likewise.
41193
41194         * manual/filesys.texi (mode_t): Describe constraints on size and
41195         signedness, not exact equivalence to a particular type.
41196         (ino_t): Likewise.
41197         (ino64_t): Likewise.
41198         (dev_t): Likewise.
41199         (nlink_t): Likewise.
41200         (blkcnt_t): Likewise.
41201         (blkcnt64_t): Likewise.
41202         * manual/llio.texi (off_t): Likewise.
41203
41204         [BZ #3976]
41205         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41206         (__ieee754_exp): Save and restore rounding mode and use
41207         round-to-nearest for all computations.
41208         * math/libm-test.inc (exp_test_tonearest): New function.
41209         (exp_test_towardzero): Likewise.
41210         (exp_test_downward): Likewise.
41211         (exp_test_upward): Likewise.
41212         (main): Call the new functions.
41213         * sysdeps/i386/fpu/libm-test-ulps: Update.
41214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41215
41216 2012-03-01  Chris Demetriou  <cgd@google.com>
41217
41218         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41219         have predictable order.
41220
41221 2012-03-01  David S. Miller  <davem@davemloft.net>
41222
41223         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41224
41225         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41226         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41227         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41228         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41229
41230         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41231         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41232         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41234         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41235         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41236         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41237         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41238         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41239
41240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41241
41242         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41243         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41244         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41245
41246         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41247         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41248         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41249         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41250         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41251         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41252         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41253         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41254         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41255         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41256         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41257         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41259         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41260         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41262         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41263         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41264         * sysdeps/sparc/elf/configure: Regenerated.
41265
41266 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41267
41268         * configure.in (AS, LD): Require binutils 2.20 or later.
41269         * configure: Regenerated.
41270         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41271         as required minimum version.
41272         * INSTALL: Regenerated.
41273
41274         [BZ #2541]
41275         [BZ #4108]
41276         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41277         before squaring exponent.
41278         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41279         bottom long double and 27 bits of top long double before squaring
41280         exponent.
41281         * math/libm-test.inc (erfc_test): Add more tests.
41282         * sysdeps/i386/fpu/libm-test-ulps: Update.
41283         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41285
41286 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41287
41288         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41289         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41290         containing bit-fields.
41291         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41292         * soft-fp/single.h (_FP_UNION_S): Likewise.
41293         * soft-fp/double.h (_FP_UNION_D): Likewise.
41294
41295 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41296
41297         [BZ #13786]
41298         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41299         not include ../strcmp.S.
41300         [USE_AS_STRNCASECMP_L]: Likewise.
41301         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41302         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41303         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41304         (__strncasecmp_l_ia32): Define as alias to
41305         __strncasecmp_l_nonascii.
41306
41307         [BZ #5794]
41308         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41309         * sysdeps/i386/fpu/libm-test-ulps: Update.
41310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41311
41312         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41314
41315 2012-02-29  Jeff Law  <law@redhat.com>
41316
41317         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41318         out of bounds read.
41319
41320 2012-02-29  Marek Polacek  <polacek@redhat.com>
41321
41322         [BZ #13706]
41323         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41324         * elf/Makefile: Add rules to run tst-unused-dep.out.
41325
41326 2012-02-28  David S. Miller  <davem@davemloft.net>
41327
41328         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41329         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41330         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41331         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41332         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41333         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41334
41335 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41336
41337         * math/libm-test.inc (llround_test): Move one test from
41338         lround_test.  Use TEST_f_L in moved test.
41339         (lround_test): Move misplaced test to llround_test.  Add testcase
41340         from bug 2561.
41341
41342 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41343
41344         * sysdeps/x86_64/fpu/e_expf.S: New file.
41345         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41346
41347 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41348
41349         [BZ #13637]
41350         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41351         of remain_len that may cause incomplete multi-byte character and
41352         false match.
41353         * posix/bug-regex33.c: New file.
41354         * posix/Makefile (tests): Add bug-regex33.
41355
41356 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41357
41358         * manual/macros.texi: New file.
41359         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41360         * manual/libc.texinfo: Include macros.texi.
41361         * manual/creatute.texi: Likewise.
41362         * manual/install.texi: Likewise.
41363         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41364         @glibcadj{} in references to the GNU C Library.
41365         * manual/charset.texi: Likewise.
41366         * manual/conf.texi: Likewise.
41367         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41368         when not using those macros.
41369         * manual/creature.texi: Likewise.
41370         * manual/crypt.texi: Likewise.
41371         * manual/errno.texi: Likewise.
41372         * manual/filesys.texi: Likewise.
41373         * manual/header.texi: Likewise.
41374         * manual/install.texi: Likewise.
41375         * manual/intro.texi: Likewise.
41376         * manual/io.texi: Likewise.
41377         * manual/job.texi: Likewise.
41378         * manual/lang.texi: Likewise.
41379         * manual/libc.texiinfo: Likewise.
41380         * manual/llio.texi: Likewise.
41381         * manual/locale.texi: Likewise.
41382         * manual/maint.texi: Likewise.
41383         * manual/math.texi: Likewise.
41384         * manual/memory.texi: Likewise.
41385         * manual/message.texi: Likewise.
41386         * manual/nss.texi: Likewise.
41387         * manual/pattern.texi: Likewise.
41388         * manual/process.texi: Likewise.
41389         * manual/resource.texi: Likewise.
41390         * manual/search.texi: Likewise.
41391         * manual/setjmp.texi: Likewise.
41392         * manual/signal.texi: Likewise.
41393         * manual/socket.texi: Likewise.
41394         * manual/startup.texi: Likewise.
41395         * manual/stdio.texi: Likewise.
41396         * manual/string.texi: Likewise.
41397         * manual/sysinfo.texi: Likewise.
41398         * manual/syslog.texi: Likewise.
41399         * manual/terminal.texi: Likewise.
41400         * manual/time.texi: Likewise.
41401         * manual/users.texi: Likewise.
41402         * INSTALL: Regenerated.
41403         * NOTES: Regenerated.
41404         * sysdeps/gnu/errlist.c: Regenerated.
41405
41406 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41407
41408         * include/dirent.h: Include <dirstream.h> before
41409         <dirent/dirent.h>.
41410
41411 2012-02-28  David S. Miller  <davem@davemloft.net>
41412
41413         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41414         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41415         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41416         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41417
41418 2012-02-27  David S. Miller  <davem@davemloft.net>
41419
41420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41422         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41423         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41424
41425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41426         frame pointer instead of stack pointer relative arg slot.
41427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41428         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41429         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41430
41431 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41432
41433         [BZ #3992]
41434         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41435
41436 2012-02-27  David S. Miller  <davem@davemloft.net>
41437
41438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41442         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41443         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41444         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41445         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41446
41447 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41448
41449         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41450         later.  Allow versions 5-9.
41451         * configure: Regenerated.
41452         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41453         required minimum version and 4.6 as recommended version.  Do not
41454         mention bugs in GCC 2.7 and 2.8.
41455         * INSTALL: Regenerated.
41456
41457 2012-02-27  David S. Miller  <davem@davemloft.net>
41458
41459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41463         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41464         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41465         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41466         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41467
41468         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41469         manipulate bits before adding and subtracting TWO112[sx].
41470         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41471
41472 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41473
41474         [BZ #13775]
41475         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41476         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41477         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41478         being in POSIX, because they are in 1003.1-2008.
41479
41480         * rt/tst-aio.c: Include <fcntl.h>.
41481         * rt/tst-aio7.c: Likewise.
41482         * rt/tst-aio64.c: Likewise.
41483
41484         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41485
41486 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41487
41488         * manual/install.texi (--with-headers): Describe headers as
41489         interface headers, not private headers.
41490         (Specific advice for GNU/Linux systems): Describe use of headers
41491         from "make headers_install", not private headers from older
41492         kernels.
41493         * INSTALL: Regenerated.
41494         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41495         Change to 2.6.19.
41496         * sysdeps/unix/sysv/linux/configure: Regenerated.
41497
41498         * manual/llio.texi (fclean): Remove documentation.
41499
41500         * manual/Makefile (libc-texi-generated): New variable.  Include
41501         version.texi.
41502         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41503         $(libc-texi-generated), not duplicated list of files.
41504         (version.texi, stamp-version): New rules.
41505         (realclean): Remove $(libc-texi-generated), not individual files
41506         from that list.  Do not remove dir-add.texinfo.
41507         * manual/libc.texinfo: Comment out uses of edition numbers and
41508         references to printed manual.  Remove last-updated dates.
41509         (EDITION): Comment out.
41510         (ISBN): Likewise.
41511         (VERSION, UPDATED): Remove.
41512         (version.texi): Include.
41513
41514 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41515
41516         * sysdeps/posix/spawni.c: Include <signal.h>.
41517         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41518         * sysdeps/pthread/aio_fsync.c: Likewise.
41519
41520 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41521
41522         * conform/Makefile (tests): Run only when not cross-compiling and
41523         when fast-check is not defined.
41524
41525         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41526         * conform/data/limits.h-data: Fixes for POSIX2008.
41527         * conform/run-conformtest.sh: Run all tests.
41528         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41529         headers.
41530         * include/bits/dlfcn.h: Likewise.
41531         * include/langinfo.h: Likewise.
41532         * include/monetary.h: Likewise.
41533         * include/sys/poll.h: Likewise.
41534
41535         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41536         for __USE_GNU.
41537         * posix/spawn.h: Define __need_sigset_t.
41538         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41539         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41540         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41541         to get sigevent_t only.
41542         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41543         only for __USE_GNU.
41544         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41545         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41546         process_vm_writev only for __USE_GNU.
41547         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41548
41549         * conform/Makefile: For now ignore errors from run-conformtest.
41550         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41551         POSIX to avoid namespace pollution.  Don't prepend headers.
41552         * conform/data/aio.h-data: Fixes for POSIX testing.
41553         * conform/data/fcntl.h-data: Likewise.
41554         * conform/data/glob.h-data: Likewise.
41555         * conform/data/grp.h-data: Likewise.
41556         * conform/data/pthread.h-data: Likewise.
41557         * conform/data/pwd.h-data: Likewise.
41558         * conform/data/signal.h-data: Likewise.
41559         * conform/data/spawn.h-data: Likewise.
41560         * conform/data/stdio.h-data: Likewise.
41561         * conform/data/stdlib.h-data: Likewise.
41562         * conform/data/stropts.h-data: Likewise.
41563         * conform/data/sys/mman.h-data: Likewise.
41564         * conform/data/sys/stat.h-data: Likewise.
41565         * conform/data/sys/types.h-data: Likewise.
41566         * conform/data/sys/wait.h-data: Likewise.
41567         * conform/data/time.h-data: Likewise.
41568         * conform/data/unistd.h-data: Likewise.
41569         * conform/data/utime.h-data: Likewise.
41570
41571         * io/sys/stat.h: fchmod was always in POSIX.
41572         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41573         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41574         * rt/aio.h: Define __need_timespec before including <time.h>.
41575         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41576         struct.  Add forward declaration of pthread_attr_t and use it in
41577         sigevent.
41578         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41579         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41580         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41581         always remove CLK_TCK definition.
41582
41583 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41584
41585         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41586
41587 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41588
41589         * conform/run-conformtest.sh: New file.
41590         * conform/Makefile: Run run-conformtest for tests.
41591         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41592         support.
41593
41594         * conform/data/uchar.h-data: New file.
41595         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41596         * conform/data/arpa/inet.h-data: Likewise.
41597         * conform/data/assert.h-data: Likewise.
41598         * conform/data/complex.h-data: Likewise.
41599         * conform/data/cpio.h-data: Likewise.
41600         * conform/data/ctype.h-data: Likewise.
41601         * conform/data/dirent.h-data: Likewise.
41602         * conform/data/dlfcn.h-data: Likewise.
41603         * conform/data/errno.h-data: Likewise.
41604         * conform/data/fcntl.h-data: Likewise.
41605         * conform/data/float.h-data: Likewise.
41606         * conform/data/fmtmsg.h-data: Likewise.
41607         * conform/data/fnmatch.h-data: Likewise.
41608         * conform/data/ftw.h-data: Likewise.
41609         * conform/data/glob.h-data: Likewise.
41610         * conform/data/grp.h-data: Likewise.
41611         * conform/data/iconv.h-data: Likewise.
41612         * conform/data/inttypes.h-data: Likewise.
41613         * conform/data/langinfo.h-data: Likewise.
41614         * conform/data/libgen.h-data: Likewise.
41615         * conform/data/limits.h-data: Likewise.
41616         * conform/data/locale.h-data: Likewise.
41617         * conform/data/math.h-data: Likewise.
41618         * conform/data/monetary.h-data: Likewise.
41619         * conform/data/mqueue.h-data: Likewise.
41620         * conform/data/ndbm.h-data: Likewise.
41621         * conform/data/net/if.h-data: Likewise.
41622         * conform/data/netdb.h-data: Likewise.
41623         * conform/data/netinet/in.h-data: Likewise.
41624         * conform/data/nl_types.h-data: Likewise.
41625         * conform/data/poll.h-data: Likewise.
41626         * conform/data/pthread.h-data: Likewise.
41627         * conform/data/pwd.h-data: Likewise.
41628         * conform/data/regex.h-data: Likewise.
41629         * conform/data/sched.h-data: Likewise.
41630         * conform/data/search.h-data: Likewise.
41631         * conform/data/semaphore.h-data: Likewise.
41632         * conform/data/setjmp.h-data: Likewise.
41633         * conform/data/signal.h-data: Likewise.
41634         * conform/data/spawn.h-data: Likewise.
41635         * conform/data/stdarg.h-data: Likewise.
41636         * conform/data/stdio.h-data: Likewise.
41637         * conform/data/stdlib.h-data: Likewise.
41638         * conform/data/string.h-data: Likewise.
41639         * conform/data/strings.h-data: Likewise.
41640         * conform/data/stropts.h-data: Likewise.
41641         * conform/data/sys/ipc.h-data: Likewise.
41642         * conform/data/sys/mman.h-data: Likewise.
41643         * conform/data/sys/msg.h-data: Likewise.
41644         * conform/data/sys/resource.h-data: Likewise.
41645         * conform/data/sys/select.h-data: Likewise.
41646         * conform/data/sys/sem.h-data: Likewise.
41647         * conform/data/sys/shm.h-data: Likewise.
41648         * conform/data/sys/socket.h-data: Likewise.
41649         * conform/data/sys/stat.h-data: Likewise.
41650         * conform/data/sys/statvfs.h-data: Likewise.
41651         * conform/data/sys/time.h-data: Likewise.
41652         * conform/data/sys/timeb.h-data: Likewise.
41653         * conform/data/sys/times.h-data: Likewise.
41654         * conform/data/sys/types.h-data: Likewise.
41655         * conform/data/sys/uio.h-data: Likewise.
41656         * conform/data/sys/un.h-data: Likewise.
41657         * conform/data/sys/utsname.h-data: Likewise.
41658         * conform/data/sys/wait.h-data: Likewise.
41659         * conform/data/syslog.h-data: Likewise.
41660         * conform/data/tar.h-data: Likewise.
41661         * conform/data/termios.h-data: Likewise.
41662         * conform/data/utime.h-data: Likewise.
41663         * conform/data/utmpx.h-data: Likewise.
41664         * conform/data/varargs.h-data: Likewise.
41665         * conform/data/wchar.h-data: Likewise.
41666         * conform/data/wctype.h-data: Likewise.
41667         * conform/data/wordexp.h-data: Likewise.
41668
41669         * include/stropts.h: New file.
41670         * include/uchar.h: New file.
41671         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41672         * include/assert.h: Likewise.
41673         * include/ctype.h: Likewise.
41674         * include/dirent.h: Likewise.
41675         * include/dlfcn.h: Likewise.
41676         * include/fcntl.h: Likewise.
41677         * include/fnmatch.h: Likewise.
41678         * include/glob.h: Likewise.
41679         * include/grp.h: Likewise.
41680         * include/libio.h: Likewise.
41681         * include/locale.h: Likewise.
41682         * include/math.h: Likewise.
41683         * include/net/if.h: Likewise.
41684         * include/netdb.h: Likewise.
41685         * include/netinet/in.h: Likewise.
41686         * include/pthread.h: Likewise.
41687         * include/pwd.h: Likewise.
41688         * include/regex.h: Likewise.
41689         * include/sched.h: Likewise.
41690         * include/search.h: Likewise.
41691         * include/setjmp.h: Likewise.
41692         * include/signal.h: Likewise.
41693         * include/stdio.h: Likewise.
41694         * include/stdlib.h: Likewise.
41695         * include/string.h: Likewise.
41696         * include/sys/cdefs.h: Likewise.
41697         * include/sys/mman.h: Likewise.
41698         * include/sys/msg.h: Likewise.
41699         * include/sys/resource.h: Likewise.
41700         * include/sys/select.h: Likewise.
41701         * include/sys/socket.h: Likewise.
41702         * include/sys/stat.h: Likewise.
41703         * include/sys/statvfs.h: Likewise.
41704         * include/sys/time.h: Likewise.
41705         * include/sys/times.h: Likewise.
41706         * include/sys/uio.h: Likewise.
41707         * include/sys/utsname.h: Likewise.
41708         * include/sys/wait.h: Likewise.
41709         * include/termios.h: Likewise.
41710         * include/time.h: Likewise.
41711         * include/ulimit.h: Likewise.
41712         * include/unistd.h: Likewise.
41713         * include/utime.h: Likewise.
41714         * include/wchar.h: Likewise.
41715         * include/wctype.h: Likewise.
41716         * include/wordexp.h: Likewise.
41717
41718         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41719
41720         * time/time.h: TIME_UTC must be a macro.
41721         Make timespec_get available for ISO C11 only as well.
41722
41723 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41724
41725         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41726         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41727
41728 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41729
41730         * configure.in: Use -o not -a in test for unsupported multi-arch.
41731
41732 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41733
41734         * manual/texinfo.tex: Update to version 2012-01-19.16.
41735
41736 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41737
41738         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41739
41740 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41741
41742         [BZ #13738]
41743         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41744         * manual/fdl-1.3.texi: New file.
41745         * manual/fdl-1.1.texi: File removed.
41746
41747         [BZ #13738]
41748         * manual/libc.texinfo (FDL_VERSION): New @set.
41749         Use it for mention of FDL in cover text.
41750         (Documentation License): Use it in @include file name.
41751
41752 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41753             Roland McGrath  <roland@hack.frob.com>
41754
41755         [BZ #5461]
41756         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41757         (not LONG_LONG_MAX and LONG_LONG_MIN.
41758         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41759         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41760         name.
41761         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41762
41763 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41764
41765         [BZ #2547]
41766         [BZ #11365]
41767         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41768         manipulate bits before adding and subtracting TWO23[sx].
41769         * math/libm-test.inc (nearbyint_test): Add more tests.
41770
41771 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41772
41773         [BZ #2548]
41774         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41775         bits before adding and subtracting TWO23[sx].
41776         * math/libm-test.inc (rint_test): Add more tests.
41777         (rint_test_tonearest): Likewise.
41778         (rint_test_towardzero): Likewise.
41779         (rint_test_downward): Likewise.
41780         (rint_test_upward: Likewise.
41781
41782 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41783
41784         [BZ #10110]
41785         * include/stdc-predef.h: New file.  Extracted from features.h.
41786         * include/features.h: Include stdc-predef.h.
41787         * Makefile (headers): Add stdc-predef.h.
41788         * CONFORMANCE (Compiler limitations): Update.
41789
41790 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41791
41792         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41793
41794 2012-02-21  David S. Miller  <davem@davemloft.net>
41795
41796         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41797         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41798
41799 2012-02-20  David S. Miller  <davem@davemloft.net>
41800
41801         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41802         using a normal save/restore sequence, rather than allocating a
41803         dummy stack frame just to store a frame pointer and restore.
41804         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41805
41806 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41807
41808         * manual/install.texi: Fix stray word in line-wrapped comment.
41809
41810 2012-02-20  David S. Miller  <davem@davemloft.net>
41811
41812         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41813         both binutils and gcc support GOTDATA.
41814
41815         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41816         "rd %pc" in the PIC register setup sequences.
41817
41818         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41819         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41820         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41821         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41822         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41823         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41824         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41825         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41826         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41827         (SYSCALL_ERROR_HANDLER): Likewise.
41828         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41829         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41831         (SYSCALL_ERROR_HANDLER): Likewise.
41832
41833         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41834         (HAVE_GCC_GOTDATA): New.
41835         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41836         relocation support in both binutils and gcc.
41837         * sysdeps/sparc/elf/configure: Regenerate.
41838
41839         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41840         * sysdeps/sparc/sparc32/elf/configure: Delete.
41841         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41842         * sysdeps/sparc/sparc64/elf/configure: Delete.
41843         * sysdeps/sparc/elf/configure.in: New file.
41844         * sysdeps/sparc/elf/configure: Generate.
41845
41846         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41847         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41848         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41849         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41850         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41851
41852 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41853
41854         * manual/install.texi: Do not mention specific glibc version
41855         numbers.
41856         * manual/libc.texinfo (VERSION, UPDATED): Update.
41857         (@copying): Use @copyright{} and range of years.
41858
41859 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41860
41861         [BZ #13695]
41862         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41863         [crti.S not in sysdirs] (generated): Do not append.
41864         [crti.S not in sysdirs] (omit-deps): Likewise.
41865         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41866         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41867         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41868         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41869         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41870         Likewise.
41871         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41872         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41873         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41874         * csu/defs.awk: Remove file.
41875         * sysdeps/generic/initfini.c: Likewise.
41876         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41877         variable.
41878         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41879         Likewise.
41880
41881 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41882
41883         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41884         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41885         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41886         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41887         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41888         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41889         <bits/epoll.h>.
41890         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41891         (__EPOLL_PACKED): Define to empty if not defined by
41892         <bits/epoll.h>.
41893         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41894         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41895         bits/epoll.h.
41896
41897 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41898
41899         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41900         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41901         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41902         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41903         <bits/timerfd.h>.
41904         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41906         bits/timerfd.h.
41907
41908 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41909
41910         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41911         in C locale.
41912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41913         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41914         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41916
41917 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41918
41919         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41920         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41921
41922 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41923
41924         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41925         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41926         defined.
41927         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41928         Likewise.
41929         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41930         entry for 2.16.
41931
41932 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41933
41934         * math/w_acos.c: Use non-signaling floating-point comparisons.
41935         * math/w_acosf.c: Likewise.
41936         * math/w_acosh.c: Likewise.
41937         * math/w_acoshf.c: Likewise.
41938         * math/w_acoshl.c: Likewise.
41939         * math/w_acosl.c: Likewise.
41940         * math/w_asin.c: Likewise.
41941         * math/w_asinf.c: Likewise.
41942         * math/w_asinl.c: Likewise.
41943         * math/w_atanh.c: Likewise.
41944         * math/w_atanhf.c: Likewise.
41945         * math/w_atanhl.c: Likewise.
41946         * math/w_exp2.c: Likewise.
41947         * math/w_exp2f.c: Likewise.
41948         * math/w_exp2l.c: Likewise.
41949         * math/w_j0.c: Likewise.
41950         * math/w_j0f.c: Likewise.
41951         * math/w_j0l.c: Likewise.
41952         * math/w_j1.c: Likewise.
41953         * math/w_j1f.c: Likewise.
41954         * math/w_j1l.c: Likewise.
41955         * math/w_jn.c: Likewise.
41956         * math/w_jnf.c: Likewise.
41957         * math/w_log.c: Likewise.
41958         * math/w_log10.c: Likewise.
41959         * math/w_log10f.c: Likewise.
41960         * math/w_log10l.c: Likewise.
41961         * math/w_log2.c: Likewise.
41962         * math/w_log2f.c: Likewise.
41963         * math/w_log2l.c: Likewise.
41964         * math/w_logf.c: Likewise.
41965         * math/w_logl.c: Likewise.
41966         * math/w_sqrt.c: Likewise.
41967         * math/w_sqrtf.c: Likewise.
41968         * math/w_sqrtl.c: Likewise.
41969         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41970         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41971         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41972         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41973         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41974
41975 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41976
41977         [BZ #9739]
41978         * manual/string.texi (strnlen): Use correct parameter name in
41979         equivalent expression.
41980
41981 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41982
41983         [BZ #11174]
41984         * manual/users.texi (seteuid): Consistently use neweuid for
41985         argument name.
41986
41987 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41988
41989         [BZ #13704]
41990         * manual/nss.texi (Services in the NSS configuration): Correct
41991         list of services in example configuration file.
41992
41993 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41994
41995         [BZ #11322]
41996         * manual/arith.texi: Remove statements about negative zero
41997         behaving identically to zero.
41998
41999 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42000
42001         [BZ #5993]
42002         * manual/install.texi: Do not document upgrading from libc5.
42003
42004 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42005
42006         [BZ #4596]
42007         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42008
42009 2012-02-18  David S. Miller  <davem@davemloft.net>
42010
42011         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42012         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42013         %o7 across the call.
42014         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42015         instead.
42016         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42017         SETUP_PIC_REG_LEAF.
42018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42019         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42020         * sysdeps/sparc/crtn.S: Likewise.
42021
42022 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42023
42024         * aout/Makefile: Remove.
42025
42026 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42027
42028         [BZ #13058]
42029         * manual/examples/argp-ex1.c (main): Format definition in GNU
42030         style.
42031         * manual/examples/argp-ex2.c (main): Likewise.
42032         * manual/examples/argp-ex3.c (main): Likewise.
42033         * manual/examples/argp-ex4.c (main): Likewise.
42034         * manual/examples/longopt.c (main): Use new-style prototype
42035         definition.
42036         * manual/examples/strncat.c (main): Specify return type and use
42037         (void) for arguments.
42038         * manual/examples/subopt.c (main): Use char **argv argument.
42039
42040 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42041
42042         [BZ #5077]
42043         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42044         rounding modes.
42045
42046 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42047
42048         [BZ #6907]
42049         * manual/string.texi (strchr): Change when strchrnul is
42050         recommended.
42051
42052 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42053
42054         [BZ #174]
42055         * manual/locale.texi (setlocale): Document LOCPATH.
42056
42057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42058
42059         [BZ #10210]
42060         * manual/process.texi (execle): Move @dots{} before last argument.
42061
42062 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42063
42064         [BZ #12047]
42065         * manual/charset.texi (Generic Charset Conversion): Fix typo
42066         (LC_TYPE -> LC_CTYPE).
42067
42068 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42069
42070         [BZ #5805]
42071         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42072         (scalbnf): Likewise.
42073         (scalbnl): Likewise.
42074         (scalbln): Likewise.
42075         (scalblnf): Likewise.
42076         (scalblnl): Likewise.
42077         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42078         (vwarnx): Likewise.
42079         (verr): Likewise.
42080         (verrx): Likewise.
42081         * manual/filesys.texi (telldir): Use braces around return type.
42082         * manual/llio.texi (mmap): Add space after comma.
42083         (mmap64): Likewise.
42084         * manual/math.texi (jn): Use @var{} on parameter names.
42085         (jnf): Likewise.
42086         (jnl): Likewise.
42087         (yn): Likewise.
42088         (ynf): Likewise.
42089         (ynl): Likewise.
42090         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42091         line.
42092         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42093         "...".
42094         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42095         (sched_get_priority_max): Likewise.
42096         * manual/signal.texi (sigvec): Add space after comma.
42097         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42098         names.
42099         (if_indextoname): Likewise.
42100         (if_freenameindex): Likewise.
42101         (sendto): Use ',' instead of '.' in prototype.
42102         * manual/startup.texi (syscall): Use @dots{} instead of literal
42103         "...".
42104         * manual/stdio.texi (__fpending): Separate initial words of
42105         paragraph from @deftypefun line.
42106         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42107         "...".
42108         (vsyslog): Use @var{} on parameter names.
42109         * manual/terminal.texi (stty): Use @var{} on parameter names.
42110         * manual/users.texi (getutmp): Use @var{} on parameter names.
42111         (getutmpx): Likewise.
42112
42113 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42114
42115         [BZ #6884]
42116         * manual/stdio.texi (fopen): Fix typos in description of
42117         ",ccs=STRING".
42118
42119 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42120
42121         [BZ #4026]
42122         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42123         get clock_id definition.
42124
42125 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42126
42127         [BZ #4822]
42128         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42129         (madvise): Cast every argument to void on its own.
42130
42131 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42132
42133         [BZ #9902]
42134         * manual/startup.texi (Exit Status): Fix typo.
42135
42136 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42137
42138         [BZ #10140]
42139         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42140         * manual/examples/argp-ex2.c: Likewise.
42141         * manual/examples/argp-ex3.c: Likewise.
42142
42143 2012-02-16  Richard Henderson  <rth@redhat.com>
42144
42145         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42146         * sysdeps/s390/s390-32/initfini.c: Remove.
42147         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42148         * sysdeps/s390/s390-64/initfini.c: Remove.
42149
42150 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42151
42152         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42153         compiler output for sysdeps/generic/initfini.c.
42154         * sysdeps/sh/elf/initfini.c: Remove file.
42155
42156 2012-02-16  David S. Miller  <davem@davemloft.net>
42157
42158         [BZ #11494]
42159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42160
42161         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42162         * sysdeps/sparc/crti.S: New file.
42163         * sysdeps/sparc/crtn.S: New file.
42164         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42165         * sysdeps/sparc/sparc64/Makefile: Likewise.
42166
42167 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42168
42169         [BZ #3335]
42170         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42171
42172 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42173
42174         [BZ #4822]
42175         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42176
42177         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42178         (write, read, close): Likewise.
42179         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42180
42181 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42182
42183         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42184         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42185         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42186         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42187         <bits/signalfd.h>.
42188         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42190         bits/signalfd.h.
42191
42192 2012-02-14  Marek Polacek  <polacek@redhat.com>
42193
42194         * sysdeps/x86_64/crti.S: New file.
42195         * sysdeps/x86_64/crtn.S: New file.
42196         * sysdeps/x86_64/elf/initfini.c: Remove file.
42197
42198 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42199
42200         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42201         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42202         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42203         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42204         <bits/inotify.h>.
42205         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42207         bits/inotify.h.
42208
42209 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42210
42211         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42212         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42213         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42214         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42215         <bits/eventfd.h>.
42216         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42218         bits/eventfd.h.
42219
42220 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42221
42222         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42223         __feraiseexcept instead of feraiseexcept.
42224
42225         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42226         nanosleep invocations.
42227         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42228         strings, and add error checking for a nanosleep invocations.
42229
42230 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42231
42232         Replace FSF snail mail address with URLs, as per GNU coding standards.
42233         Most of the snail mail addresses were wrong anyway, and omitting
42234         them makes the source code easier to maintain.  Almost all of the
42235         changes are to license notices and to locale LC_IDENTIFICATION
42236         addresses, except for this one:
42237         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42238         not its snail mail address.
42239
42240 2012-02-09  Richard Henderson  <rth@twiddle.net>
42241
42242         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42243         of kernel-features.h.
42244
42245         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42246
42247 2012-02-08  Marek Polacek  <polacek@redhat.com>
42248
42249         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42250         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42251         * sysdeps/gnu/_G_config.h: Likewise.
42252         * sysdeps/generic/_G_config.h: Likewise.
42253
42254 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42255
42256         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42257         tests.
42258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42259
42260         * sysdeps/powerpc/powerpc32/crti.S: New file.
42261         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42262         * sysdeps/powerpc/powerpc64/crti.S: New file.
42263         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42264
42265         * Makeconfig (have-initfini): Don't set.
42266         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42267         * configure.in (nopic_initfini): Don't substitute.
42268         * config.h.in (HAVE_INITFINI): Don't #undef.
42269         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42270         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42271
42272 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42273
42274         Support crti.S and crtn.S provided directly by architectures.
42275         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42276         [crti.S in sysdirs] (omit-deps): Likewise.
42277         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42278         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42279         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42280         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42281         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42282         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42283         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42284         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42285         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42286         compiler output for sysdeps/generic/initfini.c.
42287         * sysdeps/i386/elf/Makefile: Remove file.
42288         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42289
42290 2012-02-07  Marek Polacek  <polacek@redhat.com>
42291
42292         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42293         * sysdeps/gnu/_G_config.h: Likewise.
42294         * sysdeps/mach/hurd/_G_config.h: Likewise.
42295
42296 2012-02-07  Marek Polacek  <polacek@redhat.com>
42297
42298         * math/Makefile (tests): Add tst-CMPLX2.
42299         * math/tst-CMPLX2.c: New file.
42300
42301 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42302
42303         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42304
42305         * math/libm-test.inc (jn_test): Add missing L suffix.
42306
42307 2012-02-06  Marek Polacek  <polacek@redhat.com>
42308
42309         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42310         * sysdeps/i386/fpu/e_powf.S: Likewise.
42311         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42312         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42313         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42314         * sysdeps/i386/fpu/e_pow.S: Likewise.
42315         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42316         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42317         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42318         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42319         * sysdeps/i386/fpu/e_log2.S: Likewise.
42320         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42321         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42322         * sysdeps/i386/fpu/e_powl.S: Likewise.
42323         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42324         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42325         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42326         * sysdeps/i386/fpu/e_logl.S: Likewise.
42327         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42328         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42329         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42330         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42331         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42332         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42333         * sysdeps/i386/fpu/e_log.S: Likewise.
42334         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42335         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42336         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42337         * sysdeps/i386/fpu/e_logf.S: Likewise.
42338         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42339         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42340         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42341         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42342         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42343         * sysdeps/i386/fpu/e_log10.S: Likewise.
42344         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42345         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42346         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42347         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42348         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42349         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42350         * sysdeps/i386/asm-syntax.h: Likewise.
42351         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42352         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42353         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42354         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42355         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42356         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42357         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42358         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42359         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42360         * sysdeps/powerpc/sysdep.h: Likewise.
42361         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42362         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42363
42364 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42365
42366         [BZ #411]
42367         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42368
42369 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42370
42371         * sysdeps/i386/sysdep.h: Include <features.h>.
42372         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42373         version.
42374
42375 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42376
42377         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42378         Define.
42379         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42380         LOAD_PIC_REG_STR.
42381
42382 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42383
42384         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42385         (SETUP_PIC_REG): Use GET_PC_THUNK.
42386         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42387         macro.
42388
42389 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42390
42391         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42392         for non-PIC compilation.
42393         (SETUP_PIC_REG): Add .p2align directive.
42394         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42395         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42396         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42397         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42398         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42399         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42400         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42401         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42402         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42403         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42404         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42405         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42406         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42407         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42408         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42409         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42410         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42411         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42412         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42413         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42414         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42415         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42416         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42417         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42418         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42419         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42420         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42421         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42422         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42423         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42424         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42425         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42426         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42427         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42428         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42429         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42430         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42431         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42432         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42433         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42434         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42435
42436 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42437
42438         * math/tst-CMPLX.c: Include <stdio.h>.
42439
42440 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42441
42442         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42443         float.
42444         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42445         * sysdeps/sparc/bits/mathdef.h: Likewise.
42446
42447 2012-01-31  Marek Polacek  <polacek@redhat.com>
42448
42449         * libio/libio.h: Don't define _PARAMS.
42450         * locale/programs/config.h: Don't define PARAMS.
42451         * stdlib/strtol_l.c: Likewise.
42452         (__strtol_l): Remove PARAMS from the prototype.
42453
42454 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42455
42456         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42457         names.  Just use the correct names.  Remove unnecessary wrapper
42458         functions.
42459         * malloc/arena.c: Likewise.
42460         * malloc/hooks.c: Likewise.
42461
42462         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42463         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42464         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42465
42466 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42467
42468         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42469         into tail calls.
42470         (update_get_addr): New function.
42471         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42472         GET_ADDR_MODULE parameter.
42473
42474 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42475
42476         * crypt/cert.c: Remove __STDC__ conditionals.
42477         * crypt/crypt-entry.c: Likewise.
42478         * crypt/crypt_util.c: Likewise.
42479         * libio/filedoalloc.c: Likewise.
42480         * libio/fileops.c: Likewise.
42481         * libio/genops.c: Likewise.
42482         * libio/iofclose.c: Likewise.
42483         * libio/iofdopen.c: Likewise.
42484         * libio/iofopen.c: Likewise.
42485         * libio/iofopen64.c: Likewise.
42486         * libio/iogetdelim.c: Likewise.
42487         * libio/iopopen.c: Likewise.
42488         * libio/obprintf.c: Likewise.
42489         * libio/oldfileops.c: Likewise.
42490         * libio/oldiofclose.c: Likewise.
42491         * libio/oldiofdopen.c: Likewise.
42492         * libio/oldiofopen.c: Likewise.
42493         * libio/oldiopopen.c: Likewise.
42494         * libio/wfiledoalloc.c: Likewise.
42495         * libio/wgenops.c: Likewise.
42496         * locale/programs/xmalloc.c: Likewise.
42497         * misc/syslog.c: Likewise.
42498         * stdio-common/xbug.c: Likewise.
42499         * string/memchr.c: Likewise.
42500         * string/memcmp.c: Likewise.
42501         * string/memrchr.c: Likewise.
42502         * string/rawmemchr.c: Likewise.
42503         * sysdeps/posix/getcwd.c: Likewise.
42504         * time/strftime_l.c: Likewise.
42505
42506 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42507
42508         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42509         * config.make.in (config-cflags-sse2avx): Define.
42510         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42511         Fix typo.
42512
42513 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42514
42515         * scripts/config.guess: Update from upstream config git repository.
42516         * scripts/config.sub: Likewise.
42517
42518 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42519
42520         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42521         (EM_NUM): Update.
42522         (R_TILEPRO_*, R_TILEGX_*): New macros.
42523
42524         * scripts/firstversions.awk: Fix bug in version range handling.
42525
42526         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42527
42528         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42529
42530         * include/sys/epoll.h: New file.
42531         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42532         libc_hidden_def.
42533
42534 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42535
42536         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42537         Avoid unnecessary __WORDSIZE == 64 test.
42538         (fmaxf): Use VEX format if possible.
42539         (fmax): Likewise.
42540         (fminf): Likewise.
42541         (fmin): Likewise.
42542
42543         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42544         * math/math_private.h: Remove libc_fegetround* and
42545         libc_fesetround*.
42546         * sysdeps/i386/configure.in: Check for -msse2avx.
42547         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42548         also if SSE2AVX is defined.
42549         Remove libc_fegetround* and libc_fesetround*.
42550         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42551         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42552         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42553         of HAS_YMM_USABLE.
42554         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42555         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42556         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42557         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42558         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42559
42560         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42561
42562 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42563
42564         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42565         size is not set.
42566         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42567
42568 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42569
42570         [BZ #13618]
42571         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42572         relocation.
42573         * Makeconfig (libm): Define.
42574         * elf/Makefile: Add rules to build and run tst-relsort1.
42575         * elf/tst-relsort1.c: New file.
42576         * elf/tst-relsort1mod1.c: New file.
42577         * elf/tst-relsort1mod2.c: New file.
42578
42579 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42580
42581         * math/s_ldexp.c: Remove __STDC__ conditionals.
42582         * math/s_ldexpf.c: Likewise.
42583         * math/s_ldexpl.c: Likewise.
42584         * math/s_nextafter.c: Likewise.
42585         * math/s_nexttowardf.c: Likewise.
42586         * math/s_significand.c: Likewise.
42587         * math/s_significandf.c: Likewise.
42588         * math/s_significandl.c: Likewise.
42589         * math/w_jnl.c: Likewise.
42590         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42591         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42592         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42593         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42594         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42596         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42597         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42602         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42603         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42604         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42605         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42606         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42607         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42609         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42610         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42611         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42612         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42614         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42615         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42616         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42617         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42618         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42619         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42620         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42621         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42622         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42623         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42624         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42625         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42626         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42627         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42628         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42629         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42630         * sysdeps/ieee754/k_standard.c: Likewise.
42631         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42632         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42633         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42634         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42635         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42636         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42637         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42638         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42639         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42640         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42641         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42642         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42643         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42644         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42645         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42646         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42647         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42648         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42649         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42650         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42651         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42652         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42653         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42654         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42655         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42656         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42657         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42658         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42660         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42661         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42662         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42663         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42664         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42666         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42667         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42668         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42669         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42670         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42671         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42673         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42674         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42675         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42676         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42677         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42678         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42680         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42681         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42682         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42683         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42684         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42685         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42686         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42687         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42688         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42689         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42690         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42691         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42692         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42693         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42694         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42695         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42696         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42697         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42698         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42699         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42700         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42701         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42702         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42703         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42704         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42705         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42706         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42707         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42708         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42709         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42710         * sysdeps/ieee754/s_matherr.c: Likewise.
42711         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42712         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42714         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42715
42716 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42717
42718         * crypt/md5.h: Remove __STDC__ conditionals.
42719         * libio/libioP.h: Likewise.
42720         * locale/programs/config.h: Likewise.
42721         * sysdeps/generic/sysdep.h: Likewise.
42722         * sysdeps/i386/asm-syntax.h: Likewise.
42723         * sysdeps/s390/asm-syntax.h: Likewise.
42724         * sysdeps/unix/sysdep.h: Likewise.
42725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42727
42728 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42729
42730         * libio/libio.h: Remove __STDC__ conditionals.
42731         * malloc/obstack.h: Likewise.
42732         * math/complex.h: Likewise.
42733         * math/math.h: Likewise.
42734         * sysdeps/generic/_G_config.h: Likewise.
42735         * sysdeps/gnu/_G_config.h: Likewise.
42736         * sysdeps/mach/hurd/_G_config.h: Likewise.
42737         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42738         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42739         * sysdeps/sparc/bits/mathdef.h: Likewise.
42740
42741 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42742
42743         [BZ #13583]
42744         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42745         Clean up HAS_* macros.
42746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42747         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42748         possible.
42749         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42750         HAS_AVX.
42751         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42752         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42753         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42754         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42755         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42756
42757 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42758
42759         * elf/tst-unique3.cc (gets): Remove declaration.
42760         * elf/tst-unique3lib.cc (gets): Likewise.
42761         * elf/tst-unique3lib2.cc (gets): Likewise.
42762         * elf/tst-unique4.cc (gets): Likewise.
42763
42764 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42765
42766         * include/stdio.h: Add C++ protection.  Add gets declarations and
42767         definitions.
42768         * debug/tst-chk1.c: Don't declare gets here.
42769         * stdio-common/tst-gets.c: Likewise.
42770
42771 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42772
42773         * posix/glob: Remove directory.
42774
42775 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42776
42777         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42778
42779 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42780
42781         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42782         of the non-standard EPFNOSUPPORT.
42783
42784 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42785
42786         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42787         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42788         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42789
42790 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42791
42792         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42793
42794 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42795
42796         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42797         transient errors.
42798         * nscd/grpcache.c (cache_addgr): Likewise.
42799         * nscd/hstcache.c (cache_addhst): Likewise.
42800         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42801         * nscd/pwdcache.c (cache_addpw): Likewise.
42802         * nscd/servicescache.c (cache_addserv): Likewise.
42803
42804 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42805
42806         * malloc/malloc.c: Various cleanups.
42807         * malloc/hooks.c: Likewise.
42808
42809         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42810         * stdlib/bug-fmtmsg1.c: New file.
42811
42812         * stdlib/fmtmsg.c (init): Add missing unlock.
42813         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42814
42815 2012-01-12  Marek Polacek  <polacek@redhat.com>
42816
42817         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42818         and _GNU_SOURCE.
42819
42820 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42821
42822         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42823         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42824         macro to ensure uniqueness of label name.
42825         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42826         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42827
42828 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42829
42830         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42831
42832         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42833         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42834         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42835         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42836
42837 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42838
42839         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42840
42841         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42842         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42843         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42844
42845         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42846
42847         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42848         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42849         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42850         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42851
42852         * math/bits/math-finite.h: Add ldexp support.
42853
42854 2012-01-10  Marek Polacek  <polacek@redhat.com>
42855
42856         * locale/programs/localedef.h (show_archive_content): Add noreturn
42857         attribute.
42858
42859 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42860
42861         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42862
42863 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42864
42865         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42866
42867         * io/Makefile (headers): Add bits/poll2.h.
42868
42869 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42870
42871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42872         typo #include statement.
42873
42874 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42875
42876         * include/sys/cdefs.h: Define __attribute_alloc_size.
42877         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42878         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42879         * elf/pldd.c: Likewise.
42880         * iconv/iconv_charmap.c: Likewise.
42881         * iconv/iconvconfig.c: Likewise.
42882         * iconv/strtab.c: Likewise.
42883         * locale/programs/locale.c: Likewise.
42884         * locale/programs/localedef.h: Likewise.
42885         * locale/programs/simple-hash.c: Likewise.
42886         * nscd/nscd.h: Likewise.
42887         * nss/makedb.c: Likewise.
42888         * sysdeps/generic/ldconfig.h: Likewise.
42889         * locale/programs/localedef.c: Remove xmalloc prototype.
42890         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42891
42892 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42893
42894         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42895         appropriate.
42896
42897 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42898
42899         * math/Makefile (tests): Add tst-CMPLX.
42900         * math/tst-CMPLX.c: New file.
42901
42902         * math/complex.h (CMPLXL): Fix typo.
42903
42904         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42905         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42906         GLIBC_2.16.
42907         * debug/tst-chk1.c: Add poll and ppoll tests.
42908         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42909         * include/sys/poll.h: Add hidden proto for ppoll.
42910         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42911         * sysdeps/mach/hurd/ppoll.c: Likewise.
42912         * io/ppoll.c: Likewise.
42913         * debug/poll_chk.c: New file.
42914         * debug/ppoll_chk.c: New file.
42915         * include/bits/poll2.h: New file.
42916         * io/bits/poll2.h: New file.
42917
42918         [BZ #1350]
42919         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42920
42921         * configure.in: static is always set to yes.  Remove.
42922         * config.make.in: Don't set build-static.
42923         * Makeconfig: Remove use of build-static.
42924         * dlfcn/Makefile: Likewise.
42925         * elf/Makefile: Likewise.
42926         * math/Makefile: Likewise.
42927         * misc/Makefile: Likewise.
42928         * nptl/Makefile: Likewise.
42929         * sysdeps/mach/hurd/Makefile: Likewise.
42930
42931         * configure.in: PWD_P is not used anymore.
42932         * config.make.in: Remove PWD_P entry.
42933
42934         * configure.in: Remove last remnants of RANLIB.
42935         No need to check for signed size_t anymore.
42936         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42937         and IA-64.
42938         Remove __builtin_expect test because we require at least gcc 3.4.
42939         * aclocal.m4: Likewise.
42940
42941         * wcsmbs/mbrtoc16.c: Implement using towc function.
42942         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42943         * wcsmbs/wcsmbsload.c: Likewise.
42944         * iconv/gconv_simple.c: Likewise.
42945         * iconv/gconv_int.h: Likewise.
42946         * iconv/gconv_builtin.h: Likewise.
42947         * iconv/iconv_prog.c: Remove CHAR16 handling.
42948
42949         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42950
42951         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42952
42953         * configure.in: Remove --with-elf and --enable-bounded options.
42954         Dont set base_machine for ia64.  More non-ELF conditions removed.
42955         Remove testing and setting of leading underscore information.
42956         * config.make.in (build-bounded): Set to no.
42957         * config.h.in: Remove NO_UNDERSCORES entry.
42958         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42959         them.
42960         * csu/start.c: Remove !NO_UNDERSCORE code.
42961         * locale/localeinfo.h: Likewise.
42962         * sysdeps/generic/machine-gmon.h: Likewise.
42963         * sysdeps/generic/sysdep.h: Likewise.
42964         * sysdeps/i386/sysdep.h: Likewise.
42965         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42966         * sysdeps/mach/sysdep.h: Likewise.
42967         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42968         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42969         * sysdeps/sh/sysdep.h: Likewise.
42970         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42971         * sysdeps/unix/i386/sysdep.S: Likewise.
42972         * sysdeps/unix/sparc/start.c: Likewise.
42973         * sysdeps/unix/sparc/sysdep.S: Likewise.
42974         * sysdeps/unix/sparc/sysdep.h: Likewise.
42975         * sysdeps/unix/start.c: Likewise.
42976         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42977         * sysdeps/x86_64/sysdep.h: Likewise.
42978
42979 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42980
42981         [BZ #13553]
42982         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42983         for non-gcc.
42984         * argp/argp-fmtstream.h: Use const instead __const.
42985         * argp/argp.h: Likewise.
42986         * assert/assert.h: Likewise.
42987         * bits/fenv.h: Likewise.
42988         * bits/sched.h: Likewise.
42989         * bits/sigset.h: Likewise.
42990         * bits/sigthread.h: Likewise.
42991         * catgets/nl_types.h: Likewise.
42992         * conform/data/pthread.h-data: Likewise.
42993         * crypt/crypt-private.h: Likewise.
42994         * crypt/crypt.h: Likewise.
42995         * crypt/crypt_util.c: Likewise.
42996         * ctype/ctype.h: Likewise.
42997         * debug/execinfo.h: Likewise.
42998         * debug/mbsnrtowcs_chk.c: Likewise.
42999         * debug/mbsrtowcs_chk.c: Likewise.
43000         * debug/wcsnrtombs_chk.c: Likewise.
43001         * debug/wcsrtombs_chk.c: Likewise.
43002         * debug/wcstombs_chk.c: Likewise.
43003         * dirent/dirent.h: Likewise.
43004         * dlfcn/dlfcn.h: Likewise.
43005         * elf/neededtest4.c: Likewise.
43006         * grp/grp.h: Likewise.
43007         * gshadow/gshadow.h: Likewise.
43008         * iconv/gconv.h: Likewise.
43009         * iconv/gconv_int.h: Likewise.
43010         * iconv/gconv_simple.c: Likewise.
43011         * iconv/iconv.h: Likewise.
43012         * iconv/loop.c: Likewise.
43013         * iconv/skeleton.c: Likewise.
43014         * include/aio.h: Likewise.
43015         * include/aliases.h: Likewise.
43016         * include/argz.h: Likewise.
43017         * include/arpa/inet.h: Likewise.
43018         * include/assert.h: Likewise.
43019         * include/dirent.h: Likewise.
43020         * include/dlfcn.h: Likewise.
43021         * include/execinfo.h: Likewise.
43022         * include/fcntl.h: Likewise.
43023         * include/fenv.h: Likewise.
43024         * include/glob.h: Likewise.
43025         * include/grp.h: Likewise.
43026         * include/libintl.h: Likewise.
43027         * include/mntent.h: Likewise.
43028         * include/netdb.h: Likewise.
43029         * include/pwd.h: Likewise.
43030         * include/rpc/netdb.h: Likewise.
43031         * include/sched.h: Likewise.
43032         * include/search.h: Likewise.
43033         * include/shadow.h: Likewise.
43034         * include/signal.h: Likewise.
43035         * include/stdio.h: Likewise.
43036         * include/stdlib.h: Likewise.
43037         * include/string.h: Likewise.
43038         * include/sys/socket.h: Likewise.
43039         * include/sys/stat.h: Likewise.
43040         * include/sys/statfs.h: Likewise.
43041         * include/sys/statvfs.h: Likewise.
43042         * include/sys/syslog.h: Likewise.
43043         * include/sys/time.h: Likewise.
43044         * include/sys/uio.h: Likewise.
43045         * include/time.h: Likewise.
43046         * include/unistd.h: Likewise.
43047         * include/utmp.h: Likewise.
43048         * include/wchar.h: Likewise.
43049         * include/wctype.h: Likewise.
43050         * inet/aliases.h: Likewise.
43051         * inet/arpa/inet.h: Likewise.
43052         * inet/netinet/ether.h: Likewise.
43053         * inet/netinet/in.h: Likewise.
43054         * intl/libintl.h: Likewise.
43055         * io/bits/fcntl2.h: Likewise.
43056         * io/fcntl.h: Likewise.
43057         * io/ftw.h: Likewise.
43058         * io/sys/poll.h: Likewise.
43059         * io/sys/stat.h: Likewise.
43060         * io/sys/statfs.h: Likewise.
43061         * io/sys/statvfs.h: Likewise.
43062         * io/utime.h: Likewise.
43063         * libio/bits/stdio.h: Likewise.
43064         * libio/bits/stdio2.h: Likewise.
43065         * libio/libio.h: Likewise.
43066         * libio/libioP.h: Likewise.
43067         * libio/stdio.h: Likewise.
43068         * locale/lc-ctype.c: Likewise.
43069         * locale/locale.h: Likewise.
43070         * login/utmp.h: Likewise.
43071         * malloc/arena.c: Likewise.
43072         * malloc/malloc.c: Likewise.
43073         * malloc/malloc.h: Likewise.
43074         * malloc/mcheck.c: Likewise.
43075         * malloc/mtrace.c: Likewise.
43076         * math/bits/mathcalls.h: Likewise.
43077         * math/fenv.h: Likewise.
43078         * math/math_private.h: Likewise.
43079         * misc/bits/error.h: Likewise.
43080         * misc/bits/syslog.h: Likewise.
43081         * misc/err.h: Likewise.
43082         * misc/error.h: Likewise.
43083         * misc/fstab.h: Likewise.
43084         * misc/mntent.h: Likewise.
43085         * misc/regexp.h: Likewise.
43086         * misc/search.h: Likewise.
43087         * misc/sgtty.h: Likewise.
43088         * misc/sys/mman.h: Likewise.
43089         * misc/sys/syslog.h: Likewise.
43090         * misc/sys/uio.h: Likewise.
43091         * misc/sys/xattr.h: Likewise.
43092         * misc/ttyent.h: Likewise.
43093         * nis/rpcsvc/ypclnt.h: Likewise.
43094         * nss/nss.h: Likewise.
43095         * posix/bits/unistd.h: Likewise.
43096         * posix/fnmatch.h: Likewise.
43097         * posix/glob.h: Likewise.
43098         * posix/sched.h: Likewise.
43099         * posix/spawn.h: Likewise.
43100         * posix/sys/wait.h: Likewise.
43101         * posix/unistd.h: Likewise.
43102         * posix/wordexp.h: Likewise.
43103         * pwd/pwd.h: Likewise.
43104         * resolv/netdb.h: Likewise.
43105         * resource/sys/resource.h: Likewise.
43106         * rt/aio.h: Likewise.
43107         * rt/bits/mqueue2.h: Likewise.
43108         * rt/mqueue.h: Likewise.
43109         * shadow/shadow.h: Likewise.
43110         * signal/signal.h: Likewise.
43111         * socket/send.c: Likewise.
43112         * socket/sendto.c: Likewise.
43113         * socket/sys/socket.h: Likewise.
43114         * stdio-common/printf.h: Likewise.
43115         * stdlib/bits/stdlib.h: Likewise.
43116         * stdlib/fmtmsg.h: Likewise.
43117         * stdlib/monetary.h: Likewise.
43118         * stdlib/stdlib.h: Likewise.
43119         * stdlib/ucontext.h: Likewise.
43120         * streams/stropts.h: Likewise.
43121         * string/argz.h: Likewise.
43122         * string/bits/string2.h: Likewise.
43123         * string/string.h: Likewise.
43124         * string/strings.h: Likewise.
43125         * sunrpc/rpc/auth.h: Likewise.
43126         * sunrpc/rpc/auth_des.h: Likewise.
43127         * sunrpc/rpc/clnt.h: Likewise.
43128         * sunrpc/rpc/netdb.h: Likewise.
43129         * sunrpc/rpc/pmap_clnt.h: Likewise.
43130         * sunrpc/rpc/xdr.h: Likewise.
43131         * sysdeps/generic/inttypes.h: Likewise.
43132         * sysdeps/generic/net/if.h: Likewise.
43133         * sysdeps/generic/sys/swap.h: Likewise.
43134         * sysdeps/gnu/net/if.h: Likewise.
43135         * sysdeps/gnu/utmpx.h: Likewise.
43136         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43137         * sysdeps/i386/i486/bits/string.h: Likewise.
43138         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43139         * sysdeps/s390/bits/string.h: Likewise.
43140         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43141         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43142         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43143         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43144         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43145         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43146         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43147         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43148         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43149         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43150         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43151         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43152         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43153         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43154         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43155         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43156         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43157         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43158         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43159         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43160         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43161         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43162         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43163         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43164         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43165         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43166         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43167         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43168         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43169         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43170         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43171         * sysvipc/sys/ipc.h: Likewise.
43172         * sysvipc/sys/msg.h: Likewise.
43173         * sysvipc/sys/sem.h: Likewise.
43174         * sysvipc/sys/shm.h: Likewise.
43175         * termios/termios.h: Likewise.
43176         * time/sys/time.h: Likewise.
43177         * time/time.h: Likewise.
43178         * wcsmbs/bits/wchar2.h: Likewise.
43179         * wcsmbs/uchar.h: Likewise.
43180         * wcsmbs/wchar.h: Likewise.
43181         * wctype/wctype.h: Likewise.
43182
43183         [BZ #13551]
43184         * Makeconfig: Remove all but ELF support including AIX support.
43185         * Makerules: Likewise.
43186         * config.h.in: Likewise.
43187         * config.make.in: Likewise.
43188         * configure: Likewise.
43189         * configure.in: Likewise.
43190         * csu/Makefile: Likewise.
43191         * csu/version.c: Likewise.
43192         * debug/Makefile: Likewise.
43193         * dlfcn/Makefile: Likewise.
43194         * elf/Makefile: Likewise.
43195         * extra-lib.mk: Likewise.
43196         * iconv/Makefile: Likewise.
43197         * include/libc-symbols.h: Likewise.
43198         * include/shlib-compat.h: Likewise.
43199         * resolv/Makefile: Likewise.
43200         * resolv/res_libc.c: Likewise.
43201         * rt/Makefile: Likewise.
43202         * sysdeps/i386/asm-syntax.h: Likewise.
43203         * sysdeps/i386/sysdep.h: Likewise.
43204         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43205         * sysdeps/mach/sysdep.h: Likewise.
43206         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43207         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43208         * sysdeps/s390/asm-syntax.h: Likewise.
43209         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43210         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43211         * sysdeps/sh/sysdep.h: Likewise.
43212         * sysdeps/unix/sparc/sysdep.h: Likewise.
43213         * sysdeps/wordsize-32/divdi3.c: Likewise.
43214         * sysdeps/x86_64/sysdep.h: Likewise.
43215
43216         * argp/Versions: Remove _argp_unlock_xxx.
43217
43218         [BZ #13559]
43219         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43220         * abilist/libBrokenLocale.abilist: Likewise.
43221         * abilist/libanl.abilist: Likewise.
43222         * abilist/libc.abilist: Likewise.
43223         * abilist/libcrypt.abilist: Likewise.
43224         * abilist/libdl.abilist: Likewise.
43225         * abilist/libm.abilist: Likewise.
43226         * abilist/libnsl.abilist: Likewise.
43227         * abilist/libpthread.abilist: Likewise.
43228         * abilist/libresolv.abilist: Likewise.
43229         * abilist/librt.abilist: Likewise.
43230         * abilist/libthread_db.abilist: Likewise.
43231         * abilist/libutil.abilist: Likewise.
43232         * abilist/libnss_db.abilist: New file.
43233
43234         * scripts/abilist.awk: Add support for indirect functions.
43235
43236         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43237
43238         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43239
43240         * shlib-versions: Remove entries for ports architectures.
43241
43242         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43243         files in ports.
43244         * elf/stackguard-macros.h: Remove support for IA-64.
43245         * elf/tst-auditmod1.c: Likewise.
43246         * sysdeps/generic/ldsodefs.h: Likewise.
43247
43248         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43249         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43250         configure files.
43251
43252         [BZ #13552]
43253         * configure.in: Remove --enable-omitfp support.
43254         * FAQ.in: Adjust.
43255         * config.make.in: Likewise.
43256         * Makeconfig: Likewise.
43257         * manual/install.texi: Likewise.
43258
43259         In case anyone cares, the IA-64 architecture could move to ports.
43260         * sysdeps/ia64/*: Removed.
43261         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43262         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43263
43264         [BZ #13555]
43265         * configure.in: Remove entries for unsupported architectures.
43266
43267         [BZ #13533]
43268         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43269         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43270         routines.
43271         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43272         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43273         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43274         fall back to using wcrtomb.
43275         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43276         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43277         renaming.
43278         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43279         * wcsmbs/tst-c16c32-1.c: New file.
43280
43281         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43282         local variable.
43283
43284         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43285
43286         * elf/tst-unique3.cc: Add explicit declaration of gets.
43287         * elf/tst-unique3lib.cc: Likewise.
43288         * elf/tst-unique3lib2.cc: Likewise.
43289         * elf/tst-unique4.cc: Likewise.
43290
43291         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43292
43293 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43294
43295         [BZ #13566]
43296         * assert/assert.h (static_assert): Don't define for C++.
43297         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43298         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43299
43300 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43301
43302         * iconv/loop.c (single loop): Fix assertion in storing of
43303         remaining bytes.
43304
43305         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43306
43307 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43308
43309         * posix/getconf.c: Update copyright year.
43310         * nss/getent.c: Likewise.
43311         * nss/makedb.c: Likewise.
43312         * iconv/iconvconfig.c: Likewise.
43313         * iconv/iconv_prog.c: Likewise.
43314         * elf/ldconfig.c: Likewise.
43315         * elf/pldd.c: Likewise.
43316         * elf/sotruss.ksh: Likewise.
43317         * catgets/gencat.c: Likewise.
43318         * csu/version.c: Likewise.
43319         * elf/ldd.bash.in: Likewise.
43320         * elf/sprof.c (print_version): Likewise.
43321         * locale/programs/locale.c: Likewise.
43322         * locale/programs/localedef.c: Likewise.
43323         * login/programs/pt_chown.c: Likewise.
43324         * nscd/nscd.c (print_version): Likewise.
43325         * debug/xtrace.sh: Likewise.
43326         * malloc/memusage.sh: Likewise.
43327         * malloc/mtrace.pl: Likewise.
43328         * debug/catchsegv.sh: Likewise.
43329
43330 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43331
43332         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43333         pure attribute.
43334
43335 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43336
43337         [BZ #13533]
43338         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43339         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43340         transformations.
43341         * iconv/gconv_int.h: Likewise.
43342         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43343         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43344         from libc for GLIBC_2.16.
43345         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43346         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43347         * wcsmbs/uchar.h: Really define mbstate_t.
43348         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43349         * wcsmbs/c16rtomb.c: New file.
43350         * wcsmbs/mbrtoc16.c: New file.
43351         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43352         for C/POSIX locale.
43353         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43354         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43355
43356         * wcsmbs/wchar.h: Add missing __restrict.
43357
43358 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43359
43360         [BZ #13532]
43361         * time/Makefile (routines): Add timespec_get.
43362         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43363         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43364         timespec for ISO C11.
43365         * time/timespec_get.c: New file.
43366         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43367         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43368
43369         [BZ #13531]
43370         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43371         * stdlib/stdlib.h: Declare aligned_alloc.
43372         * Versions.def: Add GLIBC_2.16 for libc.
43373         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43374
43375         [BZ 13527]
43376         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43377         ISO C11.
43378
43379         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43380         code.
43381
43382         [BZ #13528]
43383         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43384
43385         [BZ #13529]
43386         * assert/assert.h (static_assert): Define.
43387
43388         * version.h: Update for 2.16 development version.
43389
43390         [BZ #13526]
43391         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43392         _ISOC11_SOURCE.
43393
43394         * version.h (RELEASE): Bump for 2.15 release.
43395         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43396
43397         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43398         Patch by Marek Polacek <mpolacek@redhat.com>.
43399
43400         * bits/byteswap.h: Protect long long constants with __extension__.
43401         * sysdeps/i386/bits/byteswap.h: Likewise.
43402         * sysdeps/ia64/bits/byteswap.h: Likewise.
43403         * sysdeps/s390/bits/byteswap.h: Likewise.
43404         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43405
43406 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43407
43408         [BZ #13540]
43409         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43410         destination buffer.
43411         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43412
43413 2011-12-23  Marek Polacek  <polacek@redhat.com>
43414
43415         * elf/dl-addr.c (determine_info): Add inline keyword.
43416         * elf/tst-auditmod4b.c (check_avx): Likewise.
43417         * elf/tst-auditmod6b.c (check_avx): Likewise.
43418         * elf/tst-auditmod6c.c (check_avx): Likewise.
43419         * elf/tst-auditmod7b.c (check_avx): Likewise.
43420
43421 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43422
43423         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43424         !__SSE_MATH__.
43425
43426 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43427
43428         [BZ #13540]
43429         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43430         processing for last bytes.
43431
43432 2011-08-06  Bruno Haible  <bruno@clisp.org>
43433
43434         [BZ #13061]
43435         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43436         U+0385, not to U+1FEE.
43437
43438         [BZ #13062]
43439         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43440         entry for U+00A5 U+0301.
43441
43442 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43443
43444         [BZ #13166]
43445         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43446         buffer for the output is too small.
43447
43448         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43449         optimization.
43450
43451         [BZ #13185]
43452         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43453         SSE flags if possible.
43454
43455 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43456
43457         [BZ #13540]
43458         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43459         processing for last bytes.
43460
43461 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43462
43463         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43464         (syscall-list-default-options, syscall-list-default-condition)
43465         (syscall-list-includes): Define.
43466         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43467         list of ABIs and options and #if conditions for each ABI.  Do not
43468         handle common syscalls between ABIs specially.
43469         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43470         Remove.
43471         (syscall-list-variants, syscall-list-32bit-options)
43472         (syscall-list-32bit-condition, syscall-list-64bit-options)
43473         (syscall-list-64bit-condition): Define.
43474         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43475         (syscall-list-variants, syscall-list-32bit-options)
43476         (syscall-list-32bit-condition, syscall-list-64bit-options)
43477         (syscall-list-64bit-condition): Define.
43478         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43479         Remove.
43480         (syscall-list-variants, syscall-list-32bit-options)
43481         (syscall-list-32bit-condition, syscall-list-64bit-options)
43482         (syscall-list-64bit-condition): Define.
43483         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43484         Remove.
43485         (syscall-list-variants, syscall-list-32bit-options)
43486         (syscall-list-32bit-condition, syscall-list-64bit-options)
43487         (syscall-list-64bit-condition): Define.
43488
43489 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43490
43491         * locale/iso-639.def: Add brx entry.
43492
43493         [BZ #13328]
43494         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43495         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43496
43497         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43498         __feraiseexcept_renamed.
43499
43500 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43501
43502         [BZ #13538]
43503         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43504         EPOLLET with unsigned values.
43505         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43506         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43507
43508         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43509         to large cancellation.
43510         * math/s_cacoshf.c: Likewise.
43511         * math/s_cacoshl.c: Likewise.
43512
43513 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43514
43515         [BZ #13305]
43516         [BZ #12786]
43517         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43518         * math/s_cacoshf.c: Likewise.
43519         * math/s_cacoshl.c: Likewise.
43520
43521 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43522
43523         [BZ #13439]
43524         * iconv/gconv.h: Define __GCONV_SWAP.
43525         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43526         * iconvdata/utf-16.c: Likewise.
43527         * iconvdata/utf-32.c: Likewise.
43528
43529 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43530
43531         [BZ #13524]
43532         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43533         numerator after shifting it by one limb.
43534
43535 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43536
43537         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43538         under [__USE_EXTERN_INLINES].
43539
43540 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43541
43542         [BZ #13446]
43543         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43544
43545 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43546
43547         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43548         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43549         optimized code.
43550         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43551         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43552         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43553         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43554         for strncasecmp/strncasecmp_l compilation.
43555         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43556         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43557
43558 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43559
43560         [BZ #13484]
43561         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43562         of __asm__.
43563
43564 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43565
43566         [BZ #13506]
43567         * time/tzfile.c (__tzfile_read): Check values from file header.
43568
43569 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43570
43571         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43572         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43573         * powerpc/powerpc32/dl-start.S: Likewise.
43574         * powerpc/powerpc32/elf/start.S: Likewise.
43575         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43576         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43577         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43578         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43579         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43580         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43581         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43582         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43583         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43584         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43585         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43586         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43587         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43588         * powerpc/powerpc32/memset.S: Likewise.
43589         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43590         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43591         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43592         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43593         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43594         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43595         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43596         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43597         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43598         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43599         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43600         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43601         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43602
43603 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43604
43605         * math/libm-test.inc: Added more nearbyint tests.
43606         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43609         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43610
43611 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43612
43613         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43614         FD_CLOEXEC.
43615
43616 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43617
43618         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43619         Add wcscpy-ssse3 wcscpy-c.
43620         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43621         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43622         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43623         * sysdeps/x86_64/wcschr.S: New file.
43624         * sysdeps/x86_64/wcsrchr.S: New file.
43625         * string/test-strcmp.c: Remove checking of wcscmp function for
43626         wrong alignments.
43627         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43628         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43629         wcsrchr-sse2 wcsrchr-c.
43630         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43631         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43632         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43633         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43634         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43635         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43636         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43637         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43638         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43639         * wcsmbc/wcschr.c (WCSCHR): New macro.
43640
43641 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43642
43643         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43644         * wcsmbs/test-wcsrchr.c: New file.
43645         * string/test-strrchr.c: Add wcsrchr support.
43646         (WIDE): New macro.
43647         * wcsmbs/test-wcscpy.c: New file.
43648         * string/test-strcpy.c: Add wcscpy support.
43649         (WIDE): New macro.
43650
43651 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43652
43653         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43654         the inner loop.
43655
43656 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43657
43658         [BZ #13472]
43659         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43660
43661 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43662
43663         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43664         Minor optimizations.
43665
43666         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43667         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43668         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43669
43670 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43671
43672         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43673         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43674         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43675         for gcc to avoid warnings.
43676         * inet/Makefile (tests): Add tst-checks.
43677         * inet/tst-checks.c: New file.
43678
43679         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43680         warning.
43681
43682         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43683         __wmemcmp_sse2.
43684
43685         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43686         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43687
43688         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43689
43690 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43691
43692         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43693         problem.
43694
43695         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43696
43697 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43698
43699         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43700         conditional on GCC version.
43701         (__arch_compare_and_exchange_val_8_acq)
43702         (__arch_compare_and_exchange_val_16_acq)
43703         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43704         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43705         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43706
43707 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43708
43709         * sysdeps/sh/backtrace.c: New file.
43710
43711 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43712
43713         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43714         parenthesis.
43715
43716 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43717
43718         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43719         falling back to utime.
43720
43721 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43722
43723         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43724         expectations for float.
43725
43726 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43727
43728         * locale/weight.h (findidx): Add parameter len.
43729         * locale/weightwc.h (findidx): Likewise.
43730         * posix/fnmatch_loop.c (FCT): Adjust caller.
43731         * posix/regcomp.c (build_equiv_class): Likewise.
43732         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43733         * posix/regexec.c (check_node_accept_bytes): Likewise.
43734         * string/strcoll_l.c (STRCOLL): Likewise.
43735         * string/strxfrm_l.c (STRXFRM): Likewise.
43736
43737 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43738
43739         * Makefile.in: Remove CVSOPT handling.
43740         * configure.in: Remove use of AC_REVISION.
43741         * iconvdata/Makefile (distribute): No need to filter out CVS.
43742         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43743         handling.
43744
43745 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43746
43747         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43748         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43749         [USE_AS_STRNCASECMP_L]: Likewise.
43750         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43751         NO_TLS_DIRECT_SEG_REFS.
43752         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43753         Fix argument offsets for non-PIC.
43754         [USE_AS_STRNCASECMP_L]: Likewise.
43755         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43756         NO_TLS_DIRECT_SEG_REFS.
43757
43758 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43759
43760         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43761         O_CLOEXEC.
43762         * locale/loadlocale.c (_nl_load_locale): Likewise.
43763
43764 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43765
43766         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43767         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43768         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43769         (SYSCALL_GETTIME): Set errno on error.
43770
43771         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43772         count references to noai6ai_cached.
43773
43774 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43775
43776         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43777
43778         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43779         FD_CLOEXEC for /proc/self/maps.
43780
43781         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43782         FD_CLOEXEC for /proc/meminfo.
43783
43784         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43785         gai.conf.
43786
43787         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43788         FD_CLOEXEC for given file.
43789
43790         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43791
43792         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43793         FD_CLOEXEC for /etc/hosts.
43794         (_gethtent): Likewise.
43795
43796         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43797
43798         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43799         cancellation and set FD_CLOEXEC for /etc/netgroup.
43800
43801         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43802         reading /etc/publickey.
43803
43804         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43805         allow cancellation when reading /etc/group.
43806
43807         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43808         cancellation.
43809         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43810
43811         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43812         when using data file.
43813
43814         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43815
43816         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43817         (write_nis_obj): Use "c" and "e" in fopen.
43818
43819         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43820
43821         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43822
43823         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43824
43825         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43826
43827         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43828         locale.alias.
43829
43830         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43831
43832         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43833
43834         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43835
43836         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43837         file parsing and set FD_CLOEXEC.
43838
43839 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43840
43841         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43842
43843 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43844
43845         * malloc/arena.c (arena_get2): Don't call reused_arena when
43846         _int_new_arena failed.
43847
43848 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43849
43850         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43851         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43852         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43853         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43854         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43855         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43856         to compile strcasecmp and strncasecmp.
43857         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43858         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43859
43860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43861
43862 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43863
43864         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43865         locale-defines.sym to gen-as-const-headers.
43866         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43867         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43869         to compile strcasecmp and strncasecmp.
43870         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43871         strcasecmp_l and strncasecmp_l.
43872         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43873         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43874         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43875         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43876         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43877         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43878         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43879         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43880         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43881         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43882         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43883
43884 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43885
43886         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43887         result of SYSDEP_GETTIME_CPU to retval.
43888         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43889         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43890
43891         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43892         variable.
43893
43894         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43895         mantissa words.
43896         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43897
43898         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43899         from unused variable.
43900
43901         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43902         DWARF definitions.
43903         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43904         for assembling.
43905
43906         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43907         over namespaces.
43908
43909         * sunrpc/rpc_prot.c (rejected): Fix case value.
43910
43911         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43912         unsigned long long int to avoid warnings in shift.
43913
43914         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43915         of use of trans.
43916         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43917         variable tmp.
43918
43919         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43920         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43921         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43922
43923         * nis/nis_table.c (nis_list): Use variable of correct type for
43924         result of __follow_path call.
43925
43926 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43927
43928         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43929         of math functions ceil, trunc, floor, round, and sqrt, when
43930         avaliable on the platform.
43931         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43932         name clash.
43933         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43934         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43935         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43936
43937 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43938
43939         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43940         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43941
43942 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43943
43944         * include/unistd.h: Fix __readlink return type.
43945         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43946
43947 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43948
43949         * stdlib/ucontext.h: Undo last change for makecontext.
43950
43951 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43952
43953         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43954
43955         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43956         * setjmp/setjmp.h: Mark functions as non-leaf.
43957         * setjmp/bits/setjmp2.h: Likewise.
43958         * stdlib/ucontext.h: Likewise.
43959
43960 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43961
43962         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43963         (reused_arena): Don't check arena limit.
43964         (arena_get2): Atomically check arena limit.
43965
43966 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43967
43968         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43969         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43970
43971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43972         instructions.
43973
43974 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43975
43976         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43977         handler when locking.
43978
43979         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43980         Fix size of allocated buffer.
43981
43982 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43983
43984         [BZ #10103]
43985         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43986         declarations for long double functions.
43987         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43988
43989         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43990
43991 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43992
43993         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43994         installed.
43995
43996         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43997         is disabled.
43998
43999 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44000
44001         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44002
44003 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44004
44005         * include/alloca.h (stackinfo_alloca_round): Define.
44006         (extend_alloca): Use it.
44007         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44008         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44009         here.
44010
44011         * scripts/check-local-headers.sh: Ignore libaudit.h.
44012
44013         * nscd/Makefile (extra-objs): Make recursively expanded.
44014
44015 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44016
44017         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44018         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44019
44020         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44021         * posix/tst-rfc3484-2.c: Likewise.
44022         * posix/tst-rfc3484-3.c: Likewise.
44023
44024         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44025         process_vm_writev.
44026         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44027         process_vm_writev.
44028         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44029         process_vm_writev from libc using GLIBC_2.15 version.
44030
44031         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44032
44033 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44034
44035         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44036         stack usage.
44037
44038 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44039
44040         [BZ #13367]
44041         * nss/getent.c (initgroups_keys): Show error message in case no group
44042         names are given.
44043
44044         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44045         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44046         __bump_nl_timestamp.
44047         * nscd/connections (nscd_init): When host database is served open
44048         netlink socket and request notification about configuration changes.
44049         (main_loop_poll): Track netlink file descriptor and bump timestamp
44050         in case data becomes available.
44051         (main_loop_epoll): Likewise.
44052         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44053         (database_pers_head): Add extra_data fileds.
44054         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44055         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44056         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44057         Adjust caller.
44058         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44059         in6ai data, call __free_in6ai.
44060         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44061         Add -DHAVE_NETLINK.
44062         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44063         interface information.  Reuse previous data if netlink timestamp
44064         is not changed.
44065         (__bump_nl_timestamp): New function.
44066         (__free_in6ai): New function.
44067
44068 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44069
44070         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44071         close_not_cancel_no_status here.
44072         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44073
44074 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44075
44076         [BZ #13276]
44077         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44078         return value.
44079
44080         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44081         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44082         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44083
44084 2011-07-03  Andreas Jaeger  <aj@suse.de>
44085
44086         [BZ #10709]
44087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44088         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44089         * math/libm-test.inc (sin_test): Add test case.
44090
44091 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44092
44093         [BZ #13337]
44094         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44095         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44096
44097         * elf/chroot_canon.c (chroot_canon): Cleanups.
44098
44099         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44100
44101         [BZ #13335]
44102         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44103         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44104
44105         * string/test-strchr.c: Make usable for strchrnul testing.
44106         * string/test-strchrnul.c: New file.
44107         * string/Makefile (strop-tests): Add strchrnul.
44108
44109         * po/it.po: Update from translation team.
44110         * po/es.po: Likewise.
44111
44112 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44113
44114         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44115         the three constants needed as parameters.  Drop the others.
44116         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44117         __m128i_strloadu_tolower.
44118         Create and initialize variable zero and use it in all the places
44119         where _mm_setzero_si128 was used.
44120
44121         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44122         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44123         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44124         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44125         anymore.
44126         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44127         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44128         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44129         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44130         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44131         __mpranred, __mptan.
44132         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44133         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44134         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44135         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44136         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44137         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44138         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44139         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44140         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44141
44142 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44143
44144         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44145         redefine if SHARED.
44146         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44147
44148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44149         wide char related routines to wcsmbs subdir.
44150
44151 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44152
44153         [BZ #13344]
44154         * misc/sys/cdefs.h (__THROWNL): Define.
44155         * posix/unistd.h: Use __THREADNL instead of __THREAD
44156         for memory synchronization functions.
44157
44158 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44159
44160         [BZ #13349]
44161         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44162         doesn't exist.
44163         * manual/stdio.texi (Obstack Streams): Node removed.
44164
44165 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44166
44167         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44168         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44169         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44170
44171         * math/math_private.h (math_force_eval): Allow non-addressable
44172         arguments.
44173         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44174
44175 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44176
44177         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44178         file is not needed.
44179
44180         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44181         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44182         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44183         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44184         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44185         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44186         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44187         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44188         Add AVX variants.
44189         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44190         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44191         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44192         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44193         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44194         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44195         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44196         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44197         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44198         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44199         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44200         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44201         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44202         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44203         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44204         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44205         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44206         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44207         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44208
44209         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44210         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44211
44212         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44213         place.  Use VEX encoding when compiling for AVX.
44214
44215 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44216
44217         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44218         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44219
44220         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44221
44222 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44223
44224         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44225         useless if() expression.
44226         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44227         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44228         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44229         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44230         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44231         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44232         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44233         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44234         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44235         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44236         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44237         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44238         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44239         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44240         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44241         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44242         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44243         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44244         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44245
44246         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44247
44248 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44249
44250         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44251         condition.
44252         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44253
44254 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44255
44256         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44257         .text section.  Avoid duplicate constants.
44258         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44259         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44260         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44261         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44262         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44263         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44266         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44267         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44269         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44270         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44271         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44272         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44273         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44274         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44275         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44276         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44277         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44278         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44279         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44280         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44281         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44282         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44283         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44284         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44285         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44286         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44287         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44288         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44289         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44290         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44291         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44292         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44293         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44294         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44295         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44296         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44297         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44298         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44299         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44300         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44301         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44302         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44303
44304 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44305
44306         * sysdeps/x86_64/dla.h: Move to ...
44307         * sysdeps/x86_64/fpu/dla.h: ...here.
44308         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44309         situations.  Use __builtin_fma only for gcc 4.6 and up.
44310
44311         * config.make.in: Add have-mfma4 entry.
44312         * configure.in: Substitute libc_cv_cc_fma4.
44313         * math/Makefile (dbl-only-routines): Add sincostab.
44314         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44315         Use __sincostab not sincos.
44316         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44317         name is a macro.
44318         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44319         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44320         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44322         using __copysign.
44323         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44324         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44325         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44326         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44327         and __inv.
44328         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44329         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44330         __copysign.
44331         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44332         define aliases when function name is a macro.
44333         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44334         sysdeps/ieee754/dbl-64/sincos.tbl.
44335         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44336         fma4-enabled routines.
44337         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44338         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44339         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44340         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44341         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44342         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44343         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44344         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44345         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44346         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44347         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44348         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44349         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44350         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44351         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44352         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44353         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44354         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44355         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44356         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44357         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44358         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44359         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44360         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44361         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44362         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44363         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44364         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44365         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44366         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44367
44368         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44369         rename.
44370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44374         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44375         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44377         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44378
44379 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44380
44381         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44382
44383 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44384
44385         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44386
44387         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44388         prediction.
44389         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44390
44391         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44392         Remove unused variable magic_bits.
44393         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44394
44395         * string/strnlen.c: Define and use STRNLEN macro.
44396         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44397         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44398         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44399         * wcsmbs/wcslen.c: Define and use WCSLEN.
44400         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44401         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44402         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44403         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44404         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44405         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44406         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44407
44408 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44409
44410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44411         strnlen-sse2-no-bsf.
44412         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44413         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44414         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44415         Add strnlen support.
44416         (USE_AS_STRNLEN): New macro.
44417         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44418         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44419         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44420         * sysdeps/x86_64/wcslen.S: New file.
44421
44422 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44423
44424         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44425         XMM-moves are used for copying on small sizes.
44426
44427 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44428
44429         * wcsmbs/Makefile (strop-tests): Add wcschr.
44430         * wcsmbs/test-wcschr.c: New file.
44431         * string/test-strchr.c: Update.
44432         Add wcschr support.
44433         (WIDE): New macro.
44434
44435 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44436
44437         * wcsmbs/Makefile (strop-tests): Add wcslen.
44438         * wcsmbs/test-wcslen.c: New file.
44439         * string/test-strlen.c: Update.
44440         Add wcslen support.
44441         (WIDE): New macro.
44442
44443 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44444
44445         * po/it.po: Update from translation team.
44446
44447 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44448
44449         * sysdeps/x86_64/wcscmp.S: Update.
44450         Fix wrong comparison semantics.
44451         wcscmp shall use signed comparison not unsigned.
44452         Don't use substraction to avoid overflow bug.
44453         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44454         * wcsmbc/wcscmp.c: Likewise.
44455         * string/test-strcmp.c: Likewise.
44456         Add new tests to check cases with negative values.
44457
44458 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44459
44460         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44461         * sysdeps/x86_64/dla.h: ...here.  New file.
44462         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44464         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44467         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44468         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44469         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44471
44472 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44473
44474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44475         __ynl_finite aliases.
44476
44477 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44478
44479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44480
44481         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44482         define DLA_FMA.
44483         [DLA_FMA] (EMULV): Use DLA_FMA.
44484         [DLA_FMA] (MUL12): Use EMULV.
44485         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44486         that are not needed.
44487         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44489         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44490         * sysdeps/ieee754/dbl-64/e_pow.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-22  Andreas Schwab  <schwab@linux-m68k.org>
44496
44497         * math/s_nan.c: Undef __nan.
44498         * math/s_nanf.c: Undef __nanf.
44499         * math/s_nanl.c: Undef __nanl.
44500         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44501         "math_private.h".
44502
44503 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44504
44505         * math/s_catan.c: Add branch predictions.
44506         * math/s_catanf.c: Likewise.
44507         * math/s_catanh.c: Likewise.
44508         * math/s_catanhf.c: Likewise.
44509         * math/s_catanhl.c: Likewise.
44510         * math/s_catanl.c: Likewise.
44511         * math/s_cexp.c: Likewise.
44512         * math/s_cexpf.c: Likewise.
44513         * math/s_cexpl.c: Likewise.
44514         * math/s_clog.c: Likewise.
44515         * math/s_clog10.c: Likewise.
44516         * math/s_clog10f.c: Likewise.
44517         * math/s_clog10l.c: Likewise.
44518         * math/s_clogf.c: Likewise.
44519         * math/s_clogl.c: Likewise.
44520         * math/s_csqrt.c: Likewise.
44521         * math/s_csqrtf.c: Likewise.
44522         * math/s_csqrtl.c: Likewise.
44523         * math/s_ctanf.c: Likewise.
44524         * math/s_ctanh.c: Likewise.
44525         * math/s_ctanhf.c: Likewise.
44526         * math/s_ctanhl.c: Likewise.
44527         * math/s_ctanl.c: Likewise.
44528
44529         * math/math_private.h: Define __nan, __nanf, __nanl.
44530         * math/s_cacosh.c: Include <math_private.h>.
44531         * math/s_cacoshl.c: Likewise.
44532         * math/s_casinh.c: Likewise.
44533         * math/s_casinhf.c: Likewise.
44534         * math/s_casinhl.c: Likewise.
44535         * math/s_ccos.c: Rely entire on ccosh.
44536         * math/s_ccosf.c: Rely entire on ccoshf.
44537         * math/s_ccosl.c: Rely entirely on ccoshl.
44538         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44539         Remove tests for FE_INVALID.
44540         * math/s_ccoshf.c: Likewise.
44541         * math/s_ccoshl.c: Likewise.
44542         * math/s_csin.c: Likewise.
44543         * math/s_csinf.c: Likewise.
44544         * math/s_csinh.c Likewise.
44545         * math/s_csinhf.c: Likewise.
44546         * math/s_csinhl.c: Likewise.
44547         * math/s_csinl.c: Likewise.
44548         * math/s_ctan.c: Likewise.
44549         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44550         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44551         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44552
44553 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44554
44555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44556         compilation problems.
44557
44558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44559         __builtin_expect.
44560
44561 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44562
44563         * sysdeps/i386/configure.in: Test for -mfma4 option.
44564         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44565         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44566         COMMON_CPUID_INDEX_80000001.
44567         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44568         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44569         use it if FMA3 is not supported.
44570         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44571
44572         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44573         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44574
44575 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44576
44577         [BZ #12892]
44578         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44579         it would create a cycle with a link time dependency.
44580
44581 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44582
44583         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44584         instruction.
44585         * string/Makefile (strop-tests): Add rawmemchr.
44586         * string/test-rawmemchr.c: New file.
44587
44588         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44589         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44590         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44591         when compiling str{,n}casecmp and when AVX is available.  Hook up
44592         new optimized code in initializers.
44593
44594 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44595
44596         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44597         __feraiseexcept instead of feraiseexcept.
44598
44599 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44600
44601         * math/math_private.h: Define defaults for libc_fetestexcept and
44602         libc_feupdateenv.
44603         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44604         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44605         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44606         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44607         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44608         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44609         libc_fetestexcept and libc_feupdateenv.
44610
44611         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44612         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44613         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44614         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44615         libc_feholdexcept_setround.
44616
44617         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44618         Add s_nearbyint-c and s_nearbyintf-c.
44619         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44620         nearbyintf inlines.
44621         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44622         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44623         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44624         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44625
44626         * math/math_private.h: Define defaults for libc_fegetround,
44627         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44628         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44629         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44630         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44631         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44632         standard functions.
44633         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44634         Remove comments and hacks for old compiler versions.
44635         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44636         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44637         libc_feholdexceptl.
44638
44639 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44640
44641         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44642         (__feraiseexcept_renamed): Add __NTH.
44643         (feraiseexcept): Add __NTH.  Rename local variables to fix
44644         namespace violations.
44645
44646 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44647
44648         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44649
44650         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44651
44652         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44653         recently added interfaces.
44654         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44655
44656         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44657         about macro parameter expansion.
44658
44659         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44660         __NO_MATH_INLINES is defined.  Cleanups.
44661
44662         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44663         and __floorf is target has SSE4.1.
44664         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44665         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44666         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44667         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44668
44669         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44670         name.
44671         (floorf): Likewise.
44672
44673         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44674
44675 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44676
44677         * misc/sys/cdefs.h: Fix last change.
44678
44679         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44680         database lookup.
44681
44682 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44683
44684         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44685
44686         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44687         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44688         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44689         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44690         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44691         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44693         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44694         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44695         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44696         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44697         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44698         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44699         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44700         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44701         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44702         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44703         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44704         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44705         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44706         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44707         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44708
44709         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44710         ceil, ceilf, floor, floorf.
44711
44712         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44713         Perform IRELATIVE relocations last.
44714
44715         * elf/do-rel.h: Add another parameter nrelative, replacing the
44716         local variable with the same name.  Change name of the function
44717         to end in Rel or Rela (uppercase).
44718         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44719         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44720         elf_dynamic_do_##reloc function.
44721
44722 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44723
44724         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44725         is sufficient, at least on modern CPUs.
44726
44727         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44728
44729         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44730         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44731
44732         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44733         __expl_finite.
44734         * math/bits/math-finite.h: Add entries for exp.
44735         * math/e_expl.c: Add __*_finite alias.
44736         * sysdeps/i386/fpu/e_exp.S: Likewise.
44737         * sysdeps/i386/fpu/e_expf.S: Likewise.
44738         * sysdeps/i386/fpu/e_expl.c: Likewise.
44739         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44740         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44741         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44742         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44743         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44744         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44745         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44746
44747         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44748         is sufficient, at least on modern CPUs.
44749
44750         * ctype/ctype-info.c (__ctype_init): Define.
44751         * include/ctype.h (__ctype_init): Declare.
44752         (__ctype_b_loc): The variable is always initialized.
44753         (__ctype_toupper_loc): Likewise.
44754         (__ctype_tolower_loc): Likewise.
44755         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44756         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44757
44758 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44759
44760         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44761
44762         * configure.in: Also look in $cxxmachine/include for C++ system
44763         headers.
44764
44765 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44766
44767         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44768         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44769         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44770         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44771         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44772         (USE_AS_WMEMCMP): New macro.
44773         Fixing indents.
44774         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44775         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44776         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44777         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44779         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44780         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44781         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44782         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44783         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44784         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44785         (USE_AS_WMEMCMP): New macro.
44786         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44787         * sysdeps/string/test-memcmp.c: Update.
44788         Fix simple_wmemcmp.
44789         Add new tests.
44790         * wcsmbs/wmemcmp.c: Update.
44791         (WMEMCMP): New macro.
44792         Fix overflow bug.
44793
44794 2011-10-12  Andreas Jaeger  <aj@suse.de>
44795
44796         [BZ #13268]
44797         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44798
44799 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44800
44801         * libio/iofwide.c (do_length): Avoid warning.
44802
44803         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44804
44805 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44806
44807         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44808
44809         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44810         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44811         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44812         * sysdeps/i386/i686/fpu/e_log.S: New file.
44813         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44814         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44815
44816         * ctype/ctype.h: Add support for inlined isXXX functions when
44817         compiling C++ code.
44818
44819 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44820
44821         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44822
44823         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44824
44825 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44826
44827         [BZ #13291]
44828         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44829
44830 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44831
44832         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44833         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44834         feraiseexcept.
44835
44836         * sysdeps/x86_64/memrchr.S: Check for zero size.
44837
44838         * string/stratcliff.c: Add memrchr tests.
44839
44840 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44841
44842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44843         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44844         rawmemchr-sse2 rawmemchr-sse2-bsf.
44845         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44846         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44847         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44848         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44849         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44850         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44851         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44852         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44853         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44854         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44855         * string/memrchr.c (MEMRCHR): New macro.
44856
44857 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44858
44859         Add integration with gcc's -ffinite-math-only and optimize wrapper
44860         functions in libm.
44861         * Versions.def: Define GLIBC_2.15 version for libm.
44862         * math/Makefile (headers): Add bits/math-finite.h.
44863         * math/bits/math-finite.h: New file.
44864         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44865         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44866         * math/e_acoshl.c: Add __*_finite alias.
44867         * math/e_acosl.c: Likewise.
44868         * math/e_asinl.c: Likewise.
44869         * math/e_atan2l.c: Likewise.
44870         * math/e_atanhl.c: Likewise.
44871         * math/e_coshl.c: Likewise.
44872         * math/e_exp10.c: Likewise.
44873         * math/e_exp10f.c: Likewise.
44874         * math/e_exp10l.c: Likewise.
44875         * math/e_exp2l.c: Likewise.
44876         * math/e_fmodl.c: Likewise.
44877         * math/e_gammal_r.c: Likewise.
44878         * math/e_hypotl.c: Likewise.
44879         * math/e_j0l.c: Likewise.
44880         * math/e_j1l.c: Likewise.
44881         * math/e_jnl.c: Likewise.
44882         * math/e_lgammal_r.c: Likewise.
44883         * math/e_log10l.c: Likewise.
44884         * math/e_log2l.c: Likewise.
44885         * math/e_logl.c: Likewise.
44886         * math/e_powl.c: Likewise.
44887         * math/e_sinhl.c: Likewise.
44888         * math/e_sqrtl.c: Likewise.
44889         * math/e_scalb.c: Completely rewritten and optimized.
44890         * math/e_scalbf.c: Likewise.
44891         * math/e_scalbl.c: Likewise.
44892         * math/w_acos.c: Likewise.
44893         * math/w_acosf.c: Likewise.
44894         * math/w_acosl.c: Likewise.
44895         * math/w_acosh.c: Likewise.
44896         * math/w_acoshf.c: Likewise.
44897         * math/w_acoshl.c: Likewise.
44898         * math/w_asin.c: Likewise.
44899         * math/w_asinf.c: Likewise.
44900         * math/w_asinl.c: Likewise.
44901         * math/w_atan2.c: Likewise.
44902         * math/w_atan2f.c: Likewise.
44903         * math/w_atan2l.c: Likewise.
44904         * math/w_atanh.c: Likewise.
44905         * math/w_atanhf.c: Likewise.
44906         * math/w_atanhl.c: Likewise.
44907         * math/w_exp10.c: Likewise.
44908         * math/w_exp10f.c: Likewise.
44909         * math/w_exp10l.c: Likewise.
44910         * math/w_fmod.c: Likewise.
44911         * math/w_fmodf.c: Likewise.
44912         * math/w_fmodl.c: Likewise.
44913         * math/w_j0.c: Likewise.
44914         * math/w_j0f.c: Likewise.
44915         * math/w_j0l.c: Likewise.
44916         * math/w_j1.c: Likewise.
44917         * math/w_j1f.c: Likewise.
44918         * math/w_j1l.c: Likewise.
44919         * math/w_jn.c: Likewise.
44920         * math/w_jnf.c: Likewise.
44921         * math/w_log.c: Likewise.
44922         * math/w_logf.c: Likewise.
44923         * math/w_logl.c: Likewise.
44924         * math/w_log10.c: Likewise.
44925         * math/w_log10f.c: Likewise.
44926         * math/w_log10l.c: Likewise.
44927         * math/w_log2.c: Likewise.
44928         * math/w_log2f.c: Likewise.
44929         * math/w_log2l.c: Likewise.
44930         * math/w_pow.c: Likewise.
44931         * math/w_powf.c: Likewise.
44932         * math/w_powl.c: Likewise.
44933         * math/w_remainder.c: Likewise.
44934         * math/w_remainderf.c: Likewise.
44935         * math/w_remainderl.c: Likewise.
44936         * math/w_scalb.c: Likewise.
44937         * math/w_scalbf.c: Likewise.
44938         * math/w_scalbl.c: Likewise.
44939         * math/w_sqrt.c: Likewise.
44940         * math/w_sqrtf.c: Likewise.
44941         * math/w_sqrtl.c: Likewise.
44942         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44943         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44944         used.
44945         * math/math_private.h: Declare __kernel_standard_f.
44946         * math/w_cosh.c: Remove cruft and optimize a bit.
44947         * math/w_coshf.c: Likewise.
44948         * math/w_coshl.c: Likewise.
44949         * math/w_exp2.c: Likewise.
44950         * math/w_exp2f.c: Likewise.
44951         * math/w_exp2l.c: Likewise.
44952         * math/w_hypot.c: Likewise.
44953         * math/w_hypotf.c: Likewise.
44954         * math/w_hypotl.c: Likewise.
44955         * math/w_lgamma.c: Likewise.
44956         * math/w_lgamma_r.c: Likewise.
44957         * math/w_lgammaf.c: Likewise.
44958         * math/w_lgammaf_r.c: Likewise.
44959         * math/w_lgammal.c: Likewise.
44960         * math/w_lgammal_r.c: Likewise.
44961         * math/w_sinh.c: Likewise.
44962         * math/w_sinhf.c: Likewise.
44963         * math/w_sinhl.c: Likewise.
44964         * math/w_tgamma.c: Likewise.
44965         * math/w_tgammaf.c: Likewise.
44966         * math/w_tgammal.c: Likewise.
44967         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44968         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44969         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44970         Minor optimizations.  Pretty printing.  Remove cruft.
44971         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44972         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44973         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44974         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44975         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44976         * sysdeps/i386/fpu/e_asin.S: Likewise.
44977         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44978         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44979         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44980         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44981         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44982         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44983         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44984         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44985         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44986         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44987         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44988         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44989         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44990         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44991         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44992         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44993         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44994         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44995         * sysdeps/i386/fpu/e_log.S: Likewise.
44996         * sysdeps/i386/fpu/e_log10.S: Likewise.
44997         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44998         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44999         * sysdeps/i386/fpu/e_log2.S: Likewise.
45000         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45001         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45002         * sysdeps/i386/fpu/e_logf.S: Likewise.
45003         * sysdeps/i386/fpu/e_logl.S: Likewise.
45004         * sysdeps/i386/fpu/e_pow.S: Likewise.
45005         * sysdeps/i386/fpu/e_powf.S: Likewise.
45006         * sysdeps/i386/fpu/e_powl.S: Likewise.
45007         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45008         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45009         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45010         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45011         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45012         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45013         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45014         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45015         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45016         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45017         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45018         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45019         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45020         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45021         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45022         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45023         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45024         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45025         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45026         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45027         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45029         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45030         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45031         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45032         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45033         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45034         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45035         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45036         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45037         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45038         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45039         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45040         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45041         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45042         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45043         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45044         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45045         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45046         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45047         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45048         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45049         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45050         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45051         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45052         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45053         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45054         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45055         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45056         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45057         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45058         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45059         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45060         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45061         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45062         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45063         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45064         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45065         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45066         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45067         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45068         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45069         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45071         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45072         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45073         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45074         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45077         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45078         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45079         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45080         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45081         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45082         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45083         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45085         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45087         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45088         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45094         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45095         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45096         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45097         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45099         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45100         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45101         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45102         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45104         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45105         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45106         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45107         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45108         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45109         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45110         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45111         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45112         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45113         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45114         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45115         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45116         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45117         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45118         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45119         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45120         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45121         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45122         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45123         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45124         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45125         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45126         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45127         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45128         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45129         (__isnanf): Likewise.
45130         (__isinf_ns): Likewise.
45131         (__isinf_nsf): Likewise.
45132         (__finite): Likewise.
45133         (__finitef): Likewise.
45134         (__ieee754_sqrt): Define as macro.
45135         (__ieee754_sqrtf): Define as macro.
45136         (__ieee754_sqrtl): Define as macro.
45137         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45138         inlined copy.
45139         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45140         __FINITE_MATH_ONLY__ consistent.
45141         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45142
45143 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45144
45145         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45146         of rawmemchr.
45147
45148         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45149
45150 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45151
45152         * po/ja.po: Update from translation team.
45153
45154 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45155
45156         * locale/programs/locarchive.c (prepare_address_space): New function.
45157         (create_archive, enlarge_archive, open_archive): Use it.
45158
45159         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45160         inside [SHARED], where it is used.
45161
45162         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45163
45164         * nss/getent.c (netgroup_keys): Remove unused variable.
45165         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45166
45167 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45168
45169         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45170         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45172         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45173         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45174         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45175         * math/Makefile (libm-calls): Add s_isinf_ns.
45176         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45177         * math/multc3.c: Likewise.
45178         * math/s_casin.c: Likewise.
45179         * math/s_casinf.c: Likewise.
45180         * math/s_casinl.c: Likewise.
45181         * math/s_ccos.c: Likewise.
45182         * math/s_ccosf.c: Likewise.
45183         * math/s_ccosl.c: Likewise.
45184         * math/s_ctan.c: Likewise.
45185         * math/s_ctanf.c: Likewise.
45186         * math/s_ctanh.c: Likewise.
45187         * math/s_ctanhf.c: Likewise.
45188         * math/s_ctanhl.c: Likewise.
45189         * math/s_ctanl.c: Likewise.
45190         * math/w_fmod.c: Likewise.
45191         * math/w_fmodf.c: Likewise.
45192         * math/w_fmodl.c: Likewise.
45193         * math/w_remainder.c: Likewise.
45194         * math/w_remainderf.c: Likewise.
45195         * math/w_remainderl.c: Likewise.
45196         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45197         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45198         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45199         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45200         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45201         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45202         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45203         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45204
45205         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45206         of the number.
45207         * stdio-common/printf_fphex.c: Likewise.
45208         * stdio-common/printf_size.c: Likewise.
45209
45210         * math/e_exp10.c: Include math_private.h using <...> not "...".
45211         * math/e_exp10f.c: Likewise.
45212         * math/e_exp10l.c: Likewise.
45213         * math/e_exp2l.c: Likewise.
45214         * math/e_j0l.c: Likewise.
45215         * math/e_j1l.c: Likewise.
45216         * math/e_jnl.c: Likewise.
45217         * math/e_lgammal_r.c: Likewise.
45218         * math/e_rem_pio2l.c: Likewise.
45219         * math/e_scalb.c: Likewise.
45220         * math/e_scalbf.c: Likewise.
45221         * math/e_scalbl.c: Likewise.
45222         * math/k_cosl.c: Likewise.
45223         * math/k_sinl.c: Likewise.
45224         * math/k_tanl.c: Likewise.
45225         * math/s_cacoshf.c: Likewise.
45226         * math/s_catan.c: Likewise.
45227         * math/s_catanf.c: Likewise.
45228         * math/s_catanh.c: Likewise.
45229         * math/s_catanhf.c: Likewise.
45230         * math/s_catanhl.c: Likewise.
45231         * math/s_catanl.c: Likewise.
45232         * math/s_ccosh.c: Likewise.
45233         * math/s_ccoshf.c: Likewise.
45234         * math/s_ccoshl.c: Likewise.
45235         * math/s_cexp.c: Likewise.
45236         * math/s_cexpf.c: Likewise.
45237         * math/s_cexpl.c: Likewise.
45238         * math/s_clog.c: Likewise.
45239         * math/s_clog10.c: Likewise.
45240         * math/s_clog10f.c: Likewise.
45241         * math/s_clog10l.c: Likewise.
45242         * math/s_clogf.c: Likewise.
45243         * math/s_clogl.c: Likewise.
45244         * math/s_csin.c: Likewise.
45245         * math/s_csinf.c: Likewise.
45246         * math/s_csinh.c: Likewise.
45247         * math/s_csinhf.c: Likewise.
45248         * math/s_csinhl.c: Likewise.
45249         * math/s_csinl.c: Likewise.
45250         * math/s_csqrt.c: Likewise.
45251         * math/s_csqrtf.c: Likewise.
45252         * math/s_csqrtl.c: Likewise.
45253         * math/s_ctan.c: Likewise.
45254         * math/s_ctanf.c: Likewise.
45255         * math/s_ctanh.c: Likewise.
45256         * math/s_ctanhf.c: Likewise.
45257         * math/s_ctanhl.c: Likewise.
45258         * math/s_ctanl.c: Likewise.
45259         * math/s_ldexp.c: Likewise.
45260         * math/s_ldexpf.c: Likewise.
45261         * math/s_ldexpl.c: Likewise.
45262         * math/s_significand.c: Likewise.
45263         * math/s_significandf.c: Likewise.
45264         * math/s_significandl.c: Likewise.
45265         * math/w_acos.c: Likewise.
45266         * math/w_acosf.c: Likewise.
45267         * math/w_acosh.c: Likewise.
45268         * math/w_acoshf.c: Likewise.
45269         * math/w_acoshl.c: Likewise.
45270         * math/w_acosl.c: Likewise.
45271         * math/w_asin.c: Likewise.
45272         * math/w_asinf.c: Likewise.
45273         * math/w_asinl.c: Likewise.
45274         * math/w_atan2.c: Likewise.
45275         * math/w_atan2f.c: Likewise.
45276         * math/w_atan2l.c: Likewise.
45277         * math/w_atanh.c: Likewise.
45278         * math/w_atanhf.c: Likewise.
45279         * math/w_atanhl.c: Likewise.
45280         * math/w_cosh.c: Likewise.
45281         * math/w_coshf.c: Likewise.
45282         * math/w_coshl.c: Likewise.
45283         * math/w_dremf.c: Likewise.
45284         * math/w_exp10.c: Likewise.
45285         * math/w_exp10f.c: Likewise.
45286         * math/w_exp10l.c: Likewise.
45287         * math/w_exp2.c: Likewise.
45288         * math/w_exp2f.c: Likewise.
45289         * math/w_fmod.c: Likewise.
45290         * math/w_fmodf.c: Likewise.
45291         * math/w_fmodl.c: Likewise.
45292         * math/w_hypot.c: Likewise.
45293         * math/w_hypotf.c: Likewise.
45294         * math/w_hypotl.c: Likewise.
45295         * math/w_j0.c: Likewise.
45296         * math/w_j0f.c: Likewise.
45297         * math/w_j0l.c: Likewise.
45298         * math/w_j1.c: Likewise.
45299         * math/w_j1f.c: Likewise.
45300         * math/w_j1l.c: Likewise.
45301         * math/w_jn.c: Likewise.
45302         * math/w_jnf.c: Likewise.
45303         * math/w_jnl.c: Likewise.
45304         * math/w_lgamma.c: Likewise.
45305         * math/w_lgamma_r.c: Likewise.
45306         * math/w_lgammaf.c: Likewise.
45307         * math/w_lgammaf_r.c: Likewise.
45308         * math/w_lgammal.c: Likewise.
45309         * math/w_lgammal_r.c: Likewise.
45310         * math/w_log.c: Likewise.
45311         * math/w_log10.c: Likewise.
45312         * math/w_log10f.c: Likewise.
45313         * math/w_log10l.c: Likewise.
45314         * math/w_log2.c: Likewise.
45315         * math/w_log2f.c: Likewise.
45316         * math/w_log2l.c: Likewise.
45317         * math/w_logf.c: Likewise.
45318         * math/w_logl.c: Likewise.
45319         * math/w_pow.c: Likewise.
45320         * math/w_powf.c: Likewise.
45321         * math/w_powl.c: Likewise.
45322         * math/w_remainder.c: Likewise.
45323         * math/w_remainderf.c: Likewise.
45324         * math/w_remainderl.c: Likewise.
45325         * math/w_scalb.c: Likewise.
45326         * math/w_scalbf.c: Likewise.
45327         * math/w_scalbl.c: Likewise.
45328         * math/w_sinh.c: Likewise.
45329         * math/w_sinhf.c: Likewise.
45330         * math/w_sinhl.c: Likewise.
45331         * math/w_sqrt.c: Likewise.
45332         * math/w_sqrtf.c: Likewise.
45333         * math/w_sqrtl.c: Likewise.
45334         * math/w_tgamma.c: Likewise.
45335         * math/w_tgammaf.c: Likewise.
45336         * math/w_tgammal.c: Likewise.
45337
45338         * po/ja.po: Update from translation team.
45339
45340 2011-09-29  Andreas Jaeger  <aj@suse.de>
45341
45342         [BZ #13179]
45343         * sunrpc/netname.c (netname2host): Fix logic.
45344
45345         [BZ #6779]
45346         [BZ #6783]
45347         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45348         correctly.
45349         * math/w_remainder.c (__remainder): Likewise.
45350         * math/w_remainderf.c (__remainderf): Likewise.
45351         * math/libm-test.inc (remainder_test): Add test cases.
45352
45353 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45354
45355         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45356         sdiv_qrnnd.
45357
45358 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45359
45360         * string/test-memcmp.c: Avoid unncessary #defines.
45361         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45362
45363 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45364
45365         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45366         Use new sse2 version for core i3 - i7 as it's faster
45367         than sse42 version.
45368         (bit_Prefer_PMINUB_for_stringop): New.
45369         * sysdeps/x86_64/rawmemchr.S: Update.
45370         Replace with faster SSE2 version.
45371         * sysdeps/x86_64/memrchr.S: New file.
45372         * sysdeps/x86_64/memchr.S: Update.
45373         Replace with faster SSE2 version.
45374
45375 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45376
45377         * elf/dl-load.c (lose): Add cast to avoid warning.
45378
45379 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45380
45381         * po/ca.po: Update from translation team.
45382
45383         * inet/getnetgrent_r.c: Hook up nscd.
45384         * nscd/Makefile (routines): Add nscd_netgroup.
45385         (nscd-modules): Add netgroupcache.
45386         (CFLAGS-netgroupcache.c): Define.
45387         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45388         (cache_search): Add const to second parameter.
45389         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45390         INNETGR.
45391         (dbs): Add netgrdb entry.
45392         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45393         (verify_persistent_db): Handle netgrdb.
45394         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45395         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45396         GETFDNETGR.
45397         (netgroup_response_header): Define.
45398         (innetgroup_response_header): Define.
45399         (datahead): Add netgroup_response_header and innetgroup_response_header
45400         elements.
45401         * nscd/nscd.conf: Add entries for netgroup cache.
45402         * nscd/nscd.h (dbtype): Add netgrdb.
45403         (_PATH_NSCD_NETGROUP_DB): Define.
45404         (netgroup_iov_disabled): Declare.
45405         (xmalloc, xcalloc, xrealloc): Move declarations here.
45406         (cache_search): Adjust prototype.
45407         Add netgroup-related prototypes.
45408         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45409         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45410         (__nscd_innetgr): Declare.
45411         * nscd/selinux.c (perms): Use access_vector_t as element type and
45412         add netgroup-related initializers.
45413         * nscd/netgroupcache.c: New file.
45414         * nscd/nscd_netgroup.c: New file.
45415         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45416         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45417         For four parameters use innetgr.
45418         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45419         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45420         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45421         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45422
45423         * nscd/connections.c (register_traced_file): Don't register file
45424         for disabled databases.
45425
45426 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45427
45428         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45429
45430         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45431         from tree and freeing node.
45432
45433 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45434
45435         * nss/nsswitch.c (__nss_database_lookup): Handle
45436         nss_parse_service_list out of memory case.
45437
45438 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45439
45440         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45441         out of memory case.
45442
45443 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45444
45445         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45446         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45447         pass it down.
45448         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45449         elf_machine_rela, elf_machine_lazy_rel.
45450         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45451         (ELF_DYNAMIC_DO_REL): Likewise.
45452         (ELF_DYNAMIC_DO_RELA): Likewise.
45453         (ELF_DYNAMIC_RELOCATE): Likewise.
45454         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45455         to ELF_DYNAMIC_DO_REL.
45456         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45457         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45458         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45459         elf_machine_rela.
45460         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45461         skip_ifunc, don't call ifunc function if non-zero.
45462         (elf_machine_rela): Likewise.
45463         (elf_machine_lazy_rel): Likewise.
45464         (elf_machine_lazy_rela): Likewise.
45465         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45466         (elf_machine_lazy_rel): Likewise.
45467         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45468         Likewise.
45469         (elf_machine_lazy_rel): Likewise.
45470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45471         Likewise.
45472         (elf_machine_lazy_rel): Likewise.
45473         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45474         (elf_machine_lazy_rel): Likewise.
45475         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45476         (elf_machine_lazy_rel): Likewise.
45477         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45478         (elf_machine_lazy_rel): Likewise.
45479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45480         (elf_machine_lazy_rel): Likewise.
45481         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45482         (elf_machine_lazy_rel): Likewise.
45483         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45484         (elf_machine_lazy_rel): Likewise.
45485
45486 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45487
45488         * nss/nss_files/files-init.c (_nss_files_init): Use static
45489         initialization for all the *_traced_file variables.
45490
45491 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45492
45493         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45494
45495 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45496
45497         [BZ #13226]
45498         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45499
45500 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45501
45502         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45503         Reread the line before reparsing it.
45504
45505 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45506
45507         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45508
45509 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45510             Maxim Kuvyrkov  <maxim@codesourcery.com>
45511             Joseph Myers  <joseph@codesourcery.com>
45512
45513         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45514         if needed for __stack_chk_guard.
45515
45516 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45517
45518         * sysdeps/posix/spawni.c (script_execute): Always define it.
45519         It will be optimized away if unused.
45520         (maybe_script_execute): New function.
45521         (__spawni): Call it.
45522
45523         * Makerules: Don't include tls.make.
45524         (config-tls): Always set to thread.
45525         * tls.make.c: File removed.
45526
45527 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45528
45529         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45530         * config.make.in (CPPFLAGS-config): New substituted variable.
45531
45532 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45533
45534         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45535
45536         [BZ #13192]
45537         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45538         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45539
45540 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45541
45542         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45543         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45544         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45545         (CALL_FAIL): Likewise.
45546         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45547         (CALL_FAIL): Macro removed.
45548         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45549
45550 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45551
45552         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45553         for __FINITE_MATH_ONLY__ == 1.
45554
45555 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45556
45557         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45558         __ieee754_sqrt instead of sqrt.
45559         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45560         __ieee754_sqrtf instead of sqrtf.
45561         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45562         __floorf instead of floorf.
45563         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45564         __floorf, __truncf instead of floorf, truncf.
45565
45566 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45567
45568         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45569
45570         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45571         __extern_always_inline.
45572         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45573         32-bit.
45574
45575 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45576
45577         * elf/rtld.c (dl_main): Also relocate in dependency order when
45578         doing symbol dependency testing.
45579
45580 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45581
45582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45583         Always define `refsym'.
45584
45585 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45586
45587         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45588         (__FD_ELT): Renamed from __FDELT.
45589         * misc/bits/select2.h (__FD_ELT): Likewise.
45590         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45591         __FD_MASK instead of __FDELT, __FDMASK.
45592         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45593         Likewise.
45594         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45595         Likewise.
45596
45597         * elf/Makefile (gen-ldd): Fix pattern.
45598
45599         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45600         (init_tls): Likewise.
45601
45602 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45603
45604         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45605
45606 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45607
45608         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45609         `struct cmsghdr *' instead of `void *'.
45610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45611         Likewise.
45612
45613 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45614
45615         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45616         if non-absolute.
45617         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45618         ldd_rewrite_script.
45619
45620 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45621
45622         * configure.in: Remove --with-tls option.
45623         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45624         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45625         out in case it is missing.
45626         * sysdeps/ia64/elf/configure.in: Likewise.
45627         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45628         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45629         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45630         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45631         * sysdeps/sh/elf/configure.in: Likewise.
45632         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45633         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45634         * sysdeps/x86_64/elf/configure.in: Likewise.
45635         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45636         * sysdeps/mach/hurd/tls.h: Likewise.
45637
45638         [BZ #13067]
45639         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45640
45641         [BZ #13090]
45642         * configure.in: Fix use of AC_INIT.
45643
45644         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45645
45646 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45647
45648         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45649         __set_errno.
45650         * malloc/hooks.c: Likewise.
45651
45652         [BZ #11929]
45653         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45654         variables statically.
45655         (narenas): Initialize.
45656         (list_lock): Initialize.
45657         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45658         initializtion of main_arena and list_lock.  Small cleanups.
45659         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45660         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45661         Add initializers to main_arena and mp_.
45662         (malloc_state): Remove pagesize member.  Change all users to use
45663         GLRO(dl_pagesize).
45664
45665         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45666         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45667         is always initialized.
45668
45669         * malloc/malloc.c: Removed unused configurations and dead code.
45670         * malloc/arena.c: Likewise.
45671         * malloc/hooks.c: Likewise.
45672         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45673
45674         * include/tls.h: Removed.  USE___THREAD must always be defined.
45675         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45676         * elf/dl-libc.c: Likewise.
45677         * elf/dl-tsd.c: Likewise.
45678         * include/errno.h: Likewise.
45679         * include/netdb.h: Likewise.
45680         * include/resolv.h: Likewise.
45681         * inet/herrno-loc.c: Likewise.
45682         * inet/herrno.c: Likewise.
45683         * malloc/arena.c: Likewise.
45684         * malloc/hooks.c: Likewise.
45685         * malloc/malloc.c: Likewise.
45686         * resolv/res-state.c: Likewise.
45687         * resolv/res_libc.c: Likewise.
45688         * sysdeps/i386/dl-machine.h: Likewise.
45689         * sysdeps/ia64/dl-machine.h: Likewise.
45690         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45691         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45692         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45693         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45694         * sysdeps/sh/dl-machine.h: Likewise.
45695         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45696         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45697         * sysdeps/unix/i386/sysdep.S: Likewise.
45698         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45699         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45700         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45702         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45704         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45708         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45709         * sysdeps/x86_64/dl-machine.h: Likewise.
45710         * tls.make.c: Likewise.
45711
45712         * configure.in: Remove --with-__thread option.  Make tests for
45713         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45714         tls_model attribute fail if no support is available.  Remove
45715         USE_IN_LIBIO.
45716         * Makeconfig: Adjust for dropped configure option.  All features are
45717         now mandatory.
45718         * Makerules: Likewise.
45719         * Versions.def: Likewise.
45720         * argp/argp-fmtstream.c: Likewise.
45721         * argp/argp-fmtstream.h: Likewise.
45722         * argp/argp-help.c: Likewise.
45723         * assert/assert.c: Likewise.
45724         * config.h.in: Likewise.
45725         * config.make.in: Likewise.
45726         * configure: Likewise.
45727         * configure.in: Likewise.
45728         * csu/Versions: Likewise.
45729         * csu/init.c: Likewise.
45730         * elf/tst-audit2.c: Likewise.
45731         * elf/tst-tls10.c: Likewise.
45732         * elf/tst-tls10.h: Likewise.
45733         * elf/tst-tls11.c: Likewise.
45734         * elf/tst-tls12.c: Likewise.
45735         * elf/tst-tls14.c: Likewise.
45736         * elf/tst-tlsmod11.c: Likewise.
45737         * elf/tst-tlsmod12.c: Likewise.
45738         * elf/tst-tlsmod13.c: Likewise.
45739         * elf/tst-tlsmod13a.c: Likewise.
45740         * elf/tst-tlsmod14a.c: Likewise.
45741         * elf/tst-tlsmod15b.c: Likewise.
45742         * elf/tst-tlsmod16a.c: Likewise.
45743         * elf/tst-tlsmod16b.c: Likewise.
45744         * elf/tst-tlsmod7.c: Likewise.
45745         * elf/tst-tlsmod8.c: Likewise.
45746         * elf/tst-tlsmod9.c: Likewise.
45747         * gmon/gmon.c: Likewise.
45748         * grp/fgetgrent_r.c: Likewise.
45749         * grp/putgrent.c: Likewise.
45750         * hurd/fopenport.c: Likewise.
45751         * include/libc-symbols.h: Likewise.
45752         * include/tls.h: Likewise.
45753         * intl/gettextP.h: Likewise.
45754         * intl/loadinfo.h: Likewise.
45755         * locale/global-locale.c: Likewise.
45756         * locale/localeinfo.h: Likewise.
45757         * mach/devstream.c: Likewise.
45758         * malloc/arena.c: Likewise.
45759         * malloc/set-freeres.c: Likewise.
45760         * misc/err.c: Likewise.
45761         * misc/getttyent.c: Likewise.
45762         * misc/mntent_r.c: Likewise.
45763         * posix/getopt.c: Likewise.
45764         * posix/wordexp.c: Likewise.
45765         * pwd/fgetpwent_r.c: Likewise.
45766         * resolv/Versions: Likewise.
45767         * resolv/res_hconf.c: Likewise.
45768         * shadow/fgetspent_r.c: Likewise.
45769         * shadow/putspent.c: Likewise.
45770         * stdio-common/printf_fphex.c: Likewise.
45771         * stdio-common/tmpfile.c: Likewise.
45772         * stdlib/abort.c: Likewise.
45773         * stdlib/fmtmsg.c: Likewise.
45774         * sunrpc/auth_unix.c: Likewise.
45775         * sunrpc/clnt_perr.c: Likewise.
45776         * sunrpc/clnt_tcp.c: Likewise.
45777         * sunrpc/clnt_udp.c: Likewise.
45778         * sunrpc/clnt_unix.c: Likewise.
45779         * sunrpc/openchild.c: Likewise.
45780         * sunrpc/svc_simple.c: Likewise.
45781         * sunrpc/svc_tcp.c: Likewise.
45782         * sunrpc/svc_udp.c: Likewise.
45783         * sunrpc/svc_unix.c: Likewise.
45784         * sunrpc/xdr.c: Likewise.
45785         * sunrpc/xdr_array.c: Likewise.
45786         * sunrpc/xdr_rec.c: Likewise.
45787         * sunrpc/xdr_ref.c: Likewise.
45788         * sunrpc/xdr_stdio.c: Likewise.
45789
45790 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45791
45792         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45793
45794 2011-07-03  Andreas Jaeger  <aj@suse.de>
45795
45796         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45797         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45798         regenerate with gen-libm-tests.pl.
45799
45800 2010-05-12  Petr Baudis  <pasky@suse.cz>
45801
45802         [BZ #11589]
45803         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45804         around j0() zero points by switching to j1().
45805         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45806         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45807         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45808         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45809
45810 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45811
45812         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45813         instead of 0.
45814         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45815         instead of 0.
45816         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45817         Patch in part by Pavel Roskin <proski@gnu.org>.
45818
45819         [BZ #13138]
45820         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45821         realloc.
45822         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45823         Free memory block if necessary.
45824
45825         [BZ #12847]
45826         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45827         be NULL.  Don't lock in this case.
45828
45829 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45830
45831         * elf/elf.h (ELFOSABI_GNU): New macro.
45832         (ELFOSABI_LINUX): Define to that.
45833
45834 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45835
45836         * string/strncat.c (strncat): Undef the symbol in case it has been
45837         defined in bits/string.h.
45838
45839 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45840
45841         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45842
45843         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45844         link map.
45845
45846 2011-08-17  Andreas Jaeger  <aj@suse.de>
45847
45848         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45849
45850 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45851             Ian Lance Taylor  <iant@google.com>
45852
45853         * math/libm-test.inc (lround_test): New testcase.
45854         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45855
45856 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45857
45858         * Makefile: Remove support for automatic cvs check-ins.
45859         * Makerules: Likewise.
45860         * config.make.in: Likewise.
45861         * configure.in: Likewise.
45862         * intl/Makefile: Likewise.
45863         * locale/Makefile: Likewise.
45864         * po/Makefile: Likewise.
45865         * posix/Makefile: Likewise.
45866         * sysdeps/gnu/Makefile: Likewise.
45867         * sysdeps/mach/hurd/Makefile: Likewise.
45868         * sysdeps/sparc/sparc32/Makefile: Likewise.
45869
45870         [BZ #13118]
45871         * posix/Makefile (bug-regex32-ENV): Define.
45872         Patch by John Stanley <jpsinthemix@verizon.net>.
45873
45874         * misc/Makefile (headers): Add bits/select2.h.
45875         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45876         * misc/bits/select2.h: New file.
45877         * include/bits/select2.h: New file.
45878         * debug/Makefile (routines): Add fdelt_chk.
45879         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45880         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45881         FD_ISSET.
45882         * debug/fdelt_chk.c: New file.
45883
45884         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45885         * wcsmbs/test-wmemcmp.c: Likewise.
45886         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45887         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45888
45889 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45890
45891         * string/Makefile (strop-tests): Add memcmp.
45892         * string/test-wmemcmp.c: New file.
45893         * string/test-memcmp.c: Add wmemcmp support.
45894
45895 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45896
45897         [BZ #13153]
45898         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45899         2011-07-19 change.
45900
45901         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45902         garbage value in a __mach_port_mod_refs call in the cases of the
45903         task-self and thread-self ports.
45904
45905 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45906
45907         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45908
45909 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45910
45911         * elf/dl-load.c (lose): Check for non-null L.
45912
45913 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45914
45915         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45916
45917         * elf/dl-libc.c (dlerror_run): Pass back error code from
45918         dl_catch_error.
45919
45920         [BZ #13123]
45921         * elf/dl-load.c (lose): Free l_origin if it is valid.
45922
45923         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45924         names.
45925         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45926         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45927         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45928         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45929         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45930         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45931
45932 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45933
45934         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45935         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45936         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45937         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45938         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45939         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45940         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45941         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45942         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45943         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45944
45945 2011-08-15  Alan Modra  <amodra@gmail.com>
45946
45947         [BZ #13092]
45948         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45949         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45950         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45951         ppc_mcount to static-only-routines.
45952         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45953         __mcount_internal.
45954         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45955         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45956
45957 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45958
45959         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45960         for finite and infinity parameters.
45961
45962 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45963
45964         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45965         and add nop instructions for throughput optimization.
45966         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45967
45968 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45969
45970         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45971         aligned copy for power7 with vector-scalar instructions.
45972         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45973
45974 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45975
45976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45977         AVX check.
45978
45979 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45980
45981         [BZ #13144]
45982         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45983         last change.
45984
45985 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45986
45987         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45988         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45989         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45990         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45991         clock_gettime.
45992
45993 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45994
45995         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45996         Forgot to demangle the pointer.
45997
45998         * sysdeps/i386/sysdep.h: Define atom_text_section.
45999         * sysdeps/x86_64/sysdep.h: Likewise.
46000         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46001         section with atom_text_section.
46002         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46003         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46004         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46005         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46006         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46007
46008         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46009         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46010         already be defined.  Change to take two parameters and don't assign
46011         result to variable.  Adjust all users.
46012         Define INTERNAL_GETTIME if not already defined.
46013         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46014         call.
46015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46016         HAVE_CLOCK_GETTIME_VSYSCALL.
46017         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46018
46019         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46020         gettimeofday vsyscall, just use time.
46021
46022 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46023
46024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46025         <errno.h>.
46026
46027 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46028
46029         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46030         syscall on x86-64.
46031         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46032         syscall.
46033         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46034         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46035         syscall if possible.
46036
46037 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46038
46039         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46040         e_ident.  Don't pass to find_mapsXX.
46041         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46042
46043 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46044
46045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46046         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46047         * sysdeps/x86_64/multiarch/strchr.S: Update.
46048         Check bit_slow_BSF bit.
46049         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46050         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46051         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46052
46053 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46054
46055         [BZ #13134]
46056         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46057         before glibc 2.15.
46058         (tryshell): Define.
46059         (__spawni): Change last parameter to be flag.  Test
46060         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46061         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46062         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46063         * posix/spawni.c: Likewise.
46064         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46065         * posix/spawnp.c: Likewise.  Change normal version to use
46066         SPAWN_XFLAGS_USE_PATH.
46067         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46068         SPAWN_XFLAGS_TRY_SHELL.
46069
46070         [BZ #13150]
46071         * posix/glob.h: Remove gcc 1.x support.
46072
46073         [BZ #13068]
46074         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46075
46076 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46077
46078         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46079         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46080         strrchr-sse2-bsf
46081         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46082         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46083         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46084         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46085         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46086         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46087
46088 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46089
46090         * sysdeps/x86_64/wcscmp.S: New file.
46091
46092         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46093         wcscmp-c wcscmp-sse2
46094         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46095         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46096         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46097         * wcsmbs/wcscmp.c: Allow renaming.
46098
46099 2011-09-05  David S. Miller  <davem@davemloft.net>
46100
46101         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46102         stack slot, rather than the struct return pointer slot.
46103         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46104         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46106         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46107
46108 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46109
46110         * po/ja.po: Update from translation team.
46111
46112         [BZ #13144]
46113         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46114         kernel in 64-bit binaries.
46115
46116 2011-09-01  David S. Miller  <davem@davemloft.net>
46117
46118         * elf/elf.h (HWCAP_SPARC_*): Move to..
46119         * sysdeps/sparc/sysdep.h: this new file and add new values.
46120         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46121         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46122         _DL_HWCAP_COUNT to 24.
46123         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46124         entries.
46125         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46126         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46127         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46129         instead of magic constants.
46130         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46131
46132 2011-08-31  David S. Miller  <davem@davemloft.net>
46133
46134         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46135         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46136         Reimplement to do errno handling inline.
46137         (SYSCALL_ERROR_HANDLER): New macro.
46138         (__SYSCALL_STRING): Do not do errno handling in asm.
46139         (__CLONE_SYSCALL_STRING): Delete.
46140         (__INTERNAL_SYSCALL_STRING): Delete.
46141         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46142         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46143         (PSEUDO): Reimplement to do errno handling inline.
46144         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46145         (SYSCALL_ERROR_HANDLER): New macro.
46146         (__SYSCALL_STRING): Do not do errno handling in asm.
46147         (__CLONE_SYSCALL_STRING): Delete.
46148         (__INTERNAL_SYSCALL_STRING): Delete.
46149         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46150         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46151         i386.
46152         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46153         (inline_syscall*): Add 'err' argument.
46154         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46155         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46156         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46157         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46158
46159         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46160         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46161
46162 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46163
46164         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46165
46166 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46167
46168         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46169         directive.
46170
46171 2011-08-24  David S. Miller  <davem@davemloft.net>
46172
46173         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46174
46175 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46176
46177         * elf/Makefile: Add rules to build and run unload8 test.
46178         * elf/unload8.c: New file.
46179         * elf/unload8mod1.c: New file.
46180         * elf/unload8mod1x.c: New file.
46181         * elf/unload8mod2.c: New file.
46182         * elf/unload8mod3.c: New file.
46183
46184         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46185         it wasn't used.
46186
46187 2011-08-23  David S. Miller  <davem@davemloft.net>
46188
46189         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46190         subtract stack bias.
46191         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46192         %sp not %fp in calculations.
46193         (_JMPBUF_UNWINDS_ADJ): Likewise.
46194
46195         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46196         (aio_suspend): Call it to force an exception region around the
46197         AIO_MISC_WAIT() invocation.
46198
46199 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46200
46201         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46202         backslash.
46203
46204 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46205
46206         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46207         protection macro.
46208         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46209         and <dl-machine.h>.
46210         (Elf64_FuncDesc): Remove.
46211
46212 2011-08-22  David S. Miller  <davem@davemloft.net>
46213
46214         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46215         sigaltstack check, add missing cfi directives.
46216         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46217         missing cfi directives, and sigaltstack handling.
46218
46219 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46220
46221         [BZ #11724]
46222         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46223         object is seen twice.
46224         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46225
46226         * elf/Makefile (distribute): Add tst-initorder2.c.
46227         (tests): Add tst-initorder2.
46228         (modules-names): Add tst-initorder2a tst-initorder2b
46229         tst-initorder2c tst-initorder2d.  Add rules to build them.
46230         ($(objpfx)tst-initorder2.out): New rule.
46231         * elf/tst-initorder2.c: New file.
46232         * elf/tst-initorder2.exp: New file.
46233
46234 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46235
46236         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46237
46238         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46239         dependencies back to end of function.
46240
46241         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46242         $(elfobjdir)/ld.so.
46243
46244 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46245
46246         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46247         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46248         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46249         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46250         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46251         of __vdso_gettimeofday.
46252         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46253         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46254         attribute_hidden.
46255         (_libc_vdso_platform_setup): Remove initialization of
46256         __vdso_gettimeofday and __vdso_time.
46257
46258 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46259
46260         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46261         and fgetc_unlocked.
46262         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46263         getc_unlocked.
46264
46265         * elf/dl-open.c (add_to_global): Report additions to the global scope
46266         for LD_DEBUG=scopes.
46267         (dl_open_worker): Also print scope of newly loaded dependencies.
46268         (_dl_show_scope): Indicate if there is no scope.
46269
46270         [BZ #13114]
46271         * stdio-common/Makefile (tests): Add bug24.
46272         * stdio-common/bug24.c: New file.
46273
46274 2011-08-19  Andreas Jaeger  <aj@suse.de>
46275
46276         [BZ #13114]
46277         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46278         non-existant file when using close-on-exec mode.
46279
46280 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46281
46282         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46283         the very first instruction.
46284
46285         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46286         the CFI state in the end.
46287         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46288         inclusion of dl-trampoline.h.
46289         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46290
46291 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46292
46293         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46294         expectations for long double.
46295
46296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46297         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46298
46299 2011-08-14  David S. Miller  <davem@davemloft.net>
46300
46301         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46302         artificual limit depends upon the system page size.
46303
46304 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46305
46306         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46307         * resolv/Makefile: Define CFLAGS-libresolv.
46308
46309 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46310
46311         * nss/makedb.c (compute_tables): Make variables used in nested
46312         function static.
46313
46314 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46315
46316         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46317         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46318         if buffer was too small.
46319
46320         * elf/pldd.c (main): Attach to all threads in the process.
46321         Rewrite /proc handling to use *at functions.
46322
46323 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46324
46325         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46326         specifies first scope to show.
46327         (dl_open_worker): Update callers.  Move printing scope of new
46328         object to before the relocation.
46329         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46330         * sysdeps/generic/ldsodefs.h: Update declaration.
46331
46332         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46333         string for the scope number.
46334
46335 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46336
46337         * nscd/servicescache.c (cache_addserv): Make sure written is always
46338         initialized.
46339
46340 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46341
46342         * sysdeps/i386/i486/bits/atomic.h
46343         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46344         statement expression, so as to suppress "set but not used" warning.
46345         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46346
46347         * string/strncat.c (STRNCAT): Use prototype definition.
46348
46349         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46350         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46351         -Iprograms here.
46352         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46353         (localedef-modules): Add localedef.
46354         (locale-modules): Add locale.
46355
46356         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46357         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46358         to avoid a warning.
46359
46360 2011-08-14  David S. Miller  <davem@davemloft.net>
46361
46362         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46363         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46364
46365 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46366
46367         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46368         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46369         * elf/rtld.c (dl_main): Set l_name of vDSO.
46370         Call _dl_show_scope when DL_DEBUG_SCOPES.
46371         (process_dl_debug): Recognize scopes flag and also set it for all.
46372         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46373         Declare _dl_show_scope.
46374
46375         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46376         (do_dlopen): Pass caller_dlopen to dl_open.
46377         (__libc_dlopen_mode): Initialize caller_dlopen.
46378
46379         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46380         of libc.  Make tolower call locale-independent.  Optimize a bit by
46381         using isdigit instead of isalnum.
46382         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46383
46384 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46385
46386         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46387         was a dependency or dynamically loaded.
46388
46389 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46390
46391         * intl/l10nflist.c: Allow architecture-specific pop function.
46392         * sysdeps/x86_64/l10nflist.c: New file.
46393
46394         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46395         classification.
46396
46397 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46398
46399         * include/dirent.h: Add libc_hidden_proto for scandirat and
46400         scandirat64.  Don't declare __scandirat64.
46401         * dirent/scandirat.c: Add libc_hidden_def.
46402         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46403         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46404
46405 2011-08-10  David S. Miller  <davem@davemloft.net>
46406
46407         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46408         enum.
46409         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46410         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46411         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46412
46413 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46414
46415         * Versions.def [libc]: Add GLIBC_2.15.
46416         * dirent/Makefile (routines): Add scandirat and scandirat64.
46417         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46418         GLIBC_2.15.
46419         * dirent/dirent.h: Declare scandirat and scandirat64.
46420         * dirent/scandirat.c: New file.
46421         * dirent/scandirat64.c: New file.
46422         * sysdeps/wordsize-64/scandirat.c: New file.
46423         * sysdeps/wordsize-64/scandirat64.c: New file.
46424         * dirent/opendir.c: Define opendirat.
46425         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46426         using scandirat.
46427         * dirent/scandir64.c: Adjust for scandir.c change.
46428         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46429         __scandirat64, and __scandir_cancel_handler.
46430         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46431         additional parameter and use openat instead of open (outside of ld.so).
46432         Add new __opendir as wrapper around __opendirat.
46433         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46434         here without requiring old scandirat implementation.
46435
46436 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46437
46438         * dirent/scandir.c (cancel_handler): Renamed to
46439         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46440         defined.  Adjust users.
46441         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46442         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46443
46444 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46445
46446         * string/test-string.h (IMPL): Use __STRING to expand name and then
46447         stringify it.
46448
46449         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46450         of cleanups.
46451
46452 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46453
46454         * string/Makefile: Update.
46455         (strop-tests): Append strncat.
46456         * string/test-wcscmp.c: New file.
46457         New comprehensive test for wcscmp.
46458         * string/test-strcmp.c: Update.
46459         (WIDE): New define.
46460
46461 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46462
46463         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46464         line.
46465
46466 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46467
46468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46469         encoding to ACE if AI_IDN.
46470
46471 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46472
46473         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46474         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46475
46476 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46477
46478         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46479         Fix overflow bug in strncat.
46480         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46481
46482         * string/test-strncat.c: Update.
46483         Add new tests for checking overflow bugs.
46484
46485 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46486
46487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46488         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46489         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46490         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46491         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46492         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46493         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46494         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46495         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46496
46497         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46498         (USE_AS_STRCAT): Define.
46499         Add strcat and strncat support.
46500         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46501
46502 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46503
46504         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46505         __n bigger than INT_MAX+1.
46506         (__strncmp_g): Likewise.
46507
46508 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46509
46510         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46511         * libio/stido.h: Likewise.
46512
46513         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46514         (AF_NFC): Define.
46515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46516         (AF_NFC): Define.
46517
46518         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46519         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46520         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46521         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46522         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46523
46524         [BZ #13021]
46525         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46526         installed.
46527
46528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46529         typo.
46530         (_dl_x86_64_save_sse): Likewise.
46531
46532 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46533
46534         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46535         OSXSAVE.
46536         (_dl_x86_64_save_sse): Likewise.
46537
46538         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46539
46540         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46541
46542 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46543
46544         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46545         change.
46546         (_dl_x86_64_save_sse): Use correct AVX check.
46547
46548 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46549
46550         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46551         bug in strncpy/strncat.
46552         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46553
46554 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46555
46556         * string/tester.c (test_strcat): Add tests for different alignments
46557         of source and destination.
46558         (test_strncat): Likewise.
46559
46560 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46561
46562         [BZ #12852]
46563         * posix/glob.c (glob): Check passed in values before using them in
46564         expressions to avoid some overflows.
46565         (glob_in_dir): Likewise.
46566
46567         [BZ #13007]
46568         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46569         check for AVX enablement so that we don't crash with old kernels and
46570         new hardware.
46571         * elf/tst-audit4.c: Add same checks here.
46572         * elf/tst-audit6.c: Likewise.
46573
46574         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46575
46576 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46577
46578         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46579
46580 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46581
46582         * po/cs.po: Update from translation team.
46583         * po/bg.po: Likewise.
46584
46585 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46586
46587         * misc/sys/cdefs.h: Add support for const attribute.
46588         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46589         to gnu_dev_{major,minor,makedev} functions.
46590
46591 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46592
46593         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46594
46595 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46596
46597         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46598         strlen results.
46599
46600 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46601
46602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46603         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46604         register in order to avoid conflicts with the soft frame pointer
46605         being held in r11 when necessary.
46606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46607         (INTERNAL_VSYSCALL_NCS): Likewise.
46608
46609 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46610
46611         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46612         * elf/dl-fini.c (_dl_fini): Adjust caller.
46613         * elf/dl-close.c (_dl_close_worker): Likewise.
46614         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46615
46616 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46617
46618         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46619         "aux_cache->nlibs < 0".
46620
46621         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46622         in the reload-count case.
46623
46624 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46625
46626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46627         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46628         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46629         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46630         * sysdeps/x86_64/multiarch/strcat.S: New file.
46631         * sysdeps/x86_64/multiarch/strncat.S: New file.
46632         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46633         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46634         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46635         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46636         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46637         (USE_AS_STRCAT): Define.
46638         Add strcat and strncat support.
46639         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46640         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46641         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46642         * string/strncat.c: Update.
46643         (USE_AS_STRNCAT): Define.
46644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46645         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46646         and i7.
46647         * sysdeps/x86_64/multiarch/init-arch.h
46648         (bit_Prefer_PMINUB_for_stringop): New.
46649         (index_Prefer_PMINUB_for_stringop): Likewise.
46650         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46651         bit_Prefer_PMINUB_for_stringop.
46652
46653 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46654
46655         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46656         buffer64.
46657         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46658         of casting of buffer.
46659         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46660         buffer32 and buffer64.
46661         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46662         writes instead of casting of buffer.
46663         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46664         buffer32.
46665         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46666         casting of buffer.
46667
46668 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46669
46670         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46671
46672 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46673
46674         * nscd/nscd.c (termination_handler): Don't do anything for a database
46675         if it has not yet been initialized.
46676
46677 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46678
46679         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46680
46681 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46682
46683         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46684
46685 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46686
46687         * po/nl.po: Update from translation team.
46688         * po/sv.po: Likewise.
46689
46690 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46691
46692         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46693         now disallowed by GCC.
46694
46695         * configure.in (use-default-link): Default to yes if a test -shared
46696         link meets our qualifications.
46697         * configure: Regenerated.
46698
46699         * config.make.in (output-format): New variable.
46700         * configure.in: Check for ld --print-output-format support.
46701         * configure: Regenerated.
46702         * Makerules ($(common-objpfx)format.lds)
46703         [$(output-format) != unknown]: Just use $(output-format),
46704         instead of the linker-script munging.
46705
46706 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46707
46708         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46709         of $(common-objpfx)shlib.lds.
46710         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46711
46712         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46713         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46714
46715         * configure.in (-z relro check): Adjust test code to add a large
46716         writable data section after it.
46717         * configure: Regenerated.
46718
46719 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46720
46721         * configure.in (-z relro check): Fix test code to make the variable
46722         truly const.
46723         * configure: Regenerated.
46724
46725 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46726
46727         * nscd/nscd.h (struct traced_file): Define.
46728         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46729         elements.  Add traced_files.
46730         (inotify_fd): Declare.
46731         (register_traced_file): Declare.
46732         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46733         (inotify_fd): Export.
46734         (resolv_conf_descr): Remove.
46735         (nscd_init): Move inotify descriptor creation to main.
46736         Don't register files for notification here.
46737         (register_traced_file): New function.
46738         (invalidate_cache): Don't use reset_res to determine whether to call
46739         res_init, go through the list of registered files.
46740         (main_loop_poll): The inotify descriptors are now stored in the
46741         structures for the traced files.
46742         (main_loop_epoll): Likewise
46743         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46744         to __nss_disable_nscd.
46745         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46746         for a database anymore.  Check the records for all the registered
46747         files instead.
46748         * nss/Makefile (libnss_files-routines): Add files-init.
46749         (libnss_db-routines): Add db-init.
46750         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46751         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46752         * nss/nss_db/db-init.c: New file.
46753         * nss/nss_files/files-init.c: New file.
46754         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46755         __nss_lookup_function.
46756         (__nss_lookup_function): Call nss_load_library.
46757         (nss_load_all_libraries): New function.
46758         (__nss_disable_nscd): Take parameter with callback function for files
46759         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46760         used for the cached services.
46761         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46762         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46763         options for features to all the files in nscd.
46764
46765         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46766
46767 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46768
46769         * csu/elf-init.c (__libc_csu_init): Comment typo.
46770
46771 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46772
46773         * po/pl.po: Update from translation team.
46774         * po/ja.po: Likewise.
46775         * po/ru.po: Likewise.
46776         * po/ko.po: Likewise.
46777         * po/fr.po: Likewise.
46778
46779 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46780
46781         * configure.in (.ctors/.dtors header and trailer check):
46782         Use an empirical test on a built program.
46783         * configure: Regenerated.
46784
46785         * configure.in (-z relro check): Use an empirical test on a built DSO.
46786         Detect, but do not require, on ia64.
46787         * configure: Regenerated.
46788
46789         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46790         Update tests that use readelf to use $READELF instead.
46791         * configure: Regenerated.
46792
46793 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46794
46795         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46796         if the result is not used.
46797
46798 2011-07-05  Andreas Jaeger  <aj@suse.de>
46799
46800         [BZ#9696]
46801         * stdlib/tst-strtod.c: Add testcase.
46802
46803 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46804
46805         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46806         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46807         The latter has a higher limit.  Take additional parameter to pass to
46808         the new function.
46809         (__pathconf): Pass file to __statfs_link_max.
46810         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46811         __statfs_link_max.
46812         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46813         __statfs_link_max.
46814
46815         [BZ #12868]
46816         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46817         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46818         Handle Lustre.
46819         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46820         (__statfs_filesize_max): Likewise.
46821         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46822
46823 2011-07-05  Andreas Jaeger  <aj@suse.de>
46824
46825         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46826
46827 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46828
46829         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46830         `status' variable.
46831         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46832         Likewise.
46833
46834 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46835
46836         * Makefile (strop-tests): Add strncat.
46837         * string/test-strncat.c: New file.
46838
46839 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46840
46841         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46842
46843 2011-06-21  Andreas Jaeger  <aj@suse.de>
46844
46845         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46846         Copy rule from iconvdata/Makefile.
46847
46848 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46849
46850         [BZ #12922]
46851         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46852         but no long options are defined, just return 'W'.
46853
46854 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46855
46856         [BZ #9696]
46857         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46858
46859 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46860
46861         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46862         netgroups to read.
46863         (innetgr): Likewise.
46864
46865 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46866
46867         * config.make.in (install_root): Default to $(DESTDIR).
46868
46869 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46870
46871         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46872
46873 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46874
46875         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46876
46877         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46878         containing directory rather than embedding absolute directory names.
46879
46880         * scripts/check-local-headers.sh: Rewritten using awk.
46881         Match by word, not by line.  Print error messages for matches.
46882         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46883
46884         * Makerules [shlib-lds-flags empty]:
46885         ($(common-objpfx)libc_pic.opts): New target.
46886         ($(common-objpfx)libc_pic.os.clean): New target.
46887         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46888
46889         * config.make.in (OBJCOPY): New variable.
46890         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46891         * configure: Regenerated.
46892
46893         * config.make.in (use-default-link): New variable.
46894         * configure.in (use_default_link): Grok --with-default-link to set it.
46895         * configure: Regenerated.
46896         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46897         (shlib-lds, shlib-lds-flags): Define to empty.
46898
46899         * Makerules (shlib-lds): New variable.
46900         (shlib-lds-flags): New variable.
46901         (build-shlib, build-moduile, build-module-asneeded): Use it.
46902         ($(common-objpfx)libc.so): Use $(shlib-lds).
46903         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46904         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46905
46906         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46907         DT_FLAGS/DT_FLAGS_1 with zero flags.
46908
46909         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46910         linker script munging.
46911
46912 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46913
46914         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46915         as 128-bit value.
46916         * crypt/sha512.c (sha512_process_block): Perform total addition using
46917         128-bit if possible.
46918         (__sha512_finish_ctx): Likewise.
46919         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46920         as 64-bit value.
46921         * crypt/sha256.c (SWAP64): Define.
46922         (sha256_process_block): Perform total addition using 64-bit if
46923         possible.
46924         (__sha256_finish_ctx): Likewise.
46925
46926 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46927
46928         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46929         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46930         * nscd/hstcache.c (cache_addhst): Likewise.
46931         * nscd/grpcache.c (cache_addgr): Likewise.
46932         * nscd/aicache.c (addhstaiX): Likewise
46933         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46934
46935 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46936
46937         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46939         * nscd/hstcache.c (cache_addhst): Likewise.
46940         * nscd/grpcache.c (cache_addgr): Likewise.
46941         * nscd/aicache.c (addhstaiX): Likewise
46942
46943 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46944
46945         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46946         domain only when needed.
46947
46948 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46949
46950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46951         is always restored.
46952
46953 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46954
46955         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46956         are re-adding the entry.
46957         * nscd/servicescache.c (cache_addserv): Likewise.
46958
46959 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46960
46961         * sysdeps/generic/dl-irel.h: fix protection against multiple
46962         inclusions.
46963         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46964
46965 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46966
46967         [BZ #12935]
46968         * malloc/memusage.sh: Fix quoting in message.
46969         * debug/xtrace.sh: Likewise.
46970
46971         * configure.in: Remove support for --experimental-malloc option, make
46972         it the default.
46973         * config.make.in: Likewise.
46974         * malloc/Makefile: Likewise.
46975
46976 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46977
46978         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46979         two-byte characters.
46980
46981 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46982
46983         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46984         AC_CACHE_CHECK invocation.
46985         * configure: Regenerated.
46986
46987         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46988
46989 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46990
46991         [BZ #12350]
46992         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46993         bit from old_res_options.
46994
46995         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46996
46997         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46998         value type for setfct.
46999
47000 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47001
47002         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47003         __gettimeofday instead of gettimeofday.
47004
47005 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47006
47007         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47008
47009 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47010
47011         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47012
47013         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47014         info.
47015
47016 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47017
47018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47019         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47020         strcpy-sse2-unaligned strncpy-sse2-unaligned
47021         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47022         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47023         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47024         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47025         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47026         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47027         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47028         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47029         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47030         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47031         (STRCPY): Support SSE2 and SSSE3 versions.
47032
47033 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47034
47035         [BZ #12874]
47036         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47037         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47038         kernels which artificially limit size of requests.
47039
47040 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47041
47042         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47043         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47044         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47045         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47046         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47047         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47048         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47049         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47050         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47051         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47052         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47053         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47054         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47055         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47056         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47058         Enable unaligned load optimization for Intel Core i3, i5 and i7
47059         processors.
47060         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47061         Define.
47062         (index_Fast_Unaligned_Load): Define.
47063         (HAS_FAST_UNALIGNED_LOAD): Define.
47064
47065 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47066
47067         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47068
47069 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47070
47071         [BZ #12907]
47072         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47073         until it is clear that the information is realy needed.
47074         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47075
47076 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47077
47078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47079
47080 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47081
47082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47083         /sys/devices/system/cpu/online if it is usable.
47084
47085         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47086         reading the information from the /proc filesystem to once a second.
47087
47088 2011-06-21  Andreas Jaeger  <aj@suse.de>
47089
47090         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47091         NULL after inclusion of kernel headers.
47092
47093 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47094
47095         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47096         calls to internal_setent.
47097
47098         [BZ #12885]
47099         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47100         addresses using gethostbyname4_r ignore IPv4 addresses.
47101
47102         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47103         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47104
47105         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47106
47107 2011-06-20  David S. Miller  <davem@davemloft.net>
47108
47109         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47110         inclusions.
47111         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47112
47113         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47114         (elf_irel): Use it.
47115         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47116         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47117         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47118         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47119         * sysdeps/x86_64/dl-irel.h: Likewise.
47120
47121         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47122         * elf/dl-sym.c: Likewise.
47123
47124 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47125
47126         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47127         need to dereference resplen2.
47128
47129 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47130
47131         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47132
47133 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47134
47135         * Makeconfig: Define vardbdir and inst_vardbdir.
47136         * nss/Makefile: Add rules to install db-Makefile.
47137
47138         * nss/nss_db/db-XXX.c: Cleanup.
47139
47140         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47141         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47142         GLIBC_PRIVATE.
47143         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47144         * nss/makedb.c: Implement -g option to specify that value strings
47145         are generated and should not be added to table iterated over for
47146         get*ent calls.
47147         * nss/nss_db/db-initgroups.c: New file.
47148
47149         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47150         interface.
47151
47152         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47153         (internal_getgrouplist): Adjust to name change.
47154         Update use_initgroups_entry if this is not the first call.
47155         * nss/databases.def: Add initgroups entry.
47156
47157         * nss/makedb.c (compute_tables): Check result of multiple hash table
47158         sizes to minimize maximum chain length.
47159
47160 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47161
47162         * Versions.def: Add entry for libnss_db.
47163         * shlib-versions: Likewise.
47164         * nss/Makefile: Add rules to build libnss_db.
47165         * nss/Versions: Add libnss_db information.  Organize libnss_files
47166         entries better.
47167         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47168         makedb progra.  Some minor improvements to generate smaller files.
47169         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47170         here from...
47171         * nss/makedb.c: ...here.
47172         Improve database format to be smaller and require less memory at
47173         runtime.
47174         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47175         db anymore.
47176         * nss/nss_db/db-netgrp.c: Likewise.
47177         * nss/nss_db/db-open.c: Likewise.
47178         * nss/nss_files/flies-XXX.x: Adjust comments.
47179         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47180         * nss/nss_files/files-grp.c: Likewise.
47181         * nss/nss_files/files-hosts.c: Likewise.
47182         * nss/nss_files/files-network.c: Likewise.
47183         * nss/nss_files/files-proto.c: Likewise.
47184         * nss/nss_files/files-pwd.c: Likewise.
47185         * nss/nss_files/files-rpc.c: Likewise.
47186         * nss/nss_files/files-service.c: Likewise.
47187         * nss/nss_files/files-sgrp.c: Likewise.
47188         * nss/nss_files/files-spwd.c: Likewise.
47189         * nss/nss_db/db-alias.c: Removed.
47190         * nss/nss_db/dummy-db.h: Removed.
47191
47192 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47193
47194         * nss/makedb.c: Rewritten to not use database library.
47195         * nss/Makefile: Update to build new makedb program.
47196
47197 2011-06-14  Andreas Jaeger  <aj@suse.de>
47198
47199         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47200         memset declaration.
47201
47202 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47203
47204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47205         tmpbuf.
47206
47207 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47208
47209         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47210         * elf/Makefile ($(objpfx)ld.so): Likewise.
47211
47212         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47213         Don't list ld.so twice in dependencies.
47214
47215         * posix/bug-regex31.c: Include <stdlib.h>.
47216
47217         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47218
47219         * nis/nss_compat/compat-spwd.c
47220         (getspent_next_nss_netgr): Remove unused variable.
47221         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47222
47223         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47224         nonmembers" output to use the right array.
47225
47226         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47227
47228         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47229
47230         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47231         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47232         * catgets/gencat.c (read_input_file): Likewise.
47233         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47234
47235         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47236         variable definition inside #if's controlling its use.
47237
47238         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47239
47240         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47241
47242         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47243
47244         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47245         unreachable code.
47246
47247         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47248
47249         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47250         * configure: Regenerated.
47251
47252         * Makerules: Revert last change.
47253         * elf/Makefile: Likewise.
47254
47255 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47256
47257         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47258         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47259         (reloc-link): Likewise.
47260
47261 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47262
47263         * elf/Makefile: Add rules to build pldd.
47264         * elf/pldd.c: New file.
47265         * elf/pldd-xx.c: New file.
47266
47267 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47268
47269         * version.h: Update for 2.15 development version.
47270
47271 2011-06-07  David S. Miller  <davem@davemloft.net>
47272
47273         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47274         ifuncs.
47275         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47276         elf_machine_lazy_rel): Likewise.
47277         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47278         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47279         elf_machine_lazy_rel): Likewise.
47280         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47281         dl_hwcap via passed in argument.
47282         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47283         Likewise.
47284
47285 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47286
47287         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47288
47289 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47290
47291         [BZ #12849]
47292         * manual/fdl-1.1.texi: New file, verbatim from:
47293         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47294         * manual/lgpl-2.1.texi: New file, verbatim from:
47295         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47296         * manual/Makefile (licenses): New variable, list those new file names.
47297         (texis): Use it.
47298         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47299
47300         * manual/fdl.texi: File removed.
47301         * manual/lesser.texi: File removed.
47302         * manual/libc.texinfo (Copying, Documentation License):
47303         Use new @include file names, put @appendix directive before @include.
47304
47305 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47306
47307         [BZ #12841]
47308         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47309         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47310         (mq_open): Add __NTH.
47311
47312 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47313
47314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47315         Assume Intel Core i3/i5/i7 processor if AVX is available.
47316
47317 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47318
47319         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47320         typo.
47321
47322 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47323
47324         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47325         memory.  Use alloca_account.  Fix memory leak when retrying.
47326
47327 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47328
47329         * version.h (RELEASE): Bump for 2.14 release.
47330         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47331
47332         * config.make.in (RANLIB): Remove entry.
47333
47334 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47335
47336         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47337         (libc.pot): Work around missing support for .ksh extension in xgettext.
47338
47339         [BZ #12684]
47340         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47341         if both request failed.
47342         (send_dg): In case of server errors clear resplen or *resplen2.
47343
47344         [BZ #12454]
47345         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47346         when there are multiple maps.
47347         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47348         (_dl_fini): Remove test here.
47349
47350         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47351
47352 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47353
47354         [BZ #12350]
47355         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47356         bit from old_res_options.
47357         (gaih_inet): Likewise.
47358
47359         [BZ #11099]
47360         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47361         as signed.
47362
47363         * resolv/res_init.c (res_setoptions): Make the code more compact.
47364
47365         [BZ #11558]
47366         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47367         set RES_USEVC.
47368
47369         [BZ #11634]
47370         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47371
47372         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47373
47374         [BZ #11781]
47375         * malloc/malloc.h: Declare malloc hook variables as volatile.
47376
47377         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47378         in last patch.
47379
47380         [BZ #11799]
47381         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47382         raise in the comment.
47383         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47385         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47386
47387 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47388
47389         [BZ #12811]
47390         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47391         grow the buffers more if it already has to be sufficient.
47392         (build_wcs_upper_buffer): Likewise.
47393         * posix/regexec.c (check_matching): Likewise.
47394         (clean_state_log_if_needed): Likewise.
47395         (extend_buffers): Don't enlarge buffers beyond size of the input
47396         buffer.
47397         Patches mostly by Emil Wojak <emil@wojak.eu>.
47398         * posix/bug-regex32.c: New file.
47399         * posix/Makefile (tests): Add bug-regex32.
47400
47401         * locale/findlocale.c (_nl_find_locale): Return right away if
47402         _nl_explode_name failed.
47403         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47404
47405         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47406
47407         * debug/xtrace.sh: Unify messages.
47408         * malloc/memusage.sh: Likewise.
47409
47410         [BZ #12813]
47411         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47412         time symbol from vDSO.  Substitute with vsyscall if not available.
47413         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47414         __vdso_time.
47415
47416         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47417         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47418         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47419         Add sendmmsg and internal_sendmmsg.
47420         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47421         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47422         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47423
47424         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47425         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47426         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47427
47428 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47429
47430         [BZ #12813]
47431         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47432         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47433         available.
47434         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47435         __vdso_getcpu.
47436
47437         [BZ #12814]
47438         * iconvdata/Makefile (tests): Add bug-iconv9.
47439         * iconvdata/bug-iconv9.c: New file.
47440
47441 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47442
47443         [BZ #12814]
47444         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47445
47446 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47447
47448         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47449         (struct user_regs_struct): Change intcs field back to cs.
47450
47451 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47452
47453         * po/ja.po: Update from translation team.
47454
47455 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47456
47457         [BZ #12795]
47458         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47459         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47460
47461 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47462
47463         * stdlib/longlong.h: Update from GCC.
47464
47465 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47466
47467         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47468         parameter name.
47469         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47470         Add parameter name.
47471         (__sysconf): Pass it down.
47472
47473 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47474
47475         [BZ #12671]
47476         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47477         some situations.
47478         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47479         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47480         add in in __libc_use_alloca calls.  Adjust callers.
47481         (glob): Use malloc in some situations.
47482
47483         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47484         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47485         pltexit.
47486
47487 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47488
47489         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47490         and CLOCK_BOOTTIME_ALARM.
47491
47492         [BZ #12782]
47493         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47494         is returned.
47495
47496         * string/_strerror.c (__strerror_r): Print negative errors as signed
47497         numbers.
47498
47499         [BZ #12777]
47500         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47501         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47502         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47503
47504         * configure.in: Fix typo in redirection and correct removal of test
47505         files in two cases.
47506
47507         [BZ #12788]
47508         * locale/setlocale.c (new_composite_name): Fix test to check for
47509         identical name of all categories.
47510
47511         [BZ #12792]
47512         * libio/filedoalloc.c (local_isatty): New function.
47513         (_IO_file_doallocate): Use local_isatty.
47514         * stdio-common/perror.c (perror): In case a new stream is used
47515         forward the stream error.
47516         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47517         error flag.
47518
47519 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47520
47521         [BZ #11869]
47522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47523         alloca.
47524         * include/alloca.h (extend_alloca_account): Define.
47525
47526         [BZ #11857]
47527         * posix/regex.h: Fix comments with documentation of user-accessible
47528         fields after compilation and describe correct free'ing of pattern
47529         after re_compile_pattern.
47530         Patch by Reuben Thomas <rrt@sc3d.org>.
47531
47532 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47533
47534         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47535         and -mno-altivec to prevent the compiler from using Altivec and/or
47536         VSX instructions when the corresponding registers are not available.
47537
47538 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47539
47540         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47541
47542 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47543
47544         * libio/freopen.c (freopen): Use __dup2, not dup2.
47545         * libio/freopen64.c (freopen64): Likewise.
47546
47547 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47548
47549         [BZ #12775]
47550         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47551         * math/Makefile (tests): Add test-powl.
47552         (CFLAGS-test-powl.c): Define.
47553         * math/test-powl.c: New file.
47554
47555 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47556
47557         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47558
47559 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47560
47561         [BZ #11837]
47562         * iconvdata/gb18030.c: Update to GB18020-2005.
47563
47564 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47565
47566         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47567         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47568         Patch by Aharon Robbins <arnold@skeeve.com>.
47569
47570         [BZ #11892]
47571         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47572         on the stack.
47573
47574         [BZ #11895]
47575         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47576         through underflows.
47577
47578         [BZ #12766]
47579         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47580         point to strings before performing equality test for error_one_per_line
47581         mode.
47582
47583         [BZ #11697]
47584         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47585
47586         [BZ #11820]
47587         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47588         (struct user_fpregs_struct): Avoid __uint*_t types.
47589
47590         [BZ #6420]
47591         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47592         symbol info.  Use it instead of calling _dl_addr locally.
47593         (lock_and_info): New function.
47594         (tr_freehook): Call lock_and_info and pass symbol info as additional
47595         parameter to tr_where.
47596         (tr_mallochook): Likewise.
47597         (tr_reallochook): Likewise.
47598         (tr_memalignhook): Likewise.
47599
47600         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47601         used and couldn't be at all thread-safe.
47602
47603 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47604
47605         * libio/freopen.c (freopen): Don't close old file descriptor
47606         before the new one is opened.  Instead dup the new file descriptor
47607         to the old one after the new stream is created.
47608         * libio/freopen64.c (freopen64): Likewise.
47609         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47610         * libio/fileops.c (_IO_new_file_close_it): Handle new
47611         _IO_FLAGS2_NOCLOSE flag.
47612         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47613         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47614         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47615         _IO_FLAGS2_NOCLOSE flag.
47616         * include/unistd.h: Add hidden_proto for dup3.
47617         Define __have_dup3.
47618         * io/dup3.c: Define hidden symbol.
47619         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47620
47621         [BZ #7101]
47622         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47623         when an incomplete long option is used.
47624         * posix/tst-getopt_long1.c: New file.
47625         * posix/Makefile (tests): Add tst-getopt_long1.
47626
47627         [BZ #10138]
47628         * scripts/config.guess: Update from autoconf-2.68.
47629         * scripts/config.sub: Likewise.
47630
47631         [BZ #10157]
47632         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47633         tests into ...
47634         (has_cpuclock): ...this.  New function.
47635         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47636         macro here based on has_cpuclock code.
47637
47638         [BZ #10149]
47639         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47640         First byte (not low byte) is now always NUL.
47641         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47642
47643         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47644         Use non-cancelable interfaces.
47645
47646         [BZ #9809]
47647         * locale/iso-639.def: Add entry for Sorani.
47648
47649         [BZ #11901]
47650         * include/stdlib.h: Move include protection to the right place.
47651         Define abort_msg_s.  Declare __abort_msg with it.
47652         * stdlib/abort.c (__abort_msg): Adjust type.
47653         * assert/assert.c (__assert_fail_base): New function.  Majority
47654         of code from __assert_fail.  Allocate memory for __abort_msg with
47655         mmap.
47656         (__assert_fail): Now call __assert_fail_base.
47657         * assert/assert-perr.c: Remove bulk of implementation.  Use
47658         __assert_fail_base.
47659         * include/assert.hL Declare __assert_fail_base.
47660         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47661         mmap.
47662         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47663
47664 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47665
47666         [BZ #11952]
47667         [BZ #12453]
47668         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47669         until all modules are registered in the DTV.
47670         * elf/Makefile: Add rules to build and run tst-tls19.
47671         * elf/tst-tls19.c: New file.
47672         * elf/tst-tls19mod1.c: New file.
47673         * elf/tst-tls19mod2.c: New file.
47674         * elf/tst-tls19mod3.c: New file.
47675         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47676
47677         [BZ #12083]
47678         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47679         correctly.
47680
47681         [BZ #12601]
47682         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47683         two-byte sequence errors.
47684         * iconvdata/Makefile (tests): Add bug-iconv8.
47685         * iconvdata/bug-iconv8.c: New file.
47686
47687         [BZ #12626]
47688         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47689         buf2 definition.
47690
47691         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47692
47693         [BZ #12432]
47694         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47695         (dummy_getcfa): New function.
47696         (init): Get _Unwind_GetCFA address, use dummy if not found.
47697         (backtrace_helper): In recursion check, also check whether CFA changes.
47698         (__backtrace): Completely initialize arg.
47699
47700         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47701         storing incomplete byte sequence in state object.  Avoid testing for
47702         guaranteed too small input if we know there is enough data available.
47703
47704 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47705
47706         * Makeconfig (+link-pie): Indent.
47707         * Rules (binaries-pie): Define if $(have-fpie) and
47708         $(build-shared).
47709         (binaries-shared): Also filter out $(binaries-pie).
47710         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47711         * nscd/Makefile (others-pie): Add nscd.
47712         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47713         ($(objpfx)nscd): Remove command override.
47714         * login/Makefile (others-pie): Add pt_chown.
47715         ($(objpfx)pt_chown): Remove command override.
47716         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47717         remove command overrides.
47718
47719 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47720
47721         * libio/tst_putwc.c: Fix error messages.
47722
47723         [BZ #12724]
47724         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47725         currently writing and seek to current position when not.
47726         * libio/Makefile (tests): Add bug-fclose1.
47727         * libio/bug-fclose1.c: New file.
47728
47729 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47730
47731         [BZ #12511]
47732         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47733         don't set DF_1_NODELETE here.
47734         (do_lookup_x): When entering new entry test for copy relocation
47735         and if necessary set DF_1_NODELETE flag.
47736         * elf/tst-unique4.cc: New file.
47737         * elf/tst-unique4.h: New file.
47738         * elf/tst-unique4lib.cc: New file.
47739         * elf/Makefile: Add rules to build and run tst-unique4.
47740         Patch by Piotr Bury <pbury@goahead.com>.
47741
47742 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47743
47744         [BZ #12052]
47745         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47746
47747         [BZ #12625]
47748         * misc/mntent_r.c (addmntent): Flush the stream after the output
47749
47750         [BZ #12393]
47751         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47752         (is_trusted_path_normalize): Skip initial colon.  Append slash
47753         to empty buffer.  Duplicate is_trusted_path code but allow
47754         constructed patch to be prefix.
47755         (is_dst): Allow $ORIGIN followed by /.
47756         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47757         Correct testing of result of is_trusted_path_normalize
47758         (decompose_rpath): Fix warning.
47759
47760 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47761
47762         [BZ #11257]
47763         * grp/initgroups.c (internal_getgrouplist): When we found the service
47764         list through the initgroups entry in nsswitch.conf do not always
47765         continue on a successful lookup.  Don't always use the
47766         __nss_group_database value if it is set.
47767         * nss/nsswitch.conf (initgroups): Change action for successful db
47768         lookup to continue for compatibility.
47769
47770 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47771
47772         [BZ #11532]
47773         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47774         and CP774 modules.
47775         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47776         and CP774 modules.
47777         * iconvdata/tst-tables.sh: Likewise.
47778         * iconvdata/cp770.c: New file.
47779         * iconvdata/cp771.c: New file.
47780         * iconvdata/cp772.c: New file.
47781         * iconvdata/cp773.c: New file.
47782         * iconvdata/cp774.c: New file.
47783         * iconvdata/testdata/CP770: New file.
47784         * iconvdata/testdata/CP770..UTF8: New file.
47785         * iconvdata/testdata/CP771: New file.
47786         * iconvdata/testdata/CP771..UTF8: New file.
47787         * iconvdata/testdata/CP772: New file.
47788         * iconvdata/testdata/CP772..UTF8: New file.
47789         * iconvdata/testdata/CP773: New file.
47790         * iconvdata/testdata/CP773..UTF8: New file.
47791         * iconvdata/testdata/CP774: New file.
47792         * iconvdata/testdata/CP774..UTF8: New file.
47793
47794         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47795         END CHARMAP line.
47796         * iconvdata/gen-8bit-gap.sh: Likewise.
47797         * iconvdata/gen-8bit.sh: Likewise.
47798
47799         * locale/iso-639.def: Add ary entry.
47800
47801         [BZ #11258]
47802         * locale/C-translit.h.in: Add U20A1 transliteration.
47803
47804         [BZ #12178]
47805         * locale/iso-639.def: Add wae entry.
47806         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47807
47808         [BZ #12545]
47809         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47810         for n.
47811
47812         [BZ #12711]
47813         * locale/C-translit.h.in: Add entry for U20B9.
47814         Patch by pravin.d.s@gmail.com.
47815
47816 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47817
47818         [BZ #12713]
47819         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47820         ENAMETOOLONG use generic getcwd.
47821         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47822         in rtld.  Use *stat64.
47823         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47824         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47825         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47826         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47827         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47828         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47829         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47830         __fstatat64 macros.
47831         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47832         * dirent/rewinddir.c: Add libc_hidden_def.
47833         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47834         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47835
47836         * include/dirent.h (__alloc_dir): Add flags parameter.
47837         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47838         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47839         __alloc_dir.
47840         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47841         from fdopendir if O_CLOEXEC is already set.
47842
47843 2011-03-15  Alan Modra  <amodra@gmail.com>
47844
47845         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47846         l_tls_firstbyte_offset non-zero.  Save padding offset in
47847         l_tls_firstbyte_offset for later use.
47848         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47849         freeing static tls block.
47850
47851 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47852
47853         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47854         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47855         being defined by the kernel headers.
47856
47857 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47858
47859         [BZ #12734]
47860         * resolv/resolv.h: Define RES_NOTLDQUERY.
47861         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47862         no-tld-query and set RES_NOTLDQUERY.
47863         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47864         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47865         modern BIND to search name as TLD unless forbidden.
47866
47867 2011-05-07  Petr Baudis  <pasky@suse.cz>
47868             Ulrich Drepper  <drepper@gmail.com>
47869
47870         [BZ #12393]
47871         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47872         (is_trusted_path): ...to here.
47873         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47874         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47875         using is_trusted_path_normalize() in setuid scripts.
47876
47877 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47878
47879         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47880         __BEGIN/__END_DECLS.
47881
47882 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47883
47884         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47885         NSS_STATUS_NOTFOUND if no record was found.
47886
47887 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47888
47889         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47890         (headers-not-in-tirpc): Remove rpc/netdb.h
47891         * resolv/netdb.h: Revert last change.
47892
47893 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47894
47895         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47896         circular dependency between libgcc.a and libc.a.
47897
47898 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47899
47900         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47901         * nis/Makefile: Don't install rpcsvc/*.
47902         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47903         instead of <rpc/types.h>.
47904         (MAXHOSTNAMELEN): Define.
47905
47906 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47907
47908         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47909
47910 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47911
47912         [BZ #12714]
47913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47914         gethostbyname4_r when IPv6 results are possible.
47915
47916 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47917
47918         [BZ #12723]
47919         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47920         _PC_PIPE_BUF handling.
47921
47922 2011-04-30  Bruno Haible  <bruno@clisp.org>
47923
47924         [BZ #12717]
47925         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47926         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47927         to 'int'.
47928         * inet/getnameinfo.c (getnameinfo): Likewise.
47929
47930 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47931
47932         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47933         to groups setting in database lookup.
47934         * nss/nsswitch.conf: Add initgroups entry.
47935
47936 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47937
47938         [BZ #12685]
47939         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47940         mode string.
47941         Patch by Eric Blake <eblake@redhat.com>.
47942
47943 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47944
47945         * sunrpc/Makefile (need-export-routines): Add svc_run.
47946         (routines): Remove svc_run.
47947         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47948         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47949         * sunrpc/svc_run.c (svc_run): Likewise.
47950         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47951
47952 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47953
47954         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47955         problem in reallocation in last patch.
47956
47957 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47958
47959         * sunrpc/Makefile: Move inclusion of Rules.
47960
47961 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47962
47963         * nss/nss_files/files-initgroups.c: New file.
47964         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47965         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47966         _nss_files_initgroups_dyn.
47967
47968 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47969
47970         * elf/elf.h (R_ARM_IRELATIVE): Define.
47971
47972 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47973
47974         * po/ru.po: Update from translation team.
47975
47976 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47977
47978         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47979         dependencies.
47980
47981 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47982
47983         [BZ #12653]
47984         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47985         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47986         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47987         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47989
47990 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47991
47992         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47993         differing bytes.
47994         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47995         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47996         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47997
47998 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47999
48000         [BZ #12420]
48001         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48002         storing it.
48003         * stdlib/bug-getcontext.c: New file.
48004         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48005
48006 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48007
48008         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48009         instructions into .machine "z9-109".
48010         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48011         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48012
48013 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48014
48015         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48016         between environment variables and auxiliary vector.
48017
48018 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48019
48020         * Makefile: Add rules to build linkobj/libc.so.
48021         * include/libc-symbols.h: Define libc_hidden_nolink.
48022         * include/rpc/auth.h: Mark functions which are to be hidden.
48023         * include/rpc/auth_des.h: Likewise.
48024         * include/rpc/auth_unix.h: Likewise.
48025         * include/rpc/clnt.h: Likewise.
48026         * include/rpc/des_crypt.h: Likewise.
48027         * include/rpc/key_prot.h: Likewise.
48028         * include/rpc/pmap_clnt.h: Likewise.
48029         * include/rpc/pmap_prot.h: Likewise.
48030         * include/rpc/pmap_rmt.h: Likewise.
48031         * include/rpc/rpc_msg.h: Likewise.
48032         * include/rpc/svc.h: Likewise.
48033         * include/rpc/svc_auth.h: Likewise.
48034         * include/rpc/xdr.h: Likewise.
48035         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48036         * nss/Makefile: Likewise.
48037         * sunrpc/Makefile: Don't install headers.  Build library with normal
48038         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48039         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48040         for the compat linking library.  Remove use of INTDEF/INTUSE.
48041         * sunrpc/auth_none.c: Likewise.
48042         * sunrpc/auth_unix.c: Likewise.
48043         * sunrpc/authdes_prot.c: Likewise.
48044         * sunrpc/authuxprot.c: Likewise.
48045         * sunrpc/clnt_gen.c: Likewise.
48046         * sunrpc/clnt_perr.c: Likewise.
48047         * sunrpc/clnt_raw.c: Likewise.
48048         * sunrpc/clnt_simp.c: Likewise.
48049         * sunrpc/clnt_tcp.c: Likewise.
48050         * sunrpc/clnt_udp.c: Likewise.
48051         * sunrpc/clnt_unix.c: Likewise.
48052         * sunrpc/des_crypt.c: Likewise.
48053         * sunrpc/des_soft.c: Likewise.
48054         * sunrpc/get_myaddr.c: Likewise.
48055         * sunrpc/key_call.c: Likewise.
48056         * sunrpc/key_prot.c: Likewise.
48057         * sunrpc/netname.c: Likewise.
48058         * sunrpc/pm_getmaps.c: Likewise.
48059         * sunrpc/pm_getport.c: Likewise.
48060         * sunrpc/pmap_clnt.c: Likewise.
48061         * sunrpc/pmap_prot.c: Likewise.
48062         * sunrpc/pmap_prot2.c: Likewise.
48063         * sunrpc/pmap_rmt.c: Likewise.
48064         * sunrpc/publickey.c: Likewise.
48065         * sunrpc/rpc_cmsg.c: Likewise.
48066         * sunrpc/rpc_common.c: Likewise.
48067         * sunrpc/rpc_dtable.c: Likewise.
48068         * sunrpc/rpc_prot.c: Likewise.
48069         * sunrpc/rpc_thread.c: Likewise.
48070         * sunrpc/rtime.c: Likewise.
48071         * sunrpc/svc.c: Likewise.
48072         * sunrpc/svc_auth.c: Likewise.
48073         * sunrpc/svc_authux.c: Likewise.
48074         * sunrpc/svc_raw.c: Likewise.
48075         * sunrpc/svc_run.c: Likewise.
48076         * sunrpc/svc_simple.c: Likewise.
48077         * sunrpc/svc_tcp.c: Likewise.
48078         * sunrpc/svc_udp.c: Likewise.
48079         * sunrpc/svc_unix.c: Likewise.
48080         * sunrpc/svcauth_des.c: Likewise.
48081         * sunrpc/xcrypt.c: Likewise.
48082         * sunrpc/xdr.c: Likewise.
48083         * sunrpc/xdr_array.c: Likewise.
48084         * sunrpc/xdr_float.c: Likewise.
48085         * sunrpc/xdr_intXX_t.c: Likewise.
48086         * sunrpc/xdr_mem.c: Likewise.
48087         * sunrpc/xdr_rec.c: Likewise.
48088         * sunrpc/xdr_ref.c: Likewise.
48089         * sunrpc/xdr_sizeof.c: Likewise.
48090         * sunrpc/xdr_stdio.c: Likewise.
48091
48092 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48093
48094         [BZ #12650]
48095         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48096         * sysdeps/ia64/dl-tls.h: Likewise.
48097         * sysdeps/powerpc/dl-tls.h: Likewise.
48098         * sysdeps/s390/dl-tls.h: Likewise.
48099         * sysdeps/sh/dl-tls.h: Likewise.
48100         * sysdeps/sparc/dl-tls.h: Likewise.
48101         * sysdeps/x86_64/dl-tls.h: Likewise.
48102         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48103
48104 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48105
48106         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48107         rpath element also skip the following colon.
48108         (expand_dynamic_string_token): Add is_path parameter and pass
48109         down to DL_DST_REQUIRED and _dl_dst_substitute.
48110         (decompose_rpath): Call expand_dynamic_string_token with
48111         non-zero is_path.  Ignore empty rpaths.
48112         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48113         with zero is_path.
48114
48115 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48116
48117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48118         Make cancelable.
48119
48120 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48121
48122         [BZ #12655]
48123         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48124         Patch by Filipe David Manana <fdmanana@apache.org>.
48125
48126 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48127
48128         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48129         Maintain aligned stack.
48130         (CHECK_RSP): Remove unused macro.
48131
48132 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48133
48134         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48135         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48136
48137 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48138
48139         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48140
48141         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48142
48143 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48144
48145         [BZ #12518]
48146         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48147         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48148         * sysdeps/x86_64/memmove.c: New file.
48149         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48150         (memcpy): Renamed to ...
48151         (__new_memcpy): This.
48152         (memcpy): Provide GLIBC_2_14 memcpy.
48153         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48154         (memcpy): Provide GLIBC_2_2_5 memcpy.
48155
48156 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48157
48158         [BZ #12631]
48159         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48160
48161 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48162
48163         * misc/syncfs.c: New file.
48164         * misc/Makefile (routines): Add syncfs.
48165         * posix/unistd.h: Declare syncfs.
48166         * sysdeps/unix/syscalls.list: Add syncfs.
48167
48168 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48169
48170         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48171         open_by_handle_at.
48172         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48173         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48175         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48177         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48178         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48179
48180 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48181
48182         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48183         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48184         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48186         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48188         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48189
48190         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48191         sync_file_range.c with -fexceptions.
48192         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48193         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48194         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48195         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48196         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48197         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48198         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48199         sync_file_range as cancellation point
48200         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48201         now a wrapper around __call_sync_file_range with cancellation handling.
48202         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48203         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48204         function name to __call_sync_file_range.
48205         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48206         Add call_sync_file_range.
48207
48208 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48209
48210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48211         bits/timex.h.
48212
48213 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48214
48215         * iconv/iconv.h: Fix typo in comment.
48216         * io/fcntl.h: Likewise.
48217         * libio/stdio.h: Likewise.
48218         * posix/spawn.h: Likewise.
48219         * posix/unistd.h: Likewise.
48220         * stdlib/stdlib.h: Likewise.
48221         * time/time.h: Likewise.
48222         * wcsmbs/wchar.h: Likewise.
48223
48224         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48225         open_by_handle): Add.
48226         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48227         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48228         Augment a few comments.
48229         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48230         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48231         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48233         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48234         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48235         open_by_handle.
48236
48237         * io/fcntl.h (AT_EMPTY_PATH): Define.
48238
48239 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48240
48241         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48242         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48243         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48244         to...
48245         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48246         * Versions.def: Add GLIBC_2.14.
48247         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48248         Export.
48249
48250 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48251
48252         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48253         round counter.
48254         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48255
48256 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48257
48258         [BZ #12597]
48259         * string/test-strncmp.c (do_page_test): New function.
48260         (check2): Likewise.
48261         (test_main): Call check2.
48262         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48263
48264 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48265
48266         [BZ #12587]
48267         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48268         Handle cache information in CPU leaf 4.
48269         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48270
48271 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48272
48273         [BZ #12583]
48274         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48275         character representation.
48276         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48277
48278 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48279
48280         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48281         END(__isnan) to END(__isnanf) to match function entry point/label
48282         EALIGN(__isnanf,...).
48283
48284 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48285
48286         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48287
48288 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48289
48290         [BZ #12510]
48291         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48292         copy from the symbol referenced in the relocation to initialize the
48293         used variable.
48294         Patch by Piotr Bury <pbury@goahead.com>.
48295         * elf/Makefile: Add rules to build and tst-unique3.
48296         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48297         * elf/tst-unique3.cc: New file.
48298         * elf/tst-unique3.h: New file.
48299         * elf/tst-unique3lib.cc: New file.
48300         * elf/tst-unique3lib2.cc: New file.
48301
48302         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48303
48304 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48305
48306         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48307         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48308         to _start.
48309
48310 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48311
48312         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48313         to-be-loaded object along a path to loader is ld.so.
48314
48315 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48316             Ulrich Drepper  <drepper@gmail.com>
48317
48318         * sysdeps/x86_64/memset.S: After aligning destination, code
48319         branches to different locations depending on the value of
48320         misalignment, when multiarch is enabled. Fix this.
48321
48322 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48323
48324         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48325         Set _x86_64_preferred_memory_instruction for AMD processsors.
48326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48327         Set bit_Prefer_SSE_for_memop for AMD processors.
48328
48329 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48330
48331         * libio/fmemopen.c (fmemopen): Optimize a bit.
48332
48333 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48334
48335         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48336
48337 2011-03-03  Roland McGrath  <roland@redhat.com>
48338
48339         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48340
48341 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48342
48343         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48344         __bzero_ultra1 instead of __memset_ultra1.
48345
48346 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48347             Ulrich Drepper  <drepper@gmail.com>
48348
48349         [BZ #12509]
48350         * include/link.h (struct link_map): Add l_orig_initfini.
48351         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48352         returning unsuccessfully.
48353         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48354         close of a file loaded at startup, restore the original l_initfini
48355         list.
48356         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48357         list, store the pointer.
48358         * elf/Makefile ($(objpfx)noload-mem): New rule.
48359         (noload-ENV): Define.
48360         (tests): Add $(objpfx)noload-mem.
48361         * elf/noload.c: Include <memcheck.h>.
48362         (main): Call mtrace.  Close all opened handles.
48363
48364 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48365
48366         [BZ #12454]
48367         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48368         dependencies are missing.
48369
48370 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48371
48372         Fix __if_freereq crash: Unlike the generic version which uses free,
48373         Hurd needs munmap.
48374         * sysdeps/mach/hurd/ifreq.h: New file.
48375
48376 2011-01-27  Petr Baudis  <pasky@suse.cz>
48377             Ulrich Drepper  <drepper@gmail.com>
48378
48379         [BZ 12445]#
48380         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48381         to extend_alloca().
48382         * stdio-common/bug23.c: New file.
48383         * stdio-common/Makefile (tests): Add bug23.
48384
48385 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48386             Ulrich Drepper  <drepper@gmail.com>
48387
48388         [BZ #12489]
48389         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48390         before performing relro protection.  At old place add assertion
48391         to make sure nothing changed.
48392
48393 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48394             Glauber de Oliveira Costa  <glommer@gmail.com>
48395
48396         * elf/elf.h: Add new ARM TLS relocs.
48397
48398 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48399
48400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48401         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48402         cast from r3.
48403         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48404         'tests' variable.
48405         * sysdeps/wordsize-64/tst-writev.c: New file.
48406
48407 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48408
48409         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48410         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48411         insns in _dl_start to prevent a TOC reference before relocs are
48412         resolved.
48413
48414 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48415
48416         [BZ #12469]
48417         * Makeconfig: Remove RANLIB definition.
48418         * Makerules: Don't use RANLIB.
48419         * aclocal.m4: Remove ranlib test.
48420         * configure.in: No need to check for ranlib.
48421         * elf/rtld-Rules: Don't use RANLIB.
48422
48423 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48424
48425         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48426         protection macro.
48427         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48428         inclusion protection macro.
48429
48430         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48431         SIGRTMIN and SIGRTMAX and print information in that case only when
48432         SIGRTMIN is defined.
48433
48434 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48435
48436         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48437         arginfo fn returning -1.
48438
48439         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48440         and thousands string is zero terminated.
48441
48442 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48443
48444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48445         sysdeps/unix/sysv/linux/bits/socket.h.
48446
48447 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48448
48449         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48450         (__CPU_COUNT): Remove old macros.
48451         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48452         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48453         (__CPU_ALLOC, __CPU_FREE): Add macros.
48454         (__sched_cpualloc, __sched_cpufree): Add declarations.
48455
48456 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48457
48458         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48459         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48460         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48461         (readdhstai): Return value of addhstaiX call.
48462         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48463         (addgrbyX): Return value returned by cache_addgr.
48464         (readdgrbyname): Return value returned by addgrbyX.
48465         (readdgrbygid): Likewise.
48466         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48467         (addpwbyX): Return value returned by cache_addpw.
48468         (readdpwbyname): Return value returned by addhstbyX.
48469         (readdpwbyuid): Likewise.
48470         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48471         (addservbyX): Return value returned by cache_addserv.
48472         (readdservbyname): Return value returned by addservbyX:
48473         (readdservbyport): Likewise.
48474         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48475         (addhstbyX): Return value returned by cache_addhst.
48476         (readdhstbyname): Return value returned by addhstbyX.
48477         (readdhstbyaddr): Likewise.
48478         (readdhstbynamev6): Likewise.
48479         (readdhstbyaddrv6): Likewise.
48480         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48481         (readdinitgroups): Return value returned by addinitgroupsX.
48482         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48483         (prune_cache): Keep track of timeout value of re-added entries.
48484         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48485         * nscd/nscd.h: Adjust prototypes of readd* functions.
48486
48487 2011-02-04  Roland McGrath  <roland@redhat.com>
48488
48489         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48490         (nis_stats): Likewise.
48491         * nis/nis_modify.c (nis_modify): Likewise.
48492         * nis/nis_remove.c (nis_remove): Likewise.
48493         * nis/nis_add.c (nis_add): Likewise.
48494
48495         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48496
48497         * posix/fnmatch_loop.c: Add some consts.
48498
48499         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48500
48501 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48502
48503         [BZ #12460]
48504         * config.make.in (config-cflags-novzeroupper): Define.
48505         * configure.in: Substitute libc_cv_cc_novzeroupper.
48506         * elf/Makefile (AVX-CFLAGS): Define.
48507         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48508         (CFLAGS-tst-auditmod4a.c): Likewise.
48509         (CFLAGS-tst-auditmod4b.c): Likewise.
48510         (CFLAGS-tst-auditmod6b.c): Likewise.
48511         (CFLAGS-tst-auditmod6c.c): Likewise.
48512         (CFLAGS-tst-auditmod7b.c): Likewise.
48513         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48514
48515 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48516
48517         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48518         function to the callback.
48519         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48520
48521 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48522
48523         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48524         of errno.
48525
48526 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48527
48528         [BZ #11724]
48529         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48530         of constructors.
48531         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48532         of destructors.
48533         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48534
48535         [BZ #11724]
48536         * elf/Makefile: Add rules to build and run new test.
48537         * elf/tst-initorder.c: New file.
48538         * elf/tst-initorder.exp: New file.
48539         * elf/tst-initordera1.c: New file.
48540         * elf/tst-initordera2.c: New file.
48541         * elf/tst-initordera3.c: New file.
48542         * elf/tst-initordera4.c: New file.
48543         * elf/tst-initorderb1.c: New file.
48544         * elf/tst-initorderb2.c: New file.
48545         * elf/tst-order-a1.c: New file.
48546         * elf/tst-order-a2.c: New file.
48547         * elf/tst-order-a3.c: New file.
48548         * elf/tst-order-a4.c: New file.
48549         * elf/tst-order-b1.c: New file.
48550         * elf/tst-order-b2.c: New file.
48551         * elf/tst-order-main.c: New file.
48552         New test case by George Gensure <werkt0@gmail.com>.
48553
48554 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48555
48556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48557         decoding ACE if AI_CANONIDN.
48558
48559 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48560
48561         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48562
48563 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48564
48565         * version.h (RELEASE): Bump for 2.13 release.
48566         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48567
48568         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48569
48570         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48571         MADV_NOHUGEPAGE.
48572         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48573         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48574         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48575         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48576         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48577         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48578
48579         * posix/getconf.c: Update copyright year.
48580         * catgets/gencat.c: Likewise.
48581         * csu/version.c: Likewise.
48582         * debug/catchsegv.sh: Likewise.
48583         * debug/xtrace.sh: Likewise.
48584         * elf/ldconfig.c: Likewise.
48585         * elf/ldd.bash.in: Likewise.
48586         * elf/sprof.c (print_version): Likewise.
48587         * iconv/iconv_prog.c: Likewise.
48588         * iconv/iconvconfig.c: Likewise.
48589         * locale/programs/locale.c: Likewise.
48590         * locale/programs/localedef.c: Likewise.
48591         * malloc/memusage.sh: Likewise.
48592         * malloc/mtrace.pl: Likewise.
48593         * nscd/nscd.c (print_version): Likewise.
48594         * nss/getent.c: Likewise.
48595
48596         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48597         PF_CAIF, and PF_ALG.
48598         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48599
48600 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48601
48602         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48603         (modules-names): Use them.
48604         (ifunc-test-modules, ifunc-pie-tests): Define.
48605         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48606         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48607         (test-extras): Likewise.
48608         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48609         $(compile-command.c).
48610         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48611         (all-built-dso): Define.
48612         (check-textrel.out, check-execstack.out): Depend on it.
48613
48614         * configure.in: Don't override --enable-multi-arch.
48615
48616 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48617
48618         [BZ #6812]
48619         * nscd/hstcache.c (tryagain): Define.
48620         (cache_addhst): Return tryagain not notfound for temporary errors.
48621         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48622         failed.
48623
48624 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48625
48626         [BZ #10563]
48627         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48628         to make the syscall.
48629         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48630
48631         [BZ #12378]
48632         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48633         and fall back to matching as normal character if the string ends before
48634         the matching ']' is found.  This is what POSIX requires.
48635         * posix/testfnm.c: Adjust test result.
48636         * posix/globtest.sh: Adjust test result.  Add new test.
48637         * posix/tst-fnmatch.input: Likewise.
48638         * posix/tst-fnmatch2.c: Add new test.
48639
48640 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48641
48642         * elf/Makefile (check-execstack): Revert last change.  Depend on
48643         check-execstack.h.
48644         (check-execstack.h): New target.
48645         (generated): Add check-execstack.h.
48646         * elf/check-execstack.c: Include "check-execstack.h".
48647         (main): Revert last change.
48648         (handle_file): Return zero if GNU_STACK is absent and
48649         DEFAULT_STACK_PERMS doesn't include PF_X.
48650
48651 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48652
48653         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48654         in child fails because the descriptor is already closed.
48655         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48656         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48657         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48658
48659         [BZ #12397]
48660         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48661         syscall.
48662
48663         [BZ #10484]
48664         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48665         temporary buffer used to handle multi lookups locally.
48666         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48667
48668 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48669
48670         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48671         loader is ld.so.
48672
48673 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48674
48675         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48676         alignment for SSE2.
48677
48678 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48679
48680         [BZ #12394]
48681         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48682         characters.  When rounding increased number of integer digits recompute
48683         number of groups.
48684         * stdio-common/tst-grouping.c: New file.
48685         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48686
48687 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48688
48689         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48690         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48691
48692         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48693         void.
48694         * bits/select.h: Likewise.
48695
48696 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48697
48698         * po/ja.po: Update from translation team.
48699
48700 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48701
48702         [BZ #11155]
48703         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48704         implementation just like for lxstat, fxstatat, et al.
48705
48706 2010-12-27  Jim Meyering  <meyering@redhat.com>
48707
48708         [BZ #12348]
48709         * posix/regexec.c (build_trtable): Return failure indication upon
48710         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48711
48712 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48713
48714         [BZ #12201]
48715         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48716         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48717         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48718         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48719
48720         [BZ #12207]
48721         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48722
48723         [BZ #12204]
48724         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48725         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48726
48727 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48728
48729         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48730         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48731         script has SORT_BY_INIT_PRIORITY.
48732         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48733         NO_CTORS_DTORS_SECTIONS is defined.
48734         * elf/soinit.c: Likewise.
48735         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48736         NO_CTORS_DTORS_SECTIONS is defined.
48737         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48738         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48739         * sysdeps/sh/init-first.c: Likewise.
48740         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48741
48742 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48743
48744         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48745         always use the slow path.
48746
48747 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48748
48749         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48750         similar rule which adds the sysdep directories to the header search in
48751         order to pick up the correct platform stackinfo.h.
48752         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48753         perform test if it is, otherwise return successfully without testing.
48754         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48755         DEFAULT_STACK_PERMS define in stackinfo.h.
48756         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48757         defined in stackinfo.h.
48758         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48759         DEFAULT_STACK_PERMS defined in stackinfo.h.
48760         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48761         * sysdeps/ia64/stackinfo.h: Likewise.
48762         * sysdeps/s390/stackinfo.h: Likewise.
48763         * sysdeps/sh/stackinfo.h: Likewise.
48764         * sysdeps/sparc/stackinfo.h: Likewise.
48765         * sysdeps/x86_64/stackinfo.h: Likewise.
48766         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48767         PF_X for powerpc64.  Retain PF_X for powerpc32.
48768
48769 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48770
48771         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48772         accurately.
48773         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48774         GETDENTS_64BIT_ALIGNED.
48775
48776 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48777
48778         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48779
48780 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48781
48782         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48783         _GNU_SOURCE.
48784
48785         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48786         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48787         Remove __restrict.
48788         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48789         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48790
48791 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48792
48793         [BZ #11655]
48794         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48795         are initialized.
48796
48797 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48798
48799         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48800
48801 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48802
48803         * po/it.po: Update from translation team.
48804
48805 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48806
48807         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48808         unused codes.
48809
48810 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48811
48812         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48813
48814 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48815
48816         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48817         specially.
48818         (gaih_getanswer_slice): Likewise.
48819
48820 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48821
48822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48823
48824 2010-05-31  Petr Baudis  <pasky@suse.cz>
48825
48826         [BZ #11149]
48827         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48828         silently even in the chroot mode.
48829
48830 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48831
48832         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48833         last patch a bit.  Pretty printing
48834
48835 2010-05-31  Petr Baudis <pasky@suse.cz>
48836
48837         [BZ #10085]
48838         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48839         initialization of skip_initgroups_dyn.
48840
48841 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48842
48843         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48844         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48845
48846 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48847
48848         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48849
48850 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48851
48852         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48853         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48854         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48855         ($(objpfx)tst-fnmatch-mem): New rule.
48856         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48857         * posix/tst-fnmatch.c (main): Call mtrace.
48858
48859 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48860
48861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48862         Support Intel processor model 6 and model 0x2c.
48863
48864 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48865
48866         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48867           signed comparison.
48868
48869 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48870
48871         [BZ #12205]
48872         * string/test-strncasecmp.c (check_result): New function.
48873         (do_one_test): Use it.
48874         (check1): New function.
48875         (test_main): Use it.
48876         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48877         Support strcasecmp and strncasecmp.
48878
48879 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48880
48881         [BZ #12194]
48882         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48883         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48884
48885 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48886
48887         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48888         IFUNC support.
48889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48890         memset-x86-64.
48891         * sysdeps/x86_64/multiarch/bzero.S: New file.
48892         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48893         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48894         * sysdeps/x86_64/multiarch/memset.S: New file.
48895         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48896         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48897         Set bit_Prefer_SSE_for_memop for Intel processors.
48898         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48899         Define.
48900         (index_Prefer_SSE_for_memop): Define.
48901         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48902
48903 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48904
48905         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48906         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48907
48908 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48909
48910         [BZ #12191]
48911         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48912         (__x86_64_raw_data_cache_size_half): Likewise.
48913         (__x86_64_raw_shared_cache_size): Likewise.
48914         (__x86_64_raw_shared_cache_size_half): Likewise.
48915
48916         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48917         (__x86_64_raw_data_cache_size_half): Likewise.
48918         (__x86_64_raw_shared_cache_size): Likewise.
48919         (__x86_64_raw_shared_cache_size_half): Likewise.
48920         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48921         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48922         and __x86_64_raw_shared_cache_size_half.  Round
48923         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48924         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48925         to multiple of 256 bytes.
48926
48927 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48928
48929         [BZ #12167]
48930         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48931         of inacessible symlinks.  Verify result of symlink before returning it.
48932         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48933         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48934
48935 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48936
48937         * math/math.h (isinf): Fix typo in comment.
48938
48939 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48940
48941         * po/da.po: Update from translation team.
48942
48943 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48944
48945         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48946         is added to the list.
48947
48948 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48949             Ulrich Drepper  <drepper@gmail.com>
48950
48951         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48952         the global list here.  Move code to...
48953         (_dl_add_to_namespace_list): ...here.  New function.
48954         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48955         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48956         * elf/dl-load.c (lose): Don't remove the element from the list.
48957         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48958         (_dl_map_object): Likewise.
48959
48960 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48961
48962         [BZ #12159]
48963         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48964         into all bytes of SSE register.
48965         Patch by Richard Li <richardpku@gmail.com>.
48966
48967 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48968
48969         [BZ #12140]
48970         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48971         perturbing.
48972
48973 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48974
48975         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48976         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48977         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48978         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48980         submachine.
48981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48982
48983 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48984
48985         * include/dlfcn.h (__RTLD_SECURE): Define.
48986         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48987         mode & __RTLD_SECURE instead.
48988         (open_path): Rename preloaded parameter to secure.
48989         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48990         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48991         * elf/dl-deps.c (openaux): Likewise.
48992         * elf/rtld.c (struct map_args): Remove is_preloaded.
48993         (map_doit): Don't use it.
48994         (dl_main): Likewise.
48995         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48996         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48997
48998 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48999
49000         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49001         (sysd-rules-targets): Remove duplicates.
49002         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49003         rtld-%.$o dependency.
49004
49005 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49006
49007         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49008         _dl_map_object do it.
49009
49010 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49011
49012         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49013         fast fma builtins, define the macros in the C99 standard.
49014         (FP_FAST_FMAF): Likewise.
49015         (FP_FAST_FMAL): Likewise.
49016         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49017
49018         * bits/mathdef.h: Update copyright year.
49019         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49020
49021 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49022
49023         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49024         builtins, define the macros in the C99 standard.
49025         (FP_FAST_FMAF): Likewise.
49026         (FP_FAST_FMAL): Likewise.
49027         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49028         multiply/add.
49029         (FP_FAST_FMAF): Likewise.
49030
49031 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49032
49033         [BZ #3268]
49034         * math/libm-test.inc (fma_test): Some new testcases.
49035         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49036         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49037         y and infinite z.  Do multiplication by C already in long double.
49038         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49039         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49040         y and infinite z.  Do bitwise or of inexact bit into u.d.
49041         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49042         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49043         * sysdeps/i386/fpu/s_fma.S: Removed.
49044         * sysdeps/i386/fpu/s_fmal.S: Removed.
49045
49046 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49047
49048         [BZ #3268]
49049         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49051         computation is not scheduled after fetestexcept.  Fix value
49052         of minimum denormal long double.
49053
49054 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49055
49056         [BZ #3268]
49057         * math/libm-test.inc (fma_test): Add some more tests.
49058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49059         correctly.
49060
49061 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49062
49063         * scripts/data/localplt-s390-linux-gnu.data: New file.
49064         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49065
49066 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49067
49068         [BZ #3268]
49069         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49070         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49071         instead of dbl-64.
49072         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49073         inlines.
49074         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49076         if one of x and y is very large and the other is subnormal.
49077         * sysdeps/s390/fpu/s_fmaf.c: New file.
49078         * sysdeps/s390/fpu/s_fma.c: New file.
49079         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49080         * sysdeps/powerpc/fpu/s_fma.S: New file.
49081         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49082         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49083         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49084
49085 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49086
49087         [BZ #3268]
49088         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49089         fma tests.
49090         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49091         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49092         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49093         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49094         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49095         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49096         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49097
49098 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49099
49100         [BZ #12078]
49101         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49102         * posix/bug-regex31.input: Add test case.
49103
49104 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49105
49106         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49107         * posix/bug-regex31.input: New file.
49108
49109         [BZ #12078]
49110         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49111         (parse_sub_exp): Fix last change, use postorder.
49112
49113         * posix/bug-regex31.c: New file.
49114         * posix/Makefile: Add rules to build and run bug-regex31.
49115
49116         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49117
49118         [BZ #12078]
49119         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49120
49121         [BZ #12108]
49122         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49123         to have entries in sys_siglist.
49124
49125         [BZ #12093]
49126         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49127         be NULL.
49128
49129 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49130
49131         [BZ #3268]
49132         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49133         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49134         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49135         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49136         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49137         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49138         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49139         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49140         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49141         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49142         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49143         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49144         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49145         * math/ftestexcept.c (fetestexcept): Likewise.
49146         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49147         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49148         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49149         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49150         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49151         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49152         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49153
49154 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49155
49156         [BZ #12107]
49157         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49158         newline.
49159
49160 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49161
49162         * string/bug-strstr1.c: New file.
49163         * string/Makefile: Add rules to build and run bug-strstr1.
49164
49165 2010-10-05  Eric Blake  <eblake@redhat.com>
49166
49167         [BZ #12092]
49168         * string/str-two-way.h (two_way_long_needle): Always clear memory
49169         when skipping input due to the shift table.
49170
49171 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49172
49173         [BZ #12005]
49174         * malloc/mcheck.c: Handle large requests.
49175
49176         [BZ #12077]
49177         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49178         for strncmp and strncasecmp.
49179         * string/stratcliff.c: Add tests for strcmp and strncmp.
49180         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49181
49182 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49183
49184         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49185         __set_fpscr.
49186
49187 2010-09-30  Andreas Jaeger  <aj@suse.de>
49188
49189         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49190         (CGROUP_SUPER_MAGIC): Define.
49191         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49192         Handle btrfs and cgroup file systems.
49193         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49194         Likewise.
49195
49196 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49197
49198         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49199         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49200
49201 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49202
49203         [BZ #12067]
49204         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49205         trying to locate the ELF header.
49206
49207 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49208
49209         [BZ #11611]
49210         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49211         Mask out sign-bit copies when constructing f_fsid.
49212
49213 2010-09-24  Petr Baudis <pasky@suse.cz>
49214
49215         * debug/stack_chk_fail_local.c: Add missing licence exception.
49216         * debug/warning-nop.c: Likewise.
49217
49218 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49219
49220         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49221         implementing getdents64 using getdents syscall, set d_type if
49222         __ASSUME_GETDENTS32_D_TYPE.
49223
49224 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49225
49226         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49227         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49228
49229 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49230
49231         [BZ #12037]
49232         * posix/unistd.h: Undo change of feature selection for ftruncate from
49233         2010-01-11.
49234
49235 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49236
49237         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49238         detection.
49239
49240 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49241
49242         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49243         fanotify_mark.
49244         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49245
49246 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49247
49248         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49249         variables after CHECK_SP call.
49250         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49251
49252 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49253             Ulrich Drepper  <drepper@redhat.com>
49254
49255         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49256         re-relocationg ld.so.
49257         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49258         _dl_init_paths call.
49259         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49260         here anymore.
49261
49262 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49263
49264         * resolv/res_init.c (__res_vinit): Count the default server we added.
49265
49266 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49267             Ulrich Drepper  <drepper@redhat.com>
49268
49269         [BZ #11968]
49270         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49271         (____longjmp_chk): Use %ebx for saving value across system call.
49272         Add unwind info.
49273
49274 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49275
49276         * manual/Makefile: Don't mix pattern rules with normal rules.
49277
49278 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49279
49280         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49281         operation.
49282         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49283         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49284         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49285         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49286         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49287         Likewise.
49288
49289 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49290
49291         [BZ #11979]
49292         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49293         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49294
49295 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49296
49297         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49298         * sysdeps/x86_64/addmul_1.S: Likewise.
49299         * sysdeps/x86_64/lshift.S: Likewise.
49300         * sysdeps/x86_64/mul_1.S: Likewise.
49301         * sysdeps/x86_64/rshift.S: Likewise.
49302         * sysdeps/x86_64/sub_n.S: Likewise.
49303         * sysdeps/x86_64/submul_1.S: Likewise.
49304
49305 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49306
49307         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49308         Define __sched_param instead of SCHED_* and sched_param when
49309         <bits/sched.h> is included with __need_schedparam defined.
49310         * bits/sched.h [__need_schedparam]
49311         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49312         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49313         (__defined_schedparam): Define to 1.
49314         (__sched_param): New structure, identical to sched_param.
49315         (__need_schedparam): Undefine.
49316
49317 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49318
49319         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49320         (epoll_create1): Declare.
49321
49322         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49323
49324 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49325
49326         [BZ #7066]
49327         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49328         shifting retval into place.
49329
49330 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49331
49332         * nis/rpcsvc/nis.h: Update copyright notice.
49333         * nis/rpcsvc/nis.x: Likewise.
49334         * nis/rpcsvc/nis_callback.h: Likewise.
49335         * nis/rpcsvc/nis_callback.x: Likewise.
49336         * nis/rpcsvc/nis_object.x: Likewise.
49337         * nis/rpcsvc/nis_tags.h: Likewise.
49338         * nis/rpcsvc/yp.h: Likewise.
49339         * nis/rpcsvc/yp.x: Likewise.
49340         * nis/rpcsvc/ypupd.h: Likewise.
49341         * nis/yp_xdr.c: Likewise.
49342         * nis/ypupdate_xdr.c: Likewise.
49343
49344         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49345         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49346         (pmap_getport): Use __libc_rpc_getport.
49347         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49348         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49349         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49350
49351 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49352
49353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49354         fanotify_mark.
49355
49356 2010-08-27  Roland McGrath  <roland@redhat.com>
49357
49358         * sysdeps/i386/i686/multiarch/Makefile
49359         (CFLAGS-varshift.c): New variable.
49360
49361 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49362
49363         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49364         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49365
49366         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49367
49368         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49369
49370 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49371
49372         * sysdeps/x86_64/strlen.S: Unroll the loop.
49373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49374         strlen-sse2 strlen-sse2-bsf.
49375         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49376         __strlen_no_bsf if bit_Slow_BSF is set.
49377         (__strlen_sse42): Removed.
49378         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49379         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49380
49381 2010-08-25  Roland McGrath  <roland@redhat.com>
49382
49383         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49384         * sysdeps/x86_64/multiarch/varshift.c: New file.
49385         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49386         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49387         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49388         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49389
49390 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49391
49392         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49393         strlen-sse2 strlen-sse2-bsf.
49394         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49395         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49396         (__strlen_sse2): Removed.
49397         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49398         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49400         bit_Slow_BSF for Atom.
49401         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49402         (index_Slow_BSF): Define.
49403         (HAS_SLOW_BSF): Define.
49404
49405 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49406
49407         [BZ #10851]
49408         * resolv/res_init.c (__res_vinit): When no server address at all
49409         is given default to loopback.
49410
49411 2010-08-24  Roland McGrath  <roland@redhat.com>
49412
49413         * configure.in: Remove config-name.h generation.
49414         * configure: Regenerated.
49415         * config-name.in: File removed.
49416         * scripts/config-uname.sh: New file.
49417         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49418         ($(objdir)config-name.h): New target.
49419
49420         * sunrpc/rpc_parse.h: Avoid nested comment.
49421
49422 2010-08-24  Richard Henderson  <rth@redhat.com>
49423             Ulrich Drepper  <drepper@redhat.com>
49424             H.J. Lu  <hongjiu.lu@intel.com>
49425
49426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49428         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49429         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49430         _mm_alignr_epi8 with _mm_loadu_si128.
49431         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49432         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49433         (__m128i_shift_right): Removed.
49434         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49435         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49436         * sysdeps/x86_64/multiarch/varshift.h: New file.
49437         * sysdeps/x86_64/multiarch/varshift.S: New file.
49438
49439 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49440
49441         * configure.in: Move assembler checks to before sysdep dir checking.
49442
49443 2010-08-20  Petr Baudis  <pasky@suse.cz>
49444
49445         * LICENSES: Sync the sunrpc license.
49446
49447 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49448
49449         * sunrpc/auth_des.c: Update copyright notice once again.
49450         * sunrpc/auth_none.c: Likewise.
49451         * sunrpc/auth_unix.c: Likewise.
49452         * sunrpc/authdes_prot.c: Likewise.
49453         * sunrpc/authuxprot.c: Likewise.
49454         * sunrpc/bindrsvprt.c: Likewise.
49455         * sunrpc/clnt_gen.c: Likewise.
49456         * sunrpc/clnt_perr.c: Likewise.
49457         * sunrpc/clnt_raw.c: Likewise.
49458         * sunrpc/clnt_simp.c: Likewise.
49459         * sunrpc/clnt_tcp.c: Likewise.
49460         * sunrpc/clnt_udp.c: Likewise.
49461         * sunrpc/clnt_unix.c: Likewise.
49462         * sunrpc/des_crypt.c: Likewise.
49463         * sunrpc/des_soft.c: Likewise.
49464         * sunrpc/get_myaddr.c: Likewise.
49465         * sunrpc/getrpcport.c: Likewise.
49466         * sunrpc/key_call.c: Likewise.
49467         * sunrpc/key_prot.c: Likewise.
49468         * sunrpc/openchild.c: Likewise.
49469         * sunrpc/pm_getmaps.c: Likewise.
49470         * sunrpc/pm_getport.c: Likewise.
49471         * sunrpc/pmap_clnt.c: Likewise.
49472         * sunrpc/pmap_prot.c: Likewise.
49473         * sunrpc/pmap_prot2.c: Likewise.
49474         * sunrpc/pmap_rmt.c: Likewise.
49475         * sunrpc/rpc/auth.h: Likewise.
49476         * sunrpc/rpc/auth_unix.h: Likewise.
49477         * sunrpc/rpc/clnt.h: Likewise.
49478         * sunrpc/rpc/des_crypt.h: Likewise.
49479         * sunrpc/rpc/key_prot.h: Likewise.
49480         * sunrpc/rpc/netdb.h: Likewise.
49481         * sunrpc/rpc/pmap_clnt.h: Likewise.
49482         * sunrpc/rpc/pmap_prot.h: Likewise.
49483         * sunrpc/rpc/pmap_rmt.h: Likewise.
49484         * sunrpc/rpc/rpc.h: Likewise.
49485         * sunrpc/rpc/rpc_des.h: Likewise.
49486         * sunrpc/rpc/rpc_msg.h: Likewise.
49487         * sunrpc/rpc/svc.h: Likewise.
49488         * sunrpc/rpc/svc_auth.h: Likewise.
49489         * sunrpc/rpc/types.h: Likewise.
49490         * sunrpc/rpc/xdr.h: Likewise.
49491         * sunrpc/rpc_clntout.c: Likewise.
49492         * sunrpc/rpc_cmsg.c: Likewise.
49493         * sunrpc/rpc_common.c: Likewise.
49494         * sunrpc/rpc_cout.c: Likewise.
49495         * sunrpc/rpc_dtable.c: Likewise.
49496         * sunrpc/rpc_hout.c: Likewise.
49497         * sunrpc/rpc_main.c: Likewise.
49498         * sunrpc/rpc_parse.c: Likewise.
49499         * sunrpc/rpc_parse.h: Likewise.
49500         * sunrpc/rpc_prot.c: Likewise.
49501         * sunrpc/rpc_sample.c: Likewise.
49502         * sunrpc/rpc_scan.c: Likewise.
49503         * sunrpc/rpc_scan.h: Likewise.
49504         * sunrpc/rpc_svcout.c: Likewise.
49505         * sunrpc/rpc_tblout.c: Likewise.
49506         * sunrpc/rpc_util.c: Likewise.
49507         * sunrpc/rpc_util.h: Likewise.
49508         * sunrpc/rpcinfo.c: Likewise.
49509         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49510         * sunrpc/rpcsvc/key_prot.x: Likewise.
49511         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49512         * sunrpc/rpcsvc/mount.x: Likewise.
49513         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49514         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49515         * sunrpc/rpcsvc/rex.x: Likewise.
49516         * sunrpc/rpcsvc/rstat.x: Likewise.
49517         * sunrpc/rpcsvc/rusers.x: Likewise.
49518         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49519         * sunrpc/rpcsvc/spray.x: Likewise.
49520         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49521         * sunrpc/rtime.c: Likewise.
49522         * sunrpc/svc.c: Likewise.
49523         * sunrpc/svc_auth.c: Likewise.
49524         * sunrpc/svc_authux.c: Likewise.
49525         * sunrpc/svc_raw.c: Likewise.
49526         * sunrpc/svc_run.c: Likewise.
49527         * sunrpc/svc_simple.c: Likewise.
49528         * sunrpc/svc_tcp.c: Likewise.
49529         * sunrpc/svc_udp.c: Likewise.
49530         * sunrpc/svc_unix.c: Likewise.
49531         * sunrpc/svcauth_des.c: Likewise.
49532         * sunrpc/xcrypt.c: Likewise.
49533         * sunrpc/xdr.c: Likewise.
49534         * sunrpc/xdr_array.c: Likewise.
49535         * sunrpc/xdr_float.c: Likewise.
49536         * sunrpc/xdr_mem.c: Likewise.
49537         * sunrpc/xdr_rec.c: Likewise.
49538         * sunrpc/xdr_ref.c: Likewise.
49539         * sunrpc/xdr_sizeof.c: Likewise.
49540         * sunrpc/xdr_stdio.c: Likewise.
49541
49542         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49543         handling.
49544
49545 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49546
49547         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49548
49549 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49550
49551         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49552         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49553         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49554         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49555         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49556         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49557         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49558         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49559         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49560         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49561         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49562         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49563         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49564         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49565
49566 2010-07-26  Anton Blanchard  <anton@samba.org>
49567
49568         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49569         * malloc/arena.c (heap_trim): Likewise.
49570
49571 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49572
49573         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49574         here.  Not...
49575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49576         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49577
49578 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49579
49580         * sysdeps/i386/elf/Makefile: New file.
49581
49582 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49583
49584         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49585         from fanotify_init.
49586         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49587         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49588
49589 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49590
49591         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49592         of strncasecmp_l.
49593         * sysdeps/multiarch/strcmp.S: Likewise.
49594
49595 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49596
49597         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49598         strncase_l-nonascii.
49599         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49600         Add strncase_l-ssse3.
49601         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49602         * sysdeps/x86_64/strcmp.S: Likewise.
49603         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49604         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49605         * sysdeps/x86_64/strncase.S: New file.
49606         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49607         * sysdeps/x86_64/strncase_l.S: New file.
49608         * string/Makefile (strop-tests): Add strncasecmp.
49609         * string/test-strncasecmp.c: New file.
49610
49611         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49612         warning.
49613
49614         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49615         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49616
49617 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49618
49619         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49620
49621 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49622
49623         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49624         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49625         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49626
49627 2010-05-01  Alan Modra  <amodra@gmail.com>
49628
49629         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49630         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49631         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49632         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49633         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49634         tidying.  Don't tail-call __sigjmp_save for static lib.
49635         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49636         save location.
49637         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49638         (CALL_MCOUNT): Add eh info, and nop after bl.
49639         (TAIL_CALL_SYSCALL_ERROR): New macro.
49640         (PSEUDO_RET): Use it.
49641         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49642         Correct save location of integer regs and cr.
49643         (_dl_profile_resolve): Correct cr save location.  Delete nops
49644         after bl when SHARED.  Reduce cfi size a little by better
49645         placement of cfi directives.
49646         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49647         make a stack frame.  Instead use parm save area as a temp.
49648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49649         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49651         Don't make a stack frame for parent, use parm save area.
49652         Increase child stack frame to 112 bytes.  Don't save unused reg,
49653         and adjust reg usage.  Set up cfi on error recovery and
49654         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49656         (__makecontext): Add dummy nop after jump to exit.
49657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49658         Use correct parm save area and cr save, reduce stack frame.
49659         Correct cfi for possible PSEUDO_RET frame setup.
49660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49661         Branch to local label emitted by PSEUDO_RET rather than
49662         __syscall_error.
49663
49664 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49665
49666         [BZ #11904]
49667         * locale/programs/locale.c (print_assignment): New function.
49668         (show_locale_vars): Use it.
49669
49670 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49671
49672         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49673         field.
49674         (struct statfs64): Likewise.
49675         (_STATFS_F_FLAGS): Define.
49676         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49677         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49678         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49679         (ST_VALID): Define locally.
49680         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49681         __statvfs_getflags, use the provided value.
49682         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49683         __ASSUME_STATFS_F_FLAGS.
49684
49685         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49686
49687         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49688         Add sys/fanotify.h.
49689         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49690         fanotify_mask for GLIBC_2.13.
49691         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49692         fanotify_init and fanotify_mark.
49693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49694         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49695
49696         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49697         Add prlimit.
49698         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49699         prlimit64 for GLIBC_2.13.
49700         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49701         prlimit64.
49702         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49703         syscall.
49704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49705         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49706         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49707         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49708         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49709         add prlimit alias.
49710         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49711
49712         [BZ #11903]
49713         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49714         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49715
49716         * nss/Makefile: Add rules to build and run tst-nss-test1.
49717         * shlib-versions: Add entry for libnss_test1.
49718         * nss/nss_test1.c: New file.
49719         * nss/tst-nss-test1.c: New file.
49720
49721         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49722         (__nss_configure_lookup): Set appropriate entry in
49723         __nss_configure_lookup to true.
49724         * nss/nsswitch.h: Define enum with indeces of databases in
49725         databases and __nss_database_custom arrays.  Declare
49726         __nss_database_custom.
49727         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49728         to avoid using nscd when custom rules are installed.
49729         * nss/getXXbyYY_r.c: Likewise.
49730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49731
49732         * nss/nss_files/files-parse.c: Whitespace fixes.
49733
49734 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49735
49736         [BZ #11883]
49737         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49738         * posix/fnmatch_loop.c: Likewise.
49739
49740 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49741
49742         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49743         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49744         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49745         * Versions.def [GLIBC_2.13]: Add.
49746
49747 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49748
49749         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49750         Also fail if tpwd after pwuid call is NULL.
49751
49752 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49753
49754         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49755         when converting to ms.
49756
49757 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49758
49759         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49760         EOPNOTSUPP errors with ENOTTY.
49761         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49762         EOPNOTSUPP errors with ENOTTY.
49763
49764 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49765
49766         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49767         Add strcasecmp_l-ssse3.
49768         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49769         strcasecmp.
49770         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49771         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49772         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49773
49774 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49775
49776         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49777
49778         * string/Makefile (strop-tests): Add strcasecmp.
49779         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49780         strcasecmp_l-nonascii.
49781         (gen-as-const-headers): Add locale-defines.sym.
49782         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49783         * sysdeps/x86_64/strcasecmp.S: New file.
49784         * sysdeps/x86_64/strcasecmp_l.S: New file.
49785         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49786         * sysdeps/x86_64/locale-defines.sym: New file.
49787         * string/test-strcasecmp.c: New file.
49788
49789         * string/test-strcasestr.c: Test both ends of the range of characters.
49790         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49791
49792 2010-07-29  Roland McGrath  <roland@redhat.com>
49793
49794         [BZ #11856]
49795         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49796
49797 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49798
49799         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49800         for ld.so.
49801
49802 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49803
49804         * manual/memory.texi (Malloc Tunable Parameters): Document
49805         M_PERTURB.
49806
49807 2010-07-26  Roland McGrath  <roland@redhat.com>
49808
49809         [BZ #11840]
49810         * configure.in (-fgnu89-inline check): Set and substitute
49811         gnu89_inline, not libc_cv_gnu89_inline.
49812         * configure: Regenerated.
49813         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49814
49815 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49816
49817         * string/test-strnlen.c: New file.
49818         * string/Makefile (strop-tests): Add strnlen.
49819         * string/tester.c (test_strnlen): Add a few more test cases.
49820         * string/tst-strlen.c: Better error reporting.
49821
49822         * sysdeps/x86_64/strnlen.S: New file.
49823
49824 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49825
49826         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49827         lower-latency instructions.
49828
49829 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49830
49831         * string/test-strcasestr.c: New file.
49832         * string/test-strstr.c: New file.
49833         * string/Makefile (strop-tests): Add strstr and strcasestr.
49834         * string/str-two-way.h: Don't undefine MAX.
49835         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49836
49837 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49838
49839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49840         strcasestr-nonascii.
49841         (CFLAGS-strcasestr-nonascii.c): Define.
49842         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49843         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49844         Remove unused attribute.
49845
49846 2010-07-20  Roland McGrath  <roland@redhat.com>
49847
49848         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49849         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49850         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49851         like LD_HWCAP_MASK can disable hwcaps.
49852
49853 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49854
49855         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49856
49857 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49858
49859         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49860         call in strcasestr.
49861         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49862         __strcasestr_sse42_nonascii.
49863         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49864         strcasestr-nonascii.c.
49865         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49866
49867 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49868
49869         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49870         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49871         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49872         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49873
49874 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49875
49876         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49877         fcntl.
49878
49879 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49880
49881         [BZ #11577]
49882         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49883         dl_signal_cerror.
49884
49885 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49886
49887         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49888         _PC_PIPE_BUF using F_GETPIPE_SZ.
49889
49890 2010-07-05  Roland McGrath  <roland@redhat.com>
49891
49892         * manual/arith.texi (Rounding Functions): Fix rint description
49893         implicit in round description.
49894
49895 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49896
49897         * elf/Makefile: Fix linking for a few tests to make recent linker
49898         happy.
49899
49900 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49901
49902         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49903         $(common-objpfx)libc_nonshared.a.
49904
49905 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49906
49907         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49908         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49909         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49910         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49911         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49912         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49913         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49914         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49929         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49930         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49931         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49932         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49933         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49934         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49935         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49936         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49937         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49938         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49939         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49940         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49955
49956 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49957
49958         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49959         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49960         * string/memmove.c (memmove): Renamed to ...
49961         (MEMMOVE): ...this.  Default to memmove.
49962         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49963         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49964         (END_CHK): Define.
49965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49966         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49967         mempcpy-ssse3-back memmove-ssse3-back.
49968         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49969         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49970         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49971         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49972         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49973         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49974         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49975         * sysdeps/x86_64/multiarch/memmove.c: New file.
49976         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49977         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49978         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49979         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49980         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49981         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49982         Define.
49983         (index_Fast_Copy_Backward): Define.
49984         (HAS_ARCH_FEATURE): Define.
49985         (HAS_FAST_REP_STRING): Define.
49986         (HAS_FAST_COPY_BACKWARD): Define.
49987
49988 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49989
49990         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49991         Restore proper fallback handling.
49992
49993 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49994
49995         [BZ #11701]
49996         * posix/group_member.c (__group_member): Correct checking loop.
49997
49998         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49999         OOM in getpwuid_r correctly.  Return error number when the caller
50000         should return, otherwise -1.
50001         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50002         call returning > 0 value.
50003         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50004
50005 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50006
50007         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50008         libc_nonshared.a from targets in modules-names.
50009
50010 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50011
50012         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50013         requires it.
50014
50015 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50016
50017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50018         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50019         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50021
50022 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50023
50024         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50025
50026 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50027
50028         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50029         and F_GETPIPE_SZ.
50030         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50031         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50032         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50034         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50035         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50036
50037 2010-06-14  Roland McGrath  <roland@redhat.com>
50038
50039         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50040
50041 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50042
50043         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50044         __REDIRECT followed by __THROW.
50045         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50046         * posix/getopt.h (getopt): Likewise.
50047
50048 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50049
50050         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50051         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50052         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50053         in AT_FLAGS.
50054         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50055         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50056
50057 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50058
50059         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50060
50061 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50062
50063         [BZ #11640]
50064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50065         Properly check family and model.
50066
50067 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50068
50069         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50070
50071 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50072
50073         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50074
50075 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50076
50077         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50078         symbol reference.
50079
50080 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50081
50082         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50083         symbol reference.
50084
50085 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50086
50087         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50088         and internal_recvmmsg.
50089         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50090         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50091         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50092         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50093
50094         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50095         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50096         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50097
50098 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50099
50100         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50101
50102 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50103
50104         POWER7 optimizations.
50105         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50106         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50107
50108 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50109
50110         * version.h: Update for 2.13 development version.
50111
50112 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50113
50114         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50115         exceptions.  Return 0.
50116
50117 2010-05-07  Roland McGrath  <roland@redhat.com>
50118
50119         * elf/ldconfig.c (main): Add a const.
50120
50121 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50122
50123         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50124         (args_options): Add no-idn option.
50125         (ahosts_keys_int): Add idn_flags to ai_flags.
50126         (parse_option): Handle 'i' option to clear idn_flags.
50127
50128         * malloc/malloc.c (_int_free): Possible race in the most recently
50129         added check.  Only act on the data if no current modification
50130         happened.
50131
50132 See ChangeLog.17 for earlier changes.