Make __ASSUME_UTIMES hppa-specific.
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4         not define.
5         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6         <kernel-features.h>.
7         (__utimes) [__NR_utimes]: Make code unconditional.
8         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10         (__ASSUME_UTIMES): Do not undefine.
11         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12         (__ASSUME_UTIMES): Likewise.
13         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17
18 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
19
20         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21
22 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23
24         [BZ #17747]
25         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26         alias to weak alias for j0l, y0l.
27         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
29
30         [BZ #17746]
31         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
32         conversion.
33
34 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35
36         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
37         to zero if not already defined.
38
39 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40
41         [BZ #17724]
42         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
43         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
44         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
45         (char *) casts added.
46         * sysdeps/ieee754/k_standardf.c: New file.
47         * sysdeps/ieee754/k_standardl.c: Likewise.
48         * math/Makefile (libm-support): Remove k_standard.
49         (libm-calls): Add k_standard.
50
51 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
52
53         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
54         Optimize to avoid an unnecessary FPCR read.
55
56 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
57
58         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
59         Optimize to reduce FPCR/FPSR accesses.
60
61 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
62
63         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
64         Call libc_fetestexcept_aarch64.
65
66 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
67
68         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
69         Call libc_fesetround_aarch64.
70
71 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
72
73         [BZ #17733]
74         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
75         (__bind): Do not define as weak alias.
76         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
77         define.
78         (__getsockname): Do not define as weak alias.
79
80 2014-12-22  Will Newton  <will.newton@linaro.org>
81
82         * manual/install.texi: Document that we require bison 2.7
83         or above.
84         * INSTALL: Regenerate.
85         * configure.ac: Use AC_CHECK_PROG_VER instead of
86         AC_PATH_PROG when checking for bison and check for
87         version 2.7 or above.
88         * configure: Regenerate.
89
90 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
91
92         [BZ #17745]
93         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
94         * sysdeps/tile/ffsll.c (ffsll): To here.
95
96         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
97
98 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
99
100         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
101         if not defined.
102         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
103         definition.
104         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
105         hidden ___tls_get_addr.
106         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
107         hidden __tls_get_addr.
108         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
109         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
110         Likewise.
111
112 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
113
114         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
115         _dl_init call.
116
117 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
118
119         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
120         from "call _dl_init@PLT".
121         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
122
123 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
124
125         * manual/search.texi: (Array Sort Function): Clarify stable sorting
126         guarantees.
127
128 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
129
130         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
131
132 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
133
134         [BZ #17744]
135         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
136         strnlen.
137
138 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
139
140         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
141         of multu on MIPSr6.
142         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
143         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
144         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
145         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
146         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
147
148 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
149
150         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
151         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
152         (PTR_SUBU): Use subu for mips32r6/mips64r6.
153         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
154         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
155         mips32r6/mips64r6.
156         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
157
158 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
159
160         * string/strncat.c (STRNCAT): Simplify implementation.
161
162 2014-12-19  David S. Miller  <davem@davemloft.net>
163
164         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
165         access the quad as both a long double and as a series of 4 words.
166
167         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
168         link_map->l_info array access.
169
170 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
171
172         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
173
174         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
175         * math/atest-exp2.c (TIMEOUT): Likewise.
176         * math/atest-sincos.c (TIMEOUT): Likewise.
177
178 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
179
180         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
181         -Wno-error with -fno-builtin-lround.
182
183 2014-12-19  Torvald Riegel  <triegel@redhat.com>
184
185         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
186         Contains futex constants and functions moved over from ...
187         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
188         <lowlevellock-futex.h>.
189         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
190         (lll_timedwait_tid): Add comments and parentheses around macro
191         arguments.
192
193 2014-12-19  Torvald Riegel  <triegel@redhat.com>
194
195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
196         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
197         (__lll_private_flag): Remove.
198         (lll_futex_wait): Likewise.
199         (lll_futex_timed_wait): Likewise.
200         (lll_futex_wake): Likewise.
201         (lll_futex_requeue): Likewise.
202         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
203         (__lll_timedwait_tid): Spell out argument names.
204         (lll_timedwait_tid): Add comments and parentheses around macro
205         arguments.
206         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
207         LLL_SHARED and LLL_PRIVATE usable from assembly code.
208
209 2014-12-19  Torvald Riegel  <triegel@redhat.com>
210
211         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
212         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
213         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
214         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
215         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
216         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
217         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
218         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
219         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
220         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
221         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
222         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
223         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
224         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
225         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
226         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
227         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
228         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
229         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
230
231 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
232
233         * sysdeps/x86_64/x32/Makefile: New file.
234
235 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
236
237         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
238         1L with (mp_limb_t) 1.
239
240 2014-12-17  Roland McGrath  <roland@hack.frob.com>
241
242         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
243         * nptl/libc_pthread_init.c: ... here.
244         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
245         * nptl/register-atfork.c: ... here.
246
247         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
248         Use pthread_sigmask rather than INTERNAL_SYSCALL.
249         Use assert_perror to check its return value.
250         (__gai_create_helper_thread): Likewise.
251
252         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
253
254         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
255
256 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
257
258         [BZ #17725]
259         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
260         __profil_counter.
261         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
262         Likewise.
263         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
264         Likewise.
265         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
266         Likewise.
267         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
268         (profil_counter): Likewise.
269         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
270         (profil_counter): Likewise.
271         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
272         Likewise.
273         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
274         Likewise.
275         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
276         (profil_counter): Likewise.
277         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
278         Likewise.
279         [!__profil_counter] (profil_counter): Define as weak alias of
280         __profil_counter.
281         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
282         (profil_counter): Rename to __profil_counter.
283         [!__profil_counter] (profil_counter): Define as weak alias of
284         __profil_counter.
285         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
286         (profil_counter): Rename to __profil_counter.
287         [!__profil_counter] (profil_counter): Define as weak alias of
288         __profil_counter.
289         * sysdeps/posix/profil.c: Update comment referring to
290         profil_counter.
291         (__profil): Use __profil_counter instead of profil_counter.
292         * sysdeps/posix/sprofil.c (profil_counter): Rename to
293         __profil_counter.  Use __profil_counter_ushort and
294         __profil_counter_uint in definitions.
295         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
296         instead of profil_counter_uint and profil_counter_ushort.
297
298         [BZ #17722]
299         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
300         define as weak alias of __inet_makeaddr.
301         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
302         as weak alias of __inet_addr.
303         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
304         as weak alias of __inet_pton.  Use libc_hidden_weak.
305         * include/arpa/inet.h (__inet_pton): Declare.  Use
306         libc_hidden_proto.
307         (inet_makeaddr): Don't use libc_hidden_proto.
308         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
309         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
310         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
311         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
312         Remove variable.
313         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
314         (test-xfail-POSIX/time.h/linknamespace): Likewise.
315
316 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
317
318         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
319
320 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
321
322         * stdio-common/bug-vfprintf-nargs.c (do_test):
323         Cast value to intptr_t to avoid format warning
324         for usage with PRIdPTR printing macro.
325
326 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
327
328         * libio/tst-widetext.c (do_test):
329         Use format type %td instead of %Zd for ptrdiff_t
330         in order to avoid format warning.
331
332 2014-12-17  Andreas Schwab  <schwab@suse.de>
333
334         * nscd/mem.c (gc): Add size_t cast to match printf format.
335
336 2014-12-16  Roland McGrath  <roland@hack.frob.com>
337
338         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
339         (init): Apply PTR_MANGLE to pointers before storing them.
340         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
341         before using them.
342
343 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
344
345         [BZ #17719]
346         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
347         define as weak alias of __memrchr.
348         (__memrchr): Do not define as strong alias of memrchr.
349         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
350         Remove variable.
351         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
352         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
353         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
354
355         [BZ #17717]
356         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
357         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
358         (if_indextoname): Rename to __if_indextoname and define as weak
359         alias of __if_indextoname.  Use libc_hidden_weak.
360         (if_freenameindex): Rename to __if_freenameindex and define as
361         weak alias of __if_freenameindex.
362         (if_nameindex): Rename to __if_nameindex and define as weak alias
363         of __if_nameindex.
364         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
365         __if_nametoindex and define as weak alias of __if_nametoindex.
366         Use libc_hidden_weak.
367         (if_freenameindex): Rename to __if_freenameindex and define as
368         weak alias of __if_freenameindex.
369         (if_nameindex): Rename to __if_nameindex and define as weak alias
370         of __if_nameindex.
371         (if_indextoname): Rename to __if_indextoname and define as weak
372         alias of __if_indextoname.  Use libc_hidden_weak.
373         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
374         __if_nametoindex and define as weak alias of __if_nametoindex.
375         Use libc_hidden_weak.
376         (if_freenameindex): Rename to __if_freenameindex and define as
377         weak alias of __if_freenameindex.  Use libc_hidden_weak.
378         (if_nameindex_netlink): Use __if_freenameindex instead of
379         if_freenameindex.
380         (if_nameindex): Rename to __if_nameindex and define as weak alias
381         of __if_nameindex.  Use libc_hidden_weak.
382         (if_indextoname): Rename to __if_indextoname and define as weak
383         alias of __if_indextoname.  Use libc_hidden_weak.
384         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
385         libc_hidden_proto.
386         [!_ISOMAC] (__if_freenameindex): Likewise.
387         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
388         if_nametoindex.
389         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
390         variable.
391         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
392         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
393         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
394         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
395         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
396         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
397         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
398
399         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
400         Remove variable.
401         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
402         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
403
404 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
405
406         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
407         subscript above bounds'
408
409         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
410         bounds.
411
412 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
413
414         * libio/tst-fopenloc.c: Use test-skeleton.c.
415
416         * stdlib/tst-bsearch.c: Use test-skeleton.c.
417         (entry): Rename to ITEM.
418         (do_test, comp): Adjust.
419
420         * stdio-common/tst-fseek.c: Use test-skeleton.c.
421
422 2014-12-16  Torvald Riegel  <triegel@redhat.com>
423
424         * string/tester.c: Include <libc-internal.h>.
425         (test_memset): Ignore -Wmemset-transposed-args.
426
427 2014-12-16  Torvald Riegel  <triegel@redhat.com>
428
429         * misc/tst-mntent2.c (do_test): Fix warning.
430
431 2014-12-16  Torvald Riegel  <triegel@redhat.com>
432
433         * elf/tst-unique4lib.cc(a): Mark as used.
434
435 2014-12-16  Florian Weimer  <fweimer@redhat.com>
436
437         [BZ #17630]
438         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
439         names.
440
441 2014-12-16  Allan McRae  <allan@archlinux.org>
442
443         * stdio-common/Makefile (tests): Re-add bug26.
444
445 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
446
447         [BZ #17657]
448         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
449         static array.
450
451 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
452
453         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
454         (__lll_lock_wait): Likewise.
455         (__lll_timedlock_wait): Likewise.
456         (__lll_timedwait_tid): Likewise.
457         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
458         (__lll_robust_timedlock_wait): Likewise.
459         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
460         (lll_cond_trylock): Likewise.
461         (__lll_lock): Likewise.
462         (__lll_robust_lock): Likewise.
463         (__lll_cond_lock): Likewise.
464         (lll_robust_cond_lock): Likewise.
465         (__lll_timedlock): Likewise.
466         (__lll_robust_timedlock): Likewise.
467         (__lll_unlock): Likewise.
468         (__lll_robust_unlock): Likewise.
469         (lll_wait_tid): Likewise.
470         (lll_timedwait_tid): Likewise.
471
472 2014-12-15  Torvald Riegel  <triegel@redhat.com>
473
474         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
475
476 2014-12-15  Torvald Riegel  <triegel@redhat.com>
477
478         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
479
480 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
481
482         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
483         * stdio-common/tst-sprintf.c: Likewise.
484
485 2014-12-15  Torvald Riegel  <triegel@redhat.com>
486
487         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
488
489 2014-12-15  Jeff Law  <law@redhat.com>
490
491         [BZ #16617]
492         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
493         on the heap.  (CVE-2012-3406)
494         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
495         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
496         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
497
498 2014-12-15  Will Newton  <will.newton@linaro.org>
499
500         * manual/install.texi: Bump required version of texinfo
501         to 4.7 from 4.5.
502         * INSTALL: Regenerated.
503         * configure.ac: Check for makeinfo version 4.7 and above.
504         * configure: Regenerated.
505
506 2014-12-12  Roland McGrath  <roland@hack.frob.com>
507
508         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
509         PREFIX, string constant to insert between directory and name.
510         * sysdeps/posix/shm_open.c: Update caller.
511         * sysdeps/posix/shm_unlink.c: Likewise.
512         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
513         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
514         (SEM_SHM_PREFIX): New macro.
515         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
516         [$(have-thread-library) = no].
517         * nptl/Makefile (libpthread-routines): Add shm-directory.
518         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
519         * sysdeps/nptl/shm-directory.h: New file.
520         * sysdeps/posix/shm-directory.c
521         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
522         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
523         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
524         INTERNAL_SYSCALL.
525         (__where_is_shmfs): Function removed.
526         (mountpoint, defaultmount, defaultdir, __namedsem_once):
527         Variables removed.
528         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
529         Use SHM_GET_NAME.
530         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
531
532         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
533         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
534         unconditional for use inside libpthread.
535         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
536
537 2014-12-12  Roland McGrath  <roland@hack.frob.com>
538
539         * nptl/pthread_getaffinity.c: New file.
540         * nptl/pthread_setaffinity.c: New file.
541         * nptl/pthread_getname.c: New file.
542         * nptl/pthread_setname.c: New file.
543
544         * nptl/pthread_create.c (START_THREAD_DEFN)
545         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
546
547 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
548             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
549
550         * resolv/res_send.c (send_vc): Disable warning resplen may
551         be used uninitialized.
552
553 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
554
555         * nptl/tst-mutex6.c
556         (ATTR_NULL): New define checks ATTR against NULL.
557         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
558         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
559
560 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
561
562         [BZ #17581]
563         * malloc/hooks.c
564         (mem2mem_check): Revert my previous change.
565         (malloc_check_get_size): Revert my previous change.
566         (mem2chunk_check): Revert my previous change.
567
568 2014-12-11  Roland McGrath  <roland@hack.frob.com>
569
570         * sysdeps/posix/shm-directory.c: New file.
571         * sysdeps/posix/shm-directory.h: New file.
572         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
573         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
574         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
575         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
576         Transmute EPERM to EACCES.
577         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
578         from ...
579         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
580         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
581
582 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
583
584         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
585         pointer and cast to uintptr_t.
586         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
587         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
588         Add cast to avoid warning.
589         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
590
591 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
592
593         * nptl/semaphore.h: Move to ...
594         * sysdeps/pthread/semaphore.h: ... here.
595         * Makefile (installed-headers): Change nptl/semaphore.h to
596         sysdeps/pthread/semaphore.h.
597
598 2014-12-11  Roland McGrath  <roland@hack.frob.com>
599
600         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
601         generated error format strings.
602
603         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
604         -Wformat-extra-args warnings for scanf formats.
605         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
606         test of zero-length format (duh).
607         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
608         corner-case scanf format test.
609         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
610         generated fprintf format string.
611         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
612         corner-case sprintf format tests.
613         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
614         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
615         -Wformat-extra-args warnings throughout.
616         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
617         (CFLAGS-scanf4.c): Likewise.
618         (CFLAGS-scanf7.c): Likewise.
619         (CFLAGS-tst-sprintf.c): Likewise.
620         (CFLAGS-tst-printf.c): Likewise.
621         (CFLAGS-tst-printfsz.c): Likewise.
622
623 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
624
625         * include/cpio.h: New file.
626         * include/fmtmsg.h: Likewise.
627
628         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
629         corresponding format argument to size_t.
630         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
631         arguments.
632         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
633         corresponding format argument to size_t.
634         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
635         arguments.
636         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
637         corresponding format argument to size_t.
638         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
639         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
640         (CFLAGS-tst-mbswcs2.c): Likewise.
641         (CFLAGS-tst-mbswcs3.c): Likewise.
642         (CFLAGS-tst-mbswcs4.c): Likewise.
643         (CFLAGS-tst-mbswcs5.c): Likewise.
644         (CFLAGS-tst-trans.c): Likewise
645
646 2014-12-11  Roland McGrath  <roland@hack.frob.com>
647
648         * posix/regexbug1.c (main): Use "%s" format with regerror results,
649         rather than assuming they won't contain any '%'s.
650
651 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
652
653         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
654         inhibit_loop_to_libcall to avoid recursive calls.
655         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
656         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
657
658 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
659
660         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
661         prototype.
662
663 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
664
665         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
666         integer value instead of boolean.
667
668 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
669
670         * malloc/malloc.c: Fix powerof2 check.
671
672 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
673
674         * locale/programs/locfile.h (maybe_swap_uint32):
675         Remove inline and add unused attribute.
676
677 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
678
679         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
680         Truncating assembler expression to a .long expression.
681
682 2014-12-11  Andreas Schwab  <schwab@suse.de>
683
684         * elf/rtld.c (struct map_args): Constify str member.
685         (do_preload): Constify fname argument.
686
687 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
688
689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
690         constants definition.
691
692 2014-12-11  Andreas Schwab  <schwab@suse.de>
693
694         [BZ #16657]
695         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
696         FORCE_ELISION instead of DO_ELISION.
697         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
698         Remove.
699         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
700         Likewise.
701
702         * iconvdata/gconv-modules: Remove duplicate entry.
703
704 2014-12-11  Will Newton  <will.newton@linaro.org>
705
706         Merge gettext 0.19.3 into intl/.
707
708         This involves a number of cosmetic changes to comments
709         and ANSI function definitions and prototypes throughout
710         all the files. The gettext copyright header is used but
711         with the date ranges taken from the glibc copy.
712
713         * NEWS: Add gettext merge to 2.21.
714         * intl/bindtextdom.c: Switch to gettext copyright.
715         Use ANSI definitions and prototypes.
716         Use gl_* locking primitives rather than __libc_* ones.
717         Use __builtin_expect rather than __glibc_likely/unlikely.
718         * intl/dcgettext.c: Switch to gettext copyright.
719         Use ANSI definitions and prototypes.
720         * intl/dcigettext.c: Switch to gettext copyright.
721         Use ANSI definitions and prototypes.
722         (INTDIV0_RAISES_SIGFPE): New define.
723         Use gl_* locking primitives rather than __libc_* ones.
724         Include eval-plural.h instead of plural-eval.c.
725         Use __builtin_expect rather than __glibc_likely/unlikely.
726         * intl/dcngettext.c: Switch to gettext copyright.
727         Use ANSI definitions and prototypes.
728         * intl/dgettext.c: Likewise.
729         * intl/dngettext.c: Likewise.
730         * intl/plural-eval.c: Renamed to...
731         * intl/eval-plural.h: ...this.
732         * intl/explodename.c: Switch to gettext copyright.
733         Use ANSI definitions and prototypes.
734         (_nl_explode_name): Use strchr instead of __rawmemchr.
735         * intl/finddomain.c: Switch to gettext copyright.
736         Use ANSI definitions and prototypes.
737         Use gl_* locking primitives rather than __libc_* ones.
738         (_nl_find_domain): Use malloc rather than alloca for
739         allocation of temporary locale name.
740         * intl/gettext.c: Switch to gettext copyright.
741         Use ANSI definitions and prototypes.
742         * intl/gettextP.h: Switch to gettext copyright.
743         Use ANSI definitions and prototypes.
744         Use gl_* locking primitives rather than __libc_* ones.
745         * intl/gmo.h: Switch to gettext copyright.
746         (struct sysdep_string): Move struct segment_pair outside of
747         struct definition.
748         * intl/hash-string.c: Use ANSI definitions and prototypes.
749         * intl/hash-string.h: Switch to gettext copyright.
750         Use ANSI definitions and prototypes.
751         * intl/l10nflist.c: Switch to gettext copyright.
752         Use ANSI definitions and prototypes.
753         (_nl_normalize_codeset): Avoid integer overflow.
754         * intl/loadinfo.h: Switch to gettext copyright.
755         Use ANSI definitions and prototypes.
756         (LIBINTL_DLL_EXPORTED): New define.
757         (PATH_SEPARATOR): New define.
758         * intl/loadmsgcat.c: Switch to gettext copyright.
759         * intl/localealias.c: Switch to gettext copyright.
760         Use ANSI definitions and prototypes.
761         (_nl_expand_alias): Use PATH_SEPARATOR.
762         * intl/ngettext.c: Switch to gettext copyright.
763         Use ANSI definitions and prototypes.
764         * intl/plural-exp.c: Likewise.
765         * intl/plural-exp.h: Switch to gettext copyright.
766         Use ANSI definitions and prototypes.
767         (struct expression): Move definition of enum operator outside
768         of struct definition.
769         * intl/plural.c: Regenerate.
770         * intl/plural.y: Switch to gettext copyright.
771         Use ANSI definitions and prototypes.
772         Port to bison 3.0.
773         * intl/textdomain.c: Switch to gettext copyright.
774         Use ANSI definitions and prototypes.
775         Use gl_* locking primitives rather than __libc_* ones.
776
777 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
778
779         * debug/warning-nop.c: Add used atrribute.
780
781 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
782
783         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
784
785         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
786         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
787         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
788
789 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
790             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
791
792         [BZ #17634]
793         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
794         Undefine after defining function.  Define as weak alias of
795         __wcschr.  Use libc_hidden_weak.
796         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
797         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
798         (libc_hidden_def): Also define __GI___wcschr alias.
799         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
800         __wcschr and define as weak alias of __wcschr.
801         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
802         __wcschr.
803         [!WCSCHR] (DEFAULT_WCSCHR): Define.
804         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
805         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
806         libc_hidden_weak.  Do not use libc_hidden_def.
807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
808         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
809         __GI___wcschr alias.
810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
811         [IS_IN (libc)] (wcschr): Define as macro expanding to
812         __redirect_wcschr.
813         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
814         [IS_IN (libc)] (__wcschr_power6): Likewise.
815         [IS_IN (libc)] (__wcschr_power7): Likewise.
816         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
817         instead of wcschr.
818         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
819         __libc_wcschr.
820         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
821         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
822         __wcschr and define as weak alias of __wcschr.  Use
823         libc_hidden_builtin_def.
824         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
825         as weak alias of __wcschr.  Use libc_hidden_weak.
826         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
827         wcschr.
828         * time/era.c (_nl_init_era_entries): Likewise.
829         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
830         variable.
831         (test-xfail-XPG3/time.h/linknamespace): Likewise.
832         (test-xfail-XPG4/time.h/linknamespace): Likewise.
833
834 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
835
836         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
837         format for long int variable.
838
839 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
840
841         [BZ #10672]
842         * manual/search.texi: (Array Sort Function): Remove claim how to make
843         qsort stable.
844
845 2014-12-10  Andreas Schwab  <schwab@suse.de>
846
847         [BZ #12847]
848         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
849         user-controlled locks.
850
851 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
852
853         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
854         register.
855
856 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
857
858         * configure.ac (--disable-werror): New configure option.
859         (enable_werror): New AC_SUBST.
860         * configure: Regenerated.
861         * config.make.in (enable-werror): New variable.
862         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
863         -Wno-error=undef.
864         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
865         * manual/install.texi (Configuring and compiling): Document
866         --disable-werror.
867         * INSTALL: Regenerated.
868         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
869         (CFLAGS-tst-chk2.c): Likewise.
870         (CFLAGS-tst-chk3.c): Likewise.
871         (CFLAGS-tst-chk4.cc): Likewise.
872         (CFLAGS-tst-chk5.cc): Likewise.
873         (CFLAGS-tst-chk6.cc): Likewise.
874         (CFLAGS-tst-lfschk1.c): Likewise.
875         (CFLAGS-tst-lfschk2.c): Likewise.
876         (CFLAGS-tst-lfschk3.c): Likewise.
877         (CFLAGS-tst-lfschk4.cc): Likewise.
878         (CFLAGS-tst-lfschk5.cc): Likewise.
879         (CFLAGS-tst-lfschk6.cc): Likewise.
880
881         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
882         (main): Disable -Wdeprecated-declarations around calls to
883         register_printf_function.
884
885         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
886         (do_test): Disable -Wdiv-by-zero around some calls to
887         fwrite_unlocked and fread_unlocked.
888
889         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
890         (DIAG_POP_NEEDS_COMMENT): Likewise.
891         (_DIAG_STR1): Likewise.
892         (_DIAG_STR): Likewise.
893         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
894         * stdio-common/bug21.c: Include <libc-internal.h>.
895         (do_test): Disable -Wformat around call to sscanf.
896         * stdio-common/scanf14.c: Include <libc-internal.h>.
897         (main): Disable -Wformat around some calls to scanf functions.
898
899 2014-12-09  Torvald Riegel  <triegel@redhat.com>
900
901         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
902
903 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
904
905         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
906         stack variable alignment.
907
908 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
909
910         [BZ #17682]
911         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
912         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
913         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
914         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
915         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
916         __getrlimit instead of getrlimit.
917         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
918         __gettimeofday instead of gettimeofday.
919         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
920         Likewise.
921         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
922         Likewise.
923         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
924         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
925         Remove variable.
926         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
927         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
928
929 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
930
931         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
932         for wide-character tests.
933
934 2014-12-04  Roland McGrath  <roland@hack.frob.com>
935
936         * io/openat64.c: #include <libc-internal.h>
937         (__openat64): Prototypify.  Use ignore_value on MODE.
938         * io/openat.c: Likewise.
939         * misc/reboot.c: #include <libc-internal.h>
940         (reboot): Prototypify.  Use ignore_value on HOWTO.
941         * misc/ptrace.c: #include <libc-internal.h>
942         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
943
944 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
945
946         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
947         XPG4, UNIX98 and XOPEN2K.
948         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
949         Remove variable.
950         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
951
952 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
953
954         * libio/fileops.c: Use ISO C style for function definitions.
955         * libio/iofopen.c: Likewise.
956         * libio/wfileops.c: Likewise.
957
958         [BZ #17653]
959         * libio/fileops.c (_IO_new_file_underflow): Unset cached
960         offset on EOF.
961         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
962         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
963         (fgets_func): Function pointer to fgets and fgetws.
964         (do_ftell_test): Add test to verify ftell value after read
965         EOF.
966         (do_test): Set fgets_func.
967
968         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
969         O_TRUNC flag for w and w+ modes.
970         (do_rewind_test): Likewise.
971         (do_ftell_test): Likewise.
972         (do_write_test): Likewise.
973
974         [BZ #17647]
975         * libio/fileops.c (do_ftell): Seek only when there are
976         unflushed writes.
977         * libio/wfileops.c (do_ftell_wide): Likewise.
978         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
979         test case.
980         (do_one_test): Call it.
981
982 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
983
984         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
985         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
986         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
987         Remove variable.
988         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
989         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
990         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
991
992 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
993
994         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
995         Remove variable.
996         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
997
998         [BZ #17668]
999         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1000         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1001         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1002         __freeifaddrs.  Use libc_hidden_weak.
1003         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1004         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1005         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1006         __freeifaddrs.  Use libc_hidden_weak.
1007         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1008         __getifaddrs and define as weak alias of __getifaddrs.  Use
1009         libc_hidden_weak.
1010         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1011         __freeifaddrs.  Use libc_hidden_weak.
1012         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1013         Remove variable.
1014         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1015         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1016
1017 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1018
1019         [BZ #17601]
1020         * sysdeps/mips/start.S (__start): Use indirect jump to call
1021         __libc_start_main.
1022
1023 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1024
1025         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1026
1027         * nptl/tst-mutex1.c: Include <stdbool.h>.
1028         [!ATTR] (ATTR_NULL): New macro.
1029         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1030         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1031         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1032
1033         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1034         to char *.
1035
1036         [BZ #17665]
1037         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1038         Change conditional to [__USE_MISC].
1039
1040         [BZ #17664]
1041         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1042         fgets_unlocked.
1043         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1044         __fgets_unlocked.
1045         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1046         fgets_unlocked.
1047         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1048         Remove variable.
1049         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1050         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1051         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1052         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1053         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1054         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1055         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1056         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1057         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1058
1059         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1060
1061 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1062
1063         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1064         Remove strpbrk objects.
1065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1066         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1067         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1068         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1069         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1070         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1071
1072         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1073         Remove strcspn objects.
1074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1075         (__libc_ifunc_impl_list): Remove strcspn implementation.
1076         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1077         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1078         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1079         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1080
1081         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1082         Remove strspn objetcs.
1083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1084         (__libc_ifunc_impl_list): Remove strspn implementation.
1085         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1086         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1087         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1088         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1089
1090 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1091
1092         [BZ #17581]
1093         * malloc/hooks.c
1094         (mem2mem_check): Add a terminator to the chain of checking blocks.
1095         (malloc_check_get_size): Use it here.
1096         (mem2chunk_check): Ditto.
1097
1098 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1099
1100         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1101         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1102
1103 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1104
1105         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1106
1107         * nptl/nptl-init.c: Include libc-internal.h.
1108         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1109
1110         * elf/ldconfig.c (search_dir): Expand comment.
1111
1112 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1113
1114         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1115         variable.
1116         (linknamespace-symlist-stdlibs-tests): Likewise.
1117         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1118         instead of $(objpfx)symlist-stdlibs.
1119         (linknamespace-libs-isoc): New variable.
1120         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1121         (linknamespace-libs-ISO): New variable.
1122         (linknamespace-libs-ISO99): Likewise.
1123         (linknamespace-libs-ISO11): Likewise.
1124         (linknamespace-libs-XPG3): Likewise.
1125         (linknamespace-libs-XPG4): Likewise.
1126         (linknamespace-libs-POSIX): Likewise.
1127         (linknamespace-libs-UNIX98): Likewise.
1128         (linknamespace-libs-XOPEN2K): Likewise.
1129         (linknamespace-libs-POSIX2008): Likewise.
1130         (linknamespace-libs-XOPEN2K8): Likewise.
1131         ($(objpfx)symlist-stdlibs): Replace by
1132         $(linknamespace-symlist-stdlibs-tests).  Use
1133         $(linknamespace-libs-$*) as set of libraries.
1134         ($(linknamespace-header-tests)): Update dependencies.  Use
1135         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1136         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1137         * conform/linknamespace.pl: Remove comment about considering
1138         definitions of symbols from irrelevant libraries.
1139
1140 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1141
1142         [BZ #13862]
1143         * elf/dl-tls.c: Include <atomic.h>.
1144         (oom): Remove #ifdef SHARED/#endif.
1145         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1146         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1147         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1148         big enough.
1149         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1150         * nptl/Makefile (tests): Add tst-stack4.
1151         (modules-names): Add tst-stack4mod.
1152         ($(objpfx)tst-stack4): New.
1153         (tst-stack4mod.sos): Likewise.
1154         ($(objpfx)tst-stack4.out): Likewise.
1155         ($(tst-stack4mod.sos)): Likewise.
1156         (clean): Likewise.
1157         * nptl/tst-stack4.c: New file.
1158         * nptl/tst-stack4mod.c: Likewise.
1159
1160 2014-11-27  J. Brown  <jb999@gmx.de>
1161
1162         * sysdeps/x86/bits/string.h: Add recent CPUs.
1163
1164 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1165
1166         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1167         sigblock.
1168
1169         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1170         feof.
1171
1172         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1173         variable.
1174
1175 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1176
1177         * nscd/connections.c: Include libc-internal.h because of macro
1178         usage ignore_value.
1179
1180 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1181
1182         * string/bits/string3.h (__warn_memset_zero_len): Don't
1183         declare for gcc newer than 5.0.
1184         (memset): Don't test for zero-length __LEN for gcc newer than
1185         5.0.
1186
1187 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1188
1189         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1190         size_t for %zu format.
1191
1192         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1193         difference, not %ju.
1194
1195 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1196
1197         * include/libc-internal.h (ignore_value): New macro.
1198         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1199         with ignore_value.
1200
1201         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1202         definition.
1203
1204         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1205         pthread_cleanup_push to void *.
1206
1207         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1208         Undefine.
1209
1210         [BZ #16619]
1211         [BZ #16740]
1212         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1213         instead of 1L << 52.
1214
1215         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1216         * libio/bug-rewind2.c (do_test): Likewise.
1217
1218         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1219         * debug/test-strcpy_chk-ifunc.c: Likewise.
1220         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1221         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1222         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1223         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1224         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1225         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1226         * Rules [$(multi-arch) = no] (tests): Do not filter out
1227         $(tests-ifunc).
1228         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1229         * debug/Makefile (tests-ifunc): Remove variable.
1230         (tests): Do not add $(tests-ifunc).
1231         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1232         (tests): Do not add $(tests-ifunc).
1233         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1234         [TEST_IFUNC]: Remove conditionals.
1235         * string/test-string.h (TEST_IFUNC): Remove macro.
1236         [TEST_IFUNC]: Remove conditionals.
1237
1238         * string/test-strchr.c [!WIDE] (L): New macro.
1239         [WIDE] (L): Likewise.
1240         (check1): Use CHAR instead of char.  Use L on string and character
1241         constants.
1242
1243 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1244
1245         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1246         tests.
1247         * sysdeps/powerpc/bits/atomic.h
1248         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1249         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1250         (atomic_exchange_and_add_acq): Likewise.
1251         (atomic_exchange_and_add_rel): Likewise.
1252         * sysdeps/powerpc/powerpc32/bits/atomic.h
1253         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1254         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1255         * sysdeps/powerpc/powerpc64/bits/atomic.h
1256         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1257         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1258
1259 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1260
1261         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1262         Change synchronization of __sched_fifo_min_prio and
1263         __sched_fifo_max_prio.
1264         * nptl/pthread_mutexattr_getprioceiling.c
1265         (pthread_mutexattr_getprioceiling): Likewise.
1266         * nptl/pthread_mutexattr_setprioceiling.c
1267         (pthread_mutexattr_setprioceiling): Likewise.
1268         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1269         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1270         Likewise.
1271
1272 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1273
1274         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1275         void.
1276
1277 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1278
1279         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1280         third argument const.
1281
1282 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1283
1284         fnmatch: work around GCC compiler warning bug with uninit var
1285         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1286         This works around a bug with x86-64 GCC 4.9.2 and earlier
1287         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1288         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1289         used uninitialized in this function [-Wmaybe-uninitialized]".
1290
1291 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1292
1293         * posix/bug-regex31.c (main): Return RES not 0.
1294
1295 2014-11-25  Anton Blanchard <anton@samba.org>
1296
1297         * sysdeps/powerpc/bits/atomic.h
1298         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1299
1300 2014-11-24  Sterling Augustine  <saugustine@google.com>
1301
1302         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1303
1304 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1305
1306         [BZ #17608]
1307         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1308
1309 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1310
1311         [BZ #17633]
1312         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1313         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1314         variable.
1315         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1316         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1317
1318 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1319
1320         * string/strncpy.c (strncpy): Improve performance by using memset.
1321
1322 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1323
1324         * string/strcpy.c (strcpy):
1325         Improve performance by using strlen and memcpy.
1326
1327 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1328
1329         * string/strcoll_l.c (get_next_seq): __always_inline.
1330         * string/strcoll_l.c (do_compare): __always_inline.
1331
1332 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1333
1334         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1335         defined.
1336         * include/mqueue.h: Likewise.
1337         * include/stdlib.h: Likewise.
1338
1339         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1340         (get_null_defines): Adjust.
1341         * sunrpc/Makefile: Adjust comment.
1342         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1343         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1344         (CFLAGS-interp.c): Likewise.
1345         (CFLAGS-ldconfig.c): Likewise.
1346         (CPPFLAGS-.os): Likewise.
1347         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1348         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1349         * extra-modules.mk (extra-modules.mk): Likewise.
1350         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1351         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1352         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1353         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1354         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1355         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1356         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1357         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1358         * iconvdata/Makefile (CPPFLAGS): Likewise.
1359         (cpp-srcs-left): Add libof for all iconvdata routines.
1360         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1361         * include/assert.h: Likewise.
1362         * include/ctype.h: Likewise.
1363         * include/errno.h: Likewise.
1364         * include/libc-symbols.h: Likewise.
1365         * include/math.h: Likewise.
1366         * include/netdb.h: Likewise.
1367         * include/resolv.h: Likewise.
1368         * include/stdio.h: Likewise.
1369         * include/stdlib.h: Likewise.
1370         * include/string.h: Likewise.
1371         * include/sys/stat.h: Likewise.
1372         * include/wctype.h: Likewise.
1373         * intl/l10nflist.c: Likewise.
1374         * libidn/idn-stub.c: Likewise.
1375         * libio/libioP.h: Likewise.
1376         * nptl/libc_multiple_threads.c: Likewise.
1377         * nptl/pthreadP.h: Likewise.
1378         * posix/regex_internal.h: Likewise.
1379         * resolv/res_hconf.c: Likewise.
1380         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1381         * sysdeps/arm/memmove.S: Likewise.
1382         * sysdeps/arm/sysdep.h: Likewise.
1383         * sysdeps/generic/_itoa.h: Likewise.
1384         * sysdeps/generic/symbol-hacks.h: Likewise.
1385         * sysdeps/gnu/errlist.awk: Likewise.
1386         * sysdeps/gnu/errlist.c: Likewise.
1387         * sysdeps/i386/i586/memcpy.S: Likewise.
1388         * sysdeps/i386/i586/memset.S: Likewise.
1389         * sysdeps/i386/i686/memcpy.S: Likewise.
1390         * sysdeps/i386/i686/memmove.S: Likewise.
1391         * sysdeps/i386/i686/mempcpy.S: Likewise.
1392         * sysdeps/i386/i686/memset.S: Likewise.
1393         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1394         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1395         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1396         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1397         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1398         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1399         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1400         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1401         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1402         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1403         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1404         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1405         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1406         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1407         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1408         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1409         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1410         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1411         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1412         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1413         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1414         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1415         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1416         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1417         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1418         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1419         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1420         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1421         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1422         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1423         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1424         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1426         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1427         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1428         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1429         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1430         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1431         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1432         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1433         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1434         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1435         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1436         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1437         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1438         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1439         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1440         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1441         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1442         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1443         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1444         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1445         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1446         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1447         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1448         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1449         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1450         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1451         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1452         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1453         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1454         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1455         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1456         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1457         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1458         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1459         * sysdeps/posix/closedir.c: Likewise.
1460         * sysdeps/posix/opendir.c: Likewise.
1461         * sysdeps/posix/readdir.c: Likewise.
1462         * sysdeps/posix/rewinddir.c: Likewise.
1463         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1464         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1465         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1466         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1467         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1468         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1469         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1470         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1472         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1473         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1474         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1475         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1476         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1477         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1478         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1479         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1480         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1481         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1482         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1483         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1484         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1485         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1486         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1487         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1488         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1489         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1490         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1491         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1494         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1495         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1497         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1498         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1499         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1500         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1501         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1502         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1503         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1504         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1505         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1506         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1507         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1508         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1509         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1510         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1511         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1512         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1513         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1514         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1515         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1517         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1518         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1520         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1521         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1522         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1523         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1524         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1525         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1526         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1527         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1528         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1529         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1530         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1531         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1532         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1533         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1534         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1535         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1536         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1537         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1538         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1539         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1540         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1541         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1542         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1543         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1544         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1545         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1546         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1547         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1548         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1549         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1550         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1551         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1552         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1553         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1554         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1555         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1559         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1561         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1562         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1563         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1564         * sysdeps/unix/alpha/sysdep.S: Likewise.
1565         * sysdeps/unix/alpha/sysdep.h: Likewise.
1566         * sysdeps/unix/make-syscalls.sh: Likewise.
1567         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1569         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1570         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1571         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1572         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1573         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1574         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1575         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1576         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1577         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1578         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1580         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1581         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1582         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1583         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1584         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1585         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1586         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1587         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1588         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1589         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1590         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1591         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1592         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1593         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1596         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1597         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1598         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1600         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1601         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1602         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1603         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1604         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1605         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1606         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1607         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1608         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1609         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1610         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1611         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1613         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1614         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1615         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1616         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1617         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1618         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1619         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1620         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1621         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1622         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1623         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1625         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1626         * sysdeps/x86_64/memcpy.S: Likewise.
1627         * sysdeps/x86_64/memmove.c: Likewise.
1628         * sysdeps/x86_64/memset.S: Likewise.
1629         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1630         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1631         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1632         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1633         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1634         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1635         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1636         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1637         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1638         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1639         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1640         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1641         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1642         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1643         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1644         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1645         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1646         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1647         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1648         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1649         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1650         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1651         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1652         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1653         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1654         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1655         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1656         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1657         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1658         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1659         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1660         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1661         * sysdeps/x86_64/strcmp.S: Likewise.
1662
1663         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1664
1665         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1666         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1667         * elf/rtld-Rules: Likewise.
1668         * elf/setup-vdso.h: Likewise.
1669         * include/assert.h: Likewise.
1670         * include/bits/stdlib-float.h: Likewise.
1671         * include/errno.h: Likewise.
1672         * include/sys/stat.h: Likewise.
1673         * include/unistd.h: Likewise.
1674         * sysdeps/aarch64/setjmp.S: Likewise.
1675         * sysdeps/alpha/setjmp.S: Likewise.
1676         * sysdeps/arm/__longjmp.S: Likewise.
1677         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1678         * sysdeps/arm/setjmp.S: Likewise.
1679         * sysdeps/arm/sysdep.h: Likewise.
1680         * sysdeps/generic/_itoa.h: Likewise.
1681         * sysdeps/generic/dl-sysdep.h: Likewise.
1682         * sysdeps/generic/ldsodefs.h: Likewise.
1683         * sysdeps/i386/dl-tls.h: Likewise.
1684         * sysdeps/i386/setjmp.S: Likewise.
1685         * sysdeps/m68k/setjmp.c: Likewise.
1686         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1687         * sysdeps/mach/hurd/opendir.c: Likewise.
1688         * sysdeps/posix/getcwd.c: Likewise.
1689         * sysdeps/posix/opendir.c: Likewise.
1690         * sysdeps/posix/profil.c: Likewise.
1691         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1692         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1693         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1694         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1695         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1696         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1697         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1698         * sysdeps/s390/dl-tls.h: Likewise.
1699         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1700         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1701         * sysdeps/sh/sh3/setjmp.S: Likewise.
1702         * sysdeps/sh/sh4/setjmp.S: Likewise.
1703         * sysdeps/unix/alpha/sysdep.h: Likewise.
1704         * sysdeps/unix/arm/sysdep.S: Likewise.
1705         * sysdeps/unix/i386/sysdep.S: Likewise.
1706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1707         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1708         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1709         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1710         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1711         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1712         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1713         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1714         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1715         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1716         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1717         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1721         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1724         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1725         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1726         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1727         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1729         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1730         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1731         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1733         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1734         * sysdeps/x86_64/setjmp.S: Likewise.
1735
1736         * include/math.h: Use IS_IN instead of IS_IN_libm.
1737         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1738         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1739         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1740         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1741         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1742         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1743         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1744         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1745         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1746         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1747         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1748         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1749         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1750         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1751         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1752         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1753         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1754         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1755         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1756         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1757         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1758         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1759         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1760         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1761         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1762         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1763         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1764         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1765         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1766         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1767         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1768         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1769         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1771         Likewise.
1772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1773         Likewise.
1774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1775         Likewise.
1776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1777         Likewise.
1778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1779         Likewise.
1780         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1781         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1782         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1783         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1784         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1785         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1791         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1792         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1793         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1794         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1795         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1796         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1797         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1798         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1799         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1800         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1801         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1802         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1804         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1806         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1807
1808         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1809         * nptl/pthreadP.h: Likewise.
1810         * nptl_db/structs.def: Likewise.
1811         * sysdeps/arm/sysdep.h: Likewise.
1812         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1813         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1814         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1815         * sysdeps/unix/alpha/sysdep.h: Likewise.
1816         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1817         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1818         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1819         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1820         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1821         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1822         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1823         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1824         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1825         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1826         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1827         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1828         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1829         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1834         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1837         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1838         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1839         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1840         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1841         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1842
1843         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1844         * nptl/pthreadP.h: Likewise.
1845         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1846         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1847         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1848         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1849         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1850         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1851         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1852         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1853         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1854         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1855         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1856         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1858         Likewise.
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1860         Likewise.
1861         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1862         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1863         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1865         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1866         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1867         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1868         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1869
1870         * dlfcn/dladdr.c: Use IS_IN.
1871         * dlfcn/dladdr1.c: Likewise.
1872         * dlfcn/dlclose.c: Likewise.
1873         * dlfcn/dlerror.c: Likewise.
1874         * dlfcn/dlinfo.c: Likewise.
1875         * dlfcn/dlmopen.c: Likewise.
1876         * dlfcn/dlopen.c: Likewise.
1877         * dlfcn/dlsym.c: Likewise.
1878         * dlfcn/dlvsym.c: Likewise.
1879
1880         * include/ifaddrs.h: Use IS_IN.
1881         * inet/check_pf.c: Likewise.
1882         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1883         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1884
1885         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1886         IS_IN_ldconfig.
1887         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1888         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1889
1890         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1891         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1892         IS_IN (libc).
1893
1894         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1895
1896         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1897         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1898         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1899         * include/libc-symbols.h (IS_IN_LIB): New macro.
1900         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1901         * include/netdb.h: Likewise.
1902         * include/stap-probe.h: Remove all uses of IN_LIB.
1903
1904         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1905         instead of IN_MODULE.
1906         * include/libc-symbols.h (IN_MODULE): Define using
1907         MODULE_NAME.
1908         (PASTE_NAME, PASTE_NAME1): New macros.
1909         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1910         of IN_LIB.
1911         (STAP_PROBE_ASM): Likewise.
1912
1913 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1914
1915         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1916         __mach_init in dlopened libc.
1917
1918 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1919
1920         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1921         * sysdeps/arm/preconfigure: Regenerate.
1922
1923 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1924
1925         * nptl/pthread_create.c (__pthread_create_2_1): Set
1926         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1927         when copying values from IATTR into PD.
1928
1929 2014-11-21  Will Newton  <will.newton@linaro.org>
1930             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1931
1932         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1933         Refactor inline-asm.  Also add comment.
1934
1935         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1936         ElfW macro instead of hardcoded Elf64 types.
1937         (la_aarch64_gnu_pltenter): Likewise.
1938         * sysdeps/aarch64/dl-machine.h
1939         (elf_machine_runtime_setup): Use ElfW(Addr).
1940
1941         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1942         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1943         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1944         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1945         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1946         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1947         (R_AARCH64_TLS_DTPMOD): This.
1948         (R_AARCH64_TLS_DTPREL64): Rename to ...
1949         (R_AARCH64_TLS_DTPREL): This.
1950         (R_AARCH64_TLS_TPREL64): Rename to ...
1951         (R_AARCH64_TLS_TPREL): This.
1952         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1953         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1954         R_AARCH64_TLS_TPREL64.
1955         (elf_machine_rela): Likewise.
1956
1957 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1958
1959         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1960         by setting it to 0.  64b atomics are not supported currently.
1961
1962 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1963
1964         [BZ #16469]
1965         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1966         search domain names.
1967
1968 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1969
1970         [BZ #16469]
1971         * NEWS: Update.
1972         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1973         trailing dot.
1974         * posix/tst-getaddrinfo5.c: New.
1975         * posix/Makefile (tests): Add it.
1976
1977 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1978
1979         [BZ #14498]
1980         * NEWS: Fixed.
1981         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1982         after parsing line but before break_if_match.
1983         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1984         if there is a protocol mismatch.
1985
1986 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1987
1988         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1989         because the potential race is on the user-supplied stream.
1990
1991 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1992
1993         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1994         string literal if not passed a buffer.
1995         * manual/job.texi (ctermid): Update reasoning, note deviation
1996         from posix, suggest mtasurace when not passed a buffer, for
1997         future non-preliminary safety notes.
1998
1999 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2000
2001         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2002         of not passing it a buffer.
2003         Reported by Peng Haitao.
2004
2005 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2006
2007         * manual/Makefile ($(objpfx)stamp-summary): Require
2008         check-safety.sh to pass.
2009         * manual/check-safety.sh: Wish for verification that every
2010         @deftypefn and @deftypefun is followed by a @safety remark.
2011
2012 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2013
2014         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2015
2016         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2017         PTHREAD_CANCEL_ASYNCHRONOUS.
2018         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2019         send SIGCANCEL.
2020
2021         * nptl/default-sched.h: New file.
2022         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2023         * nptl/pthread_create.c: Include it.
2024         (__pthread_create_2_1): Use collect_default_sched instead of making
2025         Linux syscalls here directly.
2026
2027 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2028
2029         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2030         __pthread_once): Use C11 atomics.
2031
2032 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2033
2034         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2035
2036 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2037
2038         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2039         atomic_thread_fence_acquire, atomic_thread_fence_release,
2040         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2041         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2042         atomic_compare_exchange_weak_relaxed,
2043         atomic_compare_exchange_weak_acquire,
2044         atomic_compare_exchange_weak_release,
2045         atomic_exchange_acquire, atomic_exchange_release,
2046         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2047         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2048         atomic_fetch_and_acquire,
2049         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2050
2051 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2052
2053         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2054         USE_ATOMIC_COMPILER_BUILTINS): Define.
2055         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2057         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2059         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2061         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2063         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2065         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2067         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2069         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2071         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2073         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2075         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2077         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2078         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2079         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2080         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2081         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2083         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2085         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2086         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2087         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2088         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2089         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2090         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2091         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2092         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2093         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2094         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2095
2096 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2097
2098         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2099         the sched_priority value here.  It was already checked when the user
2100         called pthread_attr_setschedparam.
2101
2102         * nptl/tst-bad-schedattr.c: New file.
2103         * nptl/Makefile (tests): Add it.
2104
2105 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2106             Florian Weimer  <fweimer@redhat.com>
2107             Joseph Myers  <joseph@codesourcery.com>
2108             Adam Conrad  <adconrad@0c3.net>
2109             Andreas Schwab  <schwab@suse.de>
2110             Brooks  <bmoses@google.com>
2111
2112         [BZ #17625]
2113         * wordexp-test.c (__dso_handle): Add prototype.
2114         (__register_atfork): Likewise.
2115         (__app_register_atfork): New function.
2116         (registered_forks): New global.
2117         (register_fork): New function.
2118         (test_case): Add 3 new tests for WRDE_CMDSUB.
2119         (main): Call __app_register_atfork.
2120         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2121         fork count is non-zero fail the test.
2122         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2123         is set.
2124         (parse_dollars): Remove check for WRDE_NOCMD.
2125         (parse_dquote): Likewise.
2126
2127 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2128
2129         * Makeconfig (built-modules): List non-library modules to be
2130         built.
2131         (module-cppflags): Include libc-modules.h for
2132         everything except shlib-versions.v.i.
2133         (CPPFLAGS): Use it.
2134         (before-compile): Add libc-modules.h.
2135         ($(common-objpfx)libc-modules.h,
2136         $(common-objpfx)libc-modules.stmp): New targets.
2137         (common-generated): Add libc-modules.h and libc-modules.stmp.
2138         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2139         * include/libc-symbols.h: Don't include libc-modules.h.
2140         * include/libc-modules.h: Remove file.
2141         * scripts/gen-libc-modules.awk: New script to generate
2142         libc-modules.h.
2143         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2144         Depend on libc-modules.stmp.
2145
2146         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2147
2148         * Makeconfig (in-module): Get value of libof set for the
2149         translation unit.
2150         (CPPFLAGS): Use $(in-module).
2151         * Makerules: Don't suffix routine names for nonlib.
2152         * include/libc-modules.h: New file.
2153         * include/libc-symbols.h: Include libc-modules.h
2154         (IS_IN): New macro to replace IS_IN_* macros.
2155         * elf/Makefile: Set libof-* for each routine.
2156         * elf/rtld-Rules: Likewise.
2157         * extra-modules.mk: Likewise.
2158         * iconv/Makefile: Likewise.
2159         * iconvdata/Makefile: Likewise.
2160         * locale/Makefile: Likewise.
2161         * malloc/Makefile: Likewise.
2162         * nss/Makefile: Likewise.
2163         * sysdeps/gnu/Makefile: Likewise.
2164         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2165         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2166         * sysdeps/s390/s390-64/Makefile: Likewise.
2167         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2168         CPPFLAGS for nscd instead of nonlib.
2169
2170 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2171
2172         * nptl/createthread.c: New file.
2173
2174         * nptl/createthread.c: Moved ...
2175         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2176
2177         * nptl/createthread.c: Add proper top-line comment.
2178         (do_clone): Folded into ...
2179         (create_thread): ... here.  Take new arguments STOPPED_START and
2180         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2181         increment __nptl_threads, do event-reporting logic, do
2182         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2183         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2184         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2185         just send SIGCANCEL.
2186         * nptl/pthread_create.c: Forward-declare create_thread before
2187         including createthread.c.
2188         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2189         declaration, and new macro START_THREAD_SELF to replace argument.
2190         Remove return statement.
2191         (report_thread_creation): New function.
2192         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2193         synchronization logic, and __nptl_nthreads increment here, around
2194         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2195         PD->parent_cancelhandling here, before create_thread.  When
2196         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2197         __deallocate_stack, and ENOMEM translation here.
2198
2199 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2200
2201         [BZ #17616]
2202         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2203         (mptwo): Rename to __mptwo.
2204         (__inv): Use __mptwo instead of mptwo.
2205         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2206         (mptwo): Rename to __mptwo.
2207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2208         of mpone and __mptwo instead of mptwo.
2209         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2210         instead of mpone.
2211         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2212         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2213         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2214         of mpone and __mptwo instead of mptwo.
2215         (__mpranred): Use __mpone instead of mpone.
2216         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2217         variable.
2218         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2219         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2220         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2221         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2222         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2223         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2224         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2225         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2226         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2227         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2228         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2229         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2230         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2231         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2232         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2233         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2234         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2235         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2236         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2237
2238 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2239
2240         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2241         replace BSD Handler xref with BSD Signal Handling.
2242
2243 2014-11-17  Richard Henderson  <rth@redhat.com>
2244
2245         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2246         (_FP_PACK_RAW_2): Remove.
2247         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2248         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2249         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2250         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2251         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2252         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2253         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2254         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2255         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2256         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2257         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2258         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2259         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2260         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2261         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2262         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2263
2264 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2265
2266         * signal/signal.h [__USE_MISC]
2267         (struct sigvec): Remove type.
2268         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2269         (sigvec): Remove declaration.
2270         * sysdeps/posix/sigvec.c: Moved ...
2271         * signal/sigvec.c: ... here, replacing old file.
2272         (struct sigvec): New type, copied from old signal.h definition.
2273         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2274         (__sigvec): Convert definition to prototype.
2275         (sigvec): Replace weak_alias with compat_symbol.
2276         * signal/Versions (libc: GLIBC_2.21): New version set.
2277         * include/signal.h: Remove __sigvec declaration.
2278         * sysdeps/unix/bsd/sigvec.c: Remove file.
2279         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2280         * manual/signal.texi (BSD Handler): Remove subsection.
2281         Move siginterrupt up to ...
2282         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2283         (Blocking in BSD): Fold subsection into its parent.
2284         * NEWS: Mention sigvec removal.
2285
2286 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2287
2288         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2289         (DLA_FMS): Make definition conditional only on [__FMA4__].
2290         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2291         definition.
2292
2293         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2294         Make definition conditional only on [PROF].
2295         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2296         definition.
2297         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2298         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2299
2300         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2301         !__GNUC__].
2302         * include/signal.h (__sigpause): Move declaration above call to
2303         libc_hidden_proto.
2304         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2305         variable.
2306         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2307         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2308
2309 2014-11-14  David S. Miller  <davem@davemloft.net>
2310
2311         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2312         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2313
2314 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2315
2316         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2317         * configure: Regenerated.
2318         * manual/install.texi (Tools for Compilation): Document a
2319         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2320         compiler verified to work.
2321         * INSTALL: Regenerated.
2322
2323         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2324         redeclare with asm name.
2325         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2326         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2327         including <string.h>.
2328         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2329         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2330         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2331         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2332         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2334         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2335
2336 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2337
2338         * stdlib/strtol.c (__strtol): Use prototype definition.
2339
2340         [BZ #17594]
2341         * stdlib/strtol.c (SYM__): New macro.
2342         (SYM__1): Likewise.
2343         (__strtol): Likewise.
2344         (strtol): Rename to __strtol and define as weak alias of
2345         __strtol.  Use libc_hidden_weak.
2346
2347 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2348
2349         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2350         Use numbered labels in inline assembly.
2351
2352 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2353
2354         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2355         Add setjmp LIBC_PROBE.
2356         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2357         Likewise.
2358         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2359         Add longjmp, longjmp_target LIBC_PROBE.
2360         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2361         Likewise.
2362
2363 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2364
2365         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2366         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2367         to get rid of unused variable warning.
2368
2369 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2370
2371         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2372         Check for unwind_backtrace ==  NULL only in SHARED case.
2373         (__backchain_backtrace): Compile only in SHARED case.
2374         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2375         Likewise.
2376         (__backchain_backtrace): Declare as static.
2377
2378 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2379
2380         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2381         (__libc_multiple_threads_ptr): Variable moved ...
2382         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2383
2384 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2385
2386         * conform/GlibcConform.pm: New file.
2387         * conform/conformtest.pl: Use GlibcConform module.
2388         * conform/linknamespace.pl: New file.
2389         * conform/list-header-symbols.pl: Likewise.
2390         * conform/Makefile (linknamespace-symlists-base): New variable.
2391         (linknamespace-symlists-tests): Likewise.
2392         (linknamespace-header-base): Likewise.
2393         (linknamespace-header-tests): Likewise.
2394         (tests-special): Add new tests.
2395         ($(linknamespace-symlists-tests)): New rule.
2396         (linknamespace-libs): New variable.
2397         ($(objpfx)symlist-stdlibs): New rule.
2398         ($(linknamespace-header-tests)): Likewise.
2399         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2400         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2401         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2402         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2403         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2404         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2405         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2406         (test-xfail-ISO/math.h/linknamespace): Likewise.
2407         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2408         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2409         (test-xfail-ISO/time.h/linknamespace): Likewise.
2410         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2411         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2412         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2413         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2414         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2415         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2416         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2417         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2418         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2419         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2420         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2421         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2422         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2423         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2424         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2425         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2426         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2427         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2428         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2429         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2430         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2431         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2432         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2433         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2434         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2435         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2436         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2437         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2438         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2439         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2440         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2441         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2442         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2443         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2444         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2445         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2446         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2447         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2448         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2449         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2450         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2451         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2452         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2453         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2454         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2455         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2456         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2457         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2458         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2459         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2460         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2461         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2462         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2463         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2464         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2465         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2466         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2467         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2468         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2469         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2470         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2471         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2472         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2473         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2474         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2475         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2476         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2477         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2478         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2479         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2480         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2481         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2482         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2483         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2484         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2485         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2486         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2487         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2488         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2489         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2490         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2491         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2492         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2493         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2494         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2495         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2496         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2497         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2498         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2499         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2500         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2501         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2502         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2503         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2504         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2505         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2506         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2507         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2508         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2509         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2510         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2511         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2512         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2513         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2514         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2515         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2516         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2517         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2518         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2519         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2520         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2521         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2522         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2523         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2524         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2525         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2526         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2527         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2528         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2529         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2530         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2531         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2532         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2533         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2534         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2535         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2536         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2537         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2538         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2539         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2540         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2541         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2542         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2543         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2544         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2545         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2546         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2547         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2548         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2549         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2550         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2551         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2552         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2553         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2554         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2555         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2556         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2557         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2558         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2559         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2560
2561         [BZ #17589]
2562         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2563         of fgets_unlocked.
2564
2565         [BZ #17585]
2566         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2567         (memmem): Rename to __memmem and define as weak alias of
2568         __memmem.  Use libc_hidden_weak.
2569         (__memmem): Use libc_hidden_def.
2570         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2571         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2572         memmem.
2573
2574         [BZ #17582]
2575         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2576         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2577         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2578         and define as weak alias of __fgets_unlocked.  Use
2579         libc_hidden_weak.
2580         (__fgets_unlocked): Use libc_hidden_def.
2581         * include/stdio.h (__fgets_unlocked): Declare.  Use
2582         libc_hidden_proto.
2583         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2584         __fgets_unlocked instead of fgets_unlocked.
2585         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2586         (GET_NPROCS_CONF_PARSER): Likewise.
2587         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2588         (GET_NPROCS_CONF_PARSER): Likewise.
2589
2590         [BZ #17574]
2591         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2592         weak alias of __wmemset.  Use libc_hidden_weak.
2593         (__wmemset): Use libc_hidden_def.
2594         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2595         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2596         of wmemset.
2597
2598         [BZ #17573]
2599         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2600         with asm name __mempcpy.
2601         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2602
2603         [BZ #17572]
2604         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2605         and define as weak alias of __rawmemchr.
2606         (__rawmemchr): Do not define as strong alias of rawmemchr.
2607
2608         [BZ #17571]
2609         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2610         alias of __qsort_r.
2611         (qsort): Call __qsort_r instead of qsort_r.
2612         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2613         (__qsort_r): Declare.  Call libc_hidden_proto.
2614         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2615         instead of qsort_r.
2616         * nscd/gai.c (__qsort_r): Define to qsort_r.
2617         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2618         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2619         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2620
2621         [BZ #17570]
2622         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2623         define as weak alias of __malloc_info.
2624
2625         [BZ #17584]
2626         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2627         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2628         (__rewinddir): Use libc_hidden_def.
2629         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2630         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2631         (__rewinddir): Use libc_hidden_def.
2632         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2633         weak alias of __rewinddir.  Don't use libc_hidden_def.
2634         (__rewinddir): Use libc_hidden_def.
2635         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2636         (__rewinddir): Use libc_hidden_proto.
2637         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2638         rewinddir.
2639         (__getcwd): Use __rewinddir instead of rewinddir.
2640
2641         [BZ #17583]
2642         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2643         alias of __fileno.  Use libc_hidden_weak.
2644         (__fileno): Use libc_hidden_def.
2645         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2646         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2647         alias of __ftello.
2648         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2649         __ftello.
2650         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2651         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2652         libc_hidden_def.
2653         (fread_unlocked): Don't use libc_hidden_ver.
2654         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2655         and define as weak alias of __fread_unlocked.  Don't use
2656         libc_hidden_def.
2657         (__fread_unlocked): Use libc_hidden_def.
2658         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2659         (ftello): Don't use libc_hidden_proto.
2660         (__ftello): Declare.  Use libc_hidden_proto.
2661         (fread_unlocked): Don't use libc_hidden_proto.
2662         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2663         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2664         and __ftello instead of fileno, fread_unlocked and ftello.
2665
2666 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2667
2668         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2669         GOT12.
2670         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2671         Likewise.
2672         (_dl_start_user): Likewise.
2673         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2674
2675 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2676             Siddhesh Poyarekar  <siddhesh@redhat.com>
2677
2678         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2679         Move argv and envp down instead of moving argc up.
2680         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2681
2682 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2683
2684         [BZ #17506]
2685         * test-skeleton.c (main): Return successful if one of
2686         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2687         * string/tst-strcoll-overflow.c: Define expected status.
2688
2689 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2690
2691         [BZ #17475]
2692         * locale/iso-639.def: Define Bhili and Tulu language codes.
2693
2694 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2695
2696         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2697
2698 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2699
2700         [BZ #17555]
2701         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2702
2703 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2704
2705         * configure.ac: Updated check of minimal required version to
2706         2.22.
2707         * manual/install.texi (Tools for Compilation): Updated version
2708         number.
2709         * configure: Regenerated.
2710         * INSTALL: Likewise.
2711
2712 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2713
2714         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2715         __tls_get_addr.
2716
2717 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2718
2719         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2720         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2721         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2722         libc_hidden_weak.
2723         (waitpid): Define as alias of __waitpid.
2724         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2725         __waitpid.
2726         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2727         libc_hidden_weak.
2728         (waitpid): Define as alias of __waitpid.
2729         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2730         __libc_waitpid alias.
2731         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2732         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2735         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2736         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2737         alias.
2738         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2739         __waitpid.
2740         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2741         libc_hidden_weak.
2742         (waitpid): Define as alias of __waitpid.
2743
2744 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2745
2746         * manual/llio.texi: Add comment that write safety has been
2747         fixed in Linux.
2748
2749         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2750         (localplt-build-dso): Add elf/ld.so.
2751         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2752         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2753         and free for ld.so.
2754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2755         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2757         Likewise.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2759         Likewise.
2760         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2761         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2762         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2763         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2764         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2765         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2766         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2767         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2768         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2769         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2770         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2771
2772 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2773
2774         [BZ #14132]
2775         * include/libc-symbols.h (INTUSE): Remove macro.
2776         (INTDEF): Likewise.
2777         (INTVARDEF): Likewise.
2778         (_INTVARDEF): Likewise.
2779         (INTDEF2): Likewise.
2780         (INTVARDEF2): Likewise.
2781         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2782         rtld_hidden_def instead of INTVARDEF.
2783         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2784         (_dl_starting_up_internal): Remove declaration.
2785         (_dl_starting_up): Use rtld_hidden_proto.
2786         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2787         declaration.
2788         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2789         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2790         _dl_starting_up.
2791         * elf/dl-writev.h (_dl_writev): Likewise.
2792         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2793         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2794         _dl_starting_up_internal.
2795
2796 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2797
2798         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2799         test-skeleton.c.
2800
2801 2014-11-05  Will Newton  <will.newton@linaro.org>
2802
2803         * benchtests/Makefile: (bench-malloc): Add malloc thread
2804         scalability benchmark.
2805         * benchtests/bench-malloc-threads.c: New file.
2806
2807 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2808
2809         * sysdeps/aarch64/strchrnul.S: New file.
2810
2811 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2812
2813         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2814         definition.
2815         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2816         Likwise.
2817         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2818         Likewise.
2819         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2820         Likewise.
2821         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2822         Likewise.
2823         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2824         Likewise.
2825
2826 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2827
2828         * catgets/test-gencat.c: Use test-skeleton.c.
2829         * catgets/tst-catgets.c: Likewise.
2830         * csu/tst-empty.c: Likewise.
2831         * elf/tst-audit2.c: Likewise.
2832         * elf/tst-global1.c: Likewise.
2833         * elf/tst-pathopt.c: Likewise.
2834         * elf/tst-piemod1.c: Likewise.
2835         * elf/tst-tls10.c: Likewise.
2836         * elf/tst-tls11.c: Likewise.
2837         * elf/tst-tls12.c: Likewise.
2838         * gnulib/tst-gcc.c: Likewise.
2839         * iconvdata/tst-e2big.c: Likewise.
2840         * iconvdata/tst-loading.c: Likewise.
2841         * iconv/tst-iconv1.c: Likewise.
2842         * iconv/tst-iconv2.c: Likewise.
2843         * inet/test-inet6_opt.c: Likewise.
2844         * inet/tst-gethnm.c: Likewise.
2845         * inet/tst-network.c: Likewise.
2846         * inet/tst-ntoa.c: Likewise.
2847         * intl/tst-codeset.c: Likewise.
2848         * intl/tst-gettext2.c: Likewise.
2849         * intl/tst-gettext3.c: Likewise.
2850         * intl/tst-ngettext.c: Likewise.
2851         * intl/tst-translit.c: Likewise.
2852         * io/test-stat.c: Likewise.
2853         * libio/test-fmemopen.c: Likewise.
2854         * libio/tst-freopen.c: Likewise.
2855         * libio/tst-sscanf.c: Likewise.
2856         * libio/tst-ungetwc1.c: Likewise.
2857         * libio/tst-ungetwc2.c: Likewise.
2858         * libio/tst-widetext.c: Likewise.
2859         * localedata/tst-ctype.c: Likewise.
2860         * localedata/tst-digits.c: Likewise.
2861         * localedata/tst-leaks.c: Likewise.
2862         * localedata/tst-mbswcs1.c: Likewise.
2863         * localedata/tst-mbswcs2.c: Likewise.
2864         * localedata/tst-mbswcs3.c: Likewise.
2865         * localedata/tst-mbswcs4.c: Likewise.
2866         * localedata/tst-mbswcs5.c: Likewise.
2867         * localedata/tst-setlocale.c: Likewise.
2868         * localedata/tst-trans.c: Likewise.
2869         * localedata/tst-wctype.c: Likewise.
2870         * localedata/tst-xlocale1.c: Likewise.
2871         * login/tst-grantpt.c: Likewise.
2872         * malloc/tst-calloc.c: Likewise.
2873         * malloc/tst-malloc.c: Likewise.
2874         * malloc/tst-mallocstate.c: Likewise.
2875         * malloc/tst-mcheck.c: Likewise.
2876         * malloc/tst-mtrace.c: Likewise.
2877         * malloc/tst-obstack.c: Likewise.
2878         * math/atest-exp2.c: Likewise.
2879         * math/atest-exp.c: Likewise.
2880         * math/atest-sincos.c: Likewise.
2881         * math/test-matherr.c: Likewise.
2882         * math/test-misc.c: Likewise.
2883         * math/test-powl.c: Likewise.
2884         * math/tst-definitions.c: Likewise.
2885         * misc/tst-dirname.c: Likewise.
2886         * misc/tst-efgcvt.c: Likewise.
2887         * misc/tst-fdset.c: Likewise.
2888         * misc/tst-hsearch.c: Likewise.
2889         * misc/tst-mntent2.c: Likewise.
2890         * nptl/tst-sem7.c: Likewise.
2891         * nptl/tst-sem8.c: Likewise.
2892         * nptl/tst-sem9.c: Likewise.
2893         * nss/test-netdb.c: Likewise.
2894         * posix/tst-fnmatch.c: Likewise.
2895         * posix/tst-getlogin.c: Likewise.
2896         * posix/tst-gnuglob.c: Likewise.
2897         * posix/tst-mmap.c: Likewise.
2898         * pwd/tst-getpw.c: Likewise.
2899         * resolv/tst-inet_ntop.c: Likewise.
2900         * rt/tst-timer.c: Likewise.
2901         * stdio-common/test-fseek.c: Likewise.
2902         * stdio-common/test-popen.c: Likewise.
2903         * stdio-common/test-vfprintf.c: Likewise.
2904         * stdio-common/tst-cookie.c: Likewise.
2905         * stdio-common/tst-fileno.c: Likewise.
2906         * stdio-common/tst-gets.c: Likewise.
2907         * stdio-common/tst-obprintf.c: Likewise.
2908         * stdio-common/tst-perror.c: Likewise.
2909         * stdio-common/tst-sprintf2.c: Likewise.
2910         * stdio-common/tst-sprintf3.c: Likewise.
2911         * stdio-common/tst-sprintf.c: Likewise.
2912         * stdio-common/tst-swprintf.c: Likewise.
2913         * stdio-common/tst-tmpnam.c: Likewise.
2914         * stdio-common/tst-unbputc.c: Likewise.
2915         * stdio-common/tst-wc-printf.c: Likewise.
2916         * stdlib/tst-environ.c: Likewise.
2917         * stdlib/tst-fmtmsg.c: Likewise.
2918         * stdlib/tst-limits.c: Likewise.
2919         * stdlib/tst-rand48-2.c: Likewise.
2920         * stdlib/tst-rand48.c: Likewise.
2921         * stdlib/tst-random2.c: Likewise.
2922         * stdlib/tst-random.c: Likewise.
2923         * stdlib/tst-strtol.c: Likewise.
2924         * stdlib/tst-strtoll.c: Likewise.
2925         * stdlib/tst-tls-atexit.c: Likewise.
2926         * stdlib/tst-xpg-basename.c: Likewise.
2927         * string/test-ffs.c: Likewise.
2928         * string/tst-bswap.c: Likewise.
2929         * string/tst-inlcall.c: Likewise.
2930         * string/tst-strtok.c: Likewise.
2931         * string/tst-strxfrm.c: Likewise.
2932         * sysdeps/x86_64/tst-audit10.c: Likewise.
2933         * sysdeps/x86_64/tst-audit3.c: Likewise.
2934         * sysdeps/x86_64/tst-audit4.c: Likewise.
2935         * sysdeps/x86_64/tst-audit5.c: Likewise.
2936         * time/tst-ftime_l.c: Likewise.
2937         * time/tst-getdate.c: Likewise.
2938         * time/tst-mktime3.c: Likewise.
2939         * time/tst-mktime.c: Likewise.
2940         * time/tst-posixtz.c: Likewise.
2941         * time/tst-strptime2.c: Likewise.
2942         * time/tst-strptime3.c: Likewise.
2943         * wcsmbs/tst-btowc.c: Likewise.
2944         * wcsmbs/tst-mbrtowc.c: Likewise.
2945         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2946         * wcsmbs/tst-wchar-h.c: Likewise.
2947         * wcsmbs/tst-wcpncpy.c: Likewise.
2948         * wcsmbs/tst-wcrtomb.c: Likewise.
2949         * wcsmbs/tst-wcsnlen.c: Likewise.
2950         * wcsmbs/tst-wcstof.c: Likewise.
2951
2952 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2953
2954         [BZ #14132]
2955         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2956         INTDEF.
2957         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2958         declaration.
2959         (_dl_mcount): Use rtld_hidden_proto.
2960         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2961         _dl_mcount.
2962         * elf/rtld.c (_rtld_global_ro): Likewise.
2963
2964         [BZ #14132]
2965         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2966         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2967         of _dl_init_internal.
2968         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2969         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2970         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2971         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2972         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2973         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2974         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2975         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2976         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2977         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2978         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2979         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2980         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2981         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2982         * sysdeps/tile/dl-start.S (_start): Likewise.
2983         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2984         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2985
2986         [BZ #14132]
2987         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2988         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2989         (rtld_progname): Make macro definition unconditional.
2990         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2991         INTDEF.
2992         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2993         (dl_main): Likewise.
2994         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2995         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2996         instead of _dl_argv_internal.
2997         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2998         __GI__dl_argv instead of INTUSE(_dl_argv).
2999         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3000         __GI__dl_argv instead of _dl_argv_internal.
3001
3002         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3003         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3004         macro.
3005         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3006         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3007         New macro.
3008         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3009         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3010         macro.
3011         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3012         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3013
3014 2014-11-04  Andreas Schwab  <schwab@suse.de>
3015
3016         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3017
3018 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3019
3020         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3021         mtvsrd instruction in binary form.
3022
3023 2014-11-03  Andreas Schwab  <schwab@suse.de>
3024
3025         [BZ #17522]
3026         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3027         for less than MB_LEN_MAX use a local buffer of that size.
3028         * libio/tst-fputws.c: New file.
3029         * libio/Makefile (tests): Add tst-fputws.
3030
3031 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3032
3033         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3034         the size of the fpu_fr.fpu_dregs[] array.
3035
3036 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3037
3038         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3039         (__nanosleep): Do not define as alias.
3040         (nanosleep): Define as alias of __nanosleep.
3041         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3042         __libc_nanosleep name.
3043
3044 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3045
3046         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3047         install.texi in comment.
3048
3049 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3050
3051         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3052         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3053         ... add here and use lwsync or sync ...
3054         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3055         ... and add here using lwsync.
3056
3057 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3058
3059         * elf/dl-machine-reject-phdr.h: New file.
3060         * elf/dl-load.c: #include that.
3061         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3062         if that returned true.
3063
3064 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3065
3066         [BZ #17496]
3067         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3068         gen-as-const-headers chunk.  Add a big scare comment after the last
3069         safe place to touch before-compile.
3070
3071 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3072
3073         * manual/install.texi (Tools for Compilation): Update autoconf
3074         version requirements.
3075         * INSTALL: Regenerated.
3076
3077         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3078         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3079         (__libc_pselect): Likewise.
3080
3081         [BZ #14138]
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3086
3087 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3088
3089         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3090         correct barrier instruction.
3091         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3092         Likewise.
3093         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3094         Likewise.
3095
3096 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3097
3098         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3099         after defining inlines.  Instead, just use parens to defeat macro
3100         expansion of __isctype in its declaration.
3101
3102 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3103
3104         * include/sys/uio.h (__libc_readv): Remove declaration.
3105         (__libc_writev): Likewise.
3106         * misc/readv.c (__libc_readv): Rename to __readv.
3107         (__readv): Do not define as alias.
3108         (readv): Define as alias of __readv.
3109         * misc/writev.c (__libc_writev): Rename to __writev.
3110         (__writev): Do not define as alias.
3111         (writev): Define as alias of __writev.
3112         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3113         (__readv): Do not define as alias.
3114         (readv): Define unconditionally as alias of __readv.
3115         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3116         (__writev): Do not define as alias.
3117         (writev): Define unconditionally as alias of __writev.
3118         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3119         name.
3120         (writev): Do not define __libc_writev name.
3121
3122 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3123
3124         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3125         (convert_charseq): New function, broken out of ...
3126         (use_from_charmap): ... here.  Call it.
3127         (use_to_charmap): Use convert_charseq and free instead of duplicating
3128         its code with a variable-length stack struct.
3129
3130 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3131
3132         * include/fcntl.h (__libc_creat): Remove declaration.
3133         * io/creat.c (__libc_creat): Rename to creat.
3134         (creat): Do not define as alias.
3135         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3136         of creat instead of __libc_creat.
3137         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3138         to creat.
3139         (creat): Do not define as alias.
3140         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3141         __libc_creat.
3142         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3143         __libc_creat name.
3144         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3145         Likewise.
3146
3147 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3148
3149         * manual/llio.texi: Add comments discussing why write() may be
3150         considered MT-unsafe on Linux.
3151
3152 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3153
3154         * dl-load.c (local_strdup): Remove.
3155         (expand_dynamic_string_token): Use __strdup.
3156         (decompose_rpath): Likewise.
3157         (_dl_map_object): Likewise.
3158
3159 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3160
3161         [BZ #14132]
3162         * sysdeps/generic/unwind-dw2-fde.c
3163         (__register_frame_info_bases_internal): Do not declare.
3164         (__register_frame_info_table_bases_internal): Likewise.
3165         (__deregister_frame_info_bases_internal): Likewise.
3166         (__register_frame_info_bases): Declare and use hidden_proto before
3167         definition.  Use hidden_def instead of INTDEF.
3168         (__register_frame_info_table_bases): Likewise.
3169         (__deregister_frame_info_bases): Likewise.
3170         (__register_frame_info): Do not use INTUSE.
3171         (__register_frame): Likewise.
3172         (__register_frame_info_table): Likewise.
3173         (__register_frame_table): Likewise.
3174         (__deregister_frame_info): Likewise.
3175         (__deregister_frame): Likewise.
3176
3177 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3178
3179         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3180         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3181         not undefine.
3182         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3183         Likewise.
3184         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3185         Likewise.
3186
3187 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3188
3189         [BZ #14138]
3190         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3191         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3192         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3193         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3194         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3195         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3196         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3197         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3198         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3199         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3200         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3201         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3202         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3203         syscall.
3204         (setfsuid): Likewise.
3205         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3206         (setfsuid): Likewise.
3207         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3208         (setfsuid): Likewise.
3209         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3210         Likewise.
3211         (setfsuid): Likewise.
3212         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3213         (setfsuid): Likewise.
3214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3215         Likewise.
3216         (setfsuid): Likewise.
3217
3218 2014-10-27  Andreas Schwab  <schwab@suse.de>
3219
3220         [BZ #17501]
3221         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3222         check for Slow_SSE4_2 feature bit.
3223         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3224         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3225         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3226         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3227
3228 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3229
3230         * configure.ac: Validate compiler version with a empirical test of
3231         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3232         $CC -v output.
3233         * configure: Regenerated.
3234
3235         * inet/htons.c (htons): Prototypify.
3236         * inet/htonl.c (htonl): Likewise.
3237
3238 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3239
3240         * string/strncat.c (strncat): Improve performance by using strlen.
3241
3242 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3243
3244         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3245
3246 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3247
3248         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3249         Call libc_fetestexcept_aarch64.
3250
3251 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3252
3253         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3254         Call libc_feholdexcept_aarch64.
3255
3256 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3257
3258         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3259         Call get_rounding_mode.
3260
3261 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3262
3263         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3264         Simplify logic.
3265
3266 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3267
3268         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3269         Simplify logic.
3270
3271 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3272
3273         [BZ #14138]
3274         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3275         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3276         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3277         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3278         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3279         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3280         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3281         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3282         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3283         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3284         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3285         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3286         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3287         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3288         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3289         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3290         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3291         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3292         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3293         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3294         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3295         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3296         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3297         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3298         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3299         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3300         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3301         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3302         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3303         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3304         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3305         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3306         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3307         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3308         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3309         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3310         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3311         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3312         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3313         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3314         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3315         syscall.
3316         (geteuid): Likewise.
3317         (getgid): Likewise.
3318         (getuid): Likewise.
3319         (getresgid): Likewise.
3320         (getresuid): Likewise.
3321         (getgroups): Likewise.
3322         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3323         (geteuid): Likewise.
3324         (getgid): Likewise.
3325         (getuid): Likewise.
3326         (getresgid): Likewise.
3327         (getresuid): Likewise.
3328         (getgroups): Likewise.
3329         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3330         (geteuid): Likewise.
3331         (getgid): Likewise.
3332         (getuid): Likewise.
3333         (getresgid): Likewise.
3334         (getresuid): Likewise.
3335         (getgroups): Likewise.
3336         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3337         Likewise.
3338         (geteuid): Likewise.
3339         (getgid): Likewise.
3340         (getuid): Likewise.
3341         (getresgid): Likewise.
3342         (getresuid): Likewise.
3343         (getgroups): Likewise.
3344         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3345         (geteuid): Likewise.
3346         (getgid): Likewise.
3347         (getuid): Likewise.
3348         (getresgid): Likewise.
3349         (getresuid): Likewise.
3350         (getgroups): Likewise.
3351         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3352         Likewise.
3353         (geteuid): Likewise.
3354         (getgid): Likewise.
3355         (getuid): Likewise.
3356         (getgroups): Likewise.
3357
3358         [BZ #14138]
3359         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3360         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3361         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3362         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3363         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3364         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3365         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3366         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3367         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3368         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3369         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3370         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3371         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3372         __chown.
3373         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3374         (lchown): Likewise.
3375         (fchown): Likewise.
3376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3377         Likewise.
3378         (lchown): Likewise.
3379         (fchown): Likewise.
3380         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3381         (lchown): Likewise.
3382         (fchown): Likewise.
3383         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3384         Likewise.
3385         (lchown): Likewise.
3386         (fchown): Likewise.
3387
3388 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3389
3390         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3391         Simplify logic.
3392
3393 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3394
3395         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3396         Cleanup logic.
3397
3398 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3399
3400         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3401         Remove unused include.
3402
3403 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3404
3405         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3406         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3407         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3408         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3409
3410 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3411             Helge Deller <deller@gmx.de>
3412
3413         [BZ #17508]
3414         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3415         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3416         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3417
3418 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3419
3420         [BZ #14132]
3421         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3422         Remove macro definition.
3423         (__ashrdi3_v_glibc20): Likewise.
3424         (__lshrdi3_v_glibc20): Likewise.
3425         (__cmpdi2_v_glibc20): Likewise.
3426         (__ucmpdi2_v_glibc20): Likewise.
3427         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3428         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3429         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3430         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3431         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3432         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3433
3434 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3435
3436         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3437         old GNU extension [0] syntax.
3438         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3439         alloca rather than an array member with variable length.
3440         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3441         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3442         (parse_opt): ... here.  Likewise use alloca there.
3443         Validate the -i argument before checking for rootness.
3444         (send_shutdown): New function, broken out of ...
3445         (parse_opt): ... here.
3446
3447 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3448
3449         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3450         macro to get at the _rt_local_ro field.
3451         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3452         ([PIC] case) or _dl_hwcap ([!PIC] case).
3453         * sysdeps/arm/setjmp.S: Likewise.
3454
3455         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3456         * sysdeps/arm/configure.ac: New check to define it.
3457         * sysdeps/arm/configure: Regenerated.
3458         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3459         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3460         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3461         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3462         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3463         Use move/movt pair instead of a load.
3464         (LDST_GLOBAL): Macro removed.
3465         (LDR_GLOBAL): New macro replaces it.
3466         (LDR_HIDDEN): New macro.
3467         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3468         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3469
3470         * setjmp/tst-setjmp-static.c: New file.
3471         * setjmp/Makefile (tests): Add it.
3472         (tests-static): New variable.
3473
3474 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3475
3476         [BZ #17485]
3477         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3478
3479 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3480
3481         [BZ #14132]
3482         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3483
3484 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3485
3486         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3487
3488 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3489
3490         * io/fts.c (dirent_not_directory): New function.
3491         (fts_build): Call it.
3492
3493 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3494
3495         * nptl/version.c (__nptl_main): Use normal __write rather than
3496         INTERNAL_SYSCALL.
3497         (banner): Update copyright years.
3498
3499         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3500         gettimeofday.
3501         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3502         * nptl/pthread_cond_timedwait.c: Likewise.
3503         * nptl/pthread_mutex_timedlock.c: Likewise.
3504         * nptl/sem_timedwait.c: Likewise.
3505
3506         * sysdeps/nptl/bits/libc-lock.h
3507         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3508         (__libc_lock_init_recursive): Return void, not 0.
3509         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3510         (__libc_rwlock_init): Likewise.
3511         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3512
3513 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3514
3515         [BZ #15215]
3516         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3517         (__pthread_once_slow): ... here.
3518         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3519         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3520
3521 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3522
3523         [BZ #15215]
3524         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3525         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3526         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3527         * nptl/pthread_once.c (__pthread_once): Likewise.
3528         Update comments.
3529
3530 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3531
3532         [BZ #14138]
3533         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3534         name.
3535         (writev): Use __libc_writev as strong name.
3536         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3537         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3538
3539 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3540
3541         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3542
3543         * sysdeps/i386/nptl/tls.h
3544         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3545         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3546         New macros.
3547         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3548         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3549         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3550         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3551         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3552         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3553
3554         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3555         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3556         on [__NR_futex].
3557         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3558         broken out of ...
3559         (__pthread_mutex_init): ... here.  Call it.
3560         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3561         Conditionalize PI cases on [__NR_futex].
3562         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3563         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3564         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3565
3566         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3567         conditional on [SIGSETXID].
3568         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3569         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3570         is defined.  Likewise for SIGSETXID.
3571         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3572         Conditionalize definitions on [SIGSETXID].
3573         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3574         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3575         unblocking on [SIGCANCEL].
3576
3577         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3578         [__NR_set_robust_list].
3579
3580 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3581
3582         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3583         (do_compare): Likewise.
3584
3585 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3586
3587         [BZ #15884]
3588         * string/strcoll_l.c: Don't include stdio.h.
3589         (coll_seq): Remove members idxarr and rulearr.
3590         (get_next_seq_cached): Remove function.
3591         (get_next_seq): Likewise.
3592         (get_next_seq_nocache): Rename to get_next_seq.
3593         (do_compare): Remove function.
3594         (do_compare_nocache): Rename to do_compare.
3595         (STRCOLL): Remove weight and rules cache.
3596
3597 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3598
3599         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3600         * sysdeps/arm/sfp-machine.h: ... to here.
3601         * sysdeps/arm/Implies: Remove arm/soft-fp.
3602
3603 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3604
3605         * conform/data/sys/utsname.h-data (*_t): Allow.
3606         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3607         [POSIX] (WEXITED): Do not expect constant.
3608         [POSIX] (WSTOPPED): Likewise.
3609         [POSIX] (WNOHANG): Likewise.
3610         [POSIX] (WNOWAIT): Likewise.
3611         [POSIX] (siginfo_t): Do not expect type or elements.
3612         [POSIX] (pid_t): Do not expect type.
3613         [POSIX] (signal.h): Do not allow header.
3614         [POSIX] (sys/resource.h): Likewise.
3615         [POSIX] (si_*): Do not allow pattern.
3616         [POSIX] (W*): Likewise.
3617         [POSIX] (P_*): Likewise.
3618         [POSIX] (BUS_*): Likewise.
3619         [POSIX] (CLD_*): Likewise.
3620         [POSIX] (FPE_*): Likewise.
3621         [POSIX] (ILL_*): Likewise.
3622         [POSIX] (POLL_*): Likewise.
3623         [POSIX] (SEGV_*): Likewise.
3624         [POSIX] (SI_*): Likewise.
3625         [POSIX] (TRAP_*): Likewise.
3626         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3627         variable.
3628
3629 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3630
3631         [BZ #12926]
3632         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3633         infinite loop when __recvmsg returns 0.
3634
3635 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3636
3637         * CANCEL-FCT-WAIVE: Remove file.
3638         * CANCEL-FILE-WAIVE: Likewise.
3639
3640         [BZ #14132]
3641         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3642         instead of INTVARDEF.
3643         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3644         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3645         rtld_hidden_data_def instead of INTVARDEF.
3646         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3647         * elf/dl-deps.c (expand_dst): Likewise.
3648         * elf/dl-load.c (_dl_dst_count): Likewise.
3649         (_dl_dst_substitute): Likewise.
3650         (decompose_rpath): Likewise.
3651         (_dl_init_paths): Likewise.
3652         (open_path): Likewise.
3653         (_dl_map_object): Likewise.
3654         * elf/rtld.c (dl_main): Likewise.
3655         (process_dl_audit): Likewise.
3656         (process_envvars): Likewise.
3657         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3658         Remove declaration.
3659         (__libc_enable_secure): Use rtld_hidden_proto.
3660
3661 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3662
3663         * elf/dl-load.c
3664         (add_path): New function broken out of _dl_rtld_di_serinfo.
3665         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3666
3667 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3668
3669         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3670         parentheses around macro arguments.
3671         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3673         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3674         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3675         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3676         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3678         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3682         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3683         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3684         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3685         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3686         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3687         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3689         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3691         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3692         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3693         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3700         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3701         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3702         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3703         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3704         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3705         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3706         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3707         Likewise.
3708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3709         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3710         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3711         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3714         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3715         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3716         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3717         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3718         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3719         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3720         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3721         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3724         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3726         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3727         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3728         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3729         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3730         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3731         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3732         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3733         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3734         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3735         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3736         (_FP_FRAC_SRS_1): Likewise.
3737         (_FP_FRAC_CLZ_1): Likewise.
3738         (_FP_MUL_MEAT_1_imm): Likewise.
3739         (_FP_MUL_MEAT_1_wide): Likewise.
3740         (_FP_MUL_MEAT_1_hard): Likewise.
3741         (_FP_SQRT_MEAT_1): Likewise.
3742         (_FP_FRAC_ASSEMBLE_1): Likewise.
3743         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3744         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3745         (__FP_CLZ_2): Likewise.
3746         (_FP_MUL_MEAT_2_wide): Likewise.
3747         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3748         (_FP_MUL_MEAT_2_gmp): Likewise.
3749         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3750         (_FP_SQRT_MEAT_2): Likewise.
3751         (_FP_FRAC_ASSEMBLE_2): Likewise.
3752         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3753         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3754         (_FP_FRAC_CLZ_4): Likewise.
3755         (_FP_MUL_MEAT_4_wide): Likewise.
3756         (_FP_MUL_MEAT_4_gmp): Likewise.
3757         (_FP_SQRT_MEAT_4): Likewise.
3758         (_FP_FRAC_ASSEMBLE_4): Likewise.
3759         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3760         * soft-fp/op-common.h (_FP_CMP): Likewise.
3761         (_FP_CMP_EQ): Likewise.
3762         (_FP_CMP_UNORD): Likewise.
3763         (_FP_TO_INT): Likewise.
3764         (_FP_FROM_INT): Likewise.
3765         [!__FP_CLZ] (__FP_CLZ): Likewise.
3766         (_FP_DIV_HELP_imm): Likewise.
3767         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3768         Likewise.
3769         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3771         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3772         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3773         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3774         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3779         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3780         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3781         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3782         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3783         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3784         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3785         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3786         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3787         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3788         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3789         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3791         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3793         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3796         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3797         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3798         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3799         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3800         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3801         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3802         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3803         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3804         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3805         (FP_UNPACK_RAW_SP): Likewise.
3806         (FP_PACK_RAW_S): Likewise.
3807         (FP_PACK_RAW_SP): Likewise.
3808         (FP_UNPACK_S): Likewise.
3809         (FP_UNPACK_SP): Likewise.
3810         (FP_UNPACK_SEMIRAW_S): Likewise.
3811         (FP_UNPACK_SEMIRAW_SP): Likewise.
3812         (FP_PACK_S): Likewise.
3813         (FP_PACK_SP): Likewise.
3814         (FP_PACK_SEMIRAW_S): Likewise.
3815         (FP_PACK_SEMIRAW_SP): Likewise.
3816         (_FP_SQRT_MEAT_S): Likewise.
3817         (FP_CMP_S): Likewise.
3818         (FP_CMP_EQ_S): Likewise.
3819         (FP_CMP_UNORD_S): Likewise.
3820         (FP_TO_INT_S): Likewise.
3821         (FP_FROM_INT_S): Likewise.
3822
3823         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3824
3825         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3826         (FP_EX_INVALID_IMZ): Likewise.
3827         (FP_EX_INVALID_IMZ_FMA): Likewise.
3828         (FP_EX_INVALID_ISI): Likewise.
3829         (FP_EX_INVALID_ZDZ): Likewise.
3830         (FP_EX_INVALID_IDI): Likewise.
3831         (FP_EX_INVALID_SQRT): Likewise.
3832         (FP_EX_INVALID_CVI): Likewise.
3833         (FP_EX_INVALID_VC): Likewise.
3834         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3835         "invalid" exceptions.
3836         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3837         (_FP_ADD_INTERNAL): Likewise.
3838         (_FP_MUL): Likewise.
3839         (_FP_FMA): Likewise.
3840         (_FP_DIV): Likewise.
3841         (_FP_CMP_CHECK_NAN): Likewise.
3842         (_FP_SQRT): Likewise.
3843         (_FP_TO_INT): Likewise.
3844         (FP_EXTEND): Likewise.
3845
3846 2014-10-09  Allan McRae  <allan@archlinux.org>
3847
3848         * po/fr.po: Update French translation from translation project.
3849
3850 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3851
3852         [BZ #14132]
3853         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3854         of INTDEF.
3855         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3856         (__cxa_atexit): Use libc_hidden_proto.
3857         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3858
3859         [BZ #14132]
3860         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3861         declaration.
3862         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3863         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3864         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3865         [!_ISOMAC] (__iswctype_internal): Likewise.
3866         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3867         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3868         alias.
3869         (fcntl): Remove __fcntl_internal alias.
3870         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3871         __connect_internal alias.
3872         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3873         Likewise.
3874
3875         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3876         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3877         FP_DENORM_ZERO.
3878         (_FP_CHECK_FLUSH_ZERO): New macro.
3879         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3880         (_FP_CMP): Likewise.
3881         (_FP_CMP_EQ): Likewise.
3882         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3883         FP_DENORM_ZERO.
3884         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3885         (FP_TRUNC): Likewise.
3886
3887         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3888         treated as invalid conversion, not as normal exponent.
3889
3890         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3891         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3892         (_FP_CMP_EQ): Likewise.
3893         (_FP_CMP_UNORD): Likewise.
3894         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3895         (FP_CMP_EQ_D): Likewise.
3896         (FP_CMP_UNORD_D): Likewise.
3897         * soft-fp/extended.h (FP_CMP_E): Likewise.
3898         (FP_CMP_EQ_E): Likewise.
3899         (FP_CMP_UNORD_E): Likewise.
3900         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3901         (FP_CMP_EQ_Q): Likewise.
3902         (FP_CMP_UNORD_Q): Likewise.
3903         * soft-fp/single.h (FP_CMP_S): Likewise.
3904         (FP_CMP_EQ_S): Likewise.
3905         (FP_CMP_UNORD_S): Likewise.
3906         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3907         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3908         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3909         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3910         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3911         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3912         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3913         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3914         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3915         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3916         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3917         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3918         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3919         to FP_CMP_Q.
3920         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3921         FP_CMP_Q.
3922         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3923         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3924         FP_CMP_EQ_Q.
3925         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3926         FP_CMP_Q.
3927         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3928         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3929         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3930         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3931         FP_CMP_EQ_Q.
3932         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3933         FP_CMP_Q.
3934         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3935         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3936         FP_CMP_EQ_Q.
3937         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3938         FP_CMP_Q.
3939         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3940         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3941         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3942         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3943         FP_CMP_EQ_Q.
3944
3945         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3946         a subnormal result, set the underflow exception if trapping on
3947         underflow is enabled.
3948         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3949         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3950         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3951         redefine to 0.
3952         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3953         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3954         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3955         * soft-fp/extendxftf2.c (__extendxftf2): Use
3956         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3957
3958         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3959         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3960         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3961         FP_HANDLE_EXCEPTIONS.
3962         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3963         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3964         FP_HANDLE_EXCEPTIONS.
3965         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3966         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3967         FP_HANDLE_EXCEPTIONS.
3968         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3969         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3970         FP_HANDLE_EXCEPTIONS.
3971
3972 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3973
3974         [BZ #14132]
3975         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3976         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3977         use INTUSE.
3978         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3979         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3980         Remove alias.
3981         (__adjtimex): Define using libc_hidden_ver.
3982         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3983         Remove declaration.
3984         (ntp_gettime): Call __adjtimex directly.
3985         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3986         Remove declaration.
3987         (ntp_gettimex): Call __adjtimex directly.
3988         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3989         __adjtimex_internal alias.
3990
3991 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3992
3993         [BZ #17460]
3994         * nscd/nscd.c (more_help): Rewrite list of tables collection
3995         using xstrdup and asprintf.
3996
3997         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3998
3999 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4000             Roland McGrath  <roland@hack.frob.com>
4001
4002         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4003         (do_lookup_unique): ... local function 'enter' here; update callers.
4004
4005 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4006
4007         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4008         compat_symbol calls on [SHARED].
4009         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4010         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4011         Remove.
4012         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4013         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4014         (oldsetrlimit): Remove.
4015         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4017         (lchown): New syscall entry.
4018         (oldsetrlimit): Remove.
4019         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4021         (oldsetrlimit): Remove.
4022         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4023
4024         [BZ #14138]
4025         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4026         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4027         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4028         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4029         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4030         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4031         (fchown): Likewise.
4032         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4033         (fchown): Likewise.
4034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4035         Likewise.
4036
4037 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4038
4039         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4040         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4041         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4042         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4043         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4044         Likewise.
4045         (__old_sem_post): Likewise.
4046
4047 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4048
4049         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4050         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4051         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4052         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4053         Use INLINE_VSYSCALL macro.
4054         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4055         __vdso_clock_gettime.
4056         * sysdeps/unix/sysv/linux/tile/init-first.c
4057         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4058         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4059         __vdso_clock_gettime.
4060
4061         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4062         to set up frame more cleanly.
4063
4064         * sysdeps/tile/memcmp.c: New file.
4065
4066         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4067
4068         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4069         * sysdeps/tile/tilegx/strcasestr.c: New file.
4070         * sysdeps/tile/tilegx/strnlen.c: New file.
4071         * sysdeps/tile/tilegx/strstr.c: New file.
4072
4073         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4074
4075 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4076
4077         * nptl/tst-setuid3.c: Write errors to stdout.
4078
4079 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4080
4081         * elf/dl-deps.c
4082         (preload): New functions broken out of _dl_map_object_deps.
4083         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4084
4085 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4086
4087         [BZ #14138]
4088         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4089         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4090
4091 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4092
4093         * sysdeps/mips/strcmp.S: New.
4094
4095 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4096
4097         [BZ #14138]
4098         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4099         (linkat): Likewise.
4100         (mkdirat): Likewise.
4101         (readlinkat): Likewise.
4102         (renameat): Likewise.
4103         (symlinkat): Likewise.
4104         (unlinkat): Likewise.
4105         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4106         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4107         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4108         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4109         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4110         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4111         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4112
4113 2014-09-30  Will Newton  <will.newton@linaro.org>
4114
4115         * math/math.h: Define long double math functions if
4116         _LIBC_TEST is defined.
4117         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4118
4119         * localedata/Makefile: Move assignment to tests-special
4120         into an ifdef testing run-built-tests.
4121         * timezone/Makefile: Likewise.
4122
4123 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4124
4125         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4126         with $(BASH) not $(SHELL).
4127
4128 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4129             Matthew LeGendre  <legendre1@llnl.gov>
4130
4131         [BZ #17411]
4132         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4133         l_reloc_result.
4134
4135 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4136
4137         * stdio-common/printf_fp.c
4138         (hack_digit): New function, broken out of ...
4139         (__printf_fp): ... local function here.  Update call sites.
4140         hack_digit now takes an additional parameter that is a pointer
4141         to a struct of the referenced locals.  Those locals moved inside
4142         the struct and references updated.
4143
4144 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4145
4146         * aclocal.m4: Require autoconf 2.69.
4147         * configure: Regenerated.
4148         * sysdeps/aarch64/configure: Likewise.
4149         * sysdeps/alpha/configure: Likewise.
4150         * sysdeps/arm/armv7/configure: Likewise.
4151         * sysdeps/arm/configure: Likewise.
4152         * sysdeps/ia64/configure: Likewise.
4153         * sysdeps/mach/configure: Likewise.
4154         * sysdeps/mips/configure: Likewise.
4155         * sysdeps/s390/configure: Likewise.
4156         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4158
4159         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4160         file.
4161         * sysdeps/ia64/configure.ac: Likewise.
4162
4163 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4164
4165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4166         specify symbol version for ld.so.  Do not include entry for
4167         libpthread.
4168         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4169         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4170         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4171
4172         [BZ #14171]
4173         * Makeconfig [$(build-shared) = yes]
4174         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4175         makefiles.
4176         [$(build-shared) = yes && $(soversions.mk-done) = t]
4177         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4178         [$(build-shared) = yes && $(soversions.mk-done) = t]
4179         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4180         to Makerules.
4181         [$(build-shared) = yes && $(soversions.mk-done) = t]
4182         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4183         here.
4184         [$(build-shared) = yes && $(soversions.mk-done) = t]
4185         (common-generated): Don't append gnu/lib-names.h and
4186         gnu/lib-names.stmp here.
4187         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4188         (lib-names-h-abi): New variable.
4189         [$(build-shared) = yes && $(soversions.mk-done) = t]
4190         (lib-names-stmp-abi): Likewise.
4191         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4192         abi-variants] (before-compile): Append
4193         $(common-objpfx)$(lib-names-h-abi).
4194         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4195         abi-variants] (common-generated): Append gnu/lib-names.h.
4196         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4197         abi-variants] (install-others-nosubdir): Depend on
4198         $(inst_includedir)/$(lib-names-h-abi).
4199         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4200         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4201         [$(build-shared) = yes && $(soversions.mk-done) = t]
4202         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4203         [$(build-shared) = yes && $(soversions.mk-done) = t]
4204         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4205         [$(build-shared) = yes && $(soversions.mk-done) = t]
4206         (common-generated): Append $(lib-names-h-abi) and
4207         $(lib-names-stmp-abi).
4208         * scripts/lib-names.awk: Do not handle multi being set.
4209         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4210         Remove variable.
4211         (abi-lp64_be-ld-soname): Likewise.
4212         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4213         Likewise.
4214         (abi-hard-ld-soname): Likewise.
4215         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4216         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4217         Remove variable.
4218         (abi-o32_hard-ld-soname): Likewise.
4219         (abi-o32_soft_2008-ld-soname): Likewise.
4220         (abi-o32_hard_2008-ld-soname): Likewise.
4221         (abi-n32_soft-ld-soname): Likewise.
4222         (abi-n32_hard-ld-soname): Likewise.
4223         (abi-n32_soft_2008-ld-soname): Likewise.
4224         (abi-n32_hard_2008-ld-soname): Likewise.
4225         (abi-n64_soft-ld-soname): Likewise.
4226         (abi-n64_hard-ld-soname): Likewise.
4227         (abi-n64_soft_2008-ld-soname): Likewise.
4228         (abi-n64_hard_2008-ld-soname): Likewise.
4229         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4230         Likewise.
4231         (abi-64-v2-ld-soname): Likewise.
4232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4233         ld.so entries.
4234         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4235         variable.
4236         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4237         entry.
4238         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4239         variable.
4240         (abi-64-ld-soname): Likewise.
4241         (abi-x32-ld-soname): Likewise.
4242         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4243         entry.
4244         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4245
4246 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4247
4248         [BZ #14138]
4249         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4250         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4251         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4252         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4253         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4254         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4255         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4256         syscall entry for GLIBC_2.2 symbol version.
4257         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4258         Likewise.
4259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4260         (setrlimit): Likewise.
4261         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4262         Likewise.
4263
4264 2014-09-23  Will Newton  <will.newton@linaro.org>
4265
4266         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4267         _LINUX_ARM_SYSDEP_H include guard too.
4268         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4269         define.
4270
4271 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4272
4273         * sysdeps/unix/sysv/linux/eventfd.c:
4274         Make first argument unsigned.
4275         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4276         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4277
4278 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4279
4280         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4281         * socket/sys/socket.h: Likewise
4282         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4283
4284 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4285
4286         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4287
4288 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4289
4290         * time/tst-ftime.c: New test.
4291         * time/Makefile (tests): Add tst-ftime.
4292
4293 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4294
4295         * soft-fp/extended.h: Fix comment formatting.
4296         * soft-fp/op-1.h: Likewise.
4297         * soft-fp/op-2.h: Likewise.
4298         * soft-fp/op-4.h: Likewise.
4299         * soft-fp/op-8.h: Likewise.
4300         * soft-fp/op-common.h: Likewise.
4301         * soft-fp/soft-fp.h: Likewise.
4302
4303         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4304
4305 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4306
4307         [BZ #6652]
4308         * Makeconfig (soversions-default-setname): Remove variable.
4309         ($(common-objpfx)soversions.i): Don't pass default_setname to
4310         soversions.awk.
4311         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4312         oldest_abi to abi-versions.awk.
4313         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4314         * config.make.in (oldest-abi): Remove variable.
4315         * configure.ac (--enable-oldest-abi): Remove configure option.
4316         * configure: Regenerated.
4317         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4318         text.
4319         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4320         * scripts/soversions.awk: Do not handle default_setname variable.
4321         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4322         variable.
4323         * sysdeps/mach/hurd/configure: Regenerated.
4324         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4325         variable.
4326         * sysdeps/unix/sysv/linux/configure: Regenerated.
4327
4328 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4329
4330         * elf/Makefile (CFLAGS-interp.c): Remove.
4331         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4332         path string.
4333         * elf/interp.c: Include generated runtime-linker.h
4334
4335         * Makerules (lib%.so): Don't include $(+interp) in
4336         prerequisites.
4337         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4338         * dlfcn/eval.c: Remove file.
4339
4340         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4341         macros.
4342
4343         [BZ #17266]
4344         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4345         4.2 and newer.
4346
4347         [BZ #17370]
4348         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4349
4350 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4351             Jakub Jelinek  <jakub@redhat.com>
4352
4353         [BZ #17266]
4354         * libio/stdio.h: Check definition of __fortify_function
4355         instead of __extern_always_inline to include bits/stdio2.h.
4356         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4357         check if __extern_always_inline is defined.
4358         [__USE_MISC || __USE_XOPEN]: Likewise.
4359         [__USE_ISOC99] Likewise.
4360         * misc/sys/cdefs.h (__fortify_function): Define only if
4361         __extern_always_inline is defined.
4362         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4363         __extern_always_inline and __extern_inline only for g++-4.3
4364         and newer or a compatible gcc.
4365
4366 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4367
4368         [BZ #17371]
4369         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4370         last change to handle zero prefix length.
4371
4372 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4373
4374         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4375         _SC_REGEX_VERSION.
4376
4377         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4378         _POSIX_RAW_SOCKETS.
4379
4380 2014-09-13  Allan McRae  <allan@archlinux.org>
4381
4382         * po/ru.po: Update Russian translation from translation project.
4383
4384 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4385
4386         * locale/programs/locale.c (show_locale_vars): Inline local function
4387         into its sole call site.  Clean up some style nits.
4388         (print_item): New function, broken out of ...
4389         (show_info): ... local function here.  Clean up style nits.
4390
4391         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4392         out of ...
4393         (set_class_defaults): ... local function set_default here.
4394         Define set_default as a macro locally to pass constant parameters.
4395         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4396         rather than a shared local.
4397
4398         * stdlib/rpmatch.c (try): New function, broken out of ...
4399         (rpmatch): ... local function here.  Also, prototypify definition.
4400
4401 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4402
4403         * scripts/soversions.awk: Do not handle configuration names.
4404         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4405         vendor and os variables to soversions.awk.
4406         * configure.ac: Do not modify gnu-* host_os.
4407         * configure: Regenerated
4408         * shlib-versions: Remove first column with configuration names.
4409         * nptl/shlib-versions: Likewise.
4410         * nptl_db/shlib-versions: Likewise.
4411         * sysdeps/hppa/shlib-versions: Likewise.
4412         * sysdeps/m68k/shlib-versions: Likewise.
4413         * sysdeps/mach/hurd/shlib-versions: Likewise.
4414         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4415         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4416         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4417         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4418         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4419         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4420         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4421         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4423         Likewise.
4424         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4425         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4426         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4427         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4428         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4429         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4430         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4431         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4432
4433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4434         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4436         Regenerated.
4437         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4439         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4440
4441         * shlib-versions: Remove OS-specific entries.  Moved to files in
4442         sysdeps.
4443         * sysdeps/mach/hurd/shlib-versions: New file.
4444         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4445
4446         * nptl/shlib-versions: Remove architecture-specific entries.
4447         Moved to files in sysdeps.
4448         * shlib-versions: Likewise.
4449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4450         file.
4451         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4452         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4453         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4454         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4455
4456         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4457         (UDP_NO_CHECK6_RX): Likewise.
4458
4459 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4460
4461         * sysdeps/posix/sysconf.c (__sysconf): Spell
4462         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4463
4464 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4465
4466         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4467         loading.
4468         * iconv/Versions (__gconv_transliterate): Export for use from
4469         gconv modules.
4470         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4471         (struct __gconv_trans_data, __gconv_trans_fct,
4472         __gconv_trans_context_fct, __gconv_trans_query_fct,
4473         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4474         definitions.
4475         (struct __gconv_step_data): Remove __trans member.
4476         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4477         longer hidden.  Remove unused trans_data argument.
4478         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4479         (__gconv_translit_find): Remove declaration.
4480         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4481         prototype.
4482         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4483         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4484         trans_data argument.  Add hidden definition.
4485         (__gconv_translit_find): Remove.
4486         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4487         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4488         * iconv/skeleton.c: Remove transliteration initialization.
4489         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4490         __gconv_step_data initialization.
4491         * libio/iofwide.c (__libio_translit_): Remove.
4492         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4493         * wcsmbs/btowc.c (__btowc): Likewise.
4494         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4495         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4496         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4497         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4498         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4499         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4500         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4501         * wcsmbs/wctob.c (wctob): Likewise.
4502
4503 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4504
4505         [BZ #16194]
4506         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4507         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4508         register usage.
4509         * sysdeps/x86/Makefile: Adjust.
4510
4511 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4512             Roland McGrath  <roland@hack.frob.com>
4513
4514         * locale/weight.h: Add include guard.
4515         (findidx): Make static rather than auto; take new parameters
4516         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4517         * locale/weightwc.h: Likewise.
4518         * posix/fnmatch_loop.c
4519         (FCT): Change type of EXTRA from int32_t to wint_t.
4520         Don't include either header inside the function.
4521         Call FINDIDX rather than findidx, and pass new arguments.
4522         #undef FINDIDX at the end of the file.
4523         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4524         FINDIDX before including fnmatch_loop.c for the non-wide version.
4525         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4526         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4527         for the wide version.
4528         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4529         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4530         Pass new arguments to findidx.
4531         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4532         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4533         Don't #include it inside the function.  Pass new arguments to findidx.
4534         * posix/regex_internal.h
4535         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4536         (re_string_elem_size_at): Don't #include it inside the function.
4537         Pass new arguments to findidx.
4538         * string/strcoll_l.c: #include WEIGHT_H at top level.
4539         (get_next_seq): Don't #include it inside the function.
4540         Pass new arguments to findidx.
4541         (get_next_seq_nocache): Likewise.
4542         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4543         (STRXFRM): Don't #include it inside the function.
4544         Pass new arguments to findidx.
4545
4546 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4547
4548         [BZ #17344]
4549         * malloc/malloc.c (unlink): Turn asserts into a call to
4550         malloc_printerr.
4551
4552 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4553
4554         [BZ #17370]
4555         * libio/wfileops (do_ftell_wide): Free OUT.
4556
4557 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4558
4559         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4560
4561 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4562
4563         [BZ #17363]
4564         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4565         group if the current group is empty.
4566
4567 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4568
4569         * benchtests/bench-memset.c (test_main): Add more test from size
4570         from 32 to 512 bytes.
4571         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4572         Add POWER8 memset object.
4573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4574         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4575         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4576         implementation.
4577         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4578         Likewise.
4579         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4580         multiarch POWER8 memset optimization.
4581         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4582         POWER8 memset optimization.
4583
4584         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4585         Remove bzero multiarch objects.
4586         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4587         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4588         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4589         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4590         Remove define.
4591         [__bzero]: Redefine to specific name.
4592         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4593         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4594         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4595         define.
4596         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4597         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4598
4599 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4600
4601         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4602         warnings into errors.
4603
4604         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4605         __cxa_thread_atexit_impl prototype.
4606
4607 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4608
4609         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4610         Fix capitalization of error message.
4611
4612 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4613
4614         * sysdeps/mips/preconfigure: Modify ABI tests.
4615
4616 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4617
4618         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4619
4620 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4621             Carlos O'Donell  <carlos@systemhalted.org>
4622
4623         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4624         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4625         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4626         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4627         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4628         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4629         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4630         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4631         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4632         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4633         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4634         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4635         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4636         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4637         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4638         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4639         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4640         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4642         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4644         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4645         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4646         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4647         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4648         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4649         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4650         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4651         Deconditionalize the code that was previously under [RESET_PID].
4652         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4653         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4654         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4655         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4656         include sysdep.h.
4657
4658 2014-09-08  Allan McRae  <allan@archlinux.org>
4659
4660         * version.h (RELEASE): Set to "development".
4661         (VERSION): Set to "2.20.90"
4662
4663 2014-09-07  Allan McRae  <allan@archlinux.org
4664
4665         * version.h (RELEASE): Set to "stable".
4666         (VERSION): Set to "2.20"
4667         * include/features.h (__GLIBC_MINOR__): Set to 20.
4668
4669         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4670         Liebler.
4671
4672         * po/ko.po: Update Korean translation from translation project.
4673
4674 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4675
4676         [BZ #17354]
4677         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4678         macro for handling signed relocations.
4679
4680 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4681
4682         [BZ #17325]
4683         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4684         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4685         assert.
4686         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4687         * iconvdata/ibm935.c (BODY): Likewise.
4688         * iconvdata/ibm937.c (BODY): Likewise.
4689         * iconvdata/ibm939.c (BODY): Likewise.
4690         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4691         assert.
4692         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4693         script.
4694         * iconvdata/run-iconv-test.sh: New test loop for checking for
4695         decoder crashers.
4696
4697 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4698
4699         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4700         libm_hidden_ver.
4701
4702 2014-09-01  Allan McRae  <allan@archlinux.org>
4703
4704         * po/eo.po: Update Esperanto translation from translation project.
4705
4706         * po/ca.po: Update Catalan translation from translation project.
4707
4708 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4709
4710         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4711         __proc_dostop call.
4712
4713 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4714
4715         [BZ #17319]
4716         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4717         to call set_thread_area instead of hand written asm.
4718         (__NR_set_thread_area): Removed define.
4719         (TLS_FLAG_WRITABLE): Likewise.
4720         (__ASSUME_SET_THREAD_AREA): Remove check.
4721         (TLS_EBX_ARG): Remove define.
4722         (TLS_LOAD_EBX): Likewise.
4723
4724 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4725
4726         Simplify atomicity of socket creation in bind.
4727
4728         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4729         looking up the name after linking the file.
4730
4731 2014-08-27  Allan McRae  <allan@archlinux.org>
4732
4733         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4734
4735 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4736
4737         [BZ #17187]
4738         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4739         trans_compare, open_translit, __gconv_translit_find):
4740         Remove module loading code.
4741
4742 2014-08-26  Allan McRae  <allan@archlinux.org>
4743
4744         * po/vi.po: Update Vietnamese translation from translation project.
4745
4746         * po/uk.po: Update Ukrainian translation from translation project.
4747
4748         * po/fr.po: Update French translation from translation project.
4749
4750         * po/ru.po: Update Russian translation from translation project.
4751
4752         * po/pl.po: Update Polish translation from translation project.
4753
4754         * po/cs.po: Update Czech translation from translation project.
4755
4756         * po/de.po: Update German translation from translation project.
4757
4758         * po/bg.po: Update Bulgarian translation from translation project.
4759
4760         * po/sv.po: Update Sweedish translation from translation project.
4761
4762         * po/nl.po: Update Dutch translation from translation project.
4763
4764         * po/es.po: Update Spanish translation from translation project.
4765
4766 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4767
4768         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4769
4770         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4771         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4772         (CPPFLAGS-iconvconfig): Likewise.
4773         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4774
4775         * include/libc-symbols.h: Remove unnecessary check for
4776         NOT_IN_libc.
4777         * nptl/pthreadP.h: Likewise.
4778         * sysdeps/aarch64/setjmp.S: Likewise.
4779         * sysdeps/alpha/setjmp.S: Likewise.
4780         * sysdeps/arm/sysdep.h: Likewise.
4781         * sysdeps/i386/setjmp.S: Likewise.
4782         * sysdeps/m68k/setjmp.c: Likewise.
4783         * sysdeps/posix/getcwd.c: Likewise.
4784         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4785         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4786         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4787         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4788         * sysdeps/sh/sh3/setjmp.S: Likewise.
4789         * sysdeps/sh/sh4/setjmp.S: Likewise.
4790         * sysdeps/unix/alpha/sysdep.h: Likewise.
4791         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4792         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4793         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4794         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4797         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4798         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4799         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4802         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4803         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4804         * sysdeps/x86_64/setjmp.S: Likewise.
4805
4806 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4807
4808         [BZ #17263]
4809         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4810         <stdint.h>.
4811         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4812         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4813
4814 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4815
4816         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4817
4818         [BZ #17262]
4819         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4820         and __x86_64__ when disabling x87 inline functions.
4821
4822 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4823
4824         [BZ #17259]
4825         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4826         asm statement with __cpuid_count.
4827
4828 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4829
4830         * configure.ac: Change __ehdr_start code to dereference the struct.
4831         Run readelf on the output to look for relocations.
4832         * configure: Regenerated.
4833
4834 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4835
4836         [BZ #17261]
4837         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4838         value to 0.
4839         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4840
4841 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4842
4843         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4844
4845 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4846
4847         [BZ #16892]
4848         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4849         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4850
4851 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4852
4853         * malloc/malloc.c: Fix typo in comment.
4854
4855 2014-08-09  Allan McRae  <allan@archlinux.org>
4856
4857         * Regenerate libc.po.
4858
4859 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4860
4861         * intl/tst-gettext2.sh: Check every lang file for creation.
4862
4863 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4864
4865         * sysdeps/aarch64/fpu/math_private.h
4866         (libc_feholdsetround_noex_aarch64_ctx): New function.
4867
4868 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4869
4870         * sysdeps/arm/armv6/strcpy.S (strcpy):
4871         Fix performance issue in misaligned cases.
4872
4873 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4874
4875         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4876         Move definition from termios.h.
4877         (struct termio): Likewise.
4878         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4879         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4880         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4881         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4882         Likewise.
4883         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4884         Move definition to ioctl-types.h
4885         (struct termio): Likewise.
4886         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4887         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4888         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4889         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4890         Likewise.
4891
4892 2014-08-05  Richard Henderson  <rth@redhat.com>
4893
4894         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4895         exceptions.
4896         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4897         Add fraiseexcpt.
4898         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4899         Use __feraiseexcept.
4900         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4901         Protect libm symbols with IS_IN_libm.
4902
4903         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4904
4905 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4906
4907         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4908
4909 2014-08-04  Will Newton  <will.newton@linaro.org>
4910
4911         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4912         file.
4913
4914 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4915
4916         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4917         variants for each function.
4918
4919 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4920
4921         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4922         appended ...
4923         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4924         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4925         appended ...
4926         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4927         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4928         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4929         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4930         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4931         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4932         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4933         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4934         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4935         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4936         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4937         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4938         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4939         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4940         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4941         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4942         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4943         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4944         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4945         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4946         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4947         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4948         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4949         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4950         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4951         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4952         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4953         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4954         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4955         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4956         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4957         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4958         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4959         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4960         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4961         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4962         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4963         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4964         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4965         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4966         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4967         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4968         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4969         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4970         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4971         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4972         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4973         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4974         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4975         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4976         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4977         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4978         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4979         Update #include.
4980         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4981         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4982
4983 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4984
4985         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4986         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4987         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4988         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4989         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4990         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4991
4992 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4993
4994         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4995         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4996         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4997         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4998
4999 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5000
5001         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5002         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5003         (__libc_vfork): Define function under this name.
5004         (__vfork): Define as an alias.
5005         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5006         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5007
5008 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5009
5010         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5011         that was previously under [RESET_PID].
5012         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5013
5014 2014-08-04  Andreas Schwab  <schwab@suse.de>
5015
5016         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5017
5018 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5019
5020         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5021         (main): Likewise.
5022
5023 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5024
5025         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5026
5027 2014-08-01  Richard Henderon  <rth@redhat.com>
5028
5029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5030         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5031         typo in exact zero test.
5032         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5033         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5034         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5035
5036 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5037
5038         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5039         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5040         * sysdeps/arm/sysdep.h: ... here.
5041         [!__ASSEMBLER__]: Include <stdint.h>.
5042
5043 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5044
5045         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5046         (HAVE_WCTYPE_H): Likewise.
5047         (HAVE_ISWCTYPE): Likewise.
5048         (ENABLE_NLS): Likewise.
5049         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5050         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5051
5052         * posix/regex_internal.c: Check if DEBUG is defined and is
5053         set.
5054
5055         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5056         (HAVE_MBSRTOWCS): Likewise.
5057         * posix/fnmatch.c: Include string.h unconditionally.
5058
5059 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5060
5061         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5062         reversal.
5063
5064 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5065
5066         * sysdeps/generic/safe-fatal.h: New file.
5067         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5068         * nptl/forward.c: Include it.
5069         (__pthread_unwind): Use __safe_fatal as default action, rather
5070         than a bogus use of INTERNAL_SYSCALL that could never work.
5071
5072         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5073         * configure.ac (libc_cv_builtin_trap): New test.
5074         * configure: Regenerated.
5075         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5076         (ABORT_INSTRUCTION): Define using __builtin_trap.
5077
5078         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5079         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5080         * sysdeps/nptl/nptl-signals.h: New file.
5081         * nptl/pthreadP.h: Include <nptl-signals.h>.
5082
5083 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5084
5085         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5086         (ONE_DIRECTION): Define.
5087         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5088         (ONE_DIRECTION): Define.
5089         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5090         (ONE_DIRECTION): Define.
5091
5092 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5093
5094         * sysdeps/s390/Makefile: Delete file.
5095         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5096         * sysdeps/s390/__longjmp.c: Delete file.
5097         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5098         Remove fields __flags and __reserved.
5099         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5100         and add versioning.
5101         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5102         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5103         * sysdeps/s390/rtld-setjmp.S: Likewise.
5104         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5105         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5106         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5107         * sysdeps/s390/s390-32/setjmp.S: ... here.
5108         Add versioning.
5109         (__sigsetjmp): Remove setting __flags field.
5110         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5111         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5112         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5113         * sysdeps/s390/s390-64/setjmp.S: ... here.
5114         Add versioning.
5115         (__sigsetjmp): Remove setting __flags field.
5116         * sysdeps/s390/setjmp.S: Delete file.
5117         * sysdeps/s390/sigjmp.c: Likewise.
5118         * sysdeps/s390/v1-longjmp.c: Likewise.
5119         * sysdeps/s390/v1-setjmp.h: Likewise.
5120         * sysdeps/s390/v1-sigjmp.c: Likewise.
5121         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5122         Remove v1-longjmp_chk.
5123         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5124         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5125         Include debug/longjmp_chk.c and add versioning.
5126         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5127         Include nptl/pt-longjmp.c and add versioning.
5128         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5129         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5130         Include __longjmp.c.
5131         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5132         Move to ...
5133         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5134         (__getcontext): Remove setting __flags field.
5135         Add versioning.
5136         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5137         Don't restore upper high grps.
5138         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5139         Likewise.
5140         (__swapcontext): Remove setting uc_flags field.
5141         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5142         Delete file.
5143         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5144         Include __longjmp.c.
5145         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5146         Move to ...
5147         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5148         (__getcontext): Remove setting __flags field.
5149         Add versioning.
5150         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5151         (__swapcontext): Remove setting uc_flags field.
5152         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5153         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5154         Remove fields uc_high_gprs and __reserved.
5155         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5156         New file with reverted content.
5157         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5158         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5159         Regenerated.
5160         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5161         Regenerated.
5162
5163 2014-07-31  Andreas Schwab  <schwab@suse.de>
5164
5165         * config.h.in (HAVE_IFUNC): Define to 0.
5166         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5167         definedness.
5168
5169 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5170
5171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5172         memmove-avx-unaligned, memcpy-avx-unaligned and
5173         mempcpy-avx-unaligned.
5174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5175         Add tests for AVX memcpy functions.
5176         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5177         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5178         memcpy_chk.
5179         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5180         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5181         memmove_chk.
5182         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5183         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5184         mempcpy_chk.
5185         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5186         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5187         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5188
5189 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5190
5191         [BZ #17213]
5192         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5193         powerpc64le.
5194
5195 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5196
5197         [BZ #16839]
5198         * manual/llio.texi: Add section about open file description locks.
5199         * manual/examples/ofdlocks.c: Example of open file description
5200         lock usage.
5201         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5202         F_OFD_SETLK, and F_OFD_SETLKW.
5203
5204 2014-07-23  Allan McRae  <allan@archlinux.org>
5205
5206         * po/es.po: Update Spanish translation from translation project.
5207
5208 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5209
5210         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5211
5212 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5213
5214         [BZ #17078]
5215         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5216         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5217         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5218
5219 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5220
5221         [BZ #17088]
5222         * math/fesetenv.c (__fesetenv)
5223         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5224         * math/feupdateenv.c (__feupdateenv)
5225         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5226
5227         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5228         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5229         (__ASSUME_SOCKETCALL): Do not define.
5230
5231         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5232         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5233         (__ASSUME_SOCKETCALL): Do not define.
5234         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5235         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5236         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5237         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5238         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5239         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5240         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5241         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5242
5243         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5244         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5245         (__ASSUME_SOCKETCALL): Do not define.
5246         (__ASSUME_IPC64): Define unconditionally.
5247         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5248         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5249         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5250         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5251         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5252         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5253         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5254         Likewise.
5255
5256         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5257         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5258         (__ASSUME_SOCKETCALL): Do not define.
5259         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5260         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5261         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5262         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5263         (__ASSUME_REQUEUE_PI): Define unconditionally.
5264         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5265         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5266         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5267         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5268         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5269         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5270
5271         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5272         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5273         (__ASSUME_SOCKETCALL): Do not define.
5274         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5275         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5276         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5277         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5278         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5279         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5280
5281         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5282         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5283         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5284         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5285         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5286         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5287         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5288         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5289         (__ASSUME_GETCPU_SYSCALL): Likewise.
5290
5291         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5292         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5293         cases for individual architectures.
5294         * sysdeps/gnu/configure: Regenerated.
5295         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5296         LIBC_SLIBDIR_RTLDDIR.
5297         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5298         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5299         LIBC_SLIBDIR_RTLDDIR.
5300         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5302         LIBC_SLIBDIR_RTLDDIR.
5303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5304         Regenerated.
5305         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5306         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5307         file.
5308         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5309         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5310         file.
5311         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5312         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5313         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5314         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5315
5316         * sysdeps/aarch64/shlib-versions: Move to ...
5317         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5318         * sysdeps/alpha/shlib-versions: Move to ...
5319         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5320         * sysdeps/arm/shlib-versions: Move to ...
5321         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5322         * sysdeps/hppa/shlib-versions: Move all contents except for
5323         libgcc_s entry to ...
5324         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5325         entry from ...
5326         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5327         * sysdeps/ia64/shlib-versions: Move to ...
5328         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5329         entry from ...
5330         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5331         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5332         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5333         * sysdeps/microblaze/shlib-versions: Move to ...
5334         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5335         * sysdeps/mips/shlib-versions: Move to ...
5336         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5337         entry from ...
5338         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5339         * sysdeps/tile/shlib-versions: Move to ...
5340         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5341         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5342         from ...
5343         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5344         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5345         entry from ...
5346         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5347
5348 2014-07-17  Will Newton  <will.newton@linaro.org>
5349
5350         * sysdeps/arm/bits/atomic.h
5351         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5352         (__arch_compare_and_exchange_bool_16_int): Likewise.
5353         (__arch_compare_and_exchange_bool_64_int): Likewise.
5354
5355         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5356         into an #else block.
5357
5358 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5359
5360         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5361         just Linux configurations.  Test empirically that the compiler sets
5362         __ARM_EABI__, rather than using the tuple to decide.
5363         * sysdeps/arm/preconfigure: Regenerated.
5364         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5365         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5366         contents appended ...
5367         * sysdeps/arm/configure.ac: ... here.
5368         * sysdeps/arm/configure: Regenerated.
5369
5370 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5371
5372         * nptl/pthread_kill.c: New file.
5373         * nptl/pthread_sigmask.c: New file.
5374         * nptl/pthread_sigqueue.c: New file.
5375
5376         * sysdeps/nptl/lowlevellock.h: New file.
5377         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5378         * sysdeps/nptl/lowlevellock-futex.h: New file.
5379
5380         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5381         Remove dead declarations.
5382
5383 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5384
5385         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5386         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5387         config-cflags-avx2.
5388         * sysdeps/x86_64/configure.ac: Likewise.
5389         * sysdeps/i386/configure: Regenerated.
5390         * sysdeps/x86_64/configure: Likewise.
5391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5392         memset-avx2 only if config-cflags-avx2 is yes.
5393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5394         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5395         defined.
5396         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5397         only if HAVE_AVX2_SUPPORT is defined.
5398         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5399
5400 2014-07-14  Alan Modra  <amodra@gmail.com>
5401
5402         [BZ #17153]
5403         * elf/elf.h (DT_PPC64_NUM): Correct value.
5404         * NEWS: Add to fixed bug list.
5405
5406 2014-07-13  Jim Meyering  <meyering@fb.com>
5407
5408         [BZ 17150]
5409         regex: don't deref NULL upon heap allocation failure
5410         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5411         failure in one more place.
5412         To trigger the segfault, configure grep -with-included-regex,
5413         build it, and run these commands:
5414         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5415
5416 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5417
5418         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5419
5420 2014-07-11  Richard Henderson  <rth@redhat.com>
5421
5422         * sysdeps/aarch64/libm-test-ulps: Update.
5423
5424 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5425
5426         [BZ #17135]
5427         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5428         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5429         (__nptl_setxid): Initialize error member.  Call
5430         __nptl_setxid_error.
5431         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5432         * nptl/descr.h (struct xid_command): Add error member.
5433         * nptl/tst-setuid3.c: New file.
5434         * nptl/Makefile (tests): Add it.
5435
5436 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5437
5438         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5439         New define.
5440         (__lll_trylock): Use __lll_base_trylock.
5441         (__lll_cond_trylock): Likewise.
5442
5443 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5444
5445         * nptl/pthread_create.c (start_thread): Use atomic_or and
5446         lll_futex_wake directly rather than lll_robust_dead.
5447         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5448         (lll_robust_dead): Macro removed.
5449         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5450         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5451         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5452         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5453         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5454         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5455         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5456         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5457         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5458         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5459         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5460         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5461         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5462         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5463         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5464
5465         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5466         Use atomic_compare_and_exchange_val_acq directly rather than
5467         lll_robust_trylock.
5468         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5469         (__lll_robust_trylock, lll_robust_trylock): Removed.
5470         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5471         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5472         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5473         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5474         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5475         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5476         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5477         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5478         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5479         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5480         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5481         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5482         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5483         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5484
5485 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5486
5487         * manual/locale.texi (Locale Names): New section documenting
5488         locale name syntax.  Adjust menu and node chaining accordingly.
5489         (Choosing Locale): Reference Locale Names, Locale Categories.
5490         Mention setting LC_ALL=C.  Reflect that name syntax is now
5491         documented.
5492         (Locale Categories): New section title.  Reference Locale Names.
5493         LC_ALL is an environment variable, but not a category.
5494         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5495         description, now in Locale Name.  Reference that section.  Locale
5496         name syntax is now documented.
5497
5498 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5499
5500         [BZ #17137]
5501         * locale/findlocale.c (name_present, valid_locale_name): New
5502         functions.
5503         (_nl_find_locale): Use the loc_name variable to store name
5504         candidates.  Call name_present and valid_locale_name to check and
5505         validate locale names.  Return an error if the locale is invalid.
5506
5507 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5508
5509         * locale/setlocale.c (setlocale): Use strdup for allocating
5510         composite name copy.
5511
5512 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5513
5514         Sync up with gnulib.
5515         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5516         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5517         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5518         and _GL_ARG_NONNULL.
5519         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5520         [!_LIBC]: Include code for Windows and Cygwin.
5521         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5522         Include prototype for int strerror_r.
5523         [!_LIBC] (is_open): New function.
5524         (flush_stdout): New function.
5525         (print_errno_message): Use it.
5526         (error): Likewise.
5527         (error_at_line): Likewise.
5528         (error_tail) Add function attribute macros.  Use
5529         __builtin_expect.
5530
5531         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5532
5533         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5534
5535         * io/ftw.c: Include sys/param.h unconditionally.
5536
5537         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5538
5539         [BZ #17125]
5540         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5541         libc_freeres_ptr.
5542         (freecache): New function to free CACHE on exit.
5543
5544         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5545         initialization.
5546
5547 2014-07-09  David S. Miller  <davem@davemloft.net>
5548
5549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5550
5551         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5552         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5553         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5554         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5555         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5556         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5557         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5558         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5559         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5560         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5561         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5562         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5563         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5564
5565 2014-07-09  Andreas Schwab  <schwab@suse.de>
5566
5567         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5568         output.
5569         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5570         (do_test): Likewise.
5571
5572         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5573
5574 2014-07-09  Will Newton  <will.newton@linaro.org>
5575
5576         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5577         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5578         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5579         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5580         * sysdeps/hppa/start.S (_start): Likewise.
5581
5582 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5583
5584         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5585
5586         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5587         defined.
5588
5589 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5590
5591         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5592         after checking that it is non-NULL.
5593
5594         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5595
5596 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5597
5598         * sysdeps/powerpc/memmove.c: Remove file.
5599         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5600         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5601         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5602         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5604         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5605         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5606         string memmove instead of removed powerpc one.
5607
5608         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5609         [weak_alias]: Fix compiler warning due trailing data.
5610         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5611         [weak_alias]: Likewise.
5612         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5613         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5614
5615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5616         (__libc_ifunc_impl_list): Add memmove functions.
5617
5618 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5619
5620         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5621         Remove code.
5622         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5623         Likewise
5624         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5625         Likewise
5626         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5627         Likewise
5628         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5629         Likewise
5630         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5631         Likewise
5632         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5633         Likewise
5634         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5635         Likewise
5636         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5637         Likewise
5638         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5639         Likewise
5640         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5641         Likewise
5642         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5643         Likewise
5644         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5645         Likewise
5646         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5647         Likewise
5648         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5649         Likewise
5650         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5651         Likewise
5652         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5653         Likewise
5654
5655 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5656
5657         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5658         to avoid alignment traps in non-cacheable memory.
5659         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5660
5661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5662         multiarch objects.
5663         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5664         file: multiarch power7 memmove.
5665         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5666         multiarch default memmove.
5667         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5668         multiarch memove for powerpc32/power4.
5669
5670         * string/bcopy.c: Use full path to include memmove.c.
5671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5672         multiarch objects.
5673         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5674         bcopy for powerpc64.
5675         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5676         bcopy for powerpc64.
5677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5678         and memmove implementations.
5679         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5680         optimized multiarch memmove for POWER7/powerpc64.
5681         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5682         default multiarch memmove for powerpc64.
5683         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5684         multiarch for powerpc64.
5685         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5686         for POWER7/powerpc64.
5687         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5688         memmove for POWER7/powerpc64.
5689
5690         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5691         glibc default one.
5692
5693         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5694         __ELF_NATIVE_CLASS equal to 64.
5695
5696 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5697
5698         * sysdeps/nptl/lowlevellock.h: File removed.
5699
5700         * NEWS: NPTL is no longer an add-on!
5701         * nptl/internaltypes.h: Moved ...
5702         * sysdeps/nptl/internaltypes.h: ... here.
5703         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5704         * sysdeps/nptl/fork.c: Likewise.
5705         * sysdeps/nptl/gai_misc.h: Likewise.
5706         * sysdeps/nptl/librt-cancellation.c: Likewise.
5707         * sysdeps/nptl/jmp-unwind.c: Likewise.
5708         * sysdeps/nptl/setxid.h: Likewise.
5709         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5710         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5711         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5712         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5713         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5714         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5715         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5716         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5717         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5718         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5719         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5720         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5721         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5722         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5723         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5724         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5725         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5726         * nptl/Makeconfig: Moved ...
5727         * sysdeps/nptl/Makeconfig: ... here.
5728         * nptl/configure: File removed.
5729         * nptl/ANNOUNCE: File removed.
5730         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5731         * sysdeps/unix/sysv/linux/configure: Regenerated.
5732
5733         * nptl/Makefile (routines): Add libc_pthread_init,
5734         libc_multiple_threads, register-atfork and unregister-atfork.
5735         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5736         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5737         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5738         pthread-pi-defines.sym, structsem.sym.
5739         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5740         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5741         [$(subdir) = nptl] (tests): Add tst-setgetname.
5742         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5743         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5744         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5745         [!LIBC_SIGACTION]: Remove aliases.
5746         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5747         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5748         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5749         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5750         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5751         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5752         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5753         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5754         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5755         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5756         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5757         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5758         __libc_allocate_rtsig_private.
5759         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5760         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5761         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5762         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5763         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5764         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5765         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5766         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5767         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5768         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5769         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5770         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5771         * nptl/internaltypes.h: ... here.
5772         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5773         * sysdeps/nptl/jmp-unwind.c: ... here.
5774         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5775         * nptl/libc-lowlevellock.c: ... here.
5776         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5777         * nptl/libc_multiple_threads.c: ... here.
5778         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5779         * nptl/libc_pthread_init.c: ... here.
5780         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5781         * nptl/lowlevelbarrier.sym: ... here.
5782         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5783         * nptl/lowlevelcond.sym: ... here.
5784         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5785         * nptl/lowlevellock.c: ... here.
5786         * nptl/lowlevellock.h: Moved ...
5787         * sysdeps/nptl/lowlevellock.h: ... here.
5788         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5789         * nptl/lowlevelrobustlock.c: ... here.
5790         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5791         * nptl/lowlevelrobustlock.sym: ... here.
5792         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5793         * nptl/lowlevelrwlock.sym: ... here.
5794         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5795         * nptl/pt-fork.c: ... here.
5796         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5797         * nptl/pthread-pi-defines.sym: ... here.
5798         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5799         * nptl/pthread_attr_getaffinity.c: ... here.
5800         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5801         * nptl/pthread_attr_setaffinity.c: ... here.
5802         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5803         * nptl/pthread_mutex_cond_lock.c: ... here.
5804         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5805         Update #include.
5806         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5807         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5808         * nptl/pthread_once.c: ... here, replacing old file.
5809         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5810         * nptl/pthread_yield.c: ... here.
5811         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5812         * nptl/register-atfork.c: ... here.
5813         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5814         * nptl/sem_post.c: ... here.
5815         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5816         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5817         * nptl/sem_timedwait.c: ... here.
5818         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5819         * nptl/sem_trywait.c: ... here.
5820         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5821         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5822         * nptl/sem_wait.c: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5824         * nptl/structsem.sym: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5826         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5827         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5828         * nptl/unregister-atfork.c: ... here.
5829         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5830         * nptl/unwindbuf.sym: ... here.
5831         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5832         * sysdeps/nptl/fork.c: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5834         * sysdeps/nptl/fork.h: ... here.
5835         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5836         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5837         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5838         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5839         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5840         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5841         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5842         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5843         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5844         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5845         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5847         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5848         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5849         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5850         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5851         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5852         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5853         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5854         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5855         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5856         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5857         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5858         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5859         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5860         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5861         * sysdeps/unix/sysv/linux/raise.c: ... here.
5862         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5863         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5864         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5865         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5866         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5867         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5868         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5869         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5870         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5871         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5872         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5873         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5874         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5875         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5876         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5877
5878 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5879
5880         * sysdeps/generic/memcopy.h: Add comment for
5881         MEMCPY_OK_FOR_FWD_MEMMOVE.
5882
5883 2014-07-04  Will Newton  <will.newton@linaro.org>
5884
5885         * string/memchr.c: Merge from gnulib.
5886         [_LIBC]: Remove conditionals.
5887         (__ptr_t): Remove define.
5888         (LONG_MAX_32_BITS): Likewise.
5889         (LONG_MAX): Likewise.
5890         (MEMCHR): Use ANSI prototype and optimize algorithm.
5891
5892         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5893
5894 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5895
5896         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5897         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5898
5899         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5900         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5901         in a bare environment with no <stdlib.h> installed.
5902         * sysdeps/nptl/configure: Regenerated.
5903
5904         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5905
5906         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5907         AC_EGREP_CPP for kernel header checks, so they only succeed if
5908         including <linux/version.h> actually works right.
5909         * sysdeps/unix/sysv/linux/configure: Regenerated.
5910
5911         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5912         value so it's not diagnosed as unused.
5913
5914         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5915         thing) with "ifeq ($(subdir),rt)".
5916
5917 2014-07-03  Richard Henderson  <rth@redhat.com>
5918
5919         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5920         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5921         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5922
5923         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5924         (math_force_eval): New.
5925
5926         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5927         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5928
5929         * sysdeps/alpha/fpu/s_round.c: Remove file.
5930         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5931
5932         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5933         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5934         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5935         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5936         (_dl_start, print_statistics): Likewise.
5937         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5938         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5939
5940         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5941         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5942         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5943         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5944         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5945         (HP_SMALL_TIMING_AVAIL): Define.
5946         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5947         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5948         (HP_SMALL_TIMING_AVAIL): Define.
5949         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5950         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5951
5952         * sysdeps/aarch64/hp-timing.h: New file.
5953
5954         * sysdeps/generic/hp-timing.h: Remove dead comment.
5955         * sysdeps/generic/hp-timing-common.h: New file.
5956         * sysdeps/alpha/hp-timing.h: Include it.
5957         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5958         * sysdeps/i386/i686/hp-timing.h: Likewise.
5959         * sysdeps/ia64/hp-timing.h: Likewise.
5960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5961         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5962         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5963         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5964         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5965         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5966         (hp_timing_t): New.
5967
5968         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5969         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5970         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5971         * elf/rtld.c (_dl_start_final): Likewise.
5972         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5973         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5974         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5975         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5976         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5977         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5978         (HP_TIMING_DIFF_INIT): Remove.
5979         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5980         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5981         (HP_TIMING_DIFF_INIT): Remove.
5982         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5983         * sysdeps/i386/i686/hp-timing.c: Remove file.
5984         * sysdeps/x86_64/hp-timing.c: Remove file.
5985         * sysdeps/ia64/hp-timing.c: Remove file.
5986         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5987         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5988         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5989         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5990
5991         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5992         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5993         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5994         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5995         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5996         (HP_TIMING_ACCUM): Remove.
5997         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5998         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5999         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6000
6001         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6002         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6003         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6004         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6005         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6006         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6007         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6008         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6009
6010         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6011
6012 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6013
6014         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6015
6016 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6017
6018         Sync up with gettext.
6019         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6020         [_MSC_VER]: Include malloc.h
6021         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6022         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6023         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6024         TEMP_FAILURE_RETRY.  Cast return of alloca.
6025         [!_LIBC] Call gl_rwlock_init.
6026         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6027
6028 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6029
6030         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6031         before checking its value.
6032
6033 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6034
6035         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6036
6037         * debug/memcpy_chk.c: Don't include pagecopy.h.
6038         * debug/mempcpy_chk.c: Likewise.
6039         * string/memcpy.c: Likewise.
6040         * string/memmove.c: Likewise.
6041         * sysdeps/powerpc/memmove.c: Likewise.
6042         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6043         definition of PAGE_COPY_FWD_MAYBE here...
6044         * sysdeps/generic/pagecopy.h: ... from here.
6045         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6046
6047 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6048             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6049
6050         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6052         optimizations.
6053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6054         (__libc_ifunc_impl_list): Likewise.
6055         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6056         multiarch strcat for PPC64.
6057         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6058         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6059
6060 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6061
6062         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6063
6064 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6065
6066         * intl/loadmsgcat.c: Remove declaration of
6067         get_sysdep_segment_value.
6068         (get_sysdep_segment_value): Use ISO C style.
6069         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6070         semicolon.  Fix typo and formatting in comment.
6071         (_nl_unload_domain): Use ISO C style.
6072
6073         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6074
6075 2014-07-02  Will Newton  <will.newton@linaro.org>
6076
6077         * malloc/obstack.c: Merge from gnulib master.
6078         [HAVE_CONFIG_H]: Remove conditional code.
6079         [!_LIBC]: Include config.h.
6080         [!ELIDE_CODE]: Don't include inttypes.h, include
6081         stdint.h unconditionally.
6082         (print_and_abort): Mark as _Noreturn.
6083         (_obstack_allocated_p): Mark as __attribute_pure__.
6084         (obstack_free): Rename to __obstack_free.
6085         [!__attribute__]: Remove conditional code.
6086         * malloc/obstack.h: Merge from gnulib master.
6087         [__cplusplus]: Move conditional down.
6088         [!__attribute_pure__]: Define __attribute_pure__ here
6089         if it is not already defined.
6090         (_obstack_memory_used): Mark as __attribute_pure__.
6091         [!__obstack_free]: Define as obstack_free.
6092         [__GNUC__]: Remove check for ancient NeXT gcc.
6093
6094 2014-07-02  Will Newton  <will.newton@linaro.org>
6095             Paul Eggert  <eggert@cs.ucla.edu>
6096
6097         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6098
6099 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6100
6101         * resolv/gethnamaddr.c: Add comment warning that the file is
6102         not maintained.
6103
6104 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6105
6106         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6107         entries.
6108
6109         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6110         entry for aio_cancel and aio_cancel64.
6111         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6112         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6113         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6114         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6115         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6116         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6117         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6118         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6119         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6120         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6121         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6122         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6123         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6124
6125 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6126
6127         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6128         * nptl/pthread_mutex_lock.c: Likewise.
6129         * nptl/pthread_mutex_timedlock.c: Likewise.
6130         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6131
6132 2014-07-01  Richard henderson  <rth@redhat.com>
6133
6134         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6135         (__isnan, __isnanl): Remove.
6136         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6137
6138         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6139
6140 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6141
6142         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6143
6144 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6145
6146         * resolv/nss_dns/dns-host.c (getanswer_r)
6147         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6148
6149 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6150
6151         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6152         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6153         undefine.
6154         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6155         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6156
6157 2014-07-01  Roland McGrath <roland@hack.frob.com>
6158
6159         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6160         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6161
6162         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6163         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6164
6165         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6166         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6167         ... here.
6168         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6169         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6170
6171         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6172         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6173         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6174         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6175
6176         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6177         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6178         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6179         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6180         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6181         Moved ...
6182         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6183         ... here.
6184         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6185         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6186         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6187         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6188         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6189         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6190         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6191         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6192         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6193         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6194         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6195         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6196         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6197         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6198         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6199         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6200         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6201         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6202         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6203         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6204         ... here.
6205         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6206         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6207         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6208         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6209         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6210         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6211         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6212         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6213
6214 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6215
6216         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6217         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6218         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6219         Add sysdep.
6220
6221 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6222
6223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6224
6225 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6226
6227         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6228         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6229
6230         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6231
6232         * sysdeps/arm/libm-test-ulps: Regenerated.
6233
6234 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6235             Roland McGrath <roland@hack.frob.com>
6236
6237         * test-skeleton.c (signal_handler): Kill the whole process group
6238         before killing the child individually.
6239         (main): Report any failure on `setpgid'.
6240
6241 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6242
6243         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6244         from _TLS_H to _ARM_NPTL_TLS_H.
6245         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6246         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6247
6248 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6249
6250         [BZ #16539]
6251         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6252         (__expm1l): Return argument unchanged when small but not
6253         subnormal.
6254
6255         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6256         include macro name.
6257         (_FP_UNPACK_RAW_1_P): Likewise.
6258         (_FP_PACK_RAW_1): Likewise.
6259         (_FP_PACK_RAW_1_P): Likewise.
6260         (_FP_MUL_MEAT_1_wide): Likewise.
6261         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6262         (_FP_MUL_MEAT_1_hard): Likewise.
6263         (_FP_DIV_MEAT_1_imm): Likewise.
6264         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6265         (_FP_DIV_MEAT_1_udiv): Likewise.
6266         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6267         (_FP_UNPACK_RAW_2): Likewise.
6268         (_FP_UNPACK_RAW_2_P): Likewise.
6269         (_FP_PACK_RAW_2): Likewise.
6270         (_FP_PACK_RAW_2_P): Likewise.
6271         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6272         (_FP_MUL_MEAT_2_wide): Likewise.
6273         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6274         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6275         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6276         (_FP_MUL_MEAT_2_gmp): Likewise.
6277         (_FP_DIV_MEAT_2_udiv): Likewise.
6278         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6279         (_FP_FRAC_SRL_4): Likewise.
6280         (_FP_FRAC_SRST_4): Likewise.
6281         (_FP_FRAC_SRS_4): Likewise.
6282         (_FP_UNPACK_RAW_4): Likewise.
6283         (_FP_UNPACK_RAW_4_P): Likewise.
6284         (_FP_PACK_RAW_4): Likewise.
6285         (_FP_PACK_RAW_4_P): Likewise.
6286         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6287         (_FP_MUL_MEAT_4_wide): Likewise.
6288         (_FP_MUL_MEAT_4_gmp): Likewise.
6289         (umul_ppppmnnn): Likewise.
6290         (_FP_DIV_MEAT_4_udiv): Likewise.
6291         (__FP_FRAC_ADD_4): Likewise.
6292         (__FP_FRAC_SUB_3): Likewise.
6293         (__FP_FRAC_SUB_4): Likewise.
6294         (__FP_FRAC_DEC_3): Likewise.
6295         (__FP_FRAC_DEC_4): Likewise.
6296         (__FP_FRAC_ADDI_4): Likewise.
6297         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6298         (_FP_FRAC_SRL_8): Likewise.
6299         (_FP_FRAC_SRS_8): Likewise.
6300
6301         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6302         include macro name.
6303         (FP_UNPACK_RAW_EP): Likewise.
6304         (FP_PACK_RAW_E): Likewise.
6305         (FP_PACK_RAW_EP): Likewise.
6306         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6307         (_FP_ISSIGNAN): Likewise.
6308         (_FP_ADD_INTERNAL): Likewise.
6309         (_FP_FMA): Likewise.
6310         (_FP_CMP): Likewise.
6311         (_FP_SQRT): Likewise.
6312         (_FP_TO_INT): Likewise.
6313         (_FP_FROM_INT): Likewise.
6314         (FP_EXTEND): Likewise.
6315         (_FP_DIV_MEAT_N_loop): Likewise.
6316
6317 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6318
6319         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6320         throughout.
6321
6322 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6323
6324         [BZ #17097]
6325         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6326         result with correct sign in case of exponents that produce
6327         overflow except for X very close to 1.
6328
6329 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6330
6331         mktime: merge #if/#ifdef usage from glibc
6332         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6333         as that works with both Glibc's and Gnulib's style.
6334         See thread starting at Siddhesh Poyarekar's bug report at:
6335         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6336
6337 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6338
6339         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6340         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6341         * sysdeps/tile/tilegx/memmove.c: Remove file.
6342
6343 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6344
6345         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6346         abi-name definition.
6347         * scripts/soversions.awk: Do not handle or generate ABI lines.
6348         * shlib-versions: Remove ABI entries.
6349         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6350         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6351
6352 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6353
6354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6355         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6356         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6357         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6358         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6359         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6361         Moved ...
6362         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6363         ... here.
6364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6365         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6367         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6369         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6371         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6373         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6375         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6377         Moved ...
6378         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6380         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6382         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6384         Moved ...
6385         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6387         Moved ...
6388         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6390         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6392         Moved ...
6393         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6394         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6395         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6396         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6397         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6398         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6399         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6401         Moved ...
6402         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6403         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6404         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6405         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6406         Moved ...
6407         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6409         Moved ...
6410         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6411         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6412         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6413         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6414         Moved ...
6415         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6416         ... here.
6417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6418         Identical file removed.
6419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6420         Moved ...
6421         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6422         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6423         Identical file removed.
6424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6425         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6427         Moved ...
6428         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6430         Identical file removed.
6431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6432         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6433         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6434         Identical file removed.
6435         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6436         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6437         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6438         Identical file removed.
6439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6440         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6441         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6442         Identical file removed.
6443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6444         Moved ...
6445         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6446         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6447         Identical file removed.
6448         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6449         Moved ...
6450         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6452         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6453         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6454         Identical file removed.
6455         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6456         Moved ...
6457         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6458         ... here.
6459         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6460         Identical file removed.
6461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6462         Moved ...
6463         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6464         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6465         Identical file removed.
6466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6467         Moved ...
6468         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6469         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6470         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6471         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6472         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6474         Moved ...
6475         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6476         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6477         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6478
6479         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6480         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6481         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6482         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6483         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6484
6485 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6486
6487         [BZ #17092]
6488         * nscd/nscd.c (monitor_child): Return exit status of child
6489         instead of return value from wait syscall.
6490
6491 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6492
6493         * configure.ac (libc_commonpagesize): Remove variable.
6494         (libc_relro_required): Likewise.
6495         (libc_cv_z_relro): Remove configure test.
6496         * configure: Regenerated.
6497         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6498         variable.
6499         (libc_relro_required): Likewise.
6500         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6501         (libc_relro_required): Likewise.
6502         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6503         (libc_relro_required): Likewise.
6504         * sysdeps/arm/preconfigure: Regenerated.
6505         * sysdeps/ia64/preconfigure: Remove file.
6506         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6507         variable.
6508         (libc_relro_required): Likewise.
6509
6510         [BZ #16561]
6511         [BZ #16562]
6512         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6513         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6514         recompute overflowing results in original rounding mode.
6515         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6516         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6517         recompute overflowing results in original rounding mode.
6518         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6519         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6520         recompute overflowing results in original rounding mode.
6521         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6522         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6523         recompute overflowing results in original rounding mode.
6524         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6525         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6526         recompute overflowing results in original rounding mode.
6527         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6528         (libc_feholdsetround_ctx): New macro.
6529         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6530         * sysdeps/i386/fpu/libm-test-ulps: Update.
6531         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6532
6533 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6534
6535         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6536         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6537         corresponding .cpsetup call.
6538
6539 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6540
6541         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6542         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6543         * sysdeps/arm/Makefile [$(subdir) = csu]
6544         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6545         (static-only-routines): Add aeabi_read_tp here.
6546         (shared-only-routines): Add libc-aeabi_read_tp here.
6547         (CFLAGS-libc-start.c): Add -fexceptions here.
6548         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6549         (sysdep_routines, static-only-routines, shared-only-routines):
6550         Don't add to these here.
6551         (CFLAGS-libc-start.c): Likewise.
6552
6553         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6554         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6555         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6556         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6557         * sysdeps/arm/Makefile [$(subdir) = rt]
6558         (librt-sysdep_routines, librt-shared-only-routines):
6559         Append rt-aeabi_unwind_cpp_pr1 here.
6560         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6561         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6562         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6563         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6564         Append nptl-aeabi_unwind_cpp_pr1 here.
6565         (tests): Filter out tst-cleanupx4 here.
6566         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6567         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6568         Don't do those here.
6569
6570 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6571
6572         * scripts/list-sources.sh: Do not handle ports specially.
6573
6574 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6575
6576         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6577         * sysdeps/arm/feupdateenv.c: Likewise.
6578
6579         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6580
6581 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6582
6583         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6584         trailing whitespace removed.
6585         * scripts/config.guess: Update to version 2014-03-23.
6586         * scripts/config.sub: Update to version 2014-05-01
6587         * scripts/install-sh: Update to version 2013-12-25.23.
6588         * scripts/move-if-change: Update from gnulib.
6589
6590 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6591
6592         * debug/memmove_chk.c: Remove pagecopy.h include.
6593
6594 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6595
6596         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6597         identical to gnulib mktime.
6598
6599 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6600
6601         * configure.ac: Do not test for machine being rs6000.  Do not test
6602         for powerpc*-*soft.
6603         * configure: Regenerated.
6604
6605         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6606         test.
6607         * configure: Regenerated.
6608         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6609         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6610         Remove configure test.
6611         * sysdeps/arm/configure: Regenerated.
6612         * sysdeps/nptl/configure.ac: Do not check
6613         libc_cv_asm_cfi_directives.
6614         * sysdeps/nptl/configure: Regenerated.
6615         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6616         * sysdeps/x86_64/nptl/configure: Remove generated file.
6617         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6618         unconditional.
6619         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6620
6621 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6622
6623         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6624         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6625         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6626         it is defined.
6627
6628         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6629         instead of whether it is defined.
6630         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6631         * sysdeps/hppa/dl-machine.h: Likewise.
6632         * sysdeps/ia64/dl-machine.h: Likewise.
6633         * sysdeps/m68k/dl-machine.h: Likewise.
6634         * sysdeps/microblaze/dl-machine.h: Likewise.
6635         * sysdeps/mips/dl-machine.: Likewise.
6636         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6637         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6638         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6639         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6640         * sysdeps/sh/dl-machine.h: Likewise.
6641         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6642         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6643         * sysdeps/tile/dl-machine.h: Likewise.
6644         * sysdeps/x86_64/dl-machine.h: Likewise.
6645
6646         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6647         code.
6648         (verify_persistent_db): Likewise.
6649
6650 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6651
6652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6653         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6655         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6657         Moved ...
6658         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6659         ... here.
6660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6661         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6663         Identical file removed.
6664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6665         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6667         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6669         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6671         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6673         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6675         Moved ...
6676         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6678         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6680         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6682         Moved ...
6683         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6685         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6687         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6689         Identical file removed.
6690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6691         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6693         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6695         Moved ...
6696         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6697         ... here.
6698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6699         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6701         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6703         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6705         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6707         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6709         Moved ...
6710         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6712         Moved ...
6713         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6715         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6717         Moved ...
6718         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6720         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6721
6722         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6723         folded into ...
6724         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6725         * sysdeps/unix/sysv/linux/s390/Versions
6726         (libpthread: GLIBC_2.19): New version set.
6727         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6728         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6729         (librt: GLIBC_2.3.3): New version set.
6730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6731         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6732         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6733         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6734         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6735         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6736         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6737         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6738         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6739         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6740         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6741         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6742         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6743         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6744         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6745         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6746         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6747         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6748         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6749         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6750         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6751         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6752         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6753         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6754         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6755         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6756         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6757         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6758         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6759         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6760         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6761         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6763         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6766         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6768         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6770         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6772         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6774         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6775
6776         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6777         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6778         (__libc_vfork): Define the function under this name.
6779         [!NOT_IN_libc] (__vfork): Make this an alias.
6780         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6782         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6783         (__libc_vfork): Define the function under this name.
6784         [!NOT_IN_libc] (__vfork): Make this an alias.
6785         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6786         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6787         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6789         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6790         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6791
6792         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6793         code that was previously under [RESET_PID].
6794         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6795         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6796         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6797
6798         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6799         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6800         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6801         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6802         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6803         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6804         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6805         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6806         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6807         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6808         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6809         Moved ...
6810         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6811         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6812         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6813         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6814         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6815         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6816         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6817         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6818         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6819         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6820         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6821         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6822         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6823         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6824         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6825         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6826         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6827         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6828         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6829         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6830         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6831         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6832         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6833         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6834         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6835         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6836         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6837         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6838         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6839
6840 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6841
6842         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6843         that was previously under [RESET_PID].
6844         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6845
6846 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6847
6848         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6849         not undefine and redefine.
6850         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6851         [O_CLOEXEC]: Make code unconditional.
6852         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6853         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6854         <kernel-features.h>.
6855         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6856         conditional variable definition.
6857         (shm_open) [O_CLOEXEC]: Make code unconditional.
6858         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6859         code.
6860
6861         * configure.ac (USE_REGPARMS): Don't define here.
6862         * configure: Regenerated.
6863         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6864         * sysdeps/i386/configure: Regenerated.
6865
6866         * nptl/createthread.c: Don't include kernel-features.h.
6867         * nptl/pthread_cancel.c: Likewise.
6868         * nptl/pthread_condattr_setclock.c: Likewise.
6869         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6870         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6871         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6872         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6873         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6874         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6875         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6878         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6879         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6880         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6881         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6882         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6883         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6884         * nscd/gai.c: Likewise.
6885         * nss/nss_db/db-open.c: Likewise.
6886         * sysdeps/generic/ldsodefs.h: Likewise.
6887         * sysdeps/sh/nptl/tls.h: Likewise.
6888         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6889         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6890         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6891         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6892         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6893         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6894         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6895         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6896         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6897         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6898         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6899         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6900         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6901         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6902         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6903         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6904         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6905         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6906         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6907         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6908         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6909         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6910         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6911         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6912         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6914         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6916         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6917         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6918         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6919         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6920         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6921         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6922         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6923         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6924         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6925         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6926         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6927         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6928         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6929         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6930         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6931         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6932         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6933         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6934         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6935         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6936         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6937         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6938         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6939         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6940         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6941         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6942         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6943         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6945         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6968         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6969         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6970         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6971         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6972         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6973         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6974         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6975         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6976         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6977         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6978         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6979         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6980         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6981         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6982         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6983         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6984         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6985         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6986         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6987         * sysdeps/unix/sysv/linux/system.c: Likewise.
6988         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6989         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6990         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6991         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6992         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6993         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6994         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6995
6996         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6997         * configure: Regenerated.
6998         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6999
7000         * configure.ac (base_machine): Do not set specially for particular
7001         machines here.
7002         * configure: Regenerated.
7003         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7004         settings from configure.ac.
7005         * sysdeps/i386/preconfigure: New file.
7006         * sysdeps/s390/preconfigure: Likewise.
7007         * sysdeps/sh/preconfigure: Likewise.
7008         * sysdeps/sparc/preconfigure: Likewise.
7009
7010 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7011
7012         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7013         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7014         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7015         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7016         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7017         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7018         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7019         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7020         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7021         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7022         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7023         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7024         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7026         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7029         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7030         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7031
7032         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7033         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7034         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7035         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7036         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7037         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7038         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7039         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7040         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7041         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7042         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7043         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7044         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7045         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7046         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7047         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7048         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7049         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7050         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7051         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7052         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7053         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7054         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7055         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7056         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7057         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7059         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7060         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7061         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7062         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7063         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7064         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7065         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7066         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7067         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7068         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7069         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7070
7071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7072         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7074         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7076         Moved ...
7077         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7078         ... here.
7079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7080         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7082         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7084         Moved ...
7085         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7087         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7089         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7091         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7093         Moved ...
7094         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7096         Moved ...
7097         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7099         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7101         Moved ...
7102         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7104         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7106         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7108         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7110         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7112         Moved ...
7113         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7114         ... here.
7115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7116         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7118         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7120         Moved ...
7121         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7123         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7125         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7127         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7129         Moved ...
7130         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7132         Moved ...
7133         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7135         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7137         Moved ...
7138         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7140         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7142         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7143
7144 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7145
7146         * timezone/checktab.awk: Update from tzcode 2014e.
7147         * timezone/private.h: Likewise.
7148         * timezone/tzfile.h: Likewise.
7149         * timezone/zdump.c: Likewise.
7150         * timezone/zic.c: Likewise.
7151
7152         * sysdeps/unix/sysv/linux/kernel-features.h
7153         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7154         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7155         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7156         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7157         Remove conditional code.
7158
7159 2014-06-25  Will Newton  <will.newton@linaro.org>
7160
7161         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7162         (_dl_arm_cap_flags): Add HWCAP2 values.
7163         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7164         (_DL_HWCAP_COUNT): Increase to 37.
7165         (_DL_HWCAP_LAST): New define.
7166         (_DL_HWCAP2_LAST): New define.
7167         (_dl_procinfo): Add support for printing
7168         AT_HWCAP2 entries.
7169         (_dl_string_hwcap): Use _dl_hwcap_string.
7170
7171 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7172
7173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7174
7175 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7176
7177         * README: Do not mention ports directory.
7178
7179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7180         Remove macro.
7181         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7182         <kernel-features.h>.
7183         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7184         conditional variable definition.
7185         (__futimes): Update comment.
7186         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7187         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7188
7189         [BZ #16560]
7190         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7191         arguments close to 0.
7192         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7193         Likewise.
7194         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7195         Likewise.
7196         * math/auto-libm-test-in: Add more tests of exp10.
7197         * math/auto-libm-test-out: Regenerated.
7198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7199
7200         * sysdeps/unix/sysv/linux/kernel-features.h
7201         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7202         * sysdeps/unix/sysv/linux/readv.c: Do not include
7203         <kernel-features.h>.
7204         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7205         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7206         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7207         unconditional.
7208         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7209         conditional code.
7210         * sysdeps/unix/sysv/linux/writev.c: Do not include
7211         <kernel-features.h>.
7212         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7213         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7214         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7215         unconditional.
7216         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7217         conditional code.
7218
7219 2014-06-25  Will Newton  <will.newton@linaro.org>
7220
7221         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7222         comment changes throughout the file.  Remove checks
7223         for HAVE_*_H definitions that are not required.
7224         (__gen_tempname): Call abort if an unknown kind value is
7225         passed.
7226
7227 2014-06-25  Andreas Schwab  <schwab@suse.de>
7228
7229         [BZ #17086]
7230         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7231         scalbln, scalblnf, scalblnl in libc.
7232
7233 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7234
7235         [BZ #17086]
7236         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7237         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7238         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7239
7240 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7241
7242         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7243         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7244         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7245         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7246         Update #include.
7247         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7248         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7249         Update #include.
7250         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7251         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7252         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7253         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7254         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7255         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7256         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7257         * sysdeps/x86/bits/semaphore.h: ... here.
7258         * sysdeps/x86/nptl/elide.h: Moved ...
7259         * sysdeps/x86/elide.h: ... here.
7260         * sysdeps/x86_64/nptl/Implies: File removed.
7261         * sysdeps/i386/nptl/Implies: File removed.
7262
7263 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7264
7265         [BZ #16539]
7266         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7267         return the argument for normal arguments with exponent below -64.
7268         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7269         Likewise.
7270         * math/auto-libm-test-in: Add another test of expm1.
7271         * math/auto-libm-test-out: Regenerated.
7272
7273         [BZ #16287]
7274         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7275         calling __erfcl for arguments at least 16.
7276         * math/auto-libm-test-in: Add more tests of erf.
7277         * math/auto-libm-test-out: Regenerated.
7278
7279         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7280         individual architectures.
7281         * sysdeps/unix/sysv/linux/configure: Regenerated.
7282         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7283         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7284         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7285         (ldd_rewrite_script): Define variable.
7286         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7288         file.
7289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7290         generated file.
7291         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7292         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7293         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7294         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7295         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7296         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7297         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7298         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7299
7300 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7301
7302         [BZ #17084]
7303         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7304         Rename member __data.d to __data.__elision_data.
7305
7306 2014-06-24  Wilco  <wdijkstr@arm.com>
7307
7308         * NEWS: Add 16918 to fixed bug list.
7309
7310 2014-06-24  Wilco  <wdijkstr@arm.com>
7311
7312         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7313
7314 2014-06-24  Wilco  <wdijkstr@arm.com>
7315
7316         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7317         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7318         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7319         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7320         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7321         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7322         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7323         Use _FPU_MASK_RM.
7324
7325 2014-06-24  Wilco  <wdijkstr@arm.com>
7326
7327         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7328
7329 2014-06-24  Wilco  <wdijkstr@arm.com>
7330
7331         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7332         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7333         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7334         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7335
7336 2014-06-24  Wilco  <wdijkstr@arm.com>
7337
7338         [BZ #16918]
7339         * sysdeps/arm/feupdateenv.c (feupdateenv):
7340         Rewrite to reduce FPSCR accesses and fix return value.
7341
7342 2014-06-24  Wilco  <wdijkstr@arm.com>
7343
7344         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7345         Optimize to avoid unnecessary FPSCR writes.
7346         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7347         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7348         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7349         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7350
7351 2014-06-24  Wilco  <wdijkstr@arm.com>
7352
7353         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7354         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7355         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7356         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7357         Call libc_fetestexcept_vfp.
7358         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7359         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7360         __SOFTFP__ ifdef so that they can be built for softfp.
7361
7362 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7363
7364         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7365         argument type signed char.
7366
7367         * Makerules (check-abi): Dump diff of symlist if the test
7368         fails.
7369
7370 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7371
7372         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7373         using abort.
7374
7375         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7376         Remove unused variable ST.
7377
7378 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7379
7380         [BZ #16354]
7381         [BZ #17061]
7382         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7383         small arguments before calling __expm1.
7384         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7385         small arguments before calling __expm1f.
7386         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7387         small arguments before calling __expm1l.
7388         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7389         Likewise.
7390         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7391         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7392         spurious underflow for some cosh tests.
7393         * math/auto-libm-test-out: Regenerated.
7394         * sysdeps/i386/fpu/libm-test-ulps: Update.
7395
7396         [BZ #17050]
7397         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7398         (__ieee754_y1): Set errno if return value overflows.
7399         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7400         (__ieee754_y1f): Set errno if return value overflows.
7401         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7402         (__ieee754_y1l): Set errno if return value overflows.
7403         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7404         (__ieee754_y1l): Set errno if return value overflows.
7405         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7406         * math/auto-libm-test-out: Regenerated.
7407
7408         * math/gen-auto-libm-tests.c: Document use of
7409         ignore-zero-inf-sign.
7410         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7411         (input_flags): Add ignore-zero-inf-sign.
7412         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7413         * math/gen-libm-test.pl (generate_testfile): Handle
7414         ignore-zero-inf-sign.
7415         * math/auto-libm-test-in: Mark some cpow tests with
7416         ignore-zero-inf-sign and some with xfail-rounding.
7417         * math/auto-libm-test-out: Regenerated.
7418         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7419         * sysdeps/i386/fpu/libm-test-ulps: Update.
7420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7421
7422         [BZ #16315]
7423         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7424         overflowing or underflowing operations take place with sign of
7425         result.
7426         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7427         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7428         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7429         (__ieee754_pow): Recompute overflowing and underflowing results in
7430         original rounding mode.
7431         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7432         (__powl_helper): Allow negative argument X and scale negated value
7433         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7434         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7435         overflowing or underflowing operations take place with sign of
7436         result.
7437         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7438         Include <math.h>.
7439         * math/auto-libm-test-in: Add more tests of pow.
7440         * math/auto-libm-test-out: Regenerated.
7441         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7442         (pow_tonearest_test_data): Remove.
7443         (pow_test_tonearest): Likewise.
7444         (pow_towardzero_test_data): Likewise.
7445         (pow_test_towardzero): Likewise.
7446         (pow_downward_test_data): Likewise.
7447         (pow_test_downward): Likewise.
7448         (pow_upward_test_data): Likewise.
7449         (pow_test_upward): Likewise.
7450         (main): Don't call removed functions.
7451         * sysdeps/i386/fpu/libm-test-ulps: Update.
7452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7453
7454 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7455
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7457         Moved ...
7458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7460         Moved ...
7461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7463         Moved ...
7464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7466         Moved ...
7467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7469         File removed.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7471         File removed.
7472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7473         File removed.
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7475         File removed.
7476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7477         File removed.
7478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7479         File removed.
7480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7481         File removed.
7482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7483         File removed.
7484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7485         File removed.
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7487         File removed.
7488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7489         File removed.
7490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7491         File removed.
7492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7493         Moved ...
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7496         Moved ...
7497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7498         ... here.
7499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7500         Moved ...
7501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7503         Moved ...
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7506         Moved ...
7507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7509         Moved ...
7510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7512         Moved ...
7513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7515         Moved ...
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7518         Moved ...
7519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7522         ... here.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7524         Moved ...
7525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7527         Moved ...
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7529         ... here.
7530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7531         Moved ...
7532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7533         ... here.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7535         Moved ...
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7537         ... here.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7539         Moved ...
7540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7542         Moved ...
7543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7547         Moved ...
7548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7549         ... here.
7550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7551         Moved ...
7552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7553         ... here.
7554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7555         Moved ...
7556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7558         Moved ...
7559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7561         Moved ...
7562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7564         Moved ...
7565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7567         Moved ...
7568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7569         ... here.
7570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7571         Moved ...
7572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7574         Moved ...
7575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7577         Moved ...
7578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7580         Moved ...
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7585         Moved ...
7586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7588         Moved ...
7589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7591         Moved ...
7592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7593         ... here.
7594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7595         Moved ...
7596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7597         ... here.
7598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7599         Moved ...
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7601         ... here.
7602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7603         Moved ...
7604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7606         Moved ...
7607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7609         Moved ...
7610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7612         Moved ...
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7614         ... here.
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7616         Moved ...
7617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7618         ... here.
7619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7620         Moved ...
7621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7622         ... here.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7624         Moved ...
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7627         Moved ...
7628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7629
7630 2014-06-23  Will Newton  <will.newton@linaro.org>
7631             Wilco  <wdijkstr@arm.com>
7632
7633         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7634         implementation.  Include get-rounding-mode.h.
7635         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7636         [!libc_feholdsetround_noex_ctx]: Define
7637         libc_feholdsetround_noex_ctx.
7638         [!libc_feholdsetround_noexf_ctx]: Define
7639         libc_feholdsetround_noexf_ctx.
7640         [!libc_feholdsetround_noexl_ctx]: Define
7641         libc_feholdsetround_noexl_ctx.
7642         (libc_feholdsetround_ctx): New function.
7643         (libc_feresetround_ctx): New function.
7644         (libc_feholdsetround_noex_ctx): New function.
7645         (libc_feresetround_noex_ctx): New function.
7646
7647 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7648
7649         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7650         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7651         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7652         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7653         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7654         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7655
7656         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7657         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7658         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7659         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7660         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7661         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7663         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7665         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7667         Moved ...
7668         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7669         ... here.
7670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7671         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7672         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7673         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7674         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7675         Moved ...
7676         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7677         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7678         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7680         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7682         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7684         Moved ...
7685         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7686         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7687         Moved ...
7688         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7689         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7690         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7691         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7692         Moved ...
7693         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7694         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7695         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7696         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7697         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7698         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7699         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7701         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7703         Moved ...
7704         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7705         ... here.
7706         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7707         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7709         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7711         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7713         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7714         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7715         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7716         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7717         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7718         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7719         Moved ...
7720         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7721         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7722         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7724         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7725         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7726         Moved ...
7727         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7728         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7729         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7730         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7731         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7732
7733         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7734         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7735         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7736         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7737         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7738         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7739         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7740         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7741         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7742         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7743         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7744         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7745         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7746         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7747         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7748         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7749         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7750         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7751         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7752         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7753         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7754         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7755         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7756         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7757         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7758         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7759         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7760         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7761
7762 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7763
7764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7765         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7766         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7767         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7768         (IPV6_PMTUDISC_INTERFACE): Likewise.
7769         (IPV6_PMTUDISC_OMIT): Likewise.
7770
7771 2014-06-23  Andreas Schwab  <schwab@suse.de>
7772
7773         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7774         Remove unused errout label.
7775
7776 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7777
7778         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7779         macro: hardware supports Vector Crypto instructions.
7780
7781 2014-06-23  Will Newton  <will.newton@linaro.org>
7782
7783         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7784         rather than __builtin_expect.
7785
7786         * elf/dl-lookup.c (undefined_msg): Remove variable.
7787         (_dl_lookup_symbol_x): Replace undefined_msg with string
7788         literal.
7789
7790         * elf/dl-lookup.c (do_lookup_unique): New function.
7791         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7792         to a separate function.
7793
7794 2014-06-23  Andreas Schwab  <schwab@suse.de>
7795
7796         [BZ #17079]
7797         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7798         before reading the next line.
7799
7800 2014-06-23  Will Newton  <will.newton@linaro.org>
7801
7802         * test-skeleton.c (signal_handler): Use printf and %m
7803         rather than perror.  Use printf rather than fprintf to
7804         stderr.  Use puts rather than fputs to stderr.
7805         (main): Likewise.
7806
7807 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7808
7809         * nscd/nscd.c (thread_info_t): Remove typedef.
7810         (thread_info): Remove variable.
7811
7812 2014-06-21  Allan McRae  <allan@archlinux.org>
7813
7814         * NEWS: Mention CVE-2014-4043.
7815
7816 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7817
7818         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7819         * nptl/smp.h: ... here.
7820
7821         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7822
7823         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7824         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7825         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7826         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7827
7828         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7829         * nptl/stack-aliasing.h: New file.
7830         * sysdeps/i386/i686/stack-aliasing.h: New file.
7831         * sysdeps/i386/i686/nptl/Makefile: File removed.
7832         * sysdeps/x86_64/stack-aliasing.h: New file.
7833         * sysdeps/x86_64/nptl/Makefile
7834         (CFLAGS-pthread_create.c): Variable removed.
7835
7836         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7837         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7838         old file.
7839         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7840         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7841         old file.
7842
7843 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7844
7845         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7846         (__ASSUME_SIGFRAME_V2): Remove macro.
7847         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7848         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7849         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7850         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7851         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7852         Declare as function.  Remove conditional macro definitions.
7853         (__default_rt_sa_restorer): Likewise.
7854         (__default_sa_restorer_v1): Remove declaration.
7855         (__default_sa_restorer_v2): Likewise.
7856         (__default_rt_sa_restorer_v1): Likewise.
7857         (__default_rt_sa_restorer_v2): Likewise.
7858         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7859         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7860         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7861
7862 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7863
7864         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7865         (libpthread-routines): Add sysdep.
7866         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7867         * sysdeps/unix/sysv/linux/sparc/Versions
7868         (libpthread: GLIBC_2.3.3): New version set.
7869         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7870         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7871         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7872         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7873         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7874         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7875         Moved ...
7876         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7877         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7878         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7879         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7880         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7881         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7882         * sysdeps/sparc/nptl/sem_init.c: ... here.
7883         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7884         * sysdeps/sparc/nptl/sem_post.c: ... here.
7885         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7886         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7887         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7888         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7889         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7890         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7891         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7892         (libpthread-routines): Add cpu_relax.
7893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7894         File removed.
7895         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7896         (librt: GLIBC_2.3.3): New version set.
7897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7898         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7899         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7900         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7903         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7905         Moved ...
7906         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7908         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7910         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7912         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7914         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7916         Moved ...
7917         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7918         Update #include.
7919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7920         Moved ...
7921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7922         Update #include.
7923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7924         Moved ...
7925         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7926         Update #include.
7927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7928         Moved ...
7929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7930         Update #include.
7931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7932         Moved ...
7933         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7934         Update #include.
7935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7936         Moved ...
7937         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7938         Update #include.
7939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7940         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7942         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7944         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7946         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7948         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7950         Moved ...
7951         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7953         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7955         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7956
7957 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7958
7959         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7960         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7961         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7962         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7963         * nscd/nscd.c: Likewise.
7964         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7965         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7966         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7967         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7968
7969         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7970         <kernel-features.h>.
7971         (init_mq_netlink): Remove conditional have_sock_cloexec
7972         definitions.  Remove code conditional on have_sock_cloexec < 0.
7973         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7974         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7975         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7976         <kernel-features.h>.
7977         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7978         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7979
7980 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7981
7982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7983         Add tests for memset_chk and memset.
7984
7985         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7986         with AVX2_Usable.
7987
7988 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7989
7990         [BZ #16046]
7991         * elf/tst-dl-iter-static.c: New file.
7992         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7993
7994         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7995         error.
7996
7997 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7998
7999         * sysdeps/unix/sysv/linux/kernel-features.h
8000         (__ASSUME_F_GETOWN_EX): Remove macro.
8001         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8002         <kernel-features.h>.
8003         (miss_F_GETOWN_EX): Remove variable or macro.
8004         (do_fcntl): Do not check miss_F_GETOWN_EX.
8005         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8006
8007         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8008         Remove macro.
8009         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8010         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8011         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8012
8013         * sysdeps/unix/sysv/linux/kernel-features.h
8014         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8015         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8016         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8017         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8018
8019 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8020
8021         [BZ #17075]
8022         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8023         Fix calculation of the symbol's value.
8024         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8025         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8026         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8027         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8028         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8029         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8030         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8031         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8032         (modules-names): Add `tst-armtlsdescmod',
8033         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8034         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8035         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8036         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8037         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8038         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8039         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8040         ($(objpfx)tst-armtlsdescloc): New dependency.
8041         ($(objpfx)tst-armtlsdescextnow): Likewise.
8042         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8043         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8044         TLS scheme support.
8045         * sysdeps/arm/configure: Regenerate.
8046
8047 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8048
8049         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8050         (__atfct_seterrno_2): Likewise.
8051         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8052         <kernel-features.h>.
8053         (__ASSUME_ATFCTS): Do not undefine and redefine.
8054         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8055         (__have_atfcts): Remove conditional definition.
8056         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8057         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8058         unreachable if [__ASSUME_ATFCTS].
8059         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8060         not undefine and redefine.
8061         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8062         <kernel-features.h>.
8063         (faccessat) [__NR_faccessat]: Make code unconditional.
8064         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8065         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8066         <kernel-features.h>.
8067         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8068         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8069         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8070         <kernel-features.h>.
8071         (fchownat) [__NR_fchownat]: Make code unconditional.
8072         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8073         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8074         <kernel-features.h>.
8075         (futimesat) [__NR_futimesat]: Make code unconditional.
8076         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8077         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8078         <kernel-features.h>.
8079         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8080         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8081         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8082         <kernel-features.h>.
8083         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8084         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8085         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8086         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8087         <kernel-features.h>.
8088         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8089         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8090         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8091         <kernel-features.h>.
8092         (linkat) [__NR_linkat]: Make code unconditional.
8093         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8094         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8095         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8096         <kernel-features.h>.
8097         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8098         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8099         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8100         <kernel-features.h>.
8101         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8102         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8103         * sysdeps/unix/sysv/linux/openat.c: Do not include
8104         <kernel-features.h>.
8105         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8106         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8107         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8108         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8109         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8110         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8111         <kernel-features.h>.
8112         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8113         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8114         result of INLINE_SYSCALL directly, not via int variable.
8115         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8116         <kernel-features.h>.
8117         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8118         (renameat) [__NR_renameat]: Make code unconditional.
8119         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8120         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8121         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8122         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8123         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8124         (__ASSUME_ATFCTS): Do not undefine and redefine.
8125         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8126         <kernel-features.h>.
8127         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8128         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8129         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8130         <kernel-features.h>.
8131         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8132         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8133         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8134         (__ASSUME_ATFCTS): Do not undefine and redefine.
8135         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8136         <kernel-features.h>.
8137         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8138         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8139         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8140         <kernel-features.h>.
8141         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8142         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8143
8144 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8145
8146         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8147
8148 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8149
8150         [BZ #17069]
8151         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8152         constructed tree before returning error.
8153         * posix/bug-regexp36.c: Expand test case.
8154
8155 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8156
8157         [BZ #6803]
8158         * math/libm-test.inc (scalbln_test_date):
8159         Add errno expectations.
8160         * math/w_scalblnf.c: New File.
8161         Add wrapper which checks for setting errno to ERANGE.
8162         Add weak_alias for corresponding scalbln function.
8163         * math/w_scalbln.c: Likewise.
8164         * math/w_scalblnl.c: Likewise.
8165         * math/Makefile (libm-calls): Add w_scalbln.
8166         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8167         Remove weak_alias for corresponding scalbln function.
8168         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8169         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8170         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8171         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8172         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8173         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8174         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8175         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8176         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8177         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8178         Remove long_double_symbol for scalblnl function in libm, libc.
8179         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8180         Add wrapper which checks for setting errno to ERANGE.
8181         Add long_double_symbol for scalblnl function in libm, libc.
8182         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8183         Remove long_double_symbol for scalblnl in libm.
8184         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8185         Add wrapper which checks for setting errno to ERANGE.
8186         Add long_double_symbol for scalblnl function in libm.
8187         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8188         Do not use wrapper because of own implementation.
8189
8190 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8191
8192         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8193         3 bytes for __pad1 for x32.
8194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8195
8196 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8197             H.J. Lu  <hongjiu.lu@intel.com>
8198
8199         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8200         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8201         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8202         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8203         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8204
8205 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8206
8207         [BZ #17069]
8208         * posix/regcomp.c (parse_expression): Deallocate partially
8209         constructed tree before returning error.
8210         * posix/Makefile.c (tests): Add bug-regex36.
8211         (generated): Add bug-regex36.mtrace.
8212         (tests-special): Add $(objpfx)bug-regex36-mem.out
8213         (bug-regex36-ENV): New variable.
8214         ($(objpfx)bug-regex36-mem.out): New rule.
8215         * posix/bug-regex36.c: New file.
8216
8217 2014-06-19  Will Newton  <will.newton@linaro.org>
8218
8219         * malloc/malloc.c (systrim): If extra is zero then return
8220         early.
8221
8222 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223
8224         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8225
8226 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8227
8228         * sysdeps/aarch64/strchr.S: New file.
8229
8230 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8231
8232         [BZ #17022]
8233         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8234         from arguments -2 or below.
8235         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8236         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8237
8238 2014-06-18  Andreas Schwab  <schwab@suse.de>
8239
8240         [BZ #17062]
8241         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8242         of a bracket expr not to run off the end of the string.
8243         * posix/Makefile (tests): Add tst-fnmatch3.
8244         * posix/tst-fnmatch3.c: New file.
8245
8246 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8247
8248         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8249         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8250         [$(cross-compiling) = no]: Likewise.
8251         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8252         [$(cross-compiling) = no]: Likewise.
8253
8254 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8255
8256         [BZ #17031]
8257         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8258         double, adjusted for any remainder from the high double.
8259         * math/libm-test.inc (nearbyint): Add tests.
8260         (rint): Likewise.
8261
8262 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8263
8264         * nptl/sysdeps/powerpc/Makefile: Moved ...
8265         * sysdeps/powerpc/nptl/Makefile: ... here.
8266         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8267         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8268         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8269         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8270         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8271         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8272         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8273         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8274         * nptl/sysdeps/powerpc/tls.h: Moved ...
8275         * sysdeps/powerpc/nptl/tls.h: ... here.
8276
8277 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8278
8279         [BZ #16681]
8280         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8281         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8282         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8283         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8284         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8285         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8286         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8287         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8288         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8289
8290 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8291
8292         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8293
8294 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8295
8296         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8297         defined operator.
8298
8299         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8300         $TIMEOUTFACTOR.
8301
8302 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8303
8304         [BZ #17058]
8305         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8306         non-executed part of the test.
8307
8308 2014-06-16  Andreas Schwab  <schwab@suse.de>
8309
8310         * string/bits/string2.h (strdup, strndup): Update feature guard.
8311
8312 2014-06-14  David S. Miller  <davem@davemloft.net>
8313
8314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8315
8316 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8317
8318         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8319         that was previously under [RESET_PID].
8320         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8321
8322         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8323         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8324         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8325         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8326         (__libc_vfork): New strong alias.
8327         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8328
8329 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8330
8331         * sysdeps/generic/elide.h: New file.
8332
8333 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8334
8335         * Makefile (installed-headers): Adjust path of pthread.h header.
8336
8337 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8338
8339         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8340         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8341         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8342         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8343
8344         * nptl/sysdeps/s390/Makefile: Moved ...
8345         * sysdeps/s390/nptl/Makefile: ... here.
8346         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8347         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8348         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8349         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8350         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8351         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8352         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8353         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8354         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8355         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8356         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8357         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8358         * nptl/sysdeps/s390/tls.h: Moved ...
8359         * sysdeps/s390/nptl/tls.h: ... here.
8360
8361         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8362         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8363
8364 2014-06-13  David S. Miller  <davem@davemloft.net>
8365
8366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8369         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8373         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8374         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8375         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8376         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8377         Remove RESET_PID cpp guards.
8378         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8379         Remove RESET_PID cpp guards.
8380         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8381
8382 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8383
8384         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8385         __sp to uintptr_t.
8386
8387 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8388
8389         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8390         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8391         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8392         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8393         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8394         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8395         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8396         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8397         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8398         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8399         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8400         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8401         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8402         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8403         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8404         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8405         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8407         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8408         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8409
8410         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8411         (pthread_rwlock_rdlock): Add elision.
8412         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8413         (pthread_rwlock_wrlock): Add elision.
8414         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8415         (pthread_rwlock_trywrlock): Add elision.
8416         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8417         (pthread_rwlock_tryrdlock): Add elision.
8418         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8419         (pthread_rwlock_tryrdlock): Add elision unlock.
8420         * nptl/sysdeps/pthread/pthread.h:
8421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8422         (PTHREAD_RWLOCK_INITIALIZER,
8423         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8424         Handle new elision field.
8425         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8426         * sysdeps/arm/nptl/bits/pthreadtypes.h
8427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8428         * sysdeps/sh/nptl/bits/pthreadtypes.h
8429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8430         * sysdeps/tile/nptl/bits/pthreadtypes.h
8431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8432         * sysdeps/a/nptl/bits/pthreadtypes.h
8433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8434         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8436         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8438         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8439         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8440         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8442         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8444         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8445         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8446         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8447         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8448         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8449         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8450         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8451         (elision_init): Set try_xbegin to zero when no RTM.
8452         * sysdeps/x86/nptl/bits/pthreadtypes.h
8453         (pthread_rwlock_t): Change __pad1 to __rwelision.
8454         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8455
8456 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8457
8458         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8459         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8460         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8461         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8462
8463 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8464
8465         [BZ #16996]
8466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8467         that the cached result has been set before returning it.
8468
8469 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8470
8471         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8472         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8473         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8474         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8475         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8476         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8477
8478         * nptl/sysdeps/sparc/Makefile: Moved ...
8479         * sysdeps/sparc/nptl/Makefile: ... here.
8480         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8481         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8482         * nptl/sysdeps/sparc/tls.h: Moved ...
8483         * sysdeps/sparc/nptl/tls.h: ... here.
8484         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8485         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8486         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8487         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8488         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8489         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8490         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8491         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8492         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8493         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8494         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8495         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8496         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8497         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8498         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8499         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8500         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8501         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8502         Update #include.
8503         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8504         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8505         Update #include.
8506         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8507         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8508         Update #include.
8509         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8511         Update #include.
8512
8513         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8514
8515         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8516         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8517
8518         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8519         (struct list_links): Type removed.
8520         (struct thread_node, struct timer_node): Replace struct list_links
8521         with struct list_head.
8522         (list_unlink_ip): Likewise.
8523         * sysdeps/pthread/timer_routines.c
8524         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8525         (list_append, list_insbefore): Likewise.
8526         (list_init): Function removed.
8527         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8528         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8529         * sysdeps/pthread/Makefile: ... here, new file.
8530
8531         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8532         * sysdeps/nptl/Implies: ... here.
8533         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8534         * nptl/sysdeps/pthread/list.h: Moved ...
8535         * include/list.h: ... here.
8536         * nptl/sysdeps/pthread/createthread.c: Moved ...
8537         * nptl/createthread.c: ... here.
8538         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8539         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8540         * nptl/pt-longjmp.c: ... here.
8541         * nptl/sysdeps/pthread/Makefile: Moved ...
8542         * sysdeps/nptl/Makefile: ... here.
8543         * nptl/sysdeps/pthread/Subdirs: Moved ...
8544         * sysdeps/nptl/Subdirs: ... here.
8545         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8546         * sysdeps/nptl/aio_misc.h: ... here.
8547         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8548         * sysdeps/nptl/bits/libc-lock.h: ... here.
8549         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8550         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8551         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8552         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8553         * nptl/sysdeps/pthread/configure: Moved ...
8554         * sysdeps/nptl/configure: ... here.
8555         * nptl/sysdeps/pthread/configure.ac: Moved ...
8556         * sysdeps/nptl/configure.ac: ... here.
8557         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8558         * sysdeps/nptl/gai_misc.h: ... here.
8559         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8560         * sysdeps/nptl/librt-cancellation.c: ... here.
8561         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8562         * sysdeps/nptl/malloc-machine.h: ... here.
8563         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8564         * sysdeps/nptl/pthread-functions.h: ... here.
8565         * nptl/sysdeps/pthread/pthread.h: Moved ...
8566         * sysdeps/nptl/pthread.h: ... here.
8567         * nptl/sysdeps/pthread/setxid.h: Moved ...
8568         * sysdeps/nptl/setxid.h: ... here.
8569         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8570         * sysdeps/nptl/sigfillset.c: ... here.
8571         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8572         * sysdeps/nptl/tcb-offsets.h: ... here.
8573         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8574         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8575         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8576         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8577         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8578         * sysdeps/pthread/allocalim.h: ... here.
8579         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8580         * sysdeps/pthread/bits/sigthread.h: ... here.
8581         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8582         * sysdeps/pthread/flockfile.c: ... here.
8583         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8584         * sysdeps/pthread/ftrylockfile.c: ... here.
8585         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8586         * sysdeps/pthread/funlockfile.c: ... here.
8587         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8588         * sysdeps/pthread/posix-timer.h: ... here.
8589         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8590         * sysdeps/pthread/timer_create.c: ... here.
8591         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8592         * sysdeps/pthread/timer_delete.c: ... here.
8593         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8594         * sysdeps/pthread/timer_getoverr.c: ... here.
8595         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8596         * sysdeps/pthread/timer_gettime.c: ... here.
8597         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8598         * sysdeps/pthread/timer_routines.c: ... here.
8599         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8600         * sysdeps/pthread/timer_settime.c: ... here.
8601         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8602         * sysdeps/pthread/tst-timer.c: ... here.
8603         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8604         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8605
8606         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8607         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8608
8609         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8610         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8611         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8612         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8613         Update #include target.
8614         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8615         * sysdeps/i386/i686/nptl/Makefile: ... here.
8616         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8617         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8618         Update #include target.
8619         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8620         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8621         * nptl/sysdeps/i386/Makefile: Moved ...
8622         * sysdeps/i386/nptl/Makefile: ... here.
8623         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8624         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8625         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8626         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8627         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8628         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8629         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8630         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8631         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8632         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8633         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8634         * nptl/sysdeps/i386/tls.h: Moved ...
8635         * sysdeps/i386/nptl/tls.h: ... here.
8636
8637         * sysdeps/sh/Makefile [$(subdir) = csu]
8638         (gen-as-const-headers): Add tcb-offsets.sym.
8639         * nptl/sysdeps/sh/Makefile: File removed.
8640         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8641         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8642         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8643         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8644         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8645         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8646         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8647         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8648         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8649         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8650         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8651         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8652         * nptl/sysdeps/sh/tls.h: Moved ...
8653         * sysdeps/sh/nptl/tls.h: ... here.
8654         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8655         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8656         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8657         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8658         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8659         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8660         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8661         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8662         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8663         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8664         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8665         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8667         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8669         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8671         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8672         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8673         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8674         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8675         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8676         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8677         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8678         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8679         Moved ...
8680         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8681         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8682         Moved ...
8683         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8684         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8685         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8686         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8687         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8688         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8689         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8690         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8691         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8692         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8693         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8694         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8695         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8696         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8697         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8698         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8699         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8700         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8701         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8702
8703 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8704
8705         * posix/spawn_faction_addopen.c: Include string.h.
8706
8707 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8708
8709         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8710         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8711         * nptl/sysdeps/x86_64/Makefile: Moved ...
8712         * sysdeps/x86_64/nptl/Makefile: ... here.
8713         * nptl/sysdeps/x86_64/configure: Moved ...
8714         * sysdeps/x86_64/nptl/configure: ... here.
8715         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8716         * sysdeps/x86_64/nptl/configure.ac: ... here.
8717         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8718         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8719         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8720         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8721         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8722         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8723         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8724         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8725         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8726         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8727         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8728         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8729         * nptl/sysdeps/x86_64/tls.h: Moved ...
8730         * sysdeps/x86_64/nptl/tls.h: ... here.
8731         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8732         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8733         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8734         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8735
8736         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8737
8738 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8739
8740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8741
8742 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8743
8744         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8745         type.
8746         [POSIX] (off_t): Likewise.
8747         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8748         [POSIX] (S_ISBLK): Require macro.
8749         [POSIX] (S_ISCHR): Likewise.
8750         [POSIX] (S_ISDIR): Likewise.
8751         [POSIX] (S_ISFIFO): Likewise.
8752         [POSIX] (S_ISREG): Likewise.
8753         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8754         optional-macro.
8755         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8756         type.
8757         [POSIX] (time_t): Likewise.
8758         [POSIX] (timer_t): Likewise.
8759
8760 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8761
8762         [BZ #17048]
8763         * posix/spawn_int.h (struct __spawn_action): Make the path string
8764         non-const to support deallocation.
8765         * posix/spawn_faction_addopen.c
8766         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8767         * posix/spawn_faction_destroy.c
8768         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8769         path in all spawn_do_open actions.
8770         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8771         posix_spawn_file_actions_addopen.
8772
8773 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8774
8775         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8776         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8777         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8778         conditional code always true.
8779         (__libc_vfork): New alias.
8780
8781 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8782
8783         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8784         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8785
8786         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8787
8788         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8789         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8790
8791         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8792         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8793
8794         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8795         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8796
8797 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8798
8799         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8800         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8801         multiarch strcmp for PPC64.
8802         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8803         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8805         multiarch optimizations.
8806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8807         (__libc_ifunc_impl_list): Likewise.
8808
8809 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8810
8811         * benchtests/scripts/validate_benchout.py: New script.
8812         * benchtests/Makefile (bench-func): Call it.
8813         * benchtests/scripts/benchout.schema.json: New file.
8814
8815 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8816
8817         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8818         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8819         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8820         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8821         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8822         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8823         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8824         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8825         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8826         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8827         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8828         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8829         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8830         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8831         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8832         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8834         Moved ...
8835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8836         ... here.
8837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8838         Moved ...
8839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8841         Moved ...
8842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8843         ... here.
8844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8845         Moved ...
8846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8847         ... here.
8848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8849         Moved ...
8850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8852         Moved ...
8853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8854         ... here.
8855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8856         Moved ...
8857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8858         ... here.
8859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8860         Moved ...
8861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8863         Moved ...
8864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8865         ... here.
8866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8867         Moved ...
8868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8869         ... here.
8870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8871         Moved ...
8872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8873         ... here.
8874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8875         Moved ...
8876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8878         Moved ...
8879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8880         ... here.
8881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8882         Moved ...
8883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8884         ... here.
8885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8886         Moved ...
8887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8888         ... here.
8889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8890         Moved ...
8891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8893         Moved ...
8894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8895         ... here.
8896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8897         Moved ...
8898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8899         ... here.
8900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8901         Moved ...
8902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8904         Moved ...
8905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8906         ... here.
8907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8908         Moved ...
8909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8911         Moved ...
8912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8914         Moved ...
8915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8916         ... here.
8917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8918         Moved ...
8919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8920         ... here.
8921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8922         Moved ...
8923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8924         ... here.
8925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8926         Moved ...
8927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8929         Moved ...
8930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8931         ... here.
8932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8933         Moved ...
8934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8935         ... here.
8936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8937         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8939         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8941         Moved ...
8942         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8943         ... here.
8944         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8945         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8947         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8949         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8950         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8951         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8952         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8953         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8955         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8957         Moved ...
8958         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8959         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8960         Moved ...
8961         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8962         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8963         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8964         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8965         Moved ...
8966         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8967         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8968         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8969         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8970         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8971         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8972         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8973
8974 2014-06-10  Wilco  <wdijkstr@arm.com>
8975
8976         * math/test-fenv-return.c: New file.
8977         * math/Makefile: Add new test test-fenv-return.
8978
8979 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8980
8981         [BZ #17042]
8982         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8983         when x - 1 is zero.
8984         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8985         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8986         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8987         0.0L for an argument of 1.0L.
8988         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8989         Likewise.
8990         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8991         value when x - 1 is zero.
8992         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8993         * sysdeps/i386/fpu/libm-test-ulps: Update.
8994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8995
8996 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8997
8998         [BZ #15119]
8999         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9000
9001 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9002
9003         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9004         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9005
9006 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9007
9008         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9009         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9010
9011         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9012         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9013
9014         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9015         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9016
9017         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9018         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9019
9020         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9021         if not already defined.
9022         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9023         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9024         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9025         (TLS_INIT_TP): Use it.
9026         (TLS_DEFINE_INIT_TP): New macro.
9027         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9028
9029 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9030
9031         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9032         constant.
9033         [POSIX] (IXANY): Likewise.
9034         [POSIX] (OLCUC): Likewise.
9035         [POSIX || POSIX2008] (CBAUD): Do not allow.
9036         [POSIX || POSIX2008] (DEFECHO): Likewise.
9037         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9038         [POSIX || POSIX2008] (ECHOKE): Likewise.
9039         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9040         [POSIX || POSIX2008] (EXTA): Likewise.
9041         [POSIX || POSIX2008] (EXTB): Likewise.
9042         [POSIX || POSIX2008] (FLUSHO): Likewise.
9043         [POSIX || POSIX2008] (LOBLK): Likewise.
9044         [POSIX || POSIX2008] (PENDIN): Likewise.
9045         [POSIX || POSIX2008] (SWTCH): Likewise.
9046         [POSIX || POSIX2008] (VDISCARD): Likewise.
9047         [POSIX || POSIX2008] (VDSUSP): Likewise.
9048         [POSIX || POSIX2008] (VLNEXT): Likewise.
9049         [POSIX || POSIX2008] (VREPRINT): Likewise.
9050         [POSIX || POSIX2008] (VSTATUS): Likewise.
9051         [POSIX || POSIX2008] (VWERASE): Likewise.
9052         (B*): Change to B[0123456789]*.
9053         * conform/data/time.h-data [POSIX || UNIX98]
9054         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9055         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9056         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9057         [POSIX] (tm_*): Do not allow.
9058
9059 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9060
9061         * Makefile (install): Don't set LANGUAGE.
9062         * Makefile.in (install): Likewise.
9063         * assert/Makefile (test-assert-ENV): Remove variable.
9064         (test-assert-perr-ENV): Likewise.
9065         * elf/Makefile (neededtest4-ENV): Likewise.
9066         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9067         [$(cross-compiling) = no]: Don't set LANGUAGE.
9068         * io/ftwtest-sh (LANG): Remove variable.
9069         * libio/Makefile (tst-widetext-ENV): Likewise.
9070         * manual/install.texi (Running make install): Don't refer to
9071         environment settings for make install.
9072         * INSTALL: Regenerated.
9073         * nptl/tst-tls6.sh: Don't set LANG.
9074         * posix/globtest.sh (LANG): Remove variable.
9075         * string/Makefile (tester-ENV): Likewise.
9076         (inl-tester-ENV): Likewise.
9077         (noinl-tester-ENV): Likewise.
9078         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9079         [$(cross-compiling) = no]: Don't set LANGUAGE.
9080         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9081         without explicit environment settings.
9082
9083 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9084
9085         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9086         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9087         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9088         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9089
9090 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9091
9092         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9093         other files in the crypt directory.
9094         * crypt/crypt.c: Remove duplicate includes.
9095         * crypt/crypt-entry.c: Likewise.
9096         * crypt/crypt_util.c: Likewise.
9097
9098 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9099
9100         * Makeconfig (run-program-env): New variable.
9101         (run-program-prefix-before-env): Likewise.
9102         (run-program-prefix-after-env): Likewise.
9103         (run-program-prefix): Define in terms of new variables.
9104         (built-program-cmd-before-env): New variable.
9105         (built-program-cmd-after-env): Likewise.
9106         (built-program-cmd): Define in terms of new variables.
9107         (test-program-prefix-before-env): New variable.
9108         (test-program-prefix-after-env): Likewise.
9109         (test-program-prefix): Define in terms of new variables.
9110         (test-program-cmd-before-env): New variable.
9111         (test-program-cmd-after-env): Likewise.
9112         (test-program-cmd): Define in terms of new variables.
9113         * Rules (make-test-out): Use $(run-program-env).
9114         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9115         (help): Do not mention environment variables.  Mention
9116         --timeoutfactor option.
9117         (timeoutfactor): New variable.
9118         (blacklist_exports): Remove function.
9119         (exports): Remove variable.
9120         (command): Do not include ${exports}.
9121         * manual/install.texi (Configuring and compiling): Do not mention
9122         test wrappers preserving environment variables.  Mention that last
9123         assignment to a variable must take precedence.
9124         * INSTALL: Regenerated.
9125         * benchtests/Makefile (run-bench): Use $(run-program-env).
9126         * catgets/Makefile ($(objpfx)test1.cat): Use
9127         $(built-program-cmd-before-env), $(run-program-env) and
9128         $(built-program-cmd-after-env).
9129         ($(objpfx)test2.cat): Do not specify environment variables
9130         explicitly.
9131         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9132         $(run-program-env) and $(built-program-cmd-after-env).
9133         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9134         $(run-program-env) and $(test-program-cmd-after-env).
9135         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9136         explicitly.
9137         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9138         run_program_env and test_program_cmd_after_env arguments.
9139         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9140         * elf/tst-pathopt.sh: Use run_program_env argument.
9141         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9142         $(test-wrapper-env) and $(run-program-env).
9143         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9144         run_program_env arguments.
9145         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9146         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9147         $(test-program-prefix-before-env), $(run-program-env) and
9148         $(test-program-prefix-after-env).
9149         ($(objpfx)tst-gettext2.out): Likewise.
9150         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9151         run_program_env and test_program_prefix_after_env arguments.
9152         * intl/tst-gettext2.sh: Likewise.
9153         * intl/tst-gettext4.sh: Do not set environment variables
9154         explicitly.
9155         * intl/tst-gettext6.sh: Likewise.
9156         * intl/tst-translit.sh: Likewise.
9157         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9158         $(test-program-prefix-before-env), $(run-program-env) and
9159         $(test-program-prefix-after-env).
9160         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9161         run_program_env and test_program_prefix_after_env arguments.
9162         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9163         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9164         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9165         explicitly with each use of ${test_wrapper_env}.
9166         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9167         $(test-program-prefix-before-env), $(run-program-env) and
9168         $(test-program-prefix-after-env).
9169         * posix/tst-getconf.sh: Do not set environment variables
9170         explicitly.
9171         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9172         run_program_env and test_program_prefix_after_env arguments.
9173         * stdio-common/tst-printf.sh: Do not set environment variables
9174         explicitly.
9175         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9176         $(test-program-prefix-before-env), $(run-program-env) and
9177         $(test-program-prefix-after-env).
9178         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9179         run_program_env and test_program_prefix_after_env arguments.
9180         Split $test calls into $test_pre and $test.
9181         * timezone/Makefile (build-testdata): Use
9182         $(built-program-cmd-before-env), $(run-program-env) and
9183         $(built-program-cmd-after-env).
9184
9185 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9186
9187         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9188         strlen for non SHARED builds.
9189
9190 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9191
9192         * nptl/allocatestack.c (check_list): Inlined function...
9193         (__reclaim_stacks): ... here.
9194
9195 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9196
9197         [BZ #15698]
9198         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9199         memory overrun.
9200
9201 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9202
9203         * Rules (make-test-out): Include
9204         LOCPATH=$(common-objpfx)localedata in default environment.
9205         * debug/Makefile (tst-chk1-ENV): Remove variable.
9206         (tst-chk2-ENV): Likewise.
9207         (tst-chk3-ENV): Likewise.
9208         (tst-chk4-ENV): Likewise.
9209         (tst-chk5-ENV): Likewise.
9210         (tst-chk6-ENV): Likewise.
9211         (tst-lfschk1-ENV): Likewise.
9212         (tst-lfschk2-ENV): Likewise.
9213         (tst-lfschk3-ENV): Likewise.
9214         (tst-lfschk4-ENV): Likewise.
9215         (tst-lfschk5-ENV): Likewise.
9216         (tst-lfschk6-ENV): Likewise.
9217         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9218         (tst-iconv7-ENV): Likewise.
9219         * intl/Makefile (LOCPATH-ENV): Likewise.
9220         (tst-codeset-ENV): Likewise.
9221         (tst-gettext3-ENV): Likewise.
9222         (tst-gettext5-ENV): Likewise.
9223         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9224         (tst-fopenloc-ENV): Likewise.
9225         (tst-fgetws-ENV): Remove variable.
9226         (tst-ungetwc1-ENV): Likewise.
9227         (tst-ungetwc2-ENV): Likewise.
9228         (bug-ungetwc2-ENV): Likewise.
9229         (tst-swscanf-ENV): Likewise.
9230         (bug-ftell-ENV): Likewise.
9231         (tst-fgetwc-ENV): Likewise.
9232         (tst-fseek-ENV): Likewise.
9233         (tst-ftell-partial-wide-ENV): Likewise.
9234         (tst-ftell-active-handler-ENV): Likewise.
9235         (tst-ftell-append-ENV): Likewise.
9236         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9237         (tst-regexloc-ENV): Likewise.
9238         (bug-regex1-ENV): Likewise.
9239         (tst-regex-ENV): Likewise.
9240         (tst-regex2-ENV): Likewise.
9241         (bug-regex5-ENV): Likewise.
9242         (bug-regex6-ENV): Likewise.
9243         (bug-regex17-ENV): Likewise.
9244         (bug-regex18-ENV): Likewise.
9245         (bug-regex19-ENV): Likewise.
9246         (bug-regex20-ENV): Likewise.
9247         (bug-regex22-ENV): Likewise.
9248         (bug-regex23-ENV): Likewise.
9249         (bug-regex25-ENV): Likewise.
9250         (bug-regex26-ENV): Likewise.
9251         (bug-regex30-ENV): Likewise.
9252         (bug-regex32-ENV): Likewise.
9253         (bug-regex33-ENV): Likewise.
9254         (bug-regex34-ENV): Likewise.
9255         (bug-regex35-ENV): Likewise.
9256         (tst-rxspencer-ENV): Likewise.
9257         (tst-rxspencer-no-utf8-ENV): Likewise.
9258         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9259         (tst-sscanf-ENV): Likewise.
9260         (tst-swprintf-ENV): Likewise.
9261         (tst-swscanf-ENV): Likewise.
9262         (test-vfprintf-ENV): Likewise.
9263         (scanf13-ENV): Likewise.
9264         (bug14-ENV): Likewise.
9265         (tst-grouping-ENV): Likewise.
9266         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9267         (tst-strtod3-ENV): Likewise.
9268         (tst-strtod4-ENV): Likewise.
9269         (tst-strtod5-ENV): Likewise.
9270         (testmb2-ENV): Likewise./
9271         * string/Makefile (tst-strxfrm-ENV): Likewise.
9272         (tst-strxfrm2-ENV): Likewise.
9273         (bug-strcoll1-ENV): Likewise.
9274         (test-strcasecmp-ENV): Likewise.
9275         (test-strncasecmp-ENV): Likewise.
9276         * time/Makefile (tst-strptime-ENV): Likewise.
9277         (tst-ftime_l-ENV): Likewise.
9278         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9279         (tst-mbrtowc-ENV): Likewise.
9280         (tst-wcrtomb-ENV): Likewise.
9281         (tst-mbrtowc2-ENV): Likewise.
9282         (tst-c16c32-1-ENV): Likewise.
9283         (tst-mbsnrtowcs-ENV): Likewise.
9284
9285 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9286
9287         * manual/resource.texi (How to get information about the memory
9288         subsystem?): Fix typo.
9289         Reported by Peon de la Parra Ivan <peon@keba.com>
9290
9291 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9292
9293         [BZ #16882]
9294         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9295         (pthread_spin_lock): Branch out of spin loop to proper location.
9296         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9297         (pthread_spin_lock): Likewise.
9298
9299         * nptl/tst-spin4.c: New test.
9300         * nptl/Makefile (tests): Add tst-spin4.
9301
9302 2014-06-03  Andreas Schwab  <schwab@suse.de>
9303
9304         [BZ #15946]
9305         * resolv/res_send.c (send_dg): Reload file descriptor after
9306         calling reopen.
9307
9308 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9309
9310         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9311
9312 2014-06-03  Richard Henderson  <rth@redhat.com>
9313
9314         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9315         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9316         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9317         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9318         in the SAVE_PID block.
9319         (__libc_vfork): New alias.
9320         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9321
9322         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9323         child in registers, not on the stack.  Remove RESET_PID conditionals.
9324         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9325
9326 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9327
9328         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9329
9330 2014-06-03  Wilco  <wdijkstr@arm.com>
9331
9332         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9333         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9334         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9335         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9336         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9337         Likewise.
9338
9339 2014-06-03  Wilco  <wdijkstr@arm.com>
9340
9341         * sysdeps/aarch64/fpu/math_private.h
9342         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9343         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9344         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9345         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9346         Fix declarations.
9347
9348 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9349
9350         * crypt/crypt-private.h: Include ufc-crypt.h.
9351         (__b64_from_24bit): Declare extern.
9352         * crypt/crypt_util.c(__b64_from_24bit): New function.
9353         (b64t): New static const variable.
9354         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9355         (b64t): Remove variable.
9356         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9357         * crypt/sha256-crypt.c: Include crypt-private.h.
9358         (b64t): Remove variable.
9359         (__sha256_crypt_r): Remove b64_from_24bit and replace
9360         with __b64_from_24bit.
9361         * crypt/sha512-crypt.c: Likewise.
9362
9363 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9364
9365         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9366         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9367         Label the code __libc_vfork rather than __vfork.
9368         [!NOT_IN_libc] (vfork): Define as weak alias.
9369         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9370         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9371         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9372
9373 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9374
9375         * malloc/malloc.c (malloc_info): Fix format specifier for
9376         n_mmaps.
9377
9378 2014-06-02  Wilco  <wdijkstr@arm.com>
9379
9380         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9381         FPCR write.
9382
9383 2014-06-02  Wilco  <wdijkstr@arm.com>
9384
9385         [BZ #17009]
9386         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9387         Rewrite to reduce FPCR/FPSR accesses.
9388
9389 2014-06-01  David S. Miller  <davem@davemloft.net>
9390
9391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9392
9393 2014-05-31  David S. Miller  <davem@davemloft.net>
9394
9395         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9396         to occur in round to nearest mode when |x| >= 2.0
9397
9398 2014-05-30  Richard Henderson  <rth@twiddle.net>
9399
9400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9401         (PSEUDO_RET_NOERRNO): Remove.
9402         (ret): Don't redefine.
9403         (ret_NOERRNO): Define in terms of ret.
9404         (ret_ERRVAL): Likewise.
9405
9406         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9407         use of PSEUDO_RET; perform the error check directly.
9408
9409 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9410
9411         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9412         with __int128_t.
9413
9414 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9415
9416         * malloc/malloc (malloc_info): Fix formatting.
9417
9418 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9419             Roland McGrath  <roland@hack.frob.com>
9420
9421         * malloc/malloc (malloc_info): Also print mmapped statistics.
9422
9423 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9424
9425         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9426         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9427
9428 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9429
9430         * malloc/malloc.c (malloc_info): Inline mi_arena.
9431
9432 2014-05-29  Richard Henderson  <rth@twiddle.net>
9433
9434         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9435         Remove comma before expanding ASM_ARGS_##nr.
9436         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9437         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9438         of ASM_ARGS_##nr.
9439         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9440         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9441         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9442         (ASM_ARGS_1): Add leading comma.
9443
9444         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9445         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9446         to __errno_location.
9447         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9448         Remove the expected plt for __errno_location.
9449
9450         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9451         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9452         call to __read_tp.
9453
9454         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9455         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9456         it and break it down.
9457         (DOCARGS_0, DOCARGS_1): Do nothing.
9458         (DOCARGS_2): Update to store into the new stack frame.
9459         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9460         (UNDOCARGS_1): Update to restore from the new stack frame.
9461         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9462         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9463
9464         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9465         (SINGLE_THREAD_P): New parameter for result regno.
9466         (PSEUDO): Update to match; use cbz instead of beq.
9467
9468         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9469         Use ENTRY to define the _nocancel entry point.  Share the syscall
9470         and syscall error check paths with the cancel path.
9471         (PSEUDO_END): New.
9472
9473         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9474         whitespace; tabs before and after asm mnemonics.
9475
9476 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9477
9478         [BZ #15132]
9479         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9480         Call fstat64 or stat64 internally, depending on arguments passed.
9481         Replace stat buffer argument with file descriptor argument.
9482         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9483         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9484         Pass fd to __internal_statvfs instead of calling fstat64.
9485         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9486         Pass fd to __internal_statvfs64 instead of calling fstat64.
9487         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9488         Pass -1 to __internal_statvfs instead of calling stat64.
9489         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9490         Pass -1 to __internal_statvfs64 instead of calling stat64.
9491
9492 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9493
9494         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9495         that was previously under [RESET_PID].
9496         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9497
9498         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9499         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9500
9501 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9502
9503         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9504
9505         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9506         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9507
9508 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9509
9510         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9511
9512 2014-05-27  Andreas Schwab  <schwab@suse.de>
9513
9514         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9515         TLS_INIT_TP macro.
9516         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9517         * elf/rtld.c (init_tls, dl_main): Likewise.
9518         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9519         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9520         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9521         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9522         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9523         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9524         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9525         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9526         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9527         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9528         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9529         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9530         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9531         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9532         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9533         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9534         * sysdeps/generic/tls.h: Update description.
9535
9536 2014-05-27  Will Newton  <will.newton@linaro.org>
9537
9538         [BZ #16990]
9539         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9540         and restore r2 rather than just restoring.
9541
9542 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9543
9544         [BZ #16724]
9545         * libio/tst-ftell-append.c: New test case.
9546         * libio/Makefile (tests): Add test case.
9547         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9548         append mode.
9549         * libio/wfileops.c (do_ftell_wide): Likewise.
9550
9551 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9552
9553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9554
9555         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9556         ...
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9559         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9560         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9561         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9562         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9563         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9564         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9566         Moved ...
9567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9569         Moved ...
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9571         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9572         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9573         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9574         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9575         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9576         ...
9577         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9578         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9579         Moved ...
9580         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9581         here.
9582         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9583         ...
9584         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9585         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9586         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9587
9588         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9589         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9590         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9591         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9592
9593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9594         merge into ...
9595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9597         ...
9598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9600         ...
9601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9603         Moved ...
9604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9605         here.
9606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9607         Moved ...
9608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9610         Moved ...
9611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9612
9613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9614         conditional [RESET_PID].
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9617         removed.
9618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9619         removed.
9620
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9622         <tcb-offsets.h>.
9623         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9624         (__libc_vfork): New strong alias.
9625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9626         removed.
9627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9628         Removed.
9629
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9631         <tcb-offsets.h>.
9632         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9633         (__libc_vfork): New strong alias.
9634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9635         removed.
9636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9637         removed.
9638
9639 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9640
9641         * malloc/malloc.c (mi_arena): New function.
9642         (malloc_info): Remove nested function mi_arena. Call non-nosted
9643         function mi_arena.
9644
9645 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9646
9647         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9648         by insrwi.
9649         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9650         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9651         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9652         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9653         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9654         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9655         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9656
9657 2014-05-26  Andreas Schwab  <schwab@suse.de>
9658
9659         [BZ #16984]
9660         * locale/programs/repertoire.c (repertoire_read): Add slash
9661         between I18NPATH element and file name.
9662         * locale/programs/locfile.c (locfile_read): Likewise.
9663
9664 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9665
9666         * nptl/pthread_mutexattr_settype.c
9667         (__pthread_mutexattr_settype):
9668         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9669
9670 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9671
9672         * nptl/tst-mutex5 (do_test):
9673         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9674
9675 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9676
9677         * benchtests/README: Document 'init' directive.
9678         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9679         BENCH_INIT.
9680         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9681         (parse_file): Recognize 'init' directive.
9682
9683 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9684
9685         [BZ #16796]
9686         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9687         alignment of struct pthread.
9688
9689 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9690
9691         [BZ #16878]
9692         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9693         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9694         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9695         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9696
9697 2014-05-25  Richard Henderson  <rth@twiddle.net>
9698
9699         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9700         (SINGLE_THREAD_P_PIC): Remove.
9701         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9702         (SINGLE_THREAD_P_PIC): Remove.
9703
9704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9705         branch to syscall error ...
9706         (PSEUDO): ... here.
9707         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9708         from __local_syscall_error to .Lsyscall_error.
9709         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9710         (SYSCALL_ERROR): Update label name.
9711
9712         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9713         Do not use DOARGS/UNDOARGS.
9714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9715         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9716         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9717         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9718         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9719
9720         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9721         block comment.
9722
9723         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9724         define if !NOT_IN_libc.
9725         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9726         define with non-default symbol versions.
9727
9728 2014-05-23  Richard Henderson  <rth@twiddle.net>
9729
9730         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9731         (vfork, __vfork): Define via compat_symbol.
9732
9733         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9734         [!HAVE_IFUNC] (vfork_compat): Remove.
9735         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9736
9737 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9738
9739         [BZ #16978]
9740         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9741         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9742         variable.
9743
9744 2014-05-23  Richard Henderson  <rth@twiddle.net>
9745
9746         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9747         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9748         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9749         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9750
9751         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9752         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9753         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9754         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9755         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9756         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9757         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9758         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9759         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9760         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9761         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9762         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9763         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9764         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9765         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9766         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9767         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9768         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9769         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9770         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9771         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9772         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9773         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9774         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9775         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9776         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9777         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9778         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9779         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9780         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9781         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9782         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9783         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9784         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9785         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9786         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9787         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9788         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9789         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9790         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9791         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9792         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9793         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9794         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9795         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9796         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9798         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9800         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9801         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9802         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9803         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9804         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9805         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9806         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9807
9808         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9809         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9810         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9811         before exiting on error.
9812         (__libc_vfork): New strong alias.
9813         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9814         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9815
9816         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9817         that was previously under [RESET_PID].
9818         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9819
9820         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9821
9822 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9823
9824         [BZ #16977]
9825         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9826         value when x - 1 is zero.
9827         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9828         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9829         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9830         0.0L for an argument of 1.0L.
9831         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9832         Likewise.
9833         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9834         value when x - 1 is zero.
9835         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9836         * sysdeps/i386/fpu/libm-test-ulps: Update.
9837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9838
9839 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9840
9841         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9842         alphasort and versionsort.
9843
9844 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9845
9846         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9847         macro.
9848         [copysignf]: Likewise.
9849
9850 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9851
9852         * crypt/md5-crypt.c: Fix formatting.
9853
9854 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9855
9856         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9857         (b64_from_24bit): New function.
9858
9859 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9860
9861         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9862         libc_hidden_builtin_def to ifunc.
9863         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9864         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9865
9866 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9867
9868         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9869         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9870
9871 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9872
9873         * nscd/Depend (linuxthreads): Remove.
9874         (nptl): Add.
9875         * resolv/Depend (linuxthreads): Remove.
9876         * rt/Depend (linuxthreads): Remove.
9877
9878         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9879         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9880         $(common-objpfx)elf/.
9881         (link-libc-before-gnulib): Likewise.
9882         (elfobjdir): Remove variable.
9883         * Makefile (install): Use $(elf-objpfx) instead of
9884         $(common-objpfx)elf/.
9885         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9886         $(elfobjdir)/.
9887         (link-libc-deps): Likewise.
9888         ($(common-objpfx)libc.so): Likewise.
9889         ($(common-objpfx)linkobj/libc.so): Likewise.
9890         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9891         instead of $(common-objpfx)elf/.
9892         (symbolic-link-list): Likewise.
9893         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9894         [$(cross-compiling) = no]: Likewise.
9895         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9896         $(elfobjdir)/.
9897         (static-gnulib-arch): Likewise.
9898         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9899         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9900         $(common-objpfx)elf/.
9901
9902 2014-05-21  Richard Henderson  <rth@redhat.com>
9903
9904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9905         (SINGLE_THREAD_P): Use the correct width load.  Fold
9906         into the ldr offset.
9907
9908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9909         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9910
9911 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9912
9913         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9914         (libgcc_s_resume): Use __attribute_used__.
9915         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9916         Likewise.
9917
9918 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9919
9920         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9921         optimization when used with float constants.
9922
9923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9924
9925 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9926
9927         [BZ #16915]
9928         * locale/nl_langinfo_l.c: Make direct reference to every
9929         _nl_current_CATEGORY symbol.
9930         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9931         (tests-static): Add tst-langinfo-static.
9932         (tests-special): Add tst-langinfo-static.out.
9933         ($(objpfx)tst-langinfo.out): Redirect output.
9934         ($(objpfx)tst-langinfo-static.out): New.
9935         * localedata/tst-langinfo.sh: Send output to stdout.
9936         * localedata/tst-langinfo-static.c: New file.
9937
9938         [BZ #16965]
9939         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9940         when the shift amount is modulo the limb size.
9941
9942 2014-05-20  Richard Henderson  <rth@redhat.com>
9943
9944         [BZ #16967]
9945         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9946         Change type of sa_flags from unsigned int to int.
9947
9948         [BZ #16966]
9949         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9950
9951         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9952
9953 2014-05-20  Will Newton  <will.newton@linaro.org>
9954
9955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9956         Test the return value of the system call in the nocancel case.
9957
9958 2014-05-20  Will Newton  <will.newton@linaro.org>
9959             Yvan Roux  <yvan.roux@linaro.org>
9960
9961         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9962         #include of asm/ptrace.h.
9963         (PTRACE_GET_THREAD_AREA): Remove #undef.
9964         (PTRACE_GETHBPREGS): Likewise.
9965         (PTRACE_SETHBPREGS): Likewise.
9966         (struct user_regs_struct): New structure.
9967         (struct user_fpsimd_struct): New structure.
9968         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9969         #include of asm/ptrace.h and second #include of sys/user.h.
9970         (PTRACE_GET_THREAD_AREA): Remove #undef.
9971         (PTRACE_GETHBPREGS): Likewise.
9972         (PTRACE_SETHBPREGS): Likewise.
9973         (ELF_NGREG): Use new struct user_regs_struct.
9974         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9975
9976 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9977
9978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9980
9981 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9982
9983         [BZ #16958]
9984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9985         membar to avoid block loads/stores to overlap previous stores.
9986
9987 2014-05-17  Richard Henderson  <rth@redhat.com>
9988
9989         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9990         Create the __##syscall_name##_nocancel entry point.
9991         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9992         Remove; let the sysdep-cancel.h code create it.
9993
9994 2014-05-17  David S. Miller  <davem@davemloft.net>
9995
9996         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9997         Protect with __USE_GNU.
9998         (TIOCSET_TEMPT): Likewise.
9999         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10000         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10001         these are already provided in bits/ioctl-types.h
10002
10003 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10004
10005         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10006         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10007
10008         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10009         Use wait4 regardless of [__NR_waitpid].
10010
10011 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10012
10013         PR libgcc/60166
10014         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10015         (_FP_NANSIGN_Q): Set the quiet bit.
10016
10017 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10018
10019         * benchtests/Makefile
10020         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10021         not $(common-objpfx)math/libm.so.
10022         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10023         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10024         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10025         $(common-objpfx)dlfcn/libdl.so.
10026         ($(objpfx)tst-audit8): Depend on $(libm), not
10027         $(common-objpfx)math/libm.so.
10028         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10029         not $(common-objpfx)dlfcn/libdl.so.
10030         * math/Makefile
10031         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10032         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10033         [$(build-shared) = yes].
10034         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10035         $(common-objpfx)nptl/libpthread.so.
10036         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10037         $(common-objpfx)math/libm.so$(libm.so-version) or
10038         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10039         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10040         $(common-objpfx)dlfcn/libdl.so.
10041         * setjmp/Makefile (link-libm): Remove variable.
10042         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10043         * stdio-common/Makefile (link-libm): Remove variable.
10044         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10045         * stdlib/Makefile (link-libm): Remove variable.
10046         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10047         ($(objpfx)tst-strtod-round): Likewise.
10048         ($(objpfx)tst-tininess): Likewise.
10049         ($(objpfx)tst-strtod-underflow): Likewise.
10050         ($(objpfx)tst-strtod6): Likewise.
10051         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10052         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10053         $(common-objpfx)dlfcn/libdl.so.
10054
10055 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10056
10057         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10058         BSD terminal modes definitions.
10059
10060 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10061
10062         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10063         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10064
10065         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10066         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10067         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10068         Don't do #include_next.
10069         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10070         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10071         Don't do #include_next.
10072         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10073         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10074         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10075         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10076
10077 2014-05-16  Allan McRae  <allan@archlinux.org>
10078
10079         * po/sv.po: Update Swedish translation from translation project.
10080
10081         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10082         in sed expression.
10083
10084 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10085
10086         [BZ #16917]
10087         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10088         errno if the TIOCGPTN ioctl fails with an error different than
10089         EINVAL.
10090         * login/tst-ptsname.c: New file.
10091         * login/Makefile (tests): Add tst-ptsname.
10092
10093         [BZ #16943]
10094         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10095         and prlimit64.
10096
10097 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10098
10099         [BZ #16849]
10100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10101         herrno to return EAI_AGAIN.
10102
10103 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10104
10105         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10106         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10107         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10108         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10109         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10110         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10111         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10112         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10113         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10114         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10115         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10116         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10117         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10118         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10119         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10120         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10121         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10122         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10123         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10124         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10125         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10126         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10127         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10128         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10129         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10130         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10131         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10132         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10133         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10134         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10136         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10138         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10140         Moved ...
10141         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10143         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10145         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10147         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10149         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10151         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10153         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10155         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10157         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10158         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10159         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10161         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10163         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10165         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10167         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10169         Moved ...
10170         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10172         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10174         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10176         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10178         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10180         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10182         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10184         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10186         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10188         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10190         Moved ...
10191         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10193         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10194
10195         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10196         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10197         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10198         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10199         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10200         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10201         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10202         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10203         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10204         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10205         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10206         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10207         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10208         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10209         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10210         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10211         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10212         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10213         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10214         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10215         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10216         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10217         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10218         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10219         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10220         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10221         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10223         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10224         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10225         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10226
10227         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10228         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10229
10230         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10231         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10232         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10233         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10234         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10235         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10236         Moved ...
10237         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10239         Moved ...
10240         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10241         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10242         Moved ...
10243         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10244         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10245         Moved ...
10246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10247         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10248         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10249         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10250         Moved ...
10251         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10252         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10253         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10254         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10255         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10256         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10257         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10258         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10259         Moved ...
10260         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10261         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10262         Moved ...
10263         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10264         ... here.
10265         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10266         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10267         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10268         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10269         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10270         Moved ...
10271         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10272         ... here.
10273         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10274         Moved ...
10275         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10276         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10277         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10278         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10279         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10280         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10281         Moved ...
10282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10284         Moved ...
10285         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10286         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10287         Moved ...
10288         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10289         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10290         Moved ...
10291         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10292         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10293         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10294         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10295         Moved ...
10296         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10297         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10298         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10299         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10300         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10301         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10302         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10303         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10304         Moved ...
10305         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10306         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10307         Moved ...
10308         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10309         ... here.
10310         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10311         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10313         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10314         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10315         Moved ...
10316         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10317         ... here.
10318         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10319         Moved ...
10320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10321         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10322         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10323         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10324         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10325         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10326         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10327         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10328         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10329         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10330         Moved ...
10331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10332         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10333         Moved ...
10334         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10335         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10336         Moved ...
10337         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10338         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10339         Moved ...
10340         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10341         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10342         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10343         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10344         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10345         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10346         Moved ...
10347         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10348         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10349         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10350         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10351         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10352         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10353         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10354         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10355         Moved ...
10356         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10357         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10358         Moved ...
10359         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10360         ... here.
10361         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10362         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10363         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10364         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10365         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10366         Moved ...
10367         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10368         ... here.
10369         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10370         Moved ...
10371         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10372         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10373         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10374         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10375         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10376         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10377         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10378         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10379         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10380         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10381         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10382
10383         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10384         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10385
10386         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10387         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10388
10389         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10390         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10391         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10392         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10393         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10394         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10395         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10396         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10397         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10398         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10400         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10401         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10402         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10403         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10404         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10405         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10407         Moved ...
10408         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10410         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10412         Moved ...
10413         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10414         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10417         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10419         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10421         Moved ...
10422         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10423         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10424         Moved ...
10425         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10426         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10427         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10428         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10429         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10430         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10431         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10432         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10433         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10434         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10435         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10436         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10437         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10438         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10439         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10440         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10441         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10442
10443         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10444         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10445         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10446         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10447         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10448
10449         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10450         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10451         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10452         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10453         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10454         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10455         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10456         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10457         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10458         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10459
10460         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10461         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10462
10463         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10464         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10465         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10466         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10467         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10468         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10469         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10470         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10471         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10472         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10473         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10474         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10475         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10476         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10478         Update #include.
10479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10480         Likewise.
10481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10482         Likewise.
10483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10484         Likewise.
10485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10486         Likewise.
10487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10488         Likewise.
10489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10490         Likewise.
10491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10492         Likewise.
10493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10494         Likewise.
10495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10496         Likewise.
10497         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10498         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10499         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10502         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10505         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10506         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10507         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10508         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10509         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10510         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10511         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10512
10513         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10514         that was previously under [RESET_PID].
10515         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10516         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10517         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10518
10519         * sysdeps/i386/nptl/Implies: New file.
10520         * sysdeps/x86_64/nptl/Implies: New file.
10521         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10522         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10523         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10524         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10525
10526         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10527         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10528         (__libc_vfork): New strong alias.
10529         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10530         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10531
10532         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10533         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10534         (__libc_vfork): New strong alias.
10535         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10536         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10537
10538         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10539         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10540         (__libc_vfork): New strong alias.
10541         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10542         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10543         * nptl/pt-vfork.c: New file.
10544         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10545         (libpthread: GLIBC_2.20): New version set (empty).
10546
10547 2014-05-14  Will Newton  <will.newton@linaro.org>
10548
10549         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10550         rather than #if.
10551
10552 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10553
10554         [BZ #16564]
10555         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10556         arguments with exponent 65 or above.
10557         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10558         arguments 0x1p113L or above.
10559         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10560         to arguments 0x1p107L or above.
10561         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10562         positive arguments with exponent 65 or above.
10563         * math/auto-libm-test-in: Add more tests of log1p.
10564         * math/auto-libm-test-out: Regenerated.
10565
10566         [BZ #16928]
10567         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10568         non-finite arguments is +0.
10569         * math/s_cacosf.c (__cacosf): Likewise.
10570         * math/s_cacosl.c (__cacosl): Likewise.
10571         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10572         * sysdeps/i386/fpu/libm-test-ulps: Update.
10573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10574
10575         [BZ #16927]
10576         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10577         value.
10578         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10579         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10580         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10581         for explicit high bit of mantissa when testing for argument equal
10582         to 1.
10583         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10584         * sysdeps/i386/fpu/libm-test-ulps: Update.
10585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10586
10587         [BZ #16516]
10588         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10589         (__erf): Scale by 16 instead of 8 in potentially underflowing
10590         case.  Ensure exception if result actually underflows.
10591         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10592         (__erff): Scale by 16 instead of 8 in potentially underflowing
10593         case.  Ensure exception if result actually underflows.
10594         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10595         (efx8): Remove variable.
10596         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10597         case.  Ensure exception if result actually underflows.
10598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10599         (efx8): Remove variable.
10600         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10601         case.  Ensure exception if result actually underflows.
10602         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10603         (efx8): Remove variable.
10604         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10605         case.  Ensure exception if result actually underflows.
10606         * math/auto-libm-test-in: Add more tests of erf.
10607         * math/auto-libm-test-out: Regenerated.
10608
10609 2014-05-14  Andreas Schwab  <schwab@suse.de>
10610
10611         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10612         Remove code conditionalized on USE___THREAD.
10613
10614         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10615         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10616         not definedness.
10617
10618 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10619
10620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10621         Define unconditionally.
10622         (__ASSUME_O_CLOEXEC): Likewise.
10623         (__ASSUME_SOCK_CLOEXEC): Likewise.
10624         (__ASSUME_IN_NONBLOCK): Likewise.
10625         (__ASSUME_PIPE2): Likewise.
10626         (__ASSUME_EVENTFD2): Likewise.
10627         (__ASSUME_SIGNALFD4): Likewise.
10628         (__ASSUME_DUP3): Likewise.
10629         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10630         (__ASSUME_DUP3): Do not define.
10631         (__ASSUME_EVENTFD2): Likewise.
10632         (__ASSUME_IN_NONBLOCK): Likewise.
10633         (__ASSUME_O_CLOEXEC): Likewise.
10634         (__ASSUME_PIPE2): Likewise.
10635         (__ASSUME_SIGNALFD4): Likewise.
10636         (__ASSUME_SOCK_CLOEXEC): Likewise.
10637         (__ASSUME_UTIMES): Undefine.
10638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10639         (__ASSUME_UTIMES): Do not define.
10640         (__ASSUME_O_CLOEXEC): Likewise.
10641         (__ASSUME_SOCK_CLOEXEC): Likewise.
10642         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10643         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10644         0x020621].
10645         (__ASSUME_PIPE2): Likewise.
10646         (__ASSUME_EVENTFD2): Likewise.
10647         (__ASSUME_SIGNALFD4): Likewise.
10648         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10649         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10650         Do not define.
10651         (__ASSUME_EVENTFD2): Likewise.
10652         (__ASSUME_SIGNALFD4): Likewise.
10653         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10654         (__ASSUME_32BITUIDS): Likewise.
10655         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10656         (__ASSUME_IPC64): Likewise.
10657         (__ASSUME_ST_INO_64_BIT): Likewise.
10658         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10659         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10660         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10661         (__ASSUME_UTIMES): Do not define.
10662         (__ASSUME_PSELECT): Likewise.
10663         (__ASSUME_PPOLL): Likewise.
10664         (__ASSUME_O_CLOEXEC): Likewise.
10665         (__ASSUME_SOCK_CLOEXEC): Likewise.
10666         (__ASSUME_IN_NONBLOCK): Likewise.
10667         (__ASSUME_PIPE2): Likewise.
10668         (__ASSUME_EVENTFD2): Likewise.
10669         (__ASSUME_SIGNALFD4): Likewise.
10670         (__ASSUME_DUP3): Likewise.
10671         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10672         (__ASSUME_UTIMES): Likewise.
10673         (__ASSUME_O_CLOEXEC): Likewise.
10674         (__ASSUME_SOCK_CLOEXEC): Likewise.
10675         (__ASSUME_IN_NONBLOCK): Likewise.
10676         (__ASSUME_PIPE2): Likewise.
10677         (__ASSUME_EVENTFD2): Likewise.
10678         (__ASSUME_SIGNALFD4): Likewise.
10679         (__ASSUME_DUP3): Likewise.
10680         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10681         (__ASSUME_UTIMES): Likewise.
10682         (__ASSUME_O_CLOEXEC): Likewise.
10683         (__ASSUME_SOCK_CLOEXEC): Likewise.
10684         (__ASSUME_IN_NONBLOCK): Likewise.
10685         (__ASSUME_PIPE2): Likewise.
10686         (__ASSUME_EVENTFD2): Likewise.
10687         (__ASSUME_SIGNALFD4): Likewise.
10688         (__ASSUME_DUP3): Likewise.
10689         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10690         Likewise.
10691         (__ASSUME_UTIMES): Likewise.
10692         (__ASSUME_EVENTFD2): Likewise.
10693         (__ASSUME_SIGNALFD4): Likewise.
10694         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10695         (__ASSUME_O_CLOEXEC): Likewise.
10696         (__ASSUME_SOCK_CLOEXEC): Likewise.
10697         (__ASSUME_IN_NONBLOCK): Likewise.
10698         (__ASSUME_PIPE2): Likewise.
10699         (__ASSUME_EVENTFD2): Likewise.
10700         (__ASSUME_SIGNALFD4): Likewise.
10701         (__ASSUME_DUP3): Likewise.
10702         (__ASSUME_UTIMES): Undefine.
10703
10704         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10705         feclearexcept.  Remove symbol versioning code.
10706         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10707         symbol versioning code.
10708         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10709         symbol versioning code.
10710         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10711         feupdateenv.  Remove symbol versioning code.
10712         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10713         fegetexceptflag.  Remove symbol versioning code.
10714         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10715         fesetexceptflag.  Remove symbol versioning code.
10716         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10717         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10718         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10719         (__posix_fadvise64_l32): Remove prototype.
10720         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10721         code.
10722
10723 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10724
10725         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10726         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10727         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10728         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10729
10730 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10731
10732         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10733         current working directory
10734
10735 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10736
10737         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10738         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10739         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10740         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10741         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10742         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10743         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10744         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10745         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10746         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10747         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10748         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10749         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10750         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10751         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10752         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10753         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10754         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10755         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10756         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10757         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10758         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10759         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10760         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10761         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10762         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10763         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10764         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10765         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10766         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10767         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10768         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10769         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10770         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10771         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10772         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10773         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10774         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10775         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10776         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10777         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10778         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10779
10780         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10781         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10782
10783         * sysdeps/unix/sysv/linux/arm/Makefile
10784         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10785         Add rt-aeabi_unwind_cpp_pr1.
10786         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10787         Add nptl-aeabi_unwind_cpp_pr1.
10788         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10789         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10790         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10791         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10792         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10793         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10794
10795         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10796         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10797         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10798         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10799
10800         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10801         Deconditionalize the code that was previously under [RESET_PID].
10802         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10803
10804         * sysdeps/generic/exit-thread.h: New file.
10805         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10806         * include/unistd.h (__exit_thread): Remove declaration.
10807         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10808         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10809         * csu/libc-start.c: Include <exit-thread.h>.
10810         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10811         * nptl/pthread_create.c: Include <exit-thread.h>.
10812         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10813         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10814         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10815         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10816         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10817         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10818         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10819         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10820         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10821         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10822         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10823         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10824         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10825         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10826         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10827         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10828         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10829
10830 2014-05-13  Andreas Schwab  <schwab@suse.de>
10831
10832         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10833
10834 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10835
10836         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10837         (__ASSUME_UTIMES): Do not condition on kernel version.
10838         (__ASSUME_PSELECT): Define unconditionally.
10839         (__ASSUME_PPOLL): Likewise.
10840         (__ASSUME_ATFCTS): Likewise.
10841         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10842         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10843         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10844         (__ASSUME_UTIMENSAT): Define unconditionally.
10845         (__ASSUME_PRIVATE_FUTEX): Likewise.
10846         (__ASSUME_FALLOCATE): Likewise.
10847         (__ASSUME_O_CLOEXEC): Likewise.
10848         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10849         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10850         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10851         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10852         (__ASSUME_IN_NONBLOCK): Likewise.
10853         (__ASSUME_PIPE2): Likewise.
10854         (__ASSUME_EVENTFD2): Likewise.
10855         (__ASSUME_SIGNALFD4): Likewise.
10856         (__ASSUME_DUP3): Likewise.
10857         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10858         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10859         (__ASSUME_AT_RANDOM): Likewise.
10860         (__ASSUME_PREADV): Likewise.
10861         (__ASSUME_PWRITEV): Likewise.
10862         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10863         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10864         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10865         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10866         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10867         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10868         (__ASSUME_O_CLOEXEC): Define unconditionally.
10869         (__ASSUME_PSELECT): Do not undefine conditionally.
10870         (__ASSUME_PPOLL): Likewise.
10871         (__ASSUME_ATFCTS): Likewise.
10872         (__ASSUME_SET_ROBUST_LIST): Likewise.
10873         (__ASSUME_UTIMENSAT): Likewise.
10874         (__ASSUME_FDATASYNC): Define unconditionally.
10875         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10876         (__ASSUME_SIGFRAME_V2): Likewise.
10877         )__ASSUME_EVENTFD2): Likewise.
10878         (__ASSUME_SIGNALFD4): Likewise.
10879         (__ASSUME_PSELECT): Do not undefine conditionally.
10880         (__ASSUME_PPOLL): Likewise.
10881         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10882         (__ASSUME_PSELECT): Define unconditionally.
10883         (__ASSUME_PPOLL): Likewise.
10884         (__ASSUME_O_CLOEXEC): Likewise.
10885         (__ASSUME_SOCK_CLOEXEC): Likewise.
10886         (__ASSUME_IN_NONBLOCK): Likewise.
10887         (__ASSUME_PIPE2): Likewise.
10888         (__ASSUME_EVENTFD2): Likewise.
10889         (__ASSUME_SIGNALFD4): Likewise.
10890         (__ASSUME_DUP3): Likewise.
10891         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10892         (__ASSUME_O_CLOEXEC): Likewise.
10893         (__ASSUME_SOCK_CLOEXEC): Likewise.
10894         (__ASSUME_IN_NONBLOCK): Likewise.
10895         (__ASSUME_PIPE2): Likewise.
10896         (__ASSUME_EVENTFD2): Likewise.
10897         (__ASSUME_SIGNALFD4): Likewise.
10898         (__ASSUME_DUP3): Likewise.
10899         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10900         (__ASSUME_EVENTFD2): Likewise.
10901         (__ASSUME_SIGNALFD4): Likewise.
10902         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10903
10904 2014-05-12  Andreas Schwab  <schwab@suse.de>
10905
10906         [BZ #16932]
10907         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10908         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10909         than maximum RPC packet size.
10910         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10911         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10912         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10913         (_nss_nis_getservbyport_r): Likewise.
10914
10915 2014-05-12  Will Newton  <will.newton@linaro.org>
10916
10917         * malloc/Makefile (tests): Add tst-mallopt.
10918         * malloc/tst-mallopt.c: New file.
10919
10920 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10921
10922         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10923         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10924
10925 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10926
10927         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10928         (tst-tlsmod6.so): Likewise.
10929
10930 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10931
10932         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10933
10934 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10935
10936         [BZ #16064]
10937         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10938         and <dl-procinfo.h>.
10939         (__fegetenv): Save SSE state in envp->__eip if supported.
10940         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10941         envp->__eip if supported.
10942         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10943         and <dl-procinfo.h>.
10944         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10945         __data_offset and __data_selector in environment to 0.  Set SSE
10946         state if supported.
10947         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10948         test-fenv-sse.
10949         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10950         -mfpmath=sse.
10951         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10952
10953 2014-05-09  Will Newton  <will.newton@linaro.org>
10954
10955         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10956         and libc_relro_required for ARM.
10957         * sysdeps/arm/preconfigure: Regenerate.
10958
10959 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10960             Stefan Liebler  <stli@linux.vnet.ibm.com>
10961
10962         * config.make.in (enable-lock-elision): New Makefile variable.
10963         * configure.ac: Likewise.
10964         * configure: Regenerate.
10965         * sysdeps/s390/configure.ac:
10966         Add check for gcc transactions support.
10967         * sysdeps/s390/configure: Regenerate.
10968         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10969         Build elision files if enabled.
10970         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10971         Add lock elision support for s390.
10972         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10973         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10974         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10975         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10976         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10977         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10978         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10979         Likewise.
10980         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10981         Likewise.
10982         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10983         Likewise.
10984         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10985         Likewise.
10986         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10987         (__lll_timedlock_elision, __lll_lock_elision)
10988         (__lll_unlock_elision, __lll_trylock_elision)
10989         (lll_timedlock_elision, lll_lock_elision)
10990         (lll_unlock_elision, lll_trylock_elision): Add.
10991         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10992         (pthread_mutex_t): Add lock elision support for s390.
10993
10994 2014-05-14  Wilco  <wdijkstr@arm.com>
10995
10996         * sysdeps/arm/fclrexcpt.c: Cleanup.
10997         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10998         * sysdeps/arm/feenablxcpt.c: Cleanup.
10999         * sysdeps/arm/fegetenv.c: Cleanup.
11000         * sysdeps/arm/fegetexcept.c: Cleanup.
11001         * sysdeps/arm/fegetround.c: Cleanup.
11002         * sysdeps/arm/feholdexcpt.c: Cleanup.
11003         * sysdeps/arm/fesetenv.c: Cleanup.
11004         * sysdeps/arm/fesetround.c: Cleanup.
11005         * sysdeps/arm/feupdateenv.c: Cleanup.
11006         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11007         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11008         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11009         * sysdeps/arm/ftestexcept.c: Cleanup.
11010         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11011         * sysdeps/arm/setfpucw.c: Cleanup.
11012
11013 2014-05-09  Will Newton  <will.newton@linaro.org>
11014
11015         * sysdeps/arm/armv7/strcmp.S: New file.
11016         * NEWS: Mention addition of ARMv7 optimized strcmp.
11017
11018 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11019
11020         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11021         look for %.ac rather than %.in.
11022
11023         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11024         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11025         * sysdeps/mach/hurd/configure: Regenerated.
11026         * sysdeps/unix/sysv/linux/configure: Regenerated.
11027
11028         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11029
11030 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11031
11032         [BZ# 16922]
11033         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11034         (LONG_SUB): Ditto.
11035         (PTR_SUB): Ditto.
11036
11037 2014-05-07  Andreas Schwab  <schwab@suse.de>
11038
11039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11040         when skipping over non-matching result from nscd.
11041
11042 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11043
11044         [BZ #16876]
11045         * nptl/sockperf.c (client): Check socket return value.
11046
11047         [BZ #16877]
11048         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11049         nscd security class.
11050
11051 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11052
11053         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11054         * sysdeps/arm/unwind.h: ... here.
11055
11056 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11057
11058         [BZ# 16916]
11059         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11060         Define.
11061
11062 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11063
11064         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11065         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11066         multiarch strncpy for PPC64.
11067         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11068         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11070         multiarch optimizations.
11071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11072         (__libc_ifunc_impl_list): Likewise.
11073         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11074         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11075         multiarch stpncpy for PPC64.
11076         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11077         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11078
11079 2014-05-06  Andreas Schwab  <schwab@suse.de>
11080
11081         [BZ #16912]
11082         * gmon/mcount.c (_MCOUNT_DECL): Use
11083         atomic_compare_and_exchange_bool_acq instead of
11084         catomic_compare_and_exchange_bool_acq.
11085
11086 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11087
11088         * elf/Makefile (others, install-bin): Remove pldd.
11089         (pldd-modules): Variable removed.
11090         ($(objpfx)pldd): Target removed.
11091         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11092         (others, install-bin): Append pldd here.
11093         ($(objpfx)pldd): New target.
11094
11095         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11096         to 0, so the first #if test emitted later doesn't see it undefined.
11097         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11098         * sysdeps/gnu/errlist.c: Regenerated.
11099
11100 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11101
11102         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11103         [libc_hidden_builtin_def]: Define to empty value.
11104         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11105         [libc_hidden_builtin_def]: Likewise.
11106         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11107         [libc_hidden_builtin_def]: Likewise.
11108         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11109         [libc_hidden_builtin_def]: Likewise.
11110         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11111         __redirect_memcpy and define ifunc as default hidden symbol.
11112         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11113         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11114
11115 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11116
11117         * locale/iso-4217.def: Reintroduce XDR currency.
11118
11119 2014-05-04  Allan McRae  <allan@archlinux.org>
11120
11121         * po/eo.po: Update Esperanto translation from translation project.
11122
11123 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11124
11125         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11126         and FEATURE_INDEX_MAX to 1.
11127         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11128
11129 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11130
11131         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11132         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11133         * iconvdata/big5.c (ONE_DIRECTION): Define.
11134         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11135         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11136         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11137         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11138         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11139         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11140         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11141         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11142         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11143         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11144         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11145         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11146         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11147         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11148         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11149         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11150         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11151         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11152         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11153         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11154         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11155         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11156         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11157         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11158         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11159         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11160         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11161         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11162         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11163         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11164         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11165         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11166         * iconvdata/johab.c (ONE_DIRECTION): Define.
11167         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11168         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11169         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11170         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11171         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11172         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11173         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11174         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11175         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11176         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11177
11178 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11179
11180         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11181         (_IO_JUMPS_OFFSET): Define to 0.
11182
11183         * nptl/sysdeps/pthread/bits/libc-lock.h
11184         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11185         (__libc_lock_define_initialized_recursive): Always define using
11186         initializer.  Modern compilers treat uninitialized (implicit zero) and
11187         explicit zero initializers the same (i.e. put the datum in bss).
11188
11189 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11190
11191         * nscd/nscd-client.h: Include <string.h>.
11192
11193 2014-05-01  David S. Miller  <davem@davemloft.net>
11194
11195         [BZ #16885]
11196         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11197         multiple zero bytes exist at the end of a string.
11198         Reported by Aurelien Jarno <aurelien@aurel32.net>
11199
11200         * string/test-strcmp.c (check): Add explicit test for situations where
11201         there are multiple zero bytes after the first.
11202
11203 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11204
11205         [BZ #16890]
11206         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11207         when compiling wprintf.
11208         * stdio-common/tstdiomisc.c (t3): New function.
11209         (main): Call it.
11210
11211 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11212
11213         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11214         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11215         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11216         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11217
11218 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11219
11220         * stdlib/longlong.h: Updated from GCC.
11221
11222 2014-05-01  Will Newton  <will.newton@linaro.org>
11223             Bernard Ogden  <bernie.ogden@linaro.org>
11224
11225         * NEWS: Update fixed bug list.
11226
11227         [BZ #15119]
11228         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11229
11230 2014-04-30  David S. Miller  <davem@davemloft.net>
11231
11232         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11233         (libc_feholdexcept_setround_sparc_ctx): New function.
11234         (libc_fesetenv_sparc_ctx): Likewise.
11235         (libc_feupdateenv_sparc_ctx): Likewise.
11236         (libc_feholdsetround_sparc_ctx): Likewise.
11237         (libc_feholdexcept_setround_ctx): Define.
11238         (libc_feholdexcept_setroundf_ctx): Likewise.
11239         (libc_feholdexcept_setroundl_ctx): Likewise.
11240         (libc_fesetenv_ctx): Likewise.
11241         (libc_fesetenvf_ctx): Likewise.
11242         (libc_fesetenvl_ctx): Likewise.
11243         (libc_feupdateenv_ctx): Likewise.
11244         (libc_feupdateenvf_ctx): Likewise.
11245         (libc_feupdateenvl_ctx): Likewise.
11246         (libc_feresetround_ctx): Likewise.
11247         (libc_feresetroundf_ctx): Likewise.
11248         (libc_feresetroundl_ctx): Likewise.
11249         (libc_feholdsetround_ctx): Likewise.
11250         (libc_feholdsetroundf_ctx): Likewise.
11251         (libc_feholdsetroundl_ctx): Likewise.
11252
11253         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11254         with __USE_GNU instead of XOPEN cpp guards.
11255
11256         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11257         0.
11258
11259         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11260         with XOPEN cpp guards.
11261
11262 2014-04-30  Julian Brown  <julian@codesourcery.com>
11263
11264         [BZ #16888]
11265         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11266         handling.
11267
11268 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11269
11270         [BZ #9894]
11271         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11272         Change to 2.6.32.
11273         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11274         * sysdeps/unix/sysv/linux/configure: Regenerated.
11275         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11276         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11277         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11278         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11279         * README: Update reference to required Linux kernel version.
11280         * manual/install.texi (Linux): Update reference to required Linux
11281         kernel headers version.
11282         * INSTALL: Regenerated.
11283
11284         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11285         header inclusion.
11286         [POSIX] (limits.h): Likewise.
11287         [POSIX] (math.h): Likewise.
11288         [POSIX] (sys/wait.h): Likewise.
11289         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11290         function.
11291         [POSIX] (stddef.h): Do not allow header inclusion.
11292
11293 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11294
11295         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11296
11297 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11298
11299         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11300         Return immediately after lll_futex_wake.
11301
11302 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11303
11304         [BZ #16791]
11305         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11306         structure.
11307         (datahead_init_pos): Call datahead_init_common early.
11308         (datahead_init_neg): Likewise.
11309
11310         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11311         datahead_init_neg): New functions.
11312         * nscd/aicache.c (addhstaiX): Use them.
11313         * nscd/grpcache.c (cache_addgr): Likewise.
11314         * nscd/hstcache.c (cache_addhst): Likewise.
11315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11316         * nscd/netgroupcache.c (do_notfound): Likewise.
11317         (addgetnetgrentX): Likewise.
11318         (addinnetgrX): Likewise.
11319         * nscd/pwdcache.c (cache_addpw): Likewise.
11320         * nscd/servicescache.c (cache_addserv): Likewise.
11321
11322 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11323             Atsushi Onoe  <atsushi@onoe.org>
11324
11325         [BZ #14308]
11326         [BZ #12994]
11327         [BZ #13651]
11328         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11329         one response is valid.
11330         * resolv/res_send.c (send_dg): Check for validity of other
11331         response if the current response is a referral.
11332
11333 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11334
11335         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11336
11337 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11338
11339         [BZ #16823]
11340         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11341         Always divide by positive zero when computing -Inf result.
11342         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11343         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11344
11345 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11346
11347         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11348         FPSCR if value do not change.
11349         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11350         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11351         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11352         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11353         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11354         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11355         function.
11356
11357 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11358
11359         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11360         * sysdeps/unix/sysv/linux/hppa: Move directory from
11361         ports/systeps/unix/sysv/linux/hppa.
11362         * README: Update listing for hppa-*-linux-gnu.
11363
11364 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11365
11366         [BZ #16754]
11367         * manual/stdio.texi (Hook functions): Fix types of stream hook
11368         functions.
11369         [BZ #16854]
11370         * socket/sys/socket.h: Fix typo in comment.
11371
11372 2014-04-28  Wilco  <wdijkstr@arm.com>
11373
11374         * sysdeps/arm/fenv_private.h: New file.
11375         * sysdeps/arm/math_private.h: New file.
11376         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11377
11378 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11379
11380         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11381         with __int128_t.
11382         (La_x86_64_retval): Likewise.
11383
11384 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11385
11386         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11387         fpsr if value didn't change.
11388         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11389         to fpcr if value didn't change.
11390         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11391         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11392         fpsr or fpcr if value didn't change.
11393         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11394         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11395         fpcr if value didn't change.
11396         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11397         to fpsr if value didn't change.
11398
11399 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11400
11401         * nptl/tst-sem3.c: Use test-skeleton.c
11402         (main): Rename to do_test.  Use return instead of
11403         exit.
11404         * nptl/tst-sem4.c: Use test-skeleton.c
11405         (main): Rename to do_test.
11406
11407 2014-04-22  David S. Miller  <davem@davemloft.net>
11408
11409         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11410         (struct sigaction): New struct member __glibc_reserved0, change
11411         type of sa_flags to int.
11412
11413 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11414
11415         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11416         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11417
11418 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11419
11420         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11421         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11422
11423 2014-04-22  Will Newton  <will.newton@linaro.org>
11424             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11425
11426         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11427         (__longjmp): Add longjmp and longjmp_target SystemTap
11428         probes.
11429         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11430         (__sigsetjmp): Add setjmp SystemTap probe.
11431
11432 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11433
11434         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11435         match manual order.
11436
11437 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11438
11439         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11440
11441         * sysdeps/powerpc/fpu/fenv_private.h
11442         (libc_feholdexcept_setroundl_ctx): Define to
11443         libc_feholdexcept_setround_ppc_ctx.
11444         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11445         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11446         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11447         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11448
11449 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11450
11451         * sysdeps/aarch64/math-tests.h: New file.
11452
11453 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11454
11455         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11456         New.
11457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11458         Check and set bit_AVX2_Usable.
11459         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11460         macro.
11461         (bit_AVX2): Likewise.
11462         (index_AVX2_Usable): Likewise.
11463         (CPUID_AVX2): Likewise.
11464         (HAS_AVX2): Likewise.
11465
11466 2014-04-17  Will Newton  <will.newton@linaro.org>
11467
11468         * manual/setjmp.texi (System V contexts): Add note that
11469         calling setcontext on a context created by a call to a
11470         signal handler is undefined.  Update text to note that
11471         setcontext from a signal handler is possible but not
11472         recommended.
11473
11474         [BZ #16629]
11475         * stdlib/tst-setcontext.c: Include signal.h.
11476         (main): Check that the signal stack before and
11477         after swapcontext is the same.
11478
11479         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11480         Re-implement to restore registers in user code and avoid
11481         rt_sigreturn system call.
11482
11483 2014-04-17  Wilco  <wdijkstr@arm.com>
11484
11485         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11486         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11487         * math/test-fenv.c: Skip exception trap tests on targets which only
11488         support non-stop mode.
11489
11490 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11491             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11492
11493         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11494         (libc_feholdsetround_aarch64_ctx)
11495         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11496         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11497         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11498         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11499         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11500         (libc_feresetround_noexl_ctx): Define.
11501
11502 2014-04-16  Richard Henderson  <rth@redhat.com>
11503
11504         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11505
11506         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11507         unwind tables.
11508
11509         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11510         const from the non-libc, non-ldso copy.
11511
11512         * sysdeps/alpha/libm-test-ulps: Regenerate.
11513
11514 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11515             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11516
11517         * sysdeps/aarch64/fpu/math_private.h: New file.
11518
11519 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11520
11521         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11522
11523 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11524
11525         [BZ #16275]
11526         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11527         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11529         Intel MPX bound registers before _dl_profile_fixup.
11530         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11531         registers after _dl_profile_fixup.  Save and restore bound
11532         registers bnd0/bnd1 when calling _dl_call_pltexit.
11533         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11534         (LR_BND_OFFSET): Likewise.
11535         (LRV_BND0_OFFSET): Likewise.
11536         (LRV_BND1_OFFSET): Likewise.
11537
11538 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11539
11540         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11541         to...
11542         * sysdeps/mach/hurd/i386/tls.h: ... here.
11543         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11544         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11545         fields.
11546
11547 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11548
11549         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11550
11551 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11552
11553         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11554
11555 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11556
11557         [BZ #14770]
11558         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11559         * sysdeps/s390/configure: Regenerate.
11560
11561         [BZ #16824]
11562         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11563         Set round-to-nearest internally to reduce error accumulation.
11564
11565 2014-04-16  Alan Modra  <amodra@gmail.com>
11566
11567         [BZ #16740]
11568         [BZ #16619]
11569         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11570         * math/libm-test.inc (frexp_test_data): Add tests.
11571         * NEWS: Update fixed bug list.
11572
11573 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11574
11575         * benchtests/Makefile: Depend on libraries in build directory.
11576         (bench-math): Separate out math tests.
11577         (bench-pthread): Separate out pthread tests.
11578         (bench): Include math and pthread tests.
11579
11580 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11581
11582         [BZ #16831]
11583         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11584         _dl_debug_initialize.
11585
11586         * configure.ac: Remove SELinux header check.
11587         * configure: Regenerate.
11588         * nscd/selinux.c (perms): Array of const char* to permission names.
11589         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11590         default policy. Call string_to_security_class and string_to_av_perm to
11591         translate strings. Enforce default policy and call avs_has_perm with
11592         results of translated strings.
11593
11594 2014-04-13  David S. Miller  <davem@davemloft.net>
11595
11596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11597
11598 2014-04-12  Allan McRae  <allan@archlinux.org>
11599
11600         [BZ #16838]
11601         * manual/string.texi (Collation Functions): Fix qsort argument
11602         order in example.
11603         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11604
11605 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11606
11607         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11608         Make the test a no-op if there are no exceptions defined.
11609
11610 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11611
11612         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11613         enable-hardcoded-path-in-tests
11614
11615 2014-04-11  Will Newton  <will.newton@linaro.org>
11616
11617         * benchtests/Makefile (extra-objs): Add json-lib.o.
11618         (bench-func): Tidy up JSON output.
11619         * benchtests/bench-skeleton.c: Include json-lib.h.
11620         (main): Use JSON library functions to do output of
11621         benchmark results.
11622         * benchtests/bench-timing-type.c (main): Output the
11623         timing type simply, leaving formatting to the user.
11624         * benchtests/json-lib.c: New file.
11625         * benchtests/json-lib.h: Likewise.
11626
11627 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11628
11629         [BZ #15215]
11630         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11631         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11632         memory barriers.  Add comments.
11633         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11634         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11635         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11636         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11637         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11638         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11639
11640 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11641
11642         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11643         * sysdeps/s390/s390-64/configure.ac: ... this ...
11644         * sysdeps/s390/configure.ac: ... to here.
11645         * sysdeps/s390/s390-32/configure: Delete file.
11646         * sysdeps/s390/s390-64/configure: Delete file.
11647         * sysdeps/s390/configure: Regenerate.
11648
11649 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11650
11651         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11652
11653 2014-04-11  Will Newton  <will.newton@linaro.org>
11654
11655         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11656         to zero if it is not defined elsewhere.  (mtrim): Test
11657         the value of MALLOC_DEBUG with #if rather than #ifdef.
11658
11659 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11660
11661         * benchtests/pthread_once-inputs: New file.
11662         * benchtests/pthread_once-source.c: New file.
11663         * benchtests/README: Update documentation.
11664
11665 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11666             H.J. Lu  <hongjiu.lu@intel.com>
11667
11668         [BZ #16275]
11669         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11670         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11671         * sysdeps/x86_64/configure: Regenerated.
11672         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11673         macro.
11674         (REGISTER_SAVE_RAX): Likewise.
11675         (REGISTER_SAVE_RCX): Likewise.
11676         (REGISTER_SAVE_RDX): Likewise.
11677         (REGISTER_SAVE_RSI): Likewise.
11678         (REGISTER_SAVE_RDI): Likewise.
11679         (REGISTER_SAVE_R8): Likewise.
11680         (REGISTER_SAVE_R9): Likewise.
11681         (REGISTER_SAVE_BND0): Likewise.
11682         (REGISTER_SAVE_BND1): Likewise.
11683         (REGISTER_SAVE_BND2): Likewise.
11684         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11685         bound registers when calling _dl_fixup.
11686
11687 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11688
11689         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11690         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11691         of its definition.
11692         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11693         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11694         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11695         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11696         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11697         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11698         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11699
11700 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11701
11702         [BZ #15514]
11703         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11704         pathconf(_PC_NAME_MAX).
11705
11706 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11707
11708         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11709         Remove macro usage.
11710         (__PTHREAD_SPINS): Move definition to ...
11711         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11712         (__PTHREAD_SPINS): ... here.
11713         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11714         (__PTHREAD_SPIN): Likewise.
11715         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11716         (__PTHREAD_SPIN): Likewise.
11717         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11718         (__PTHREAD_SPIN): Likewise.
11719         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11720         (__PTHREAD_SPIN): Likewise.
11721         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11722         (__PTHREAD_SPIN): Likewise.
11723         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11724         (__PTHREAD_SPIN): Likewise.
11725         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11726         (__PTHREAD_SPIN): Likewise.
11727         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11728         (__PTHREAD_SPIN): Likewise.
11729         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11730         (__PTHREAD_SPIN): Likewise.
11731         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11732         (__PTHREAD_SPIN): Likewise.
11733         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11734         (__PTHREAD_SPIN): Likewise.
11735         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11736         (__PTHREAD_SPIN): Likewise.
11737
11738         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11739         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11740         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11741         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11742         imply folder.
11743         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11744         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11745         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11746         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11747         correct imply path.
11748         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11749         strlen symbol for non multi-arch builds.
11750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11751         missing hidden_def and weak_alias.
11752
11753 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11754
11755         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11756
11757 2014-04-07  Will Newton  <will.newton@linaro.org>
11758
11759         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11760         and contents.  [!_LIBC] Remove #ifndef and contents.
11761         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11762         * string/memccpy.c (__memccpy): Use ANSI prototype.
11763         * string/memfrob.c (memfrob): Likewise.
11764         * string/strcoll.c (STRCOLL): Likewise.
11765         * string/strlen.c (strlen): Likewise.
11766         * string/strtok.c (STRTOK): Likewise.
11767         * string/strcat.c: Remove unused #include of memcopy.h.
11768         (strcat): Use ANSI prototype.
11769         * string/strchr.c: Remove unused #include of memcopy.h.
11770         (strchr): Use ANSI prototype.
11771         * string/strcmp.c: Remove unused #include of memcopy.h.
11772         (strcmp): Use ANSI prototype.
11773         * string/strcpy.c: Remove unused #include of memcopy.h.
11774         (strcpy): Use ANSI prototype.
11775
11776 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11777
11778         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11779         * config.make.in (config-extra-cppflags): Set it from
11780         libc_extra_cppflags.
11781         * configure.ac (libc_extra_cflags): Make it accumulate over
11782         configure fragments.
11783         (libc_extra_cppflags): New flag.
11784         * configure. Regenerate.
11785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11786         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11787         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11789
11790         [BZ #16815]
11791         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11792         result for FE_DOWNWARD rounding mode.
11793         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11794         Likewise.
11795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11796
11797 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11798
11799         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11800         in function argument name.
11801
11802 2014-04-03  David Svoboda  <svoboda@cert.org>
11803
11804         [BZ #5666]
11805         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11806         explicitly.
11807
11808 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11809
11810         * elf/dl-unmap-segments.h: New file.
11811         * sysdeps/generic/ldsodefs.h
11812         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11813         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11814         * elf/dl-fptr.c: Likewise.
11815         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11816         * sysdeps/aarch64/tlsdesc.c: Likewise.
11817         * sysdeps/arm/tlsdesc.c: Likewise.
11818         * sysdeps/i386/tlsdesc.c: Likewise.
11819         * sysdeps/tile/dl-runtime.c: Likewise.
11820         * sysdeps/x86_64/tlsdesc.c: Likewise.
11821         * elf/dl-load.h: New file.
11822         * elf/dl-load.c: Include it.
11823         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11824         Macros moved to dl-load.h.
11825         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11826         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11827         Use _dl_unmap_segments in place of __munmap.
11828         Break out segment-mapping loop into ...
11829         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11830
11831 2014-04-03  Will Newton  <will.newton@linaro.org>
11832
11833         * elf/dl-lookup.c (do_lookup_x): Remove comment
11834         referring to nested function and move variable
11835         declarations down to before first use.
11836
11837 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11838
11839         [BZ #16799]
11840         [BZ #16800]
11841         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11842         with 0 numerator.
11843         * math/s_catanf.c (__catanf): Likewise.
11844         * math/s_catanh.c (__catanh): Likewise.
11845         * math/s_catanhf.c (__catanhf): Likewise.
11846         * math/s_catanhl.c (__catanhl): Likewise.
11847         * math/s_catanl.c (__catanl): Likewise.
11848         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11849         by positive zero when computing -Inf result.
11850         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11851         (catanh_test): Likewise.
11852         * sysdeps/i386/fpu/libm-test-ulps: Update.
11853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11854
11855         [BZ #16789]
11856         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11857         instead of using underflowing value in computing result.
11858         * math/s_clog10.c (__clog10): Likewise.
11859         * math/s_clog10f.c (__clog10f): Likewise.
11860         * math/s_clog10l.c (__clog10l): Likewise.
11861         * math/s_clogf.c (__clogf): Likewise.
11862         * math/s_clogl.c (__clogl): Likewise.
11863         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11864         (clog10_test): Likewise.
11865         * sysdeps/i386/fpu/libm-test-ulps: Update.
11866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11867
11868 2014-04-02  Alan Modra  <amodra@gmail.com>
11869
11870         [BZ #16739]
11871         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11872         output when value is near a power of two.  Use int64_t for lx and
11873         remove casts.  Use decimal rather than hex exponent constants.
11874         Don't use long double multiplication when double will suffice.
11875         * math/libm-test.inc (nextafter_test_data): Add tests.
11876         * NEWS: Add 16739 and 16786 to bug list.
11877
11878         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11879
11880         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11881
11882 2014-04-01  Will Newton  <will.newton@linaro.org>
11883
11884         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11885         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11886
11887 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11888
11889         [BZ #13347]
11890         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11891         * nptl/tst-setuid2.c: New file.
11892         * nptl/Makefile (xtests): Add tst-setuid2.
11893
11894 2014-04-01  Alan Modra  <amodra@gmail.com>
11895
11896         [BZ #16786]
11897         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11898
11899 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11900
11901         [BZ #6803]
11902         [BZ #6804]
11903         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11904         set errno as appropriate.
11905         * math/w_scalbf.c (__scalbf): Likewise.
11906         * math/w_scalbl.c (__scalbl): Likewise.
11907         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11908         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11909         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11910         Add more NaN tests.
11911
11912         [BZ #16349]
11913         * math/w_atan2.c: Include <errno.h>.
11914         (__atan2): Set errno for result underflowing to zero.
11915         * math/w_atan2f.c: Include <errno.h>.
11916         (__atan2f): Set errno for result underflowing to zero.
11917         * math/w_atan2l.c: Include <errno.h>.
11918         (__atan2l): Set errno for result underflowing to zero.
11919         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11920         tests.
11921         * math/auto-libm-test-out: Regenerated.
11922
11923 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11924
11925         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11926         Encode instruction correctly in little endian.
11927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11928         Likewise.
11929         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11930         Likewise.
11931         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11932         Likewise.
11933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11934         Likewise.
11935
11936 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11937
11938         [BZ #9894]
11939         * sysdeps/unix/sysv/linux/kernel-features.h
11940         [__sparc__ && !__arch64__ && !__sparc_v9__]
11941         (__ASSUME_SET_ROBUST_LIST): Do not define.
11942         [__sparc__ && !__arch64__ && !__sparc_v9__]
11943         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11944         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11945         Likewise.
11946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11947         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11948         (__ASSUME_REQUEUE_PI): Likewise.
11949         (__ASSUME_SET_ROBUST_LIST): Likewise.
11950         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11951         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11952         Undefine.
11953         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11954         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11955         Likewise.
11956         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11957         Likewise.
11958         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11959         Likewise.
11960         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11961         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11962         Undefine.
11963         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11964         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11965         Likewise.
11966
11967         [BZ #16648]
11968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11969         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11970         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11971
11972 2014-03-31  Will Newton  <will.newton@linaro.org>
11973
11974         * benchtests/Makefile (bench): Add ffs and ffsll to list
11975         of tests.
11976         * benchtests/ffs-inputs: New file.
11977         * benchtests/ffsll-inputs: Likewise.
11978
11979 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11980
11981         [BZ #16770]
11982         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11983         too large before casting to int.
11984         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11985         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11986         * math/libm-test.inc (scalb_test_data): Add more tests.
11987
11988 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11989
11990         * benchtests/Makefile (DETAILED_OPT): New make option.
11991         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11992         set.
11993         * benchtests/bench-skeleton.c: Include stdbool.h.
11994         (main): Store and print timings per input.
11995         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11996         member to each argument value.
11997         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11998         (_print_arg_data): Initialize per-input timing to 0.
11999
12000         * benchtests/Makefile (timing-type): New binary.
12001         (bench-clean): Also remove bench-timing-type.
12002         (bench): New target for timing-type.
12003         (bench-func): Print output in JSON format.
12004         * benchtests/bench-skeleton.c (main): Print output in JSON
12005         format.
12006         * benchtests/bench-timing-type.c: New file.
12007         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12008         (TIMING_PRINT_STATS): Remove.
12009         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12010         name separately.
12011
12012         * benchtests/bench-modf.c: Remove.
12013         * benchtests/modf-inputs: New inputs file.
12014
12015 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12016
12017         [BZ #16362]
12018         * math/s_clog10.c (M_PI_LOG10E): New macro.
12019         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12020         imaginary parts are 0.
12021         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12022         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12023         imaginary parts are 0.
12024         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12025         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12026         imaginary parts are 0.
12027         * math/libm-test.inc (clog10_test_data): Update expected results
12028         for when real and imaginary parts are 0.
12029
12030 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12031
12032         * elf/dl-load.c: Finish conversion of __builtin_expect into
12033         __glibc_{un}likely.
12034
12035 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12036
12037         [BZ #16348]
12038         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12039         1+x for argument with exponent below -67.
12040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12041         Likewise.
12042         * math/auto-libm-test-in: Add more tests of exp.
12043         * math/auto-libm-test-out: Regenerated.
12044
12045 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12046
12047         [BZ #16759]
12048         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12049         (nscd_getnetgrent): Use it.
12050
12051         [BZ #16760]
12052         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12053         of stpcpy.
12054
12055 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12056
12057         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12058         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12059         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12060         (lll_robust_unlock): Remove out of line section. Use cfi
12061         intrinsics.
12062         (LLL_STUB_UNWIND_INFO*): Remove.
12063         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12064         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12065         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12066         (lll_robust_unlock): Remove out of line section. Use cfi
12067         intrinsics.
12068         (LLL_STUB_UNWIND_INFO*): Remove.
12069
12070 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12071
12072         [BZ #16758]
12073         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12074         blank values.
12075
12076 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12077
12078         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12079
12080 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12081
12082         [BZ #16198]
12083         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12084         fnstenv.
12085         * math/test-fenv-preserve.c: New file.
12086         * math/Makefile (tests): Add test-fenv-preserve.
12087
12088 2014-03-26  Will Newton <will.newton@linaro.org>
12089
12090         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12091
12092 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12093
12094         * scripts/versionlist.awk: Partition the version sets and emit all
12095         GLIBC_* (sorted) before all others (sorted).
12096
12097 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12098
12099         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12100         GLIBC_2.2.5 version.
12101
12102 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12103
12104         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12105         calls.
12106
12107         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12108         previous change.
12109
12110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12111
12112 2014-03-25  Andreas Schwab  <schwab@suse.de>
12113
12114         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12115         label to be used after in6ailist is initialized.
12116
12117 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12118
12119         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12120         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12121
12122 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12123
12124         [BZ #16357]
12125         [BZ #16599]
12126         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12127         min_plus_half.
12128         (fp_formats): Update initializers.
12129         (init_fp_formats): Initialize new field.
12130         (output_for_one_input_case): Allow underflow for results up to
12131         min_plus_half.
12132         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12133         * math/auto-libm-test-in: Don't mark some underflows from asin and
12134         atanh as spurious.
12135         * math/auto-libm-test-out: Regenerated.
12136         * sysdeps/i386/fpu/libm-test-ulps: Update.
12137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12138
12139 2014-03-25  Andreas Schwab  <schwab@suse.de>
12140
12141         * libio/Makefile (tst-ftell-partial-wide-ENV)
12142         (tst-ftell-active-handler-ENV): Define.
12143
12144 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12145
12146         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12147
12148 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12149
12150         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12151
12152 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12153
12154         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12155         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12156         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12157
12158 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12159
12160         [BZ #16634]
12161         * elf/dl-load.c (open_verify): Add mode parameter.
12162         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12163         (open_path): Change from boolean 'secure' to complete flag 'mode'
12164         (_dl_map_object): Adjust.
12165         * elf/Makefile (tests): Add tst-dlopen-aout.
12166         * elf/tst-dlopen-aout.c: New test.
12167
12168 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12169
12170         [BZ #16714]
12171         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12172         (struct stat): Rename member pad0 to __glibc_reserved0.
12173
12174         [BZ #16712]
12175         * sysdeps/s390/s390-32/bits/wordsize.h
12176         (__WORDSIZE32_SIZE_ULONG): New define.
12177         * sysdeps/s390/s390-64/bits/wordsize.h
12178         (__WORDSIZE32_SIZE_ULONG): Likewise.
12179         * sysdeps/generic/stdint.h (SIZE_MAX):
12180         Define as UL if __WORDSIZE32_SIZE_ULONG.
12181
12182         [BZ #16713]
12183         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12184         (__glibc_reserved0): New variable.
12185         (sa_flags): Change type to int.
12186
12187         * posix/Makefile (before-compile): Use += before-compile instead
12188         of a :=.
12189
12190         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12191         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12192
12193 2014-03-20  Andreas Schwab  <schwab@suse.de>
12194
12195         [BZ #16743]
12196         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12197         non-matching result from nscd.
12198
12199 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12200
12201         * scripts/bench.py: Moved to ...
12202         * benchtests/scripts/bench.py: ... here.
12203         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12204
12205 2014-03-24  Andreas Schwab  <schwab@suse.de>
12206
12207         [BZ #16002]
12208         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12209         alloca_account and account alloca use for struct in6ailist.
12210
12211 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12212
12213         [BZ #16284]
12214         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12215         rounding mode to recompute results that overflow to infinity or
12216         underflow to zero.
12217         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12218         bug 16284.
12219         * math/auto-libm-test-out: Regenerated.
12220         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12221         (ccosh_test): Likewise.
12222         (csin_test_data): Use plus_oflow.
12223         (csin_test): Use ALL_RM_TEST.
12224         (csinh_test_data): Use plus_oflow.
12225         (csinh_test): Use ALL_RM_TEST.
12226         * sysdeps/i386/fpu/libm-test-ulps: Update.
12227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12228
12229 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12230
12231         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12232         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12233         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12234
12235         [BZ #16731]
12236         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12237         when x - 1 is zero.
12238         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12239         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12240         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12241         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12242         argument is 1.
12243         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12244         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12245         zero.
12246         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12247         * sysdeps/i386/fpu/libm-test-ulps: Update.
12248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12249
12250 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12251
12252         * scripts/bench.pl: Remove file.
12253         * scripts/bench.py: New benchmark script.
12254         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12255         * benchtests/README: Mention python dependency.
12256         * scripts/pylintrc: New file.
12257         * scripts/pylint: New file.
12258
12259         * bits/mathdef.h: Use #ifdef instead of #if.
12260         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12261         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12262         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12263         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12264         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12265         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12266
12267 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12268             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12269
12270         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12272         and strpbrk-ppc64 objects.
12273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12274         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12275         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12276         multiarch strpbrk for POWER7.
12277         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12278         multiarch strpbrk for PPC64.
12279         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12280         ifunc selector.
12281         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12282         strpbrk for POWER7.
12283
12284 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12285
12286         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12287         (atan_test): Likewise.
12288         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12289         (atanh_test): Use ALL_RM_TEST.
12290         (atan2_test_data): Likewise.
12291         (cabs_test): Likewise.
12292         (cacosh_test): Likewise.
12293         (carg_test): Likewise.
12294         (casin_test): Likewise.
12295         (casinh_test): Likewise.
12296         (cbrt_test): Likewise.
12297         (csqrt_test): Likewise.
12298         (erf_test): Likewise.
12299         (erfc_test): Likewise.
12300         (pow10_test): Likewise.
12301         (exp2_test): Likewise.
12302         (hypot_test): Likewise.
12303         (j0_test): Likewise.
12304         (j1_test): Likewise.
12305         (lgamma_test): Likewise.
12306         (gamma_test): Likewise.
12307         (sincos_test): Likewise.
12308         (tanh_test): Likewise.
12309         (y0_test): Likewise.
12310         (y1_test): Likewise.
12311         * sysdeps/i386/fpu/libm-test-ulps: Update.
12312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12313
12314 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12315
12316         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12318         and strcspn-ppc64 objects.
12319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12320         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12321         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12322         multiarch strcspn for POWER7.
12323         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12324         multiarch strcspn for PPC64.
12325         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12326         ifunc selector.
12327         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12328         strcspn for POWER7.
12329
12330 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12331
12332         * math/gen-libm-test.pl (generate_testfile): Expect only function
12333         name as argument to AUTO_TESTS_* and pass results for all rounding
12334         modes to parse_args.
12335         (parse_auto_input): Separate inputs of automatic tests from
12336         outputs before storing in %auto_tests.
12337         * math/libm-test.inc (acos_test_data): Update call to
12338         AUTO_TESTS_f_f.
12339         (acos_test): Use ALL_RM_TEST.
12340         (acos_tonearest_test_data): Remove.
12341         (acos_test_tonearest): Likewise.
12342         (acos_towardzero_test_data): Likewise.
12343         (acos_test_towardzero): Likewise.
12344         (acos_downward_test_data): Likewise.
12345         (acos_test_downward): Likewise.
12346         (acos_upward_test_data): Likewise.
12347         (acos_test_upward): Likewise.
12348         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12349         (asin_test_data): Likewise.
12350         (asin_test): Use ALL_RM_TEST.
12351         (asin_tonearest_test_data): Remove.
12352         (asin_test_tonearest): Likewise.
12353         (asin_towardzero_test_data): Likewise.
12354         (asin_test_towardzero): Likewise.
12355         (asin_downward_test_data): Likewise.
12356         (asin_test_downward): Likewise.
12357         (asin_upward_test_data): Likewise.
12358         (asin_test_upward): Likewise.
12359         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12360         (atan_test_data): Likewise.
12361         (atanh_test_data): Likewise.
12362         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12363         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12364         (carg_test_data): Likewise.
12365         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12366         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12367         (ccosh_test_data): Likewise.
12368         (cexp_test_data): Likewise.
12369         (clog_test_data): Likewise.
12370         (clog10_test_data): Likewise.
12371         (cos_test_data): Update call to AUTO_TESTS_f_f.
12372         (cos_test): Use ALL_RM_TEST.
12373         (cos_tonearest_test_data): Remove.
12374         (cos_test_tonearest): Likewise.
12375         (cos_towardzero_test_data): Likewise.
12376         (cos_test_towardzero): Likewise.
12377         (cos_downward_test_data): Likewise.
12378         (cos_test_downward): Likewise.
12379         (cos_upward_test_data): Likewise.
12380         (cos_test_upward): Likewise.
12381         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12382         (cosh_test): Use ALL_RM_TEST.
12383         (cosh_tonearest_test_data): Remove.
12384         (cosh_test_tonearest): Likewise.
12385         (cosh_towardzero_test_data): Likewise.
12386         (cosh_test_towardzero): Likewise.
12387         (cosh_downward_test_data): Likewise.
12388         (cosh_test_downward): Likewise.
12389         (cosh_upward_test_data): Likewise.
12390         (cosh_test_upward): Likewise.
12391         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12392         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12393         (ctan_test_data): Likewise.
12394         (ctan_test): Use ALL_RM_TEST.
12395         (ctan_tonearest_test_data): Remove.
12396         (ctan_test_tonearest): Likewise.
12397         (ctan_towardzero_test_data): Likewise.
12398         (ctan_test_towardzero): Likewise.
12399         (ctan_downward_test_data): Likewise.
12400         (ctan_test_downward): Likewise.
12401         (ctan_upward_test_data): Likewise.
12402         (ctan_test_upward): Likewise.
12403         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12404         (ctanh_test): Use ALL_RM_TEST.
12405         (ctanh_tonearest_test_data): Remove.
12406         (ctanh_test_tonearest): Likewise.
12407         (ctanh_towardzero_test_data): Likewise.
12408         (ctanh_test_towardzero): Likewise.
12409         (ctanh_downward_test_data): Likewise.
12410         (ctanh_test_downward): Likewise.
12411         (ctanh_upward_test_data): Likewise.
12412         (ctanh_test_upward): Likewise.
12413         (erf_test_data): Update call to AUTO_TESTS_f_f.
12414         (erfc_test_data): Likewise.
12415         (exp_test_data): Likewise.
12416         (exp_test): Use ALL_RM_TEST.
12417         (exp_tonearest_test_data): Remove.
12418         (exp_test_tonearest): Likewise.
12419         (exp_towardzero_test_data): Likewise.
12420         (exp_test_towardzero): Likewise.
12421         (exp_downward_test_data): Likewise.
12422         (exp_test_downward): Likewise.
12423         (exp_upward_test_data): Likewise.
12424         (exp_test_upward): Likewise.
12425         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12426         (exp10_test): Use ALL_RM_TEST.
12427         (exp10_tonearest_test_data): Remove.
12428         (exp10_test_tonearest): Likewise.
12429         (exp10_towardzero_test_data): Likewise.
12430         (exp10_test_towardzero): Likewise.
12431         (exp10_downward_test_data): Likewise.
12432         (exp10_test_downward): Likewise.
12433         (exp10_upward_test_data): Likewise.
12434         (exp10_test_upward): Likewise.
12435         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12436         (expm1_test_data): Likewise.
12437         (expm1_test): Use ALL_RM_TEST.
12438         (expm1_tonearest_test_data): Remove.
12439         (expm1_test_tonearest): Likewise.
12440         (expm1_towardzero_test_data): Likewise.
12441         (expm1_test_towardzero): Likewise.
12442         (expm1_downward_test_data): Likewise.
12443         (expm1_test_downward): Likewise.
12444         (expm1_upward_test_data): Likewise.
12445         (expm1_test_upward): Likewise.
12446         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12447         (fma_test): Use ALL_RM_TEST.
12448         (fma_towardzero_test_data): Remove.
12449         (fma_test_towardzero): Likewise.
12450         (fma_downward_test_data): Likewise.
12451         (fma_test_downward): Likewise.
12452         (fma_upward_test_data): Likewise.
12453         (fma_test_upward): Likewise.
12454         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12455         (j0_test_data): Update call to AUTO_TESTS_f_f.
12456         (j1_test_data): Likewise.
12457         (jn_test_data): Update call to AUTO_TESTS_if_f.
12458         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12459         (log_test_data): Update call to AUTO_TESTS_f_f.
12460         (log10_test_data): Likewise.
12461         (log1p_test_data): Likewise.
12462         (log2_test_data): Likewise.
12463         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12464         (pow_tonearest_test_data): Likewise.
12465         (sin_test_data): Update call to AUTO_TESTS_f_f.
12466         (sin_test): Use ALL_RM_TEST.
12467         (sin_tonearest_test_data): Remove.
12468         (sin_test_tonearest): Likewise.
12469         (sin_towardzero_test_data): Likewise.
12470         (sin_test_towardzero): Likewise.
12471         (sin_downward_test_data): Likewise.
12472         (sin_test_downward): Likewise.
12473         (sin_upward_test_data): Likewise.
12474         (sin_test_upward): Likewise.
12475         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12476         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12477         (sinh_test): Use ALL_RM_TEST.
12478         (sinh_tonearest_test_data): Remove.
12479         (sinh_test_tonearest): Likewise.
12480         (sinh_towardzero_test_data): Likewise.
12481         (sinh_test_towardzero): Likewise.
12482         (sinh_downward_test_data): Likewise.
12483         (sinh_test_downward): Likewise.
12484         (sinh_upward_test_data): Likewise.
12485         (sinh_test_upward): Likewise.
12486         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12487         (sqrt_test): Use ALL_RM_TEST.
12488         (sqrt_tonearest_test_data): Remove.
12489         (sqrt_test_tonearest): Likewise.
12490         (sqrt_towardzero_test_data): Likewise.
12491         (sqrt_test_towardzero): Likewise.
12492         (sqrt_downward_test_data): Likewise.
12493         (sqrt_test_downward): Likewise.
12494         (sqrt_upward_test_data): Likewise.
12495         (sqrt_test_upward): Likewise.
12496         (tan_test_data): Update call to AUTO_TESTS_f_f.
12497         (tan_test): Use ALL_RM_TEST.
12498         (tan_tonearest_test_data): Remove.
12499         (tan_test_tonearest): Likewise.
12500         (tan_towardzero_test_data): Likewise.
12501         (tan_test_towardzero): Likewise.
12502         (tan_downward_test_data): Likewise.
12503         (tan_test_downward): Likewise.
12504         (tan_upward_test_data): Likewise.
12505         (tan_test_upward): Likewise.
12506         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12507         (tgamma_test_data): Likewise.
12508         (y0_test_data): Likewise.
12509         (y1_test_data): Likewise.
12510         (yn_test_data): Update call to AUTO_TESTS_if_f.
12511         (main): Do not call removed functions.
12512
12513 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12514
12515         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12516         (ldexp_test_data): Remove.
12517         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12518         scalbn_test_data.
12519         (scalb_test): Use ALL_RM_TEST.
12520
12521 2014-03-19  Andreas Schwab  <schwab@suse.de>
12522
12523         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12524
12525 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12526
12527         [BZ #16649]
12528         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12529         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12530         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12532         (__ASSUME_PREADV): Undefine.
12533         (__ASSUME_PWRITEV): Likewise.
12534
12535 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12536
12537         * bits/mman-linux.h: Add comment about non-Linux use.
12538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12539         bits/mman-linux.h resting place.
12540
12541         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12542         * bits/mman-linux.h: ... here.
12543
12544 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12545
12546         * conform/conformtest.pl: Add standard definition when calling C
12547         preprocessor on data files.
12548         (checknamespace): Remove unused variable.
12549
12550 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12551
12552         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12553         minus_oflow, plus_uflow and minus_uflow in expected results.
12554         * math/libm-test.inc (scalbn_test_data): Add more tests of
12555         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12556         minus_uflow.
12557         (scalbn_test): Use ALL_RM_TEST.
12558         (scalbln_test_data): Add more tests of negative arguments.  Use
12559         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12560         (scalbln_test): Use ALL_RM_TEST.
12561
12562 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12563
12564         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12565
12566 2014-03-18  Will Newton  <will.newton@linaro.org>
12567
12568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12569         inaccurate comment.
12570
12571 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12572
12573         * Makerules [!subdir] (check-abi): Exit with error status if a
12574         test failed.
12575
12576 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12577
12578         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12579         for rint.  Include results for all rounding modes.
12580         (nearbyint_test): Use ALL_RM_TEST.
12581         (rint_test_data): Include all tests used for nearbyint.
12582
12583 2014-03-17  Will Newton  <will.newton@linaro.org>
12584
12585         * nptl/sysdeps/pthread/pthread.h: Revert previous
12586         change.
12587
12588         * sysdeps/generic/ldsodefs.h: Revert previous
12589         change.
12590
12591         * libio/genops.c: Revert previous change.
12592         * libio/libioP.h: Likewise.
12593         * stdio-common/vfprintf.c: Likewise.
12594
12595         * sysdeps/generic/math_private.h: Revert previous
12596         change.
12597
12598         * sysdeps/generic/math_private.h: Check whether
12599         HAVE_RM_CTX is defined with #ifdef rather
12600         than #if.
12601
12602         * argp/argp-fmtstream.h: Check whether
12603         __STRICT_ANSI__ is defined with #ifdef rather
12604         than #if.
12605         * argp/argp.h: Likewise.
12606
12607         * libio/genops.c: Check whether
12608         _IO_JUMPS_OFFSET is defined with #ifdef rather
12609         than #if.
12610         * libio/libioP.h: Likewise.
12611         * stdio-common/vfprintf.c: Likewise.
12612
12613         * sysdeps/generic/ldsodefs.h: Check whether
12614         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12615         than #if.
12616
12617         * nptl/sysdeps/pthread/pthread.h: Check
12618         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12619         its value.
12620
12621 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12622
12623         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12624         setting O_APPEND.
12625         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12626         test case.
12627
12628         [BZ #16680]
12629         * libio/fileops.c (_IO_file_open): Seek to end of file but
12630         don't cache the offset.
12631         (get_file_offset): Remove function.
12632         (do_ftell): Use cached offset when available.
12633         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12634         don't cache the offset.
12635         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12636         case.
12637         (do_one_test): Call it.
12638         (do_ftell_test): Fix up expected old offset for a+ mode.
12639         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12640         available.
12641
12642         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12643         up test status with function return status.
12644         (do_write_test): Likewise.
12645         (do_append_test): Likewise.
12646
12647         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12648         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12649         Remove.
12650
12651 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12652
12653         * math/gen-libm-test.pl (parse_args): Handle results specified for
12654         each rounding mode separately.
12655         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12656         tests and results from lrint_tonearest_test_data,
12657         lrint_towardzero_test_data, lrint_downward_test_data and
12658         lrint_upward_test_data.
12659         (lrint_test): Use ALL_RM_TEST.
12660         (lrint_tonearest_test_data): Remove.
12661         (lrint_test_tonearest): Likewise.
12662         (lrint_towardzero_test_data): Likewise.
12663         (lrint_test_towardzero): Likewise.
12664         (lrint_downward_test_data): Likewise.
12665         (lrint_test_downward): Likewise.
12666         (lrint_upward_test_data): Likewise.
12667         (lrint_test_upward): Likewise.
12668         (llrint_test_data): Merge in per-rounding-mode tests and results
12669         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12670         llrint_downward_test_data and llrint_upward_test_data.
12671         (llrint_test): Use ALL_RM_TEST.
12672         (llrint_tonearest_test_data): Remove.
12673         (llrint_test_tonearest): Likewise.
12674         (llrint_towardzero_test_data): Likewise.
12675         (llrint_test_towardzero): Likewise.
12676         (llrint_downward_test_data): Likewise.
12677         (llrint_test_downward): Likewise.
12678         (llrint_upward_test_data): Likewise.
12679         (llrint_test_upward): Likewise.
12680         (rint_test_data): Merge in per-rounding-mode tests and results
12681         from rint_tonearest_test_data, rint_towardzero_test_data,
12682         rint_downward_test_data and rint_upward_test_data.  Add
12683         per-rounding-mode results for tests not in those arrays.
12684         (rint_test): Use ALL_RM_TEST.
12685         (rint_tonearest_test_data): Remove.
12686         (rint_test_tonearest): Likewise.
12687         (rint_towardzero_test_data): Likewise.
12688         (rint_test_towardzero): Likewise.
12689         (rint_downward_test_data): Likewise.
12690         (rint_test_downward): Likewise.
12691         (rint_upward_test_data): Likewise.
12692         (rint_test_upward): Likewise.
12693         (main): Don't call removed functions.
12694
12695 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12696
12697         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12698         "Compiled on ..." crapola.  It is anti-useful.
12699
12700 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12701
12702         * scripts/evaluate-test.sh: Handle fourth argument to determine
12703         whether test run should stop on failure.
12704         * Makeconfig (stop-on-test-failure): New variable.
12705         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12706         $(stop-on-test-failure).
12707         * Makefile (tests): Give a summary of results from testing and
12708         exit with failure status if they include an ERROR or FAIL.
12709         (xtests): Likewise.
12710         * manual/install.texi (Configuring and compiling): Mention
12711         stop-on-test-failure=y.
12712         * INSTALL: Regenerated.
12713
12714 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12715
12716         * scripts/versionlist.awk: New file.
12717         * Makerules [$(build-shared) = yes]
12718         (postclean-generated): Add Versions.def, not Versions.def.v and
12719         Versions.def.v.i.
12720         ($(common-objpfx)Versions.def.v.i): Target removed.
12721         ($(common-objpfx)Versions.def): New target.
12722         ($(common-objpfx)Versions.all): Depend on that rather that
12723         $(common-objpfx)Versions.def.v.
12724         * Versions.def: File removed.
12725
12726         * Makeconfig (+gccwarn): Add -Wundef.
12727         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12728         a dl-sysdep.h breaking its contract.
12729         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12730         * include/stackinfo.h: New file.
12731         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12732         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12733         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12734         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12735         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12736         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12737         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12738         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12739         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12740         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12741         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12742         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12743         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12744         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12745         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12746
12747 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12748
12749         [BZ #16707]
12750         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12751         implementation.
12752         * math/libm-test.inc (round_test_data): Add more tests.
12753
12754         [BZ #16706]
12755         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12756         implementation.
12757         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12758
12759         [BZ #16701]
12760         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12761         implementation.
12762         * math/libm-test.inc (ceil_test_data): Add more tests.
12763
12764         * math/libm-test.inc (trunc_test_data): Add more tests related to
12765         BZ#16414.
12766
12767 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12768
12769         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12770         with #if rather than #ifdef.
12771         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12772
12773 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12774
12775         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12776         first.  Disable AVX-512 GCC support if assembler doesn't support
12777         it.
12778         * sysdeps/x86_64/configure: Regenerated.
12779
12780 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12781
12782         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12783         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12784         (__old_pthread_attr_setstack): Likewise.
12785         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12786         [!_STACK_GROWS_DOWN]: Likewise.
12787
12788 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12789
12790         * config.make.in (have-bash2): Delete.
12791         * configure.ac (libc_cv_have_bash2): Delete.
12792         * configure: Regenerate.
12793         * elf/Makefile (common-ldd-rewrite): Rename to ...
12794         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12795         (sh-ldd-rewrite): Delete.
12796         (bash-ldd-rewrite): Delete.
12797         (have-bash2): Delete checks.
12798         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12799         ldd-rewrite.
12800
12801         * config.make.in (have-ksh): Delete.
12802         (KSH): Delete.
12803         * configure.ac (libc_cv_have_ksh): Delete.
12804         * configure: Regenerate.
12805
12806         * elf/Makefile: Delete $(have-ksh) check.
12807         ($(objpfx)sotruss): Change KSH to BASH.
12808         * elf/sotruss.ksh: Rename to ...
12809         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12810         function style to match POSIX.  Drop ksh vim mode setting.
12811
12812         * manual/time.texi (Specifying the Time Zone with TZ): Change
12813         Tuesday to Thursday.
12814
12815         * debug/tst-longjmp_chk2.c: Update header comment.
12816         (stackoverflow_handler): Add comment.  Call assert on pass value.
12817
12818 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12819
12820         [BZ #16194]
12821         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12822         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12823         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12824         (La_x86_64_vector): Add zmm.
12825         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12826         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12827         ($(objpfx)tst-audit10): New target.
12828         ($(objpfx)tst-audit10.out): Likewise.
12829         (tst-audit10-ENV): New.
12830         (AVX512-CFLAGS): Likewise.
12831         (CFLAGS-tst-audit10.c): Likewise.
12832         (CFLAGS-tst-auditmod10a.c): Likewise.
12833         (CFLAGS-tst-auditmod10b.c): Likewise.
12834         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12835         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12836         * sysdeps/x86_64/configure: Regenerated.
12837         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12838         AVX-512 zmm register support.
12839         (_dl_x86_64_save_sse): Likewise.
12840         (_dl_x86_64_restore_sse): Likewise.
12841         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12842         size vector registers.
12843         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12844         (ZMM_SIZE): Likewise.
12845         * sysdeps/x86_64/tst-audit10.c: New file.
12846         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12847         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12848
12849 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12850
12851         * configure.ac (HAVE_EHDR_START): New check.
12852         * configure: Regenerated.
12853         * config.h.in (HAVE_EHDR_START): New #undef.
12854         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12855         assuming the lowest-addressed segment maps the start of the file.
12856
12857 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12858
12859         * INSTALL: Regenerated.
12860
12861 2014-03-13  Will Newton  <will.newton@linaro.org>
12862
12863         * manual/setjmp.texi (System V contexts): Improve
12864         clarity and grammar of documentation.
12865
12866 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12867
12868         [BZ #16381]
12869         * elf/Makefile (tests): Add tst-pie2.
12870         (tests-pie): Add tst-pie2.
12871         * elf/tst-pie2.c: New file.
12872         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12873         for ET_EXEC.
12874         * elf/rtld.c (map_doit): Load executable as lt_executable.
12875         (dl_main): Likewise.
12876
12877 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12878
12879         [BZ #16642]
12880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12881         (__ASSUME_PSELECT): Undefine.
12882
12883 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12884
12885         [BZ #16689]
12886         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12887         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12888         static build.
12889         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12890         selector for static builds.
12891
12892 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12893
12894         [BZ #16695]
12895         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12896         key in the buffer.
12897
12898 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12899
12900         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12901         IFUNC selector for static builds.
12902
12903 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12904
12905         * sysdeps/mips/math_private.h [__mips_hard_float]
12906         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12907         libc_feresetround_mips_ctx.
12908         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12909         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12910         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12911
12912         [BZ #16677]
12913         * math/s_nextafter.c (__nextafter): Do not return value from
12914         overflowing computation.
12915         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12916         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12917         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12918         Likewise.
12919         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12920         Likewise.
12921         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12922         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12923
12924 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12925
12926         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12927         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12928         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12929         the new mov targetting sp.
12930
12931 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12932
12933         [BZ #16683]
12934         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12935         Define it for static builds as well.
12936         (NO_BZERO_IMPL): Likewise.
12937
12938 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12939
12940         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12941         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12942         multiarch strspn for PPC64.
12943         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12944         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12946         (__libc_ifunc_impl_list): Likewise.
12947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12948         multiarch optimizations
12949         * string/strspn.c (strspn): Using macro to redefine symbol name.
12950
12951 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12952             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12953
12954         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12955         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12956         multiarch strncat for PPC64.
12957         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12958         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12960         (__libc_ifunc_impl_list): Likewise.
12961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12962         multiarch optimizations
12963
12964 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12965
12966         [BZ #16639]
12967         * nscd/nscd.service: Make service type forking.
12968
12969 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12970
12971         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12972         sign in non default rounding modes.
12973         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12974
12975 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12976
12977         * math/libm-test.inc (ALL_RM_TEST): New macro.
12978         (ceil_test): Use ALL_RM_TEST.
12979         (cimag_test): Likewise.
12980         (conj_test): Likewise.
12981         (copysign_test): Likewise.
12982         (cproj_test): Likewise.
12983         (creal_test): Likewise.
12984         (fabs_test): Likewise.
12985         (floor_test): Likewise.
12986         (fmax_test): Likewise.
12987         (fmin_test): Likewise.
12988         (fmod_test): Likewise.
12989         (fpclassify_test): Likewise.
12990         (frexp_test): Likewise.
12991         (ilogb_test): Likewise.
12992         (isfinite_test): Likewise.
12993         (finite_test): Likewise.
12994         (isgreater_test): Likewise.
12995         (isgreaterequal_test): Likewise.
12996         (isinf_test): Likewise.
12997         (isless_test): Likewise.
12998         (islessequal_test): Likewise.
12999         (islessgreater_test): Likewise.
13000         (isnan_test): Likewise.
13001         (isnormal_test): Likewise.
13002         (issignaling_test): Likewise.
13003         (isunordered_test): Likewise.
13004         (logb_test): Likewise.
13005         (logb_downward_test_data): Remove.
13006         (logb_test_downward): Likewise.
13007         (lround_test): Use ALL_RM_TEST.
13008         (llround_test): Likewise.
13009         (modf_test): Likewise.
13010         (nexttoward_test): Likewise.
13011         (remainder_test): Likewise.
13012         (drem_test): Likewise.
13013         (remainder_tonearest_test_data): Likewise.
13014         (remainder_test_tonearest): Likewise.
13015         (drem_test_tonearest): Likewise.
13016         (remainder_towardzero_test_data): Likewise.
13017         (remainder_test_towardzero): Likewise.
13018         (drem_test_towardzero): Likewise.
13019         (remainder_downward_test_data): Likewise.
13020         (remainder_test_downward): Likewise.
13021         (drem_test_downward): Likewise.
13022         (remainder_upward_test_data): Likewise.
13023         (remainder_test_upward): Likewise.
13024         (drem_test_upward): Likewise.
13025         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13026         (round_test): Use ALL_RM_TEST.
13027         (signbit_test): Likewise.
13028         (trunc_test): Likewise.
13029         (significand_test): Likewise.
13030         (main): Don't call removed functions.
13031
13032 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13033
13034         [BZ #16674]
13035         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13036         || __USE_XOPEN2K8].
13037         (ILL_ILLOPN): Likewise.
13038         (ILL_ILLADR): Likewise.
13039         (ILL_ILLTRP): Likewise.
13040         (ILL_PRVOPC): Likewise.
13041         (ILL_PRVREG): Likewise.
13042         (ILL_COPROC): Likewise.
13043         (ILL_BADSTK): Likewise.
13044         (FPE_INTDIV): Likewise.
13045         (FPE_INTOVF): Likewise.
13046         (FPE_FLTDIV): Likewise.
13047         (FPE_FLTOVF): Likewise.
13048         (FPE_FLTUND): Likewise.
13049         (FPE_FLTRES): Likewise.
13050         (FPE_FLTINV): Likewise.
13051         (FPE_FLTSUB): Likewise.
13052         (SEGV_MAPERR): Likewise.
13053         (SEGV_ACCERR): Likewise.
13054         (BUS_ADRALN): Likewise.
13055         (BUS_ADRERR): Likewise.
13056         (BUS_OBJERR): Likewise.
13057         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13058         (TRAP_TRACE): Likewise.
13059         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13060         __USE_XOPEN2K8].
13061         (CLD_KILLED): Likewise.
13062         (CLD_DUMPED): Likewise.
13063         (CLD_TRAPPED): Likewise.
13064         (CLD_STOPPED): Likewise.
13065         (CLD_CONTINUED): Likewise.
13066         (POLL_IN): Likewise.
13067         (POLL_OUT): Likewise.
13068         (POLL_MSG): Likewise.
13069         (POLL_ERR): Likewise.
13070         (POLL_PRI): Likewise.
13071         (POLL_HUP): Likewise.
13072         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13073         Likewise.
13074         (ILL_ILLOPN): Likewise.
13075         (ILL_ILLADR): Likewise.
13076         (ILL_ILLTRP): Likewise.
13077         (ILL_PRVOPC): Likewise.
13078         (ILL_PRVREG): Likewise.
13079         (ILL_COPROC): Likewise.
13080         (ILL_BADSTK): Likewise.
13081         (FPE_INTDIV): Likewise.
13082         (FPE_INTOVF): Likewise.
13083         (FPE_FLTDIV): Likewise.
13084         (FPE_FLTOVF): Likewise.
13085         (FPE_FLTUND): Likewise.
13086         (FPE_FLTRES): Likewise.
13087         (FPE_FLTINV): Likewise.
13088         (FPE_FLTSUB): Likewise.
13089         (SEGV_MAPERR): Likewise.
13090         (SEGV_ACCERR): Likewise.
13091         (BUS_ADRALN): Likewise.
13092         (BUS_ADRERR): Likewise.
13093         (BUS_OBJERR): Likewise.
13094         (BUS_MCEERR_AR): Likewise.
13095         (BUS_MCEERR_AO): Likewise.
13096         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13097         (TRAP_TRACE): Likewise.
13098         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13099         __USE_XOPEN2K8].
13100         (CLD_KILLED): Likewise.
13101         (CLD_DUMPED): Likewise.
13102         (CLD_TRAPPED): Likewise.
13103         (CLD_STOPPED): Likewise.
13104         (CLD_CONTINUED): Likewise.
13105         (POLL_IN): Likewise.
13106         (POLL_OUT): Likewise.
13107         (POLL_MSG): Likewise.
13108         (POLL_ERR): Likewise.
13109         (POLL_PRI): Likewise.
13110         (POLL_HUP): Likewise.
13111         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13112         (ILL_ILLOPN): Likewise.
13113         (ILL_ILLADR): Likewise.
13114         (ILL_ILLTRP): Likewise.
13115         (ILL_PRVOPC): Likewise.
13116         (ILL_PRVREG): Likewise.
13117         (ILL_COPROC): Likewise.
13118         (ILL_BADSTK): Likewise.
13119         (FPE_INTDIV): Likewise.
13120         (FPE_INTOVF): Likewise.
13121         (FPE_FLTDIV): Likewise.
13122         (FPE_FLTOVF): Likewise.
13123         (FPE_FLTUND): Likewise.
13124         (FPE_FLTRES): Likewise.
13125         (FPE_FLTINV): Likewise.
13126         (FPE_FLTSUB): Likewise.
13127         (SEGV_MAPERR): Likewise.
13128         (SEGV_ACCERR): Likewise.
13129         (BUS_ADRALN): Likewise.
13130         (BUS_ADRERR): Likewise.
13131         (BUS_OBJERR): Likewise.
13132         (BUS_MCEERR_AR): Likewise.
13133         (BUS_MCEERR_AO): Likewise.
13134         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13135         (TRAP_TRACE): Likewise.
13136         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13137         __USE_XOPEN2K8].
13138         (CLD_KILLED): Likewise.
13139         (CLD_DUMPED): Likewise.
13140         (CLD_TRAPPED): Likewise.
13141         (CLD_STOPPED): Likewise.
13142         (CLD_CONTINUED): Likewise.
13143         (POLL_IN): Likewise.
13144         (POLL_OUT): Likewise.
13145         (POLL_MSG): Likewise.
13146         (POLL_ERR): Likewise.
13147         (POLL_PRI): Likewise.
13148         (POLL_HUP): Likewise.
13149         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13150         Likewise.
13151         (ILL_ILLOPN): Likewise.
13152         (ILL_ILLADR): Likewise.
13153         (ILL_ILLTRP): Likewise.
13154         (ILL_PRVOPC): Likewise.
13155         (ILL_PRVREG): Likewise.
13156         (ILL_COPROC): Likewise.
13157         (ILL_BADSTK): Likewise.
13158         (ILL_BADIADDR): Likewise.
13159         (ILL_BREAK): Likewise.
13160         (FPE_INTDIV): Likewise.
13161         (FPE_INTOVF): Likewise.
13162         (FPE_FLTDIV): Likewise.
13163         (FPE_FLTOVF): Likewise.
13164         (FPE_FLTUND): Likewise.
13165         (FPE_FLTRES): Likewise.
13166         (FPE_FLTINV): Likewise.
13167         (FPE_FLTSUB): Likewise.
13168         (FPE_DECOVF): Likewise.
13169         (FPE_DECDIV): Likewise.
13170         (FPE_DECERR): Likewise.
13171         (FPE_INVASC): Likewise.
13172         (FPE_INVDEC): Likewise.
13173         (SEGV_MAPERR): Likewise.
13174         (SEGV_ACCERR): Likewise.
13175         (SEGV_PSTKOVF): Likewise.
13176         (BUS_ADRALN): Likewise.
13177         (BUS_ADRERR): Likewise.
13178         (BUS_OBJERR): Likewise.
13179         (BUS_MCEERR_AR): Likewise.
13180         (BUS_MCEERR_AO): Likewise.
13181         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13182         (TRAP_TRACE): Likewise.
13183         (TRAP_BRANCH): Likewise.
13184         (TRAP_HWBKPT): Likewise.
13185         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13186         __USE_XOPEN2K8].
13187         (CLD_KILLED): Likewise.
13188         (CLD_DUMPED): Likewise.
13189         (CLD_TRAPPED): Likewise.
13190         (CLD_STOPPED): Likewise.
13191         (CLD_CONTINUED): Likewise.
13192         (POLL_IN): Likewise.
13193         (POLL_OUT): Likewise.
13194         (POLL_MSG): Likewise.
13195         (POLL_ERR): Likewise.
13196         (POLL_PRI): Likewise.
13197         (POLL_HUP): Likewise.
13198         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13199         (ILL_ILLOPN): Likewise.
13200         (ILL_ILLADR): Likewise.
13201         (ILL_ILLTRP): Likewise.
13202         (ILL_PRVOPC): Likewise.
13203         (ILL_PRVREG): Likewise.
13204         (ILL_COPROC): Likewise.
13205         (ILL_BADSTK): Likewise.
13206         (FPE_INTDIV): Likewise.
13207         (FPE_INTOVF): Likewise.
13208         (FPE_FLTDIV): Likewise.
13209         (FPE_FLTOVF): Likewise.
13210         (FPE_FLTUND): Likewise.
13211         (FPE_FLTRES): Likewise.
13212         (FPE_FLTINV): Likewise.
13213         (FPE_FLTSUB): Likewise.
13214         (SEGV_MAPERR): Likewise.
13215         (SEGV_ACCERR): Likewise.
13216         (BUS_ADRALN): Likewise.
13217         (BUS_ADRERR): Likewise.
13218         (BUS_OBJERR): Likewise.
13219         (BUS_MCEERR_AR): Likewise.
13220         (BUS_MCEERR_AO): Likewise.
13221         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13222         (TRAP_TRACE): Likewise.
13223         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13224         __USE_XOPEN2K8].
13225         (CLD_KILLED): Likewise.
13226         (CLD_DUMPED): Likewise.
13227         (CLD_TRAPPED): Likewise.
13228         (CLD_STOPPED): Likewise.
13229         (CLD_CONTINUED): Likewise.
13230         (POLL_IN): Likewise.
13231         (POLL_OUT): Likewise.
13232         (POLL_MSG): Likewise.
13233         (POLL_ERR): Likewise.
13234         (POLL_PRI): Likewise.
13235         (POLL_HUP): Likewise.
13236         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13237         (ILL_ILLOPN): Likewise.
13238         (ILL_ILLADR): Likewise.
13239         (ILL_ILLTRP): Likewise.
13240         (ILL_PRVOPC): Likewise.
13241         (ILL_PRVREG): Likewise.
13242         (ILL_COPROC): Likewise.
13243         (ILL_BADSTK): Likewise.
13244         (FPE_INTDIV): Likewise.
13245         (FPE_INTOVF): Likewise.
13246         (FPE_FLTDIV): Likewise.
13247         (FPE_FLTOVF): Likewise.
13248         (FPE_FLTUND): Likewise.
13249         (FPE_FLTRES): Likewise.
13250         (FPE_FLTINV): Likewise.
13251         (FPE_FLTSUB): Likewise.
13252         (SEGV_MAPERR): Likewise.
13253         (SEGV_ACCERR): Likewise.
13254         (BUS_ADRALN): Likewise.
13255         (BUS_ADRERR): Likewise.
13256         (BUS_OBJERR): Likewise.
13257         (BUS_MCEERR_AR): Likewise.
13258         (BUS_MCEERR_AO): Likewise.
13259         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13260         (TRAP_TRACE): Likewise.
13261         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13262         __USE_XOPEN2K8].
13263         (CLD_KILLED): Likewise.
13264         (CLD_DUMPED): Likewise.
13265         (CLD_TRAPPED): Likewise.
13266         (CLD_STOPPED): Likewise.
13267         (CLD_CONTINUED): Likewise.
13268         (POLL_IN): Likewise.
13269         (POLL_OUT): Likewise.
13270         (POLL_MSG): Likewise.
13271         (POLL_ERR): Likewise.
13272         (POLL_PRI): Likewise.
13273         (POLL_HUP): Likewise.
13274         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13275         (ILL_ILLOPN): Likewise.
13276         (ILL_ILLADR): Likewise.
13277         (ILL_ILLTRP): Likewise.
13278         (ILL_PRVOPC): Likewise.
13279         (ILL_PRVREG): Likewise.
13280         (ILL_COPROC): Likewise.
13281         (ILL_BADSTK): Likewise.
13282         (FPE_INTDIV): Likewise.
13283         (FPE_INTOVF): Likewise.
13284         (FPE_FLTDIV): Likewise.
13285         (FPE_FLTOVF): Likewise.
13286         (FPE_FLTUND): Likewise.
13287         (FPE_FLTRES): Likewise.
13288         (FPE_FLTINV): Likewise.
13289         (FPE_FLTSUB): Likewise.
13290         (SEGV_MAPERR): Likewise.
13291         (SEGV_ACCERR): Likewise.
13292         (BUS_ADRALN): Likewise.
13293         (BUS_ADRERR): Likewise.
13294         (BUS_OBJERR): Likewise.
13295         (BUS_MCEERR_AR): Likewise.
13296         (BUS_MCEERR_AO): Likewise.
13297         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13298         (TRAP_TRACE): Likewise.
13299         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13300         __USE_XOPEN2K8].
13301         (CLD_KILLED): Likewise.
13302         (CLD_DUMPED): Likewise.
13303         (CLD_TRAPPED): Likewise.
13304         (CLD_STOPPED): Likewise.
13305         (CLD_CONTINUED): Likewise.
13306         (POLL_IN): Likewise.
13307         (POLL_OUT): Likewise.
13308         (POLL_MSG): Likewise.
13309         (POLL_ERR): Likewise.
13310         (POLL_PRI): Likewise.
13311         (POLL_HUP): Likewise.
13312         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13313         (ILL_ILLOPN): Likewise.
13314         (ILL_ILLADR): Likewise.
13315         (ILL_ILLTRP): Likewise.
13316         (ILL_PRVOPC): Likewise.
13317         (ILL_PRVREG): Likewise.
13318         (ILL_COPROC): Likewise.
13319         (ILL_BADSTK): Likewise.
13320         (ILL_DBLFLT): Likewise.
13321         (ILL_HARDWALL): Likewise.
13322         (FPE_INTDIV): Likewise.
13323         (FPE_INTOVF): Likewise.
13324         (FPE_FLTDIV): Likewise.
13325         (FPE_FLTOVF): Likewise.
13326         (FPE_FLTUND): Likewise.
13327         (FPE_FLTRES): Likewise.
13328         (FPE_FLTINV): Likewise.
13329         (FPE_FLTSUB): Likewise.
13330         (SEGV_MAPERR): Likewise.
13331         (SEGV_ACCERR): Likewise.
13332         (BUS_ADRALN): Likewise.
13333         (BUS_ADRERR): Likewise.
13334         (BUS_OBJERR): Likewise.
13335         (BUS_MCEERR_AR): Likewise.
13336         (BUS_MCEERR_AO): Likewise.
13337         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13338         (TRAP_TRACE): Likewise.
13339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13340         __USE_XOPEN2K8].
13341         (CLD_KILLED): Likewise.
13342         (CLD_DUMPED): Likewise.
13343         (CLD_TRAPPED): Likewise.
13344         (CLD_STOPPED): Likewise.
13345         (CLD_CONTINUED): Likewise.
13346         (POLL_IN): Likewise.
13347         (POLL_OUT): Likewise.
13348         (POLL_MSG): Likewise.
13349         (POLL_ERR): Likewise.
13350         (POLL_PRI): Likewise.
13351         (POLL_HUP): Likewise.
13352         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13353         (ILL_ILLOPN): Likewise.
13354         (ILL_ILLADR): Likewise.
13355         (ILL_ILLTRP): Likewise.
13356         (ILL_PRVOPC): Likewise.
13357         (ILL_PRVREG): Likewise.
13358         (ILL_COPROC): Likewise.
13359         (ILL_BADSTK): Likewise.
13360         (FPE_INTDIV): Likewise.
13361         (FPE_INTOVF): Likewise.
13362         (FPE_FLTDIV): Likewise.
13363         (FPE_FLTOVF): Likewise.
13364         (FPE_FLTUND): Likewise.
13365         (FPE_FLTRES): Likewise.
13366         (FPE_FLTINV): Likewise.
13367         (FPE_FLTSUB): Likewise.
13368         (SEGV_MAPERR): Likewise.
13369         (SEGV_ACCERR): Likewise.
13370         (BUS_ADRALN): Likewise.
13371         (BUS_ADRERR): Likewise.
13372         (BUS_OBJERR): Likewise.
13373         (BUS_MCEERR_AR): Likewise.
13374         (BUS_MCEERR_AO): Likewise.
13375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13376         (TRAP_TRACE): Likewise.
13377         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13378         __USE_XOPEN2K8].
13379         (CLD_KILLED): Likewise.
13380         (CLD_DUMPED): Likewise.
13381         (CLD_TRAPPED): Likewise.
13382         (CLD_STOPPED): Likewise.
13383         (CLD_CONTINUED): Likewise.
13384         (POLL_IN): Likewise.
13385         (POLL_OUT): Likewise.
13386         (POLL_MSG): Likewise.
13387         (POLL_ERR): Likewise.
13388         (POLL_PRI): Likewise.
13389         (POLL_HUP): Likewise.
13390         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13391         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13392
13393         [BZ #16670]
13394         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13395         before #include of <time.h>.
13396         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13397         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13398         (test-xfail-UNIX98/sched.h/conform): Likewise.
13399
13400 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13401
13402         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13403         error absence of trapping exception support.
13404         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13405
13406 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13407
13408         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13409         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13410         * timezone/Makefile (testdata): Move definition above include of
13411         Rules.
13412         (test-zones): New variable.
13413         (tests-special): Add zone files.
13414         (build-testdata): Use $(evaluate-test).
13415
13416         * elf/Makefile (tests-special): Rename tests to end with .out.
13417         ($(objpfx)noload-mem): Likewise.
13418         ($(objpfx)tst-leaks1-mem): Likewise.
13419         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13420         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13421         $(objpfx)test-iconvconfig.out.
13422         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13423         set -e inside subshell and redirect output to file.
13424         * iconvdata/Makefile (generated): Rename tests to end with .out.
13425         Correct type.
13426         (tests-special): Rename tests to end with .out.
13427         ($(objpfx)mtrace-tst-loading): Likewise.
13428         * intl/Makefile (generated): Likewise.
13429         (tests-special): Likewise.
13430         ($(objpfx)mtrace-tst-gettext): Likewise.
13431         * misc/Makefile (generated): Likewise.
13432         (tests-special): Likewise.
13433         ($(objpfx)tst-error1-mem): Likewise.
13434         * nptl/Makefile (tests-special): Likewise.
13435         ($(objpfx)tst-stack3-mem): Likewise.
13436         (generated): Likewise.
13437         * posix/Makefile (generated): Likewise.
13438         (tests-special): Likewise.
13439         (xtests-special): Likewise.
13440         ($(objpfx)tst-fnmatch-mem): Likewise.
13441         ($(objpfx)bug-regex2-mem): Likewise.
13442         ($(objpfx)bug-regex14-mem): Likewise.
13443         ($(objpfx)bug-regex21-mem): Likewise.
13444         ($(objpfx)bug-regex31-mem): Likewise.
13445         ($(objpfx)tst-vfork3-mem): Likewise.
13446         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13447         ($(objpfx)tst-pcre-mem): Likewise.
13448         ($(objpfx)tst-boost-mem): Likewise.
13449         ($(objpfx)bug-ga2-mem): Likewise.
13450         ($(objpfx)bug-glob2-mem): Likewise.
13451         * resolv/Makefile (generate): Likewise.
13452         (tests-special): Likewise.
13453         (xtests-special): Likewise.
13454         (generated): Likewise.
13455         ($(objpfx)mtrace-tst-leaks): Likewise.
13456         ($(objpfx)mtrace-tst-leaks2): Likewise.
13457
13458         * scripts/merge-test-results.sh: New file.
13459         * Makefile (tests-special-notdir): New variable.
13460         (tests): Run merge-test-results.sh.
13461         (xtests): Likewise.
13462         * Rules (tests-special-notdir): New variable.
13463         (xtests-special-notdir): Likewise.
13464         (tests): Run merge-test-results.sh
13465         (xtests): Likewise.
13466
13467         * Makeconfig (test-xfail-name): New variable.
13468         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13469         compute variable name for expected failures.
13470         * conform/Makefile (conformtest-headers-data): New variable.
13471         (conformtest-standards): Likewise.
13472         (conformtest-headers-ISO): Likewise.
13473         (conformtest-headers-ISO99): Likewise.
13474         (conformtest-headers-ISO11): Likewise.
13475         (conformtest-headers-POSIX): Likewise.
13476         (conformtest-headers-XPG3): Likewise.
13477         (conformtest-headers-XPG4): Likewise.
13478         (conformtest-headers-UNIX98): Likewise.
13479         (conformtest-headers-XOPEN2K): Likewise.
13480         (conformtest-headers-POSIX2008): Likewise.
13481         (conformtest-headers-XOPEN2K8): Likewise.
13482         (conformtest-header-list-base): Likewise.
13483         (conformtest-header-list-tests): Likewise.
13484         (conformtest-header-base): Likewise.
13485         (conformtest-header-tests): Likewise.
13486         (tests-special): Add $(conformtest-header-list-tests).  If
13487         [$(fast-check) && !$(cross-compiling)], add
13488         $(conformtest-header-tests) instead of
13489         $(objpfx)run-conformtest.out.
13490         (generated): Add $(conformtest-header-list-base).  If
13491         [$(fast-check) && !$(cross-compiling)], add
13492         $(conformtest-header-base).  Remove previous setting.
13493         ($(conformtest-header-list-tests)): New target.
13494         (test-xfail-run-conformtest): Remove variable.
13495         ($(objpfx)run-conformtest.out): Remove target.
13496         (test-xfail-ISO11/complex.h/conform): New variable.
13497         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13498         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13499         (test-xfail-XPG3/varargs.h/conform): Likewise.
13500         (test-xfail-XPG4/varargs.h/conform): Likewise.
13501         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13502         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13503         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13504         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13505         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13506         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13507         (test-xfail-XPG3/ftw.h/conform): Likewise.
13508         (test-xfail-XPG3/grp.h/conform): Likewise.
13509         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13510         (test-xfail-XPG3/limits.h/conform): Likewise.
13511         (test-xfail-XPG3/pwd.h/conform): Likewise.
13512         (test-xfail-XPG3/search.h/conform): Likewise.
13513         (test-xfail-XPG3/signal.h/conform): Likewise.
13514         (test-xfail-XPG3/stdio.h/conform): Likewise.
13515         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13516         (test-xfail-XPG3/string.h/conform): Likewise.
13517         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13518         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13519         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13520         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13521         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13522         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13523         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13524         (test-xfail-XPG3/termios.h/conform): Likewise.
13525         (test-xfail-XPG3/time.h/conform): Likewise.
13526         (test-xfail-XPG3/unistd.h/conform): Likewise.
13527         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13528         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13529         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13530         (test-xfail-XPG4/netdb.h/conform): Likewise.
13531         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13532         (test-xfail-XPG4/signal.h/conform): Likewise.
13533         (test-xfail-XPG4/stdio.h/conform): Likewise.
13534         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13535         (test-xfail-XPG4/stropts.h/conform): Likewise.
13536         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13537         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13538         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13539         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13540         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13541         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13542         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13543         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13544         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13545         (test-xfail-XPG4/termios.h/conform): Likewise.
13546         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13547         (test-xfail-XPG4/unistd.h/conform): Likewise.
13548         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13549         (test-xfail-POSIX/sched.h/conform): Likewise.
13550         (test-xfail-POSIX/signal.h/conform): Likewise.
13551         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13552         (test-xfail-POSIX/tar.h/conform): Likewise.
13553         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13554         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13555         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13556         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13557         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13558         (test-xfail-UNIX98/sched.h/conform): Likewise.
13559         (test-xfail-UNIX98/signal.h/conform): Likewise.
13560         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13561         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13562         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13563         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13564         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13565         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13566         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13567         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13568         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13569         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13570         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13571         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13572         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13573         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13574         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13575         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13576         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13577         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13578         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13579         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13580         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13581         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13582         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13583         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13584         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13585         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13586         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13587         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13588         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13589         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13590         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13591         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13592         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13593         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13594         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13595         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13596         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13597         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13598         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13599         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13600         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13601         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13602         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13603         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13604         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13605         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13606         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13607         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13608         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13609         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13610         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13611         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13612         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13613         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13614         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13615         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13616         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13617         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13618         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13619         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13620         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13621         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13622         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13623         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13624         (conformtest-cc-flags): Likewise.
13625         ($(conformtest-header-tests): New target.
13626         * conform/check-header-lists.sh: New file.
13627         * conform/run-conformtest.sh: Remove.
13628
13629         * conform/conformtest.pl: Allow ' and \ in values given for
13630         constants.
13631         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13632         inclusion.
13633         [POSIX] (sys/types.h): Likewise.
13634         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13635         inclusion.
13636         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13637         inclusion.
13638         * conform/data/signal.h-data (SIGIO): Remove expectation.
13639         [XPG3] (SIGBUS): Do not expect.
13640         [POSIX || XPG3] (SIGPOLL): Likewise.
13641         [POSIX || XPG3] (SIGPROF): Likewise.
13642         [POSIX || XPG3] (SIGSYS): Likewise.
13643         [XPG3] (SIGTRAP): Likewise.
13644         [POSIX || XPG3] (SIGURG): Likewise.
13645         [POSIX || XPG3] (SIGVTALRM): Likewise.
13646         [POSIX || XPG3] (SIGXCPU): Likewise.
13647         [POSIX || XPG3] (SIGXFSZ): Likewise.
13648         [POSIX] (SA_SIGINFO): Expect.
13649         [XPG3] (siginfo_t): Do not expect type or contents.
13650         [POSIX] (si_pid): Do not expect element.
13651         [POSIX] (si_uid): Likewise.
13652         [POSIX] (si_addr): Likewise.
13653         [POSIX] (si_status): Likewise.
13654         [POSIX] (si_band): Likewise.
13655         [XPG4] (si_value): Likewise.
13656         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13657         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13658         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13659         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13660         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13661         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13662         [POSIX || XPG3] (ILL_COPROC): Likewise.
13663         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13664         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13665         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13666         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13667         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13668         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13669         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13670         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13671         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13672         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13673         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13674         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13675         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13676         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13677         [POSIX || XPG3] (CLD_EXITED): Likewise.
13678         [POSIX || XPG3] (CLD_KILLED): Likewise.
13679         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13680         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13681         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13682         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13683         [POSIX || XPG3] (POLL_IN): Likewise.
13684         [POSIX || XPG3] (POLL_OUT): Likewise.
13685         [POSIX || XPG3] (POLL_MSG): Likewise.
13686         [POSIX || XPG3] (POLL_ERR): Likewise.
13687         [POSIX || XPG3] (POLL_PRI): Likewise.
13688         [POSIX || XPG3] (POLL_HUP): Likewise.
13689         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13690         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13691         (SIG*): Do not allow.
13692         [XPG3] (si_*): Likewise.
13693         [XPG3] (SI_*): Likewise.
13694         [XPG3 || XPG4] (sigev_*): Likewise.
13695         [XPG3 || XPG4] (SIGEV_*): Likewise.
13696         [XPG3 || XPG4] (sival_*): Likewise.
13697         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13698         [POSIX || XPG3] (BUS_*): Likewise.
13699         [POSIX || XPG3] (CLD_*): Likewise.
13700         [POSIX || XPG3] (FPE_*): Likewise.
13701         [POSIX || XPG3] (ILL_*): Likewise.
13702         [POSIX || XPG3] (POLL_*): Likewise.
13703         [POSIX || XPG3] (SEGV_*): Likewise.
13704         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13705         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13706         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13707         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13708         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13709         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13710         Specify type and value.
13711         (TVERSLEN): Likewise.
13712         (REGTYPE): Likewise.
13713         (AREGTYPE): Likewise.
13714         (LNKTYPE): Likewise.
13715         (SYMTYPE): Likewise.
13716         (CHRTYPE): Likewise.
13717         (BLKTYPE): Likewise.
13718         (DIRTYPE): Likewise.
13719         (FIFOTYPE): Likewise.
13720         (CONTTYPE): Likewise.
13721         (TSUID): Likewise.
13722         (TSGID): Likewise.
13723         (TSVTX): Likewise.
13724         (TUREAD): Likewise.
13725         (TUWRITE): Likewise.
13726         (TUEXEC): Likewise.
13727         (TGREAD): Likewise.
13728         (TGWRITE): Likewise.
13729         (TGEXEC): Likewise.
13730         (TOREAD): Likewise.
13731         (TOWRITE): Likewise.
13732         (TOEXEC): Likewise.
13733         [POSIX] (TSVTX): Expect constant.
13734
13735 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13736
13737         * Makefile (tests): Change dependencies to ....
13738         (tests-special): ... additions to this variable.
13739         (tests): Depend on $(tests-special).
13740         * Makerules (check-abi-list): New variable.
13741         (check-abi): Depend on $(check-abi-list).
13742         [$(subdir) = elf] (tests-special): Add
13743         $(objpfx)check-abi-libc.out.
13744         [$(build-shared) = yes && subdir] (tests-special): Add
13745         $(check-abi-list).
13746         [$(build-shared) = yes && subdir] (tests): Do not depend on
13747         check-abi.
13748         * Rules (tests): Depend on $(tests-special).
13749         (xtests): Depend on $(xtests-special).
13750         * catgets/Makefile (tests): Change dependencies to ....
13751         (tests-special): ... additions to this variable.
13752         * conform/Makefile (tests): Change dependencies to ....
13753         (tests-special): ... additions to this variable.
13754         * elf/Makefile (tests): Change dependencies to ....
13755         (tests-special): ... additions to this variable.
13756         * grp/Makefile (tests): Change dependencies to ....
13757         (tests-special): ... additions to this variable.
13758         * iconv/Makefile (xtests): Change dependencies to ....
13759         (xtests-special): ... additions to this variable.
13760         * iconvdata/Makefile (tests): Change dependencies to ....
13761         (tests-special): ... additions to this variable.
13762         * intl/Makefile (tests): Change dependencies to ....
13763         (tests-special): ... additions to this variable.  Also add
13764         $(objpfx)tst-gettext.out.
13765         * io/Makefile (tests): Change dependencies to ....
13766         (tests-special): ... additions to this variable.
13767         * libio/Makefile (tests): Change dependencies to ....
13768         (tests-special): ... additions to this variable.
13769         * malloc/Makefile (tests): Change dependencies to ....
13770         (tests-special): ... additions to this variable.
13771         * misc/Makefile (tests): Change dependencies to ....
13772         (tests-special): ... additions to this variable.
13773         * nptl/Makefile (tests): Change dependencies to ....
13774         (tests-special): ... additions to this variable.
13775         * nptl_db/Makefile (tests): Change dependencies to ....
13776         (tests-special): ... additions to this variable.
13777         * posix/Makefile (tests): Change dependencies to ....
13778         (tests-special): ... additions to this variable.
13779         (xtests): Change dependencies to ....
13780         (xtests-special): ... additions to this variable.
13781         * resolv/Makefile (tests): Change dependencies to ....
13782         (tests-special): ... additions to this variable.
13783         (xtests): Change dependencies to ....
13784         (xtests-special): ... additions to this variable.
13785         * stdio-common/Makefile (tests): Change dependencies to ....
13786         (tests-special): ... additions to this variable.
13787         (do-tst-unbputc): Remove target.
13788         (do-tst-printf): Likewise.
13789         * stdlib/Makefile (tests): Change dependencies to ....
13790         (tests-special): ... additions to this variable.
13791         * string/Makefile (tests): Change dependencies to ....
13792         (tests-special): ... additions to this variable.
13793         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13794         (tests-special): ... additions to this variable.
13795
13796         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13797         whole file.
13798         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13799         whole file.
13800         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13801         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13802
13803         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13804         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13805         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13806         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13807         * conform/data/libgen.h-data [XPG3]: Likewise.
13808         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13809         * conform/data/ndbm.h-data [XPG3]: Likewise.
13810         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13811         * conform/data/netdb.h-data [XPG3]: Likewise.
13812         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13813         * conform/data/poll.h-data [XPG3]: Likewise.
13814         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13815         * conform/data/strings.h-data [XPG3]: Likewise.
13816         * conform/data/stropts.h-data [XPG3]: Likewise.
13817         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13818         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13819         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13820         Likewise.
13821         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13822         * conform/data/sys/time.h-data [XPG3]: Likewise.
13823         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13824         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13825         * conform/data/sys/un.h-data [XPG3]: Likewise.
13826         * conform/data/syslog.h-data [XPG3]: Likewise.
13827         * conform/data/ucontext.h-data [XPG3]: Likewise.
13828         * conform/data/utmpx.h-data [XPG3]: Likewise.
13829         * conform/data/varargs.h-data [UNIX98]: Enable file.
13830
13831         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13832
13833         * math/libm-test.inc (struct test_f_f_data): Move expected results
13834         into structure for each rounding mode.
13835         (struct test_ff_f_data): Likewise.
13836         (struct test_ff_f_data_nexttoward): Likewise.
13837         (struct test_fi_f_data): Likewise.
13838         (struct test_fl_f_data): Likewise.
13839         (struct test_if_f_data): Likewise.
13840         (struct test_fff_f_data): Likewise.
13841         (struct test_c_f_data): Likewise.
13842         (struct test_f_f1_data): Likewise.
13843         (struct test_fF_f1_data): Likewise.
13844         (struct test_ffI_f1_data): Likewise.
13845         (struct test_c_c_data): Likewise.
13846         (struct test_cc_c_data): Likewise.
13847         (struct test_f_i_data): Likewise.
13848         (struct test_ff_i_data): Likewise.
13849         (struct test_f_l_data): Likewise.
13850         (struct test_f_L_data): Likewise.
13851         (struct test_fFF_11_data): Likewise.
13852         (RM_): New macro.
13853         (RM_FE_DOWNWARD): Likewise.
13854         (RM_FE_TONEAREST): Likewise.
13855         (RM_FE_TOWARDZERO): Likewise.
13856         (RM_FE_UPWARD): Likewise.
13857         (RUN_TEST_LOOP_f_f): Update references to expected results.
13858         (RUN_TEST_LOOP_2_f): Likewise.
13859         (RUN_TEST_LOOP_fff_f): Likewise.
13860         (RUN_TEST_LOOP_c_f): Likewise.
13861         (RUN_TEST_LOOP_f_f1): Likewise.
13862         (RUN_TEST_LOOP_fF_f1): Likewise.
13863         (RUN_TEST_LOOP_fI_f1): Likewise.
13864         (RUN_TEST_LOOP_ffI_f1): Likewise.
13865         (RUN_TEST_LOOP_c_c): Likewise.
13866         (RUN_TEST_LOOP_cc_c): Likewise.
13867         (RUN_TEST_LOOP_f_i): Likewise.
13868         (RUN_TEST_LOOP_f_i_tg): Likewise.
13869         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13870         (RUN_TEST_LOOP_f_b): Likewise.
13871         (RUN_TEST_LOOP_f_b_tg): Likewise.
13872         (RUN_TEST_LOOP_f_l): Likewise.
13873         (RUN_TEST_LOOP_f_L): Likewise.
13874         (RUN_TEST_LOOP_fFF_11): Likewise.
13875         * math/gen-libm-test.pl (parse_args): Output four copies of
13876         expected results for each test.
13877
13878         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13879         (__ASSUME_UTIMES): Remove.
13880         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13881         (__ASSUME_UTIMES): Likewise.
13882
13883         * math/gen-auto-libm-tests.c: Update comment on output format.
13884         (output_for_one_input_case): Generate before-rounding and
13885         after-rounding information as conditions on output flags not
13886         floating-point format.
13887         * math/auto-libm-test-out: Regenerated.
13888         * math/gen-libm-test.pl (cond_value): New function.
13889         (or_cond_value): Use cond_value.
13890         (generate_testfile): Handle conditional exceptions.
13891
13892 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13893
13894         * math/libm-test.inc (max_valid_error): New variable.
13895         (init_max_error): Take new argument specifying whether function
13896         results are exactly determined.  Set max_valid_error and bound
13897         other variables for errors based on this argument.
13898         (set_max_error): Do not record results above max_valid_error.
13899         (check_float_internal): Only accept errors of up to 0.5ulps if
13900         also at most max_valid_error.
13901         (START): Take new argument EXACT and pass it to init_max_error.
13902         (acos_test): Update call to START.
13903         (acos_test_tonearest): Likewise.
13904         (acos_test_towardzero): Likewise.
13905         (acos_test_downward): Likewise.
13906         (acos_test_upward): Likewise.
13907         (acosh_test): Likewise.
13908         (asin_test): Likewise.
13909         (asin_test_tonearest): Likewise.
13910         (asin_test_towardzero): Likewise.
13911         (asin_test_downward): Likewise.
13912         (asin_test_upward): Likewise.
13913         (asinh_test): Likewise.
13914         (atan_test): Likewise.
13915         (atanh_test): Likewise.
13916         (atan2_test): Likewise.
13917         (cabs_test): Likewise.
13918         (cacos_test): Likewise.
13919         (cacosh_test): Likewise.
13920         (carg_test): Likewise.
13921         (casin_test): Likewise.
13922         (casinh_test): Likewise.
13923         (catan_test): Likewise.
13924         (catanh_test): Likewise.
13925         (cbrt_test): Likewise.
13926         (ccos_test): Likewise.
13927         (ccosh_test): Likewise.
13928         (ceil_test): Likewise.
13929         (cexp_test): Likewise.
13930         (cimag_test): Likewise.
13931         (clog_test): Likewise.
13932         (clog10_test): Likewise.
13933         (conj_test): Likewise.
13934         (copysign_test): Likewise.
13935         (cos_test): Likewise.
13936         (cos_test_tonearest): Likewise.
13937         (cos_test_towardzero): Likewise.
13938         (cos_test_downward): Likewise.
13939         (cos_test_upward): Likewise.
13940         (cosh_test): Likewise.
13941         (cosh_test_tonearest): Likewise.
13942         (cosh_test_towardzero): Likewise.
13943         (cosh_test_downward): Likewise.
13944         (cosh_test_upward): Likewise.
13945         (cpow_test): Likewise.
13946         (cproj_test): Likewise.
13947         (creal_test): Likewise.
13948         (csin_test): Likewise.
13949         (csinh_test): Likewise.
13950         (csqrt_test): Likewise.
13951         (ctan_test): Likewise.
13952         (ctan_test_tonearest): Likewise.
13953         (ctan_test_towardzero): Likewise.
13954         (ctan_test_downward): Likewise.
13955         (ctan_test_upward): Likewise.
13956         (ctanh_test): Likewise.
13957         (ctanh_test_tonearest): Likewise.
13958         (ctanh_test_towardzero): Likewise.
13959         (ctanh_test_downward): Likewise.
13960         (ctanh_test_upward): Likewise.
13961         (erf_test): Likewise.
13962         (erfc_test): Likewise.
13963         (exp_test): Likewise.
13964         (exp_test_tonearest): Likewise.
13965         (exp_test_towardzero): Likewise.
13966         (exp_test_downward): Likewise.
13967         (exp_test_upward): Likewise.
13968         (exp10_test): Likewise.
13969         (exp10_test_tonearest): Likewise.
13970         (exp10_test_towardzero): Likewise.
13971         (exp10_test_downward): Likewise.
13972         (exp10_test_upward): Likewise.
13973         (pow10_test): Likewise.
13974         (exp2_test): Likewise.
13975         (expm1_test): Likewise.
13976         (expm1_test_tonearest): Likewise.
13977         (expm1_test_towardzero): Likewise.
13978         (expm1_test_downward): Likewise.
13979         (expm1_test_upward): Likewise.
13980         (fabs_test): Likewise.
13981         (fdim_test): Likewise.
13982         (floor_test): Likewise.
13983         (fma_test): Likewise.
13984         (fma_test_towardzero): Likewise.
13985         (fma_test_downward): Likewise.
13986         (fma_test_upward): Likewise.
13987         (fmax_test): Likewise.
13988         (fmin_test): Likewise.
13989         (fmod_test): Likewise.
13990         (fpclassify_test): Likewise.
13991         (frexp_test): Likewise.
13992         (hypot_test): Likewise.
13993         (ilogb_test): Likewise.
13994         (isfinite_test): Likewise.
13995         (finite_test): Likewise.
13996         (isgreater_test): Likewise.
13997         (isgreaterequal_test): Likewise.
13998         (isinf_test): Likewise.
13999         (isless_test): Likewise.
14000         (islessequal_test): Likewise.
14001         (islessgreater_test): Likewise.
14002         (isnan_test): Likewise.
14003         (isnormal_test): Likewise.
14004         (issignaling_test): Likewise.
14005         (isunordered_test): Likewise.
14006         (j0_test): Likewise.
14007         (j1_test): Likewise.
14008         (jn_test): Likewise.
14009         (ldexp_test): Likewise.
14010         (lgamma_test): Likewise.
14011         (gamma_test): Likewise.
14012         (lrint_test): Likewise.
14013         (lrint_test_tonearest): Likewise.
14014         (lrint_test_towardzero): Likewise.
14015         (lrint_test_downward): Likewise.
14016         (lrint_test_upward): Likewise.
14017         (llrint_test): Likewise.
14018         (llrint_test_tonearest): Likewise.
14019         (llrint_test_towardzero): Likewise.
14020         (llrint_test_downward): Likewise.
14021         (llrint_test_upward): Likewise.
14022         (log_test): Likewise.
14023         (log10_test): Likewise.
14024         (log1p_test): Likewise.
14025         (log2_test): Likewise.
14026         (logb_test): Likewise.
14027         (logb_test_downward): Likewise.
14028         (lround_test): Likewise.
14029         (llround_test): Likewise.
14030         (modf_test): Likewise.
14031         (nearbyint_test): Likewise.
14032         (nextafter_test): Likewise.
14033         (nexttoward_test): Likewise.
14034         (pow_test): Likewise.
14035         (pow_test_tonearest): Likewise.
14036         (pow_test_towardzero): Likewise.
14037         (pow_test_downward): Likewise.
14038         (pow_test_upward): Likewise.
14039         (remainder_test): Likewise.
14040         (drem_test): Likewise.
14041         (remainder_test_tonearest): Likewise.
14042         (drem_test_tonearest): Likewise.
14043         (remainder_test_towardzero): Likewise.
14044         (drem_test_towardzero): Likewise.
14045         (remainder_test_downward): Likewise.
14046         (drem_test_downward): Likewise.
14047         (remainder_test_upward): Likewise.
14048         (drem_test_upward): Likewise.
14049         (remquo_test): Likewise.
14050         (rint_test): Likewise.
14051         (rint_test_tonearest): Likewise.
14052         (rint_test_towardzero): Likewise.
14053         (rint_test_downward): Likewise.
14054         (rint_test_upward): Likewise.
14055         (round_test): Likewise.
14056         (scalb_test): Likewise.
14057         (scalbn_test): Likewise.
14058         (scalbln_test): Likewise.
14059         (signbit_test): Likewise.
14060         (sin_test): Likewise.
14061         (sin_test_tonearest): Likewise.
14062         (sin_test_towardzero): Likewise.
14063         (sin_test_downward): Likewise.
14064         (sin_test_upward): Likewise.
14065         (sincos_test): Likewise.
14066         (sinh_test): Likewise.
14067         (sinh_test_tonearest): Likewise.
14068         (sinh_test_towardzero): Likewise.
14069         (sinh_test_downward): Likewise.
14070         (sinh_test_upward): Likewise.
14071         (sqrt_test): Likewise.
14072         (sqrt_test_tonearest): Likewise.
14073         (sqrt_test_towardzero): Likewise.
14074         (sqrt_test_downward): Likewise.
14075         (sqrt_test_upward): Likewise.
14076         (tan_test): Likewise.
14077         (tan_test_tonearest): Likewise.
14078         (tan_test_towardzero): Likewise.
14079         (tan_test_downward): Likewise.
14080         (tan_test_upward): Likewise.
14081         (tanh_test): Likewise.
14082         (tgamma_test): Likewise.
14083         (trunc_test): Likewise.
14084         (y0_test): Likewise.
14085         (y1_test): Likewise.
14086         (yn_test): Likewise.
14087         (significand_test): Likewise.
14088
14089         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14090         individual tests in comment.
14091         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14092         (prev_max_error): New variable.
14093         (prev_real_max_error): Likewise.
14094         (prev_imag_max_error): Likewise.
14095         (compare_ulp_data): Don't refer to test names in comment.
14096         (find_test_ulps): Remove function.
14097         (find_function_ulps): Likewise.
14098         (find_complex_function_ulps): Likewise.
14099         (init_max_error): Take function name as argument.  Look up ulps
14100         for that function.
14101         (print_ulps): Remove function.
14102         (print_max_error): Use prev_max_error instead of calling
14103         find_function_ulps.
14104         (print_complex_max_error): Use prev_real_max_error and
14105         prev_imag_max_error instead of calling find_complex_function_ulps.
14106         (check_float_internal): Take max_ulp parameter instead of calling
14107         find_test_ulps.  Don't call print_ulps.
14108         (check_float): Update call to check_float_internal.
14109         (check_complex): Update calls to check_float_internal.
14110         (START): Pass argument to init_max_error.
14111         * math/gen-libm-test.pl (%results): Don't include "kind"
14112         information.
14113         (parse_ulps): Don't handle ulps of individual tests.
14114         (print_ulps_file): Likewise.
14115         (output_ulps): Likewise.
14116         * math/README.libm-test: Update.
14117         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14118         individual tests.
14119         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14120         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14121         * sysdeps/arm/libm-test-ulps: Likewise.
14122         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14123         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14124         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14125         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14126         * sysdeps/microblaze/libm-test-ulps: Likewise.
14127         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14128         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14129         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14130         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14131         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14132         * sysdeps/sh/libm-test-ulps: Likewise.
14133         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14134         * sysdeps/tile/libm-test-ulps: Likewise.
14135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14136
14137 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14138
14139         * math/libm-test.inc (print_complex_max_error): Check separately
14140         whether real and imaginary errors are within allowed range and
14141         pass 0 to print_complex_function_ulps instead of value within
14142         allowed range.
14143
14144 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14145
14146         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14147         formatting.
14148         (get_handles_fopen): Likewise.
14149         (do_write_test): Likewise.
14150
14151         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14152
14153         * libio/fileops.c (do_ftell): Use cached offset when
14154         available.
14155         * libio/iofwide.c (do_ftell_wide): Likewise.
14156         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14157         _IO_file_attach.
14158         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14159
14160         [BZ #16532]
14161         * libio/libioP.h (get_file_offset): New function.
14162         * libio/fileops.c (get_file_offset): Likewise.
14163         (do_ftell): Likewise.
14164         (_IO_new_file_seekoff): Split out ftell logic.
14165         * libio/wfileops.c (do_ftell_wide): Likewise.
14166         (_IO_wfile_seekoff): Split out ftell logic.
14167         * libio/tst-ftell-active-handler.c: New test case.
14168         * libio/Makefile (tests): Add it.
14169
14170 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14171
14172         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14173         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14174
14175 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14176
14177         [BZ #16639]
14178         * nscd/connections.c (nscd_init): Call do_exit.
14179         (start_threads): Call do_exit and notify_parent.
14180         (begin_drop_privileges): Call do_exit.
14181         (finish_drop_privileges): Likewise.
14182         * nscd/selinux.c (preserve_capabilities): Likewise.
14183         (install_real_capabilities): Likewise.
14184         (nscd_selinux_enabled): Likewise.
14185         (avc_create_thread): Likewise.
14186         (avc_alloc_lock): Likewise.
14187         (nscd_avc_init): Likewise.
14188         * nscd/nscd.c (parent_fd): New static variable.
14189         (main): Create a pipe between parent and child processes.
14190         Skip closing parent_fd.
14191         (monitor_child): New function.
14192         (do_exit): Likewise.
14193         (notify_parent): Likewise.
14194         * nscd/nscd.h (notify_parent): Likewise.
14195         (do_exit): Likewise.
14196
14197 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14198
14199         * malloc/malloc.c (__libc_calloc): Revert last change.
14200
14201 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14202
14203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14204
14205 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14206
14207         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14209         implementation.
14210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14211         (__libc_ifunc_impl_list): Likewise.
14212         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14213         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14214         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14215         * string/strrchr.c: Define STRRCHR.
14216
14217 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14218
14219         * benchtest/bench-strtok.c (simple_strtok): Delete.
14220         (strtok_string): Use as benchmark.
14221         * string/strtok (STRTOK): New macro.
14222
14223 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14224
14225         * manual/threads.texi: Add header and standard comments to all
14226         functions.
14227
14228         * elf/dl-lookup.c (check_match): New function.
14229         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14230         (do_lookup_x): Remove nested function check_match. Use non-nested
14231         function check_match.
14232
14233 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14234
14235         * csu/Makefile (generated, before-compile): Use += rather than =.
14236         * catgets/Makefile (generated, generated-dirs): Likewise.
14237         * debug/Makefile (generated): Likewise.
14238         * dlfcn/Makefile (generated): Likewise.
14239         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14240         * iconvdata/Makefile (before-compile, generated): Likewise.
14241         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14242         * libio/Makefile (generated): Likewise.
14243         * malloc/Makefile (generated): Likewise.
14244         * manual/Makefile (generated, generated-dirs): Likewise.
14245         * misc/Makefile (generated): Likewise.
14246         * posix/Makefile (generated): Likewise.
14247         * resolv/Makefile (generated): Likewise.
14248         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14249         * timezone/Makefile (generated, generated-dirs): Likewise.
14250
14251         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14252
14253 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14254
14255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14256         power8 implementation.
14257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14258         file: POWER8 llround ifunc implementation.
14259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14260         (__lllround): Add POWER8 implementation.
14261         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14262         POWER8 llround implementation.
14263
14264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14265         power8 implementation.
14266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14267         file: POWER8 llrint ifunc implementation.
14268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14269         Add POWER8 implementation.
14270         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14271         POWER8 llrint implementation.
14272
14273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14274         power8 implementation.
14275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14276         file: POWER8 finite ifunc implementation.
14277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14278         Add POWER8 implementation.
14279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14280         Likewise.
14281         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14282         POWER8 finite implementation.
14283         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14284
14285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14286         power8 implementation.
14287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14288         file: POWER8 isinf ifunc implementation.
14289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14290         POWER8 implementation.
14291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14292         Likewise.
14293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14294         isinf implementation.
14295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14296
14297         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14298         (INIT_ARCH): Add hwcap2 initialization.
14299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14300         power8 implementation.
14301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14302         file: POWER8 isnan ifunc implementation.
14303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14304         POWER8 implementation.
14305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14306         Likewise.
14307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14308         isnan implementation.
14309         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14310
14311 2014-02-27  Joey Ye  <joey.ye@arm.com>
14312
14313         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14314         (_FP_NANFRAC_Q): Set to zero.
14315
14316 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14317
14318         [BZ #16623]
14319         * math/auto-libm-test-in: New test inputs.
14320         * math/auto-libm-test-out: Regenerate.
14321         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14322         and DA.
14323         (__cos): Likewise.
14324         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14325
14326 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14327
14328         * scripts/evaluate-test.sh: Take new argument indicating whether
14329         failure is expected.
14330         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14331         indicating whether failure is expected.
14332         * conform/Makefile (test-xfail-run-conformtest): New variable.
14333         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14334         level.
14335         * posix/Makefile (test-xfail-annexc): New variable.
14336         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14337
14338 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14339
14340         * argp/Makefile: Include Makeconfig immediately after defining
14341         subdir.
14342         * assert/Makefile: Likewise.
14343         * benchtests/Makefile: Likewise.
14344         * catgets/Makefile: Likewise.
14345         * conform/Makefile: Likewise.
14346         * crypt/Makefile: Likewise.
14347         * csu/Makefile: Likewise.
14348         (all): Remove target.
14349         * ctype/Makefile: Include Makeconfig immediately after defining
14350         subdir.
14351         * debug/Makefile: Likewise.
14352         * dirent/Makefile: Likewise.
14353         * dlfcn/Makefile: Likewise.
14354         * gmon/Makefile: Likewise.
14355         * gnulib/Makefile: Likewise.
14356         * grp/Makefile: Likewise.
14357         * gshadow/Makefile: Likewise.
14358         * hesiod/Makefile: Likewise.
14359         * hurd/Makefile: Likewise.
14360         (all): Remove target.
14361         * iconvdata/Makefile: Include Makeconfig immediately after
14362         defining subdir.
14363         * inet/Makefile: Likewise.
14364         * intl/Makefile: Likewise.
14365         * io/Makefile: Likewise.
14366         * libio/Makefile: Likewise.
14367         (all): Remove target.
14368         * locale/Makefile: Include Makeconfig immediately after defining
14369         subdir.
14370         * login/Makefile: Likewise.
14371         * mach/Makefile: Likewise.
14372         (all): Remove target.
14373         * malloc/Makefile: Include Makeconfig immediately after defining
14374         subdir.
14375         (all): Remove target.
14376         * manual/Makefile: Include Makeconfig immediately after defining
14377         subdir.
14378         * math/Makefile: Likewise.
14379         * misc/Makefile: Likewise.
14380         * nis/Makefile: Likewise.
14381         * nss/Makefile: Likewise.
14382         * po/Makefile: Likewise.
14383         (all): Remove target.
14384         * posix/Makefile: Include Makeconfig immediately after defining
14385         subdir.
14386         * pwd/Makefile: Likewise.
14387         * resolv/Makefile: Likewise.
14388         * resource/Makefile: Likewise.
14389         * rt/Makefile: Likewise.
14390         * setjmp/Makefile: Likewise.
14391         * shadow/Makefile: Likewise.
14392         * signal/Makefile: Likewise.
14393         * socket/Makefile: Likewise.
14394         * soft-fp/Makefile: Likewise.
14395         * stdio-common/Makefile: Likewise.
14396         * stdlib/Makefile: Likewise.
14397         * streams/Makefile: Likewise.
14398         * string/Makefile: Likewise.
14399         * sunrpc/Makefile: Likewise.
14400         (all): Remove target.
14401         * sysvipc/Makefile: Include Makeconfig immediately after defining
14402         subdir.
14403         * termios/Makefile: Likewise.
14404         * time/Makefile: Likewise.
14405         * timezone/Makefile: Likewise.
14406         (all): Remove target.
14407         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14408         subdir.
14409         * wctype/Makefile: Likewise.
14410
14411 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14412
14413         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14414         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14415         (libc_feholdexcept_setround_mips): Ditto.
14416         (libc_feholdsetround): New.
14417         (libc_feholdsetroundf): New.
14418         (libc_feholdsetroundl): New.
14419         (libc_feupdateenv_test_mips): New.
14420         (libc_feupdateenv_test): New.
14421         (libc_feupdateenv_testf): New.
14422         (libc_feupdateenv_testl): New.
14423         (libc_feresetround): New.
14424         (libc_feresetroundf): New.
14425         (libc_feresetroundl): New.
14426         (libc_fetestexcept_mips): New.
14427         (libc_fetestexcept): New.
14428         (libc_fetestexceptf): New.
14429         (libc_fetestexceptl): New.
14430         (HAVE_RM_CTX): New.
14431         (libc_feholdexcept_setround_mips_ctx): New.
14432         (libc_feholdexcept_setround_ctx): New.
14433         (libc_feholdexcept_setroundf_ctx): New.
14434         (libc_feholdexcept_setroundl_ctx): New.
14435         (libc_fesetenv_mips_ctx): New.
14436         (libc_fesetenv_ctx): New.
14437         (libc_fesetenv_ctxf): New.
14438         (libc_fesetenv_ctxl): New.
14439         (libc_feupdateenv_mips_ctx): New.
14440         (libc_feupdateenv_ctx): New.
14441         (libc_feupdateenvf_ctx): New.
14442         (libc_feupdateenvl_ctx): New.
14443         (libc_feholdsetround_mips_ctx): New.
14444         (libc_feholdsetround_ctx): New.
14445         (libc_feholdsetroundf_ctx): New.
14446         (libc_feholdsetroundl_ctx): New.
14447         (libc_feresetround_mips_ctx): New.
14448         (libc_feresetround_ctx): New.
14449         (libc_feresetroundf_ctx): New.
14450         (libc_feresetroundl_ctx): New.
14451
14452 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14453
14454         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14455
14456         * manual/ipc.texi: New file.
14457         * manual/Makefile (chapters): Add ipc.
14458         * manual/job.texi: Add "Inter-Process Communication" to next.
14459         * manual/process.texi: Add "Inter-Process Communication" to prev.
14460
14461 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14462
14463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14464
14465 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14466
14467         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14468
14469         * manual/arith.texi: Fix spaces after sentences.
14470         * manual/charset.texi: Likewise.
14471         * manual/errno.texi: Likewise.
14472         * manual/install.texi: Likewise.
14473         * manual/llio.texi: Likewise.
14474         * manual/locale.texi: Likewise.
14475         * manual/maint.texi: Likewise.
14476         * manual/math.texi: Likewise.
14477         * manual/memory.texi: Likewise.
14478         * manual/message.texi: Likewise.
14479         * manual/probes.texi: Likewise.
14480         * manual/resource.texi: Likewise.
14481         * manual/signal.texi: Likewise.
14482         * manual/socket.texi: Likewise.
14483         * manual/stdio.texi: Likewise.
14484         * manual/string.texi: Likewise.
14485         * manual/time.texi: Likewise.
14486         * manual/users.texi: Likewise.
14487
14488 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14489
14490         [BZ #16632]
14491         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14492         _DEFAULT_SOURCE is defined.
14493
14494 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14495             Carlos O'Donell  <carlos@redhat.com>
14496
14497         [BZ #16613]
14498         * elf/dl-tls.c (_dl_count_modids): New function.
14499         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14500         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14501         audit library and increment generation counter.
14502         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14503         * elf/tst-audit9.c: New file.
14504         * elf/tst-auditmod9a.c: New file.
14505         * elf/tst-auditmod9b.c: New file.
14506         * elf/Makefile: Add rules to build and run tst-audit9.
14507
14508 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14509
14510         [BZ #15347]
14511         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14512
14513 2014-02-25  Will Newton  <will.newton@linaro.org>
14514
14515         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14516         (__longjmp): Restore sp and lr before restoring callee
14517         saved registers.  Add longjmp and longjmp_target
14518         SystemTap probe point.
14519         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14520         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14521         Define to zero to match jmpbuf layout.
14522         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14523         (__sigsetjmp): Save sp and lr before saving callee
14524         saved registers.  Add setjmp SystemTap probe point.
14525
14526 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14527
14528         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14529
14530 2014-02-24  Andreas Schwab  <schwab@suse.de>
14531
14532         [BZ #15804]
14533         * elf/pldd.c (wait_for_ptrace_stop): New function.
14534         (main): Call it after attaching.
14535
14536 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14537
14538         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14539         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14540         Versions files is now verboten.
14541         * hurd/Versions (libc: GLIBC_2.0):
14542         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14543         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14544         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14545         * mach/Versions: Likewise.
14546
14547         * csu/Versions: Remove unused %include.
14548         * resolv/Versions: Likewise.
14549
14550 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14551
14552         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14553         ($(objpfx)check-local-headers.out): Likewise.
14554         ($(objpfx)begin-end-check.out): Likewise.
14555         * Makerules (check-abi-%.out): Likewise.
14556         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14557         ($(objpfx)test2.cat): Likewise.
14558         ($(objpfx)de/libc.cat): Likewise.
14559         ($(objpfx)test-gencat.out): Likewise.
14560         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14561         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14562         ($(objpfx)noload-mem): Likewise.
14563         ($(objpfx)tst-pathopt.out): Likewise.
14564         ($(objpfx)tst-rtld-load-self.out): Likewise.
14565         ($(objpfx)tst-array1-cmp.out): Likewise.
14566         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14567         ($(objpfx)tst-array2-cmp.out): Likewise.
14568         ($(objpfx)tst-array3-cmp.out): Likewise.
14569         ($(objpfx)tst-array4-cmp.out): Likewise.
14570         ($(objpfx)tst-array5-cmp.out): Likewise.
14571         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14572         ($(objpfx)check-textrel.out): Likewise.
14573         ($(objpfx)check-execstack.out): Likewise.
14574         ($(objpfx)check-localplt.out): Likewise.
14575         ($(objpfx)order2-cmp.out): Likewise.
14576         ($(objpfx)tst-leaks1-mem): Likewise.
14577         ($(objpfx)tst-leaks1-static-mem): Likewise.
14578         ($(objpfx)tst-initorder-cmp.out): Likewise.
14579         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14580         ($(objpfx)tst-unused-dep.out): Likewise.
14581         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14582         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14583         * iconv/Makefile (test-iconvconfig): Likewise.
14584         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14585         ($(objpfx)iconv-test.out): Likewise.
14586         ($(objpfx)tst-tables.out): Likewise.
14587         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14588         ($(objpfx)tst-gettext.out): Likewise.
14589         ($(objpfx)tst-translit.out): Likewise.
14590         ($(objpfx)tst-gettext2.out): Likewise.
14591         ($(objpfx)tst-gettext4.out): Likewise.
14592         ($(objpfx)tst-gettext6.out): Likewise.
14593         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14594         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14595         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14596         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14597         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14598         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14599         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14600         ($(objpfx)wordexp-tst.out): Likewise.
14601         ($(objpfx)annexc.out): Likewise.
14602         ($(objpfx)tst-fnmatch-mem): Likewise.
14603         ($(objpfx)bug-regex2-mem): Likewise.
14604         ($(objpfx)bug-regex14-mem): Likewise.
14605         ($(objpfx)bug-regex21-mem): Likewise.
14606         ($(objpfx)bug-regex31-mem): Likewise.
14607         ($(objpfx)tst-vfork3-mem): Likewise.
14608         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14609         ($(objpfx)tst-pcre-mem): Likewise.
14610         ($(objpfx)tst-boost-mem): Likewise.
14611         ($(objpfx)tst-getconf.out): Likewise.
14612         ($(objpfx)bug-ga2-mem): Likewise.
14613         ($(objpfx)bug-glob2-mem): Likewise.
14614         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14615         ($(objpfx)mtrace-tst-leaks2): Likewise.
14616         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14617         ($(objpfx)tst-printf.out): Likewise.
14618         ($(objpfx)tst-setvbuf1.out): Likewise.
14619         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14620         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14621         ($(objpfx)tst-fmtmsg.out): Likewise.
14622         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14623         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14624
14625         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14626         * bits/sigaction.h [__USE_MISC]: Likewise.
14627         * bits/waitstatus.h: Update #endif comments.
14628         * ctype/ctype.h: Likewise.
14629         * dirent/dirent.h: Likewise.
14630         [__USE_MISC]: Remove redundant conditionals.
14631         * grp/grp.h: Update #endif comments.
14632         [__USE_GNU]: Remove redundant conditionals.
14633         [__USE_MISC]: Likewise.
14634         * inet/netinet/in.h [__USE_GNU]: Likewise.
14635         * io/sys/stat.h [__USE_MISC]: Likewise.
14636         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14637         * libio/bits/stdio.h: Update #endif comments.
14638         [__USE_MISC]: Remove redundant conditionals.
14639         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14640         * libio/stdio.h: Update #endif comments.
14641         [__USE_MISC]: Remove redundant conditionals.
14642         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14643         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14644         * math/math.h: Update #else and #endif comments.
14645         [__USE_MISC]: Remove redundant conditionals.
14646         * misc/sys/uio.h: Update #endif comments.
14647         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14648         * posix/glob.h [__USE_MISC]: Likewise.
14649         * posix/sys/types.h: Update #endif comments.
14650         [__USE_MISC]: Remove redundant conditionals.
14651         * posix/sys/wait.h: Update #endif comments.
14652         [__USE_MISC]: Remove redundant conditionals.
14653         * posix/unistd.h: Update #endif comments.
14654         [__USE_MISC]: Remove redundant conditionals.
14655         * pwd/pwd.h [__USE_GNU]: Likewise.
14656         [__USE_MISC]: Likewise.
14657         * resolv/netdb.h [__USE_GNU]: Likewise.
14658         * signal/signal.h: Update #endif comments.
14659         [__USE_MISC]: Remove redundant conditionals.
14660         * stdlib/stdlib.h: Update #else and #endif comments.
14661         [__USE_MISC]: Remove redundant conditionals.
14662         [__USE_GNU]: Likewise.
14663         * string/bits/string2.h [__USE_MISC]: Likewise.
14664         * string/string.h: Update #endif comments.
14665         [__USE_MISC]: Remove redundant conditionals.
14666         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14667         Likewise.
14668         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14669         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14670         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14671         Likewise.
14672         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14673         Likewise.
14674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14675         comments.
14676         [__USE_MISC]: Remove redundant conditionals.
14677         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14678         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14679         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14680         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14681         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14682         Likewise.
14683         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14684         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14685         Likewise.
14686         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14687         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14688         Likewise.
14689         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14690         Likewise.
14691         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14692         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14693         Likewise.
14694         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14695         Likewise.
14696         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14697         * sysdeps/x86/bits/string.h: Update #endif comments.
14698         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14699         conditionals.
14700         * time/sys/time.h: Update #endif comments.
14701         * time/time.h: Likewise.
14702         [__USE_MISC]: Remove redundant conditionals.
14703
14704 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14705
14706         [BZ #16600]
14707         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14708
14709 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14710
14711         * Versions.def (librt): Add GLIBC_2.17.
14712
14713 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14714
14715         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14716         synonym for _SYS_AUXV_H to allow direct inclusion.
14717         * sysdeps/sparc/bits/hwcap.h: Likewise.
14718         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14719         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14720         * sysdeps/sparc/sysdep.h: Likewise.
14721
14722 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14723
14724         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14725
14726 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14727
14728         * benchtests/bench-strrchr.c: Print length instead of position.
14729
14730 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14731
14732         [BZ #16611]
14733         * sysdeps/unix/sysv/linux/kernel-features.h
14734         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14735         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14736         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14737         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14738         Likewise.
14739         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14740         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14741         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14742         (__ASSUME_SENDMMSG): Define instead of using previous
14743         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14744         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14745         (__ASSUME_SENDMMSG_SYSCALL): Define.
14746         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14747         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14748         Likewise.
14749         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14750         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14753         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14754         Likewise.
14755         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14756         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14757         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14758         [__ASSUME_SENDMMSG]: Change conditionals to
14759         [__ASSUME_SENDMMSG_SOCKETCALL].
14760         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14761         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14762         Define.
14763         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14764         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14765         Likewise.
14766         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14767         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14768         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14769         [!__ASSUME_SENDMMSG]: Change conditional to
14770         [!__ASSUME_SENDMMSG_SOCKETCALL].
14771         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14772         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14773         Define.
14774
14775         [BZ #16610]
14776         * sysdeps/unix/sysv/linux/kernel-features.h
14777         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14778         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14779         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14780         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14781         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14782         [__i386__ || __sparc__]
14783         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14784         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14785         (__ASSUME_RECVMMSG): Define instead of using previous
14786         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14787         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14788         (__ASSUME_RECVMMSG_SYSCALL): Define.
14789         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14790         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14791         Likewise.
14792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14793         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14794         Likewise.
14795         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14796         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14797         Likewise.
14798         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14799         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14800         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14801         [__ASSUME_RECVMMSG]: Change condition to
14802         [__ASSUME_RECVMMSG_SOCKETCALL].
14803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14804         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14805         Define.
14806         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14807         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14808         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14809         Likewise.
14810         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14811         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14812         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14813         [!__ASSUME_RECVMMSG]: Change condition to
14814         [!__ASSUME_RECVMMSG_SOCKETCALL].
14815         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14816         (__ASSUME_RECVMMSG_SYSCALL): Define.
14817
14818         [BZ #16609]
14819         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14820         __powerpc__ || __s390__ || __sh__ || __sparc__]
14821         (__ASSUME_SOCKETCALL): Define.
14822         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14823         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14824         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14825         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14826         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14827         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14828         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14829         (__ASSUME_ACCEPT4): Define instead of using previous
14830         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14831         __powerpc__ || __sparc__ || __s390__)] condition.
14832         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14833         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14834         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14835         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14836         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14837         [!__ASSUME_ACCEPT4]: Change condition to
14838         [!__ASSUME_ACCEPT4_SOCKETCALL].
14839         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14840         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14841         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14842         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14843         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14844         __ASSUME_ACCEPT4_SYSCALL.
14845         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14846         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14847         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14848         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14849         __ASSUME_ACCEPT4_SYSCALL.
14850         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14851         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14852         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14853         [__ASSUME_ACCEPT4]: Change condition to
14854         [__ASSUME_ACCEPT4_SOCKETCALL].
14855         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14856         (__ASSUME_SOCKETCALL): Define.
14857         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14858         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14859         (__ASSUME_SOCKETCALL): Define.
14860         (__ASSUME_ACCEPT4): Remove.
14861         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14862         Define.
14863         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14864         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14865         Likewise.
14866         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14867         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14868
14869         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14870         macro.
14871         (HWCAP_ARM_LPAE): Likewise.
14872         (HWCAP_ARM_EVTSTRM): Likewise.
14873         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14874         Add vpfd32, lpae and evtstrm.
14875         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14876         Increase to 22.
14877
14878 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14879
14880         * math/auto-libm-test-in: Add tests of clog10.
14881         * math/auto-libm-test-out: Regenerated.
14882         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14883         * sysdeps/i386/fpu/libm-test-ulps: Update.
14884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14885
14886 2014-02-18  Andreas Schwab  <schwab@suse.de>
14887
14888         [BZ #16574]
14889         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14890         Store non-zero if the second buffer was newly allocated.
14891         (send_dg): Likewise.
14892         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14893         to send_vc and send_dg.
14894         (res_nsend): Pass NULL for ansp2_malloced.
14895         * resolv/res_query.c (__libc_res_nquery): Add parameter
14896         answerp2_malloced and pass it down to __libc_res_nsend.
14897         (res_nquery): Pass additional NULL to __libc_res_nquery.
14898         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14899         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14900         second answer buffer if answerp2_malloced was set.
14901         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14902         (__libc_res_nquerydomain): Add parameter
14903         answerp2_malloced and pass it down to __libc_res_nquery.
14904         (res_nquerydomain): Pass additional NULL to
14905         __libc_res_nquerydomain.
14906         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14907         additional NULL to __libc_res_nsend and __libc_res_nquery.
14908         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14909         additional NULL to __libc_res_nsearch.
14910         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14911         parameter of __libc_res_nsearch to check for separately allocated
14912         second buffer.
14913         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14914         __libc_res_nquery.
14915         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14916         additional NULL to __libc_res_nquery.
14917         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14918         __libc_res_nsearch.
14919         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14920         * include/resolv.h: Update prototypes of __libc_res_nquery,
14921         __libc_res_nsearch, __libc_res_nsend.
14922
14923 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14924
14925         * math/auto-libm-test-in: Add tests of fma.
14926         * math/auto-libm-test-out: Regenerated.
14927         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14928         (fma_towardzero_test_data): Likewise.
14929         (fma_downward_test_data): Likewise.
14930         (fma_upward_test_data): Likewise.
14931         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14932         mpc_mode.
14933         (rounding_modes): Add values for new field.
14934         (func_calc_method): Add value mpfr_fff_f.
14935         (func_calc_desc): Add mpfr_fff_f union field.
14936         (test_function): Add field exact_args.
14937         (FUNC): Add macro argument EXACT_ARGS.
14938         (FUNC_mpfr_f_f): Update call to FUNC.
14939         (FUNC_mpfr_f_f): Likewise.
14940         (FUNC_mpfr_ff_f): Likewise.
14941         (FUNC_mpfr_if_f): Likewise.
14942         (FUNC_mpc_c_f): Likewise.
14943         (FUNC_mpc_c_c): Likewise.
14944         (test_functions): Add fma.  Update calls to FUNC.
14945         (handle_input_arg): Add argument exact_args.
14946         (add_test): Update call to handle_input_arg.
14947         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14948         (output_for_one_input_case): Update call to calc_generic_results.
14949         Recalculate exact zero results in each rounding mode.
14950
14951         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14952         non-negative before setting low bit.
14953         * math/auto-libm-test-in: Mark one asin test possibly having
14954         spurious underflow.
14955         * math/auto-libm-test-out: Regenerated.
14956         * sysdeps/i386/fpu/libm-test-ulps: Update.
14957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14958
14959 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14960
14961         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14962         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14963         ports/sysdeps/unix/sysv/linux/microblaze.
14964         * README: Add missing listing for microblaze*-*-linux-gnu.
14965
14966 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14967
14968         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14969         duplicate code
14970
14971 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14972
14973         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14974         * sysdeps/unix/sysv/linux/ia64: Move directory from
14975         ports/sysdeps/unix/sysv/linux/ia64.
14976         * README: Update listing for ia64-*-linux-gnu.
14977
14978 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14979             Joseph Myers  <joseph@codesourcery.com>
14980
14981         * Makeconfig (test-name): New variable.
14982         (evaluate-test): Likewise.
14983         * Makerules (do-test-clean): Remove .test-result files.
14984         (common-mostlyclean): Likewise.
14985         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14986         * scripts/evaluate-test.sh: New file.
14987
14988 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14989
14990         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14991         separate $(objpfx)tst-fopenloc-cmp.out and
14992         $(objpfx)tst-fopenloc-mem.out targets.
14993         (tests): Update dependencies.
14994         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14995         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14996         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14997         (tst-rxspencer-no-utf8-ARGS): New variable.
14998         (tst-rxspencer-no-utf8-ENV): Likewise.
14999         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15000         instead of $(objpfx)tst-rxspencer-mem.
15001         ($(objpfx)tst-rxspencer-mem): Change target to
15002         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15003         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15004         * posix/tst-rxspencer-no-utf8.c: New file.
15005
15006         * elf/Makefile ($(objpfx)order.out): Remove rule.
15007         [$(run-built-tests) = yes] (tests): Depend on
15008         $(objpfx)order-cmp.out.
15009         ($(objpfx)order-cmp.out): New rule.
15010         [$(run-built-tests) = yes] (tests): Depend on
15011         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15012         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15013         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15014         $(objpfx)tst-array5-static-cmp.out.
15015         ($(objpfx)tst-array1.out): Remove rule.
15016         ($(objpfx)tst-array1-cmp.out): New rule.
15017         ($(objpfx)tst-array1-static.out): Remove rule.
15018         ($(objpfx)tst-array1-static-cmp.out): New rule.
15019         ($(objpfx)tst-array2.out): Remove rule.
15020         ($(objpfx)tst-array2-cmp.out): New rule.
15021         ($(objpfx)tst-array3.out): Remove rule.
15022         ($(objpfx)tst-array3-cmp.out): New rule.
15023         ($(objpfx)tst-array4.out): Remove rule.
15024         ($(objpfx)tst-array4-cmp.out): New rule.
15025         ($(objpfx)tst-array5.out): Remove rule.
15026         ($(objpfx)tst-array5-cmp.out): New rule.
15027         ($(objpfx)tst-array5-static.out): Remove rule.
15028         ($(objpfx)tst-array5-static-cmp.out): New rule.
15029         [$(run-built-tests) = yes] (tests): Depend on
15030         $(objpfx)order2-cmp.out.
15031         ($(objpfx)order2.out): Remove rule.
15032         ($(objpfx)order2-cmp.out): New rule.
15033         ($(objpfx)tst-initorder.out): Remove rule.
15034         [$(run-built-tests) = yes] (tests): Depend on
15035         $(objpfx)tst-initorder-cmp.out.
15036         ($(objpfx)tst-initorder-cmp.out): New rule.
15037         ($(objpfx)tst-initorder2.out): Remove rule.
15038         [$(run-built-tests) = yes] (tests): Depend on
15039         $(objpfx)tst-initorder2-cmp.out.
15040         ($(objpfx)tst-initorder2-cmp.out): New rule.
15041         [$(run-built-tests) = yes] (tests): Depend on
15042         $(objpfx)tst-unused-dep-cmp.out.
15043         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15044         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15045         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15046         on $(objpfx)tst-setvbuf1-cmp.out.
15047         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15048         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15049         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15050         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15051         ($(objpfx)tst-svc.out): Remove rule.
15052         ($(objpfx)tst-svc-cmp.out): New rule.
15053
15054 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15055
15056         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15057         * ctype/ctype.h [__USE_MISC]: Likewise.
15058         * dirent/dirent.h [__USE_MISC]: Likewise.
15059         * grp/grp.h [__USE_MISC]: Likewise.
15060         * io/fcntl.h [__USE_MISC]: Likewise.
15061         * io/sys/stat.h [__USE_MISC]: Likewise.
15062         * libio/stdio.h [__USE_MISC]: Likewise.
15063         * posix/unistd.h [__USE_MISC]: Likewise.
15064         * pwd/pwd.h [__USE_MISC]: Likewise.
15065         * stdlib.h [__USE_MISC]: Likewise.
15066         * string/bits/string2.h [__USE_MISC]: Likewise.
15067         * string/string.h [__USE_MISC]: Likewise.
15068         * time/time.h [__USE_MISC]: Likewise.
15069
15070 2014-02-13  Andreas Schwab  <schwab@suse.de>
15071
15072         [BZ #16574]
15073         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15074         second answer buffer if it was separately allocated.
15075
15076 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15077
15078         * sysdeps/mips/math-tests.h: Include <features.h>.
15079         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15080         (ROUNDING_TESTS_long_double): Do not define.
15081         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15082         (EXCEPTION_TESTS_long_double): Likewise.
15083         * sysdeps/mips/mips64/libm-test-ulps: Update.
15084
15085         * include/features.h (__USE_BSD): Remove macro definitions.
15086         (__USE_SVID): Likewise.
15087         (_BSD_SOURCE): Likewise.
15088         (_SVID_SOURCE): Likewise.
15089         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15090         from definition of _DEFAULT_SOURCE.
15091         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15092         [_DEFAULT_SOURCE].
15093         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15094         * bits/mman.h [__USE_BSD]: Likewise.
15095         * bits/termios.h [__USE_BSD]: Likewise.
15096         * bits/waitstatus.h [__USE_BSD]: Likewise.
15097         * ctype/ctype.h [__USE_SVID]: Likewise.
15098         * dirent/dirent.h [__USE_BSD]: Likewise.
15099         * grp/grp.h [__USE_SVID]: Likewise.
15100         [__USE_BSD]: Likewise.
15101         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15102         * io/fcntl.h [__USE_BSD]: Likewise.
15103         * io/ftw.h [__USE_BSD]: Likewise.
15104         * io/sys/stat.h [__USE_BSD]: Likewise.
15105         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15106         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15107         * libio/stdio.h [__USE_SVID]: Likewise.
15108         [__USE_BSD]: Likewise.
15109         * math/math.h [__USE_SVID]: Likewise.
15110         [__USE_BSD]: Likewise.
15111         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15112         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15113         * misc/search.h [__USE_SVID]: Likewise.
15114         * misc/sys/mman.h [__USE_BSD]: Likewise.
15115         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15116         * misc/sys/uio.h [__USE_BSD]: Likewise.
15117         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15118         * posix/glob.h [__USE_BSD]: Likewise.
15119         * posix/regex.h [__USE_BSD]: Likewise.
15120         * posix/sys/types.h [__USE_BSD]: Likewise.
15121         [__USE_SVID]: Likewise.
15122         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15123         * posix/sys/wait.h [__USE_BSD]: Likewise.
15124         [__USE_SVID]: Likewise.
15125         * posix/unistd.h [__USE_BSD]: Likewise.
15126         [__USE_SVID]: Likewise.
15127         * pwd/pwd.h [__USE_SVID]: Likewise.
15128         * resolv/netdb.h [__USE_BSD]: Likewise.
15129         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15130         * signal/signal.h [__USE_BSD]: Likewise.
15131         [__USE_SVID]: Likewise.
15132         * socket/sys/socket.h [__USE_BSD]: Likewise.
15133         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15134         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15135         [__USE_SVID]: Likewise.
15136         * string/bits/string2.h [__USE_BSD]: Likewise.
15137         [__USE_SVID]: Likewise.
15138         * string/bits/string3.h [__USE_BSD]: Likewise.
15139         * string/endian.h [__USE_BSD]: Likewise.
15140         * string/string.h [__USE_SVID]: Likewise.
15141         [__USE_BSD]: Likewise.
15142         * string/strings.h [__USE_BSD]: Likewise.
15143         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15144         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15145         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15146         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15147         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15148         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15149         Likewise.
15150         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15151         Likewise.
15152         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15153         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15154         Likewise.
15155         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15156         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15157         Likewise.
15158         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15159         Likewise.
15160         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15161         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15162         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15163         Likewise.
15164         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15165         Likewise.
15166         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15167         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15168         * termios/termios.h [__USE_BSD]: Likewise.
15169         * time/sys/time.h [__USE_BSD]: Likewise.
15170         * time/time.h [__USE_BSD]: Likewise.
15171         [__USE_SVID]: Likewise.
15172
15173         * Makefile (subdir_targets): Remove subdir_lint.out.
15174
15175         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15176         (do-tst-printf): Likewise.
15177         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15178         $(objpfx)tst-printf.out.
15179
15180         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15181
15182         * Makerules (check-abi-%): Change target to
15183         $(objpfx)check-abi-%.out.
15184         (check-abi target): Update dependencies.
15185         (check-abi-pattern variable): Redirect output of diff to $@.
15186         (check-abi variable): Likewise.
15187         * elf/Makefile (check-abi): Update dependencies.
15188
15189         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15190         unused.
15191         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15192         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15193         subnormal range.
15194         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15195         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15196         value has largest subnormal exponent.
15197         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15198         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15199         * sysdeps/aarch64/soft-fp/sfp-machine.h
15200         (_FP_TININESS_AFTER_ROUNDING): New macro.
15201         * sysdeps/alpha/soft-fp/sfp-machine.h
15202         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15203         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15204         Likewise.
15205         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15206         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15207         * sysdeps/mips/soft-fp/sfp-machine.h
15208         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15209         * sysdeps/powerpc/soft-fp/sfp-machine.h
15210         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15211         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15212         Likewise.
15213         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15214         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15215         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15216         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15217         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15218         Likewise.
15219
15220 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15221
15222         [BZ #16545]
15223         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15224         model 1.
15225
15226 2014-02-12  Richard Henderson  <rth@redhat.com>
15227
15228         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15229         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15230         * sysdeps/unix/sysv/linux/alpha: Move directory from
15231         ports/sysdeps/unix/sysv/linux/alpha.
15232         * README: Update listing for alpha-*-linux-gnu.
15233
15234 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15235
15236         * include/features.h: Update comment documenting feature test
15237         macros.
15238         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15239         _DEFAULT_SOURCE.
15240         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15241         (_SVID_SOURCE): Likewise.
15242         (_DEFAULT_SOURCE): Update description of default features.
15243         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15244         with _GNU_SOURCE.
15245         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15246         (S_ISVTX): Likewise.
15247         * manual/math.texi (Mathematical Constants): Likewise.
15248         * manual/signal.texi (Interrupted Primitives): Likewise.
15249         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15250         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15251         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15252         Don't refer to _SVID_SOURCE in warning text.
15253
15254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15255
15256         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15257         already defined.
15258         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15259         * sysdeps/mips/dl-lookup.c: Remove.
15260         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15261
15262 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15263
15264         [BZ #16447]
15265         * math/auto-libm-test-in: Add testcase for expl.
15266         * math/auto-libm-test-out: Regenerate.
15267         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15268         calculation of unsafe.
15269         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15270
15271 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15272
15273         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15274         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15275         ports/sysdeps/unix/sysv/linux/aarch64.
15276         * README: Update listing for aarch64*-*-linux-gnu.
15277
15278 2014-02-11  Will Newton  <will.newton@linaro.org>
15279
15280         * manual/probes.texi (Mathematical Function Probes): Use
15281         "triggered" instead of "hit".
15282
15283         * manual/probes.texi (Internal Probes): Add documentation
15284         of setjmp, longjmp and longjmp_target probes.
15285
15286         * include/stap-probe.h: Add comment about probe argument
15287         format.
15288
15289         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15290         definition.  (tr_where, tr_freehook, tr_mallochook,
15291         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15292
15293 2014-02-11  David S. Miller  <davem@davemloft.net>
15294
15295         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15296         processing int_tests.
15297
15298 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15299
15300         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15301         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15302         * sysdeps/unix/sysv/linux/mips: Move directory from
15303         ports/sysdeps/unix/sysv/linux/mips.
15304         * README: Update listing for mips-*-linux-gnu and
15305         mips64-*-linux-gnu.
15306
15307 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15308
15309         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15310         * sysdeps/unix/sysv/linux/m68k: Move directory from
15311         ports/sysdeps/unix/sysv/linux/m68k.
15312         * README: Update listing for m68k-*-linux-gnu.
15313
15314 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15315
15316         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15317         * sysdeps/unix/sysv/linux/generic: Move directory from
15318         ports/sysdeps/unix/sysv/linux/generic.
15319         * sysdeps/unix/sysv/linux/tile: Move directory from
15320         ports/sysdeps/unix/sysv/linux/tile.
15321         * README: Update listing for tile*-*-linux-gnu.
15322
15323 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15324
15325         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15326         __builtin_expect.
15327         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15328         * catgets/open_catalog.c (__open_catalog): Likewise.
15329         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15330         * debug/confstr_chk.c: Likewise.
15331         * debug/fread_chk.c (__fread_chk): Likewise.
15332         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15333         * debug/getgroups_chk.c: Likewise.
15334         * debug/mbsnrtowcs_chk.c: Likewise.
15335         * debug/mbsrtowcs_chk.c: Likewise.
15336         * debug/mbstowcs_chk.c: Likewise.
15337         * debug/memcpy_chk.c: Likewise.
15338         * debug/memmove_chk.c: Likewise.
15339         * debug/mempcpy_chk.c: Likewise.
15340         * debug/memset_chk.c: Likewise.
15341         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15342         * debug/strcat_chk.c (__strcat_chk): Likewise.
15343         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15344         * debug/strncat_chk.c (__strncat_chk): Likewise.
15345         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15346         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15347         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15348         * debug/wcpncpy_chk.c: Likewise.
15349         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15350         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15351         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15352         * debug/wcsncpy_chk.c: Likewise.
15353         * debug/wcsnrtombs_chk.c: Likewise.
15354         * debug/wcsrtombs_chk.c: Likewise.
15355         * debug/wcstombs_chk.c: Likewise.
15356         * debug/wmemcpy_chk.c: Likewise.
15357         * debug/wmemmove_chk.c: Likewise.
15358         * debug/wmempcpy_chk.c: Likewise.
15359         * debug/wmemset_chk.c: Likewise.
15360         * dirent/scandirat.c (SCANDIRAT): Likewise.
15361         * dlfcn/dladdr1.c (dladdr1): Likewise.
15362         * dlfcn/dladdr.c (dladdr): Likewise.
15363         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15364         * dlfcn/dlerror.c (__dlerror): Likewise.
15365         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15366         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15367         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15368         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15369         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15370         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15371         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15372         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15373         Likewise.
15374         * elf/dl-conflict.c: Likewise.
15375         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15376         * elf/dl-dst.h: Likewise.
15377         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15378         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15379         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15380         * elf/dl-init.c (call_init, _dl_init): Likewise.
15381         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15382         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15383         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15384         Likewise.
15385         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15386         Likewise.
15387         * elf/dl-minimal.c (__libc_memalign): Likewise.
15388         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15389         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15390         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15391         * elf/dl-sym.c (do_sym): Likewise.
15392         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15393         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15394         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15395         * elf/dl-writev.h (_dl_writev): Likewise.
15396         * elf/ldconfig.c (search_dir): Likewise.
15397         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15398         (dl_main): Likewise.
15399         * elf/setup-vdso.h (setup_vdso): Likewise.
15400         * grp/compat-initgroups.c (compat_call): Likewise.
15401         * grp/fgetgrent.c (fgetgrent): Likewise.
15402         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15403         * grp/putgrent.c (putgrent): Likewise.
15404         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15405         Likewise.
15406         * hurd/hurdinit.c: Likewise.
15407         * iconvdata/8bit-gap.c (struct): Likewise.
15408         * iconvdata/ansi_x3.110.c : Likewise.
15409         * iconvdata/big5.c : Likewise.
15410         * iconvdata/big5hkscs.c : Likewise.
15411         * iconvdata/cp1255.c: Likewise.
15412         * iconvdata/cp1258.c : Likewise.
15413         * iconvdata/cp932.c : Likewise.
15414         * iconvdata/euc-cn.c: Likewise.
15415         * iconvdata/euc-jisx0213.c : Likewise.
15416         * iconvdata/euc-jp.c: Likewise.
15417         * iconvdata/euc-jp-ms.c : Likewise.
15418         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15419         * iconvdata/gb18030.c : Likewise.
15420         * iconvdata/gbbig5.c (const): Likewise.
15421         * iconvdata/gbgbk.c: Likewise.
15422         * iconvdata/gbk.c : Likewise.
15423         * iconvdata/ibm1364.c : Likewise.
15424         * iconvdata/ibm930.c : Likewise.
15425         * iconvdata/ibm932.c: Likewise.
15426         * iconvdata/ibm933.c : Likewise.
15427         * iconvdata/ibm935.c : Likewise.
15428         * iconvdata/ibm937.c : Likewise.
15429         * iconvdata/ibm939.c : Likewise.
15430         * iconvdata/ibm943.c: Likewise.
15431         * iconvdata/iso_11548-1.c: Likewise.
15432         * iconvdata/iso-2022-cn.c : Likewise.
15433         * iconvdata/iso-2022-cn-ext.c : Likewise.
15434         * iconvdata/iso-2022-jp-3.c: Likewise.
15435         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15436         * iconvdata/iso-2022-kr.c : Likewise.
15437         * iconvdata/iso646.c (gconv_end): Likewise.
15438         * iconvdata/iso_6937-2.c : Likewise.
15439         * iconvdata/iso_6937.c : Likewise.
15440         * iconvdata/iso8859-1.c: Likewise.
15441         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15442         * iconvdata/shift_jisx0213.c : Likewise.
15443         * iconvdata/sjis.c : Likewise.
15444         * iconvdata/t.61.c : Likewise.
15445         * iconvdata/tcvn5712-1.c : Likewise.
15446         * iconvdata/tscii.c: Likewise.
15447         * iconvdata/uhc.c : Likewise.
15448         * iconvdata/unicode.c (gconv_end): Likewise.
15449         * iconvdata/utf-16.c (gconv_end): Likewise.
15450         * iconvdata/utf-32.c (gconv_end): Likewise.
15451         * iconvdata/utf-7.c (base64): Likewise.
15452         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15453         * iconv/gconv_close.c (__gconv_close): Likewise.
15454         * iconv/gconv_open.c (__gconv_open): Likewise.
15455         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15456         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15457         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15458         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15459         (ucs4le_internal_loop_single): Likewise.
15460         * iconv/iconv.c (iconv): Likewise.
15461         * iconv/iconv_close.c: Likewise.
15462         * iconv/loop.c (SINGLE): Likewise.
15463         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15464         * include/atomic.h: Likewise.
15465         * inet/inet6_option.c (option_alloc): Likewise.
15466         * intl/bindtextdom.c (set_binding_values): Likewise.
15467         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15468         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15469         * intl/localealias.c (read_alias_file): Likewise.
15470         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15471         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15472         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15473         * libio/fmemopen.c (fmemopen): Likewise.
15474         * libio/iofgets.c (_IO_fgets): Likewise.
15475         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15476         * libio/iofgetws.c (fgetws): Likewise.
15477         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15478         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15479         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15480         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15481         * locale/findlocale.c (_nl_find_locale): Likewise.
15482         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15483         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15484         Likewise.
15485         * locale/setlocale.c (setlocale): Likewise.
15486         * login/programs/pt_chown.c (main): Likewise.
15487         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15488         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15489         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15490         (mmap, mmap64, mremap, munmap): Likewise.
15491         * math/e_exp2l.c: Likewise.
15492         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15493         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15494         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15495         * math/s_catan.c (__catan): Likewise.
15496         * math/s_catanf.c (__catanf): Likewise.
15497         * math/s_catanh.c (__catanh): Likewise.
15498         * math/s_catanhf.c (__catanhf): Likewise.
15499         * math/s_catanhl.c (__catanhl): Likewise.
15500         * math/s_catanl.c (__catanl): Likewise.
15501         * math/s_ccosh.c (__ccosh): Likewise.
15502         * math/s_ccoshf.c (__ccoshf): Likewise.
15503         * math/s_ccoshl.c (__ccoshl): Likewise.
15504         * math/s_cexp.c (__cexp): Likewise.
15505         * math/s_cexpf.c (__cexpf): Likewise.
15506         * math/s_cexpl.c (__cexpl): Likewise.
15507         * math/s_clog10.c (__clog10): Likewise.
15508         * math/s_clog10f.c (__clog10f): Likewise.
15509         * math/s_clog10l.c (__clog10l): Likewise.
15510         * math/s_clog.c (__clog): Likewise.
15511         * math/s_clogf.c (__clogf): Likewise.
15512         * math/s_clogl.c (__clogl): Likewise.
15513         * math/s_csin.c (__csin): Likewise.
15514         * math/s_csinf.c (__csinf): Likewise.
15515         * math/s_csinh.c (__csinh): Likewise.
15516         * math/s_csinhf.c (__csinhf): Likewise.
15517         * math/s_csinhl.c (__csinhl): Likewise.
15518         * math/s_csinl.c (__csinl): Likewise.
15519         * math/s_csqrt.c (__csqrt): Likewise.
15520         * math/s_csqrtf.c (__csqrtf): Likewise.
15521         * math/s_csqrtl.c (__csqrtl): Likewise.
15522         * math/s_ctan.c (__ctan): Likewise.
15523         * math/s_ctanf.c (__ctanf): Likewise.
15524         * math/s_ctanh.c (__ctanh): Likewise.
15525         * math/s_ctanhf.c (__ctanhf): Likewise.
15526         * math/s_ctanhl.c (__ctanhl): Likewise.
15527         * math/s_ctanl.c (__ctanl): Likewise.
15528         * math/w_pow.c: Likewise.
15529         * math/w_powf.c: Likewise.
15530         * math/w_powl.c: Likewise.
15531         * math/w_scalb.c (sysv_scalb): Likewise.
15532         * math/w_scalbf.c (sysv_scalbf): Likewise.
15533         * math/w_scalbl.c (sysv_scalbl): Likewise.
15534         * misc/error.c (error_tail): Likewise.
15535         * misc/pselect.c (__pselect): Likewise.
15536         * nis/nis_callback.c (__nis_create_callback): Likewise.
15537         * nis/nis_call.c (__nisfind_server): Likewise.
15538         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15539         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15540         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15541         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15542         * nis/nis_lookup.c (nis_lookup): Likewise.
15543         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15544         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15545         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15546         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15547         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15548         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15549         * nis/nss_compat/compat-initgroups.c (add_group)
15550         (internal_getgrent_r): Likewise.
15551         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15552         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15553         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15554         (internal_getspnam_r): Likewise.
15555         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15556         (_nss_nis_getaliasbyname_r): Likewise.
15557         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15558         (_nss_nis_getntohost_r): Likewise.
15559         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15560         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15561         (_nss_nis_getgrgid_r): Likewise.
15562         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15563         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15564         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15565         (_nss_nis_gethostbyname4_r): Likewise.
15566         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15567         (initgroups_netid): Likewise.
15568         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15569         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15570         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15571         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15572         (_nss_nis_getprotobynumber_r): Likewise.
15573         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15574         (_nss_nis_getsecretkey): Likewise.
15575         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15576         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15577         (_nss_nis_getpwuid_r): Likewise.
15578         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15579         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15580         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15581         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15582         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15583         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15584         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15585         Likewise.
15586         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15587         (_nss_nisplus_getntohost_r): Likewise.
15588         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15589         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15590         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15591         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15592         Likewise.
15593         * nis/nss_nisplus/nisplus-initgroups.c
15594         (_nss_nisplus_initgroups_dyn): Likewise.
15595         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15596         (_nss_nisplus_getnetbyaddr_r): Likewise.
15597         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15598         (_nss_nisplus_getprotobynumber_r): Likewise.
15599         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15600         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15601         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15602         Likewise.
15603         * nis/nss_nisplus/nisplus-service.c
15604         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15605         (_nss_nisplus_getservbyport_r): Likewise.
15606         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15607         (_nss_nisplus_getspnam_r): Likewise.
15608         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15609         Likewise.
15610         * nscd/aicache.c (addhstaiX): Likewise.
15611         * nscd/cache.c (cache_search, prune_cache): Likewise.
15612         * nscd/connections.c (register_traced_file, send_ro_fd)
15613         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15614         (main_loop_epoll): Likewise.
15615         * nscd/grpcache.c (addgrbyX): Likewise.
15616         * nscd/hstcache.c (addhstbyX): Likewise.
15617         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15618         * nscd/mem.c (gc, mempool_alloc): Likewise.
15619         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15620         (addinnetgrX): Likewise.
15621         * nscd/nscd-client.h (__nscd_acquire_maplock)
15622         (__nscd_drop_map_ref): Likewise.
15623         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15624         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15625         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15626         Likewise.
15627         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15628         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15629         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15630         (__nscd_get_map_ref): Likewise.
15631         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15632         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15633         Likewise.
15634         * nscd/pwdcache.c (addpwbyX): Likewise.
15635         * nscd/selinux.c (preserve_capabilities): Likewise.
15636         * nscd/servicescache.c (addservbyX): Likewise.
15637         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15638         * posix/fnmatch.c (fnmatch): Likewise.
15639         * posix/getopt.c (_getopt_internal_r): Likewise.
15640         * posix/glob.c (glob, glob_in_dir): Likewise.
15641         * posix/wordexp.c (exec_comm_child): Likewise.
15642         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15643         (getanswer_r, gaih_getanswer_slice): Likewise.
15644         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15645         * resolv/res_init.c: Likewise.
15646         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15647         * resolv/res_query.c (__libc_res_nquery): Likewise.
15648         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15649         Likewise.
15650         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15651         * stdio-common/perror.c (perror): Likewise.
15652         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15653         * stdio-common/tmpnam.c (tmpnam): Likewise.
15654         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15655         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15656         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15657         Likewise.
15658         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15659         * stdlib/putenv.c (putenv): Likewise.
15660         * stdlib/setenv.c (__add_to_environ): Likewise.
15661         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15662         * stdlib/strtol_l.c (INTERNAL): Likewise.
15663         * string/memmem.c (memmem): Likewise.
15664         * string/strerror.c (strerror): Likewise.
15665         * string/strnlen.c (__strnlen): Likewise.
15666         * string/test-memmem.c (simple_memmem): Likewise.
15667         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15668         * sunrpc/pm_getport.c (__get_socket): Likewise.
15669         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15670         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15671         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15672         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15673         Likewise.
15674         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15675         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15676         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15677         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15678         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15679         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15680         Likewise.
15681         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15682         Likewise.
15683         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15684         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15685         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15686         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15687         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15689         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15690         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15691         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15692         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15693         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15694         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15695         Likewise.
15696         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15697         Likewise.
15698         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15699         Likewise.
15700         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15702         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15703         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15704         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15705         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15706         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15707         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15708         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15709         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15710         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15712         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15713         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15714         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15715         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15716         Likewise.
15717         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15718         Likewise.
15719         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15720         Likewise.
15721         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15722         Likewise.
15723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15725         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15726         Likewise.
15727         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15728         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15729         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15730         * sysdeps/posix/sleep.c: Likewise.
15731         * sysdeps/posix/tempname.c: Likewise.
15732         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15733         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15734         Likewise.
15735         * sysdeps/powerpc/powerpc32/dl-machine.h
15736         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15737         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15739         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15740         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15741         Likewise.
15742         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15743         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15744         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15745         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15746         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15747         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15748         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15749         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15750         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15751         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15752         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15753         (elf_machine_lazy_rel): Likewise.
15754         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15755         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15756         (elf_machine_lazy_rel): Likewise.
15757         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15758         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15759         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15760         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15761         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15762         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15763         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15764         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15765         Likewise.
15766         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15767         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15768         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15769         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15770         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15771         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15772         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15773         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15774         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15775         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15776         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15777         Likewise.
15778         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15779         (__posix_fallocate64_l64): Likewise.
15780         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15781         (posix_fallocate): Likewise.
15782         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15783         Likewise.
15784         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15785         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15786         (getifaddrs_internal): Likewise.
15787         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15788         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15789         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15790         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15791         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15792         (__posix_fallocate64_l64): Likewise.
15793         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15794         Likewise.
15795         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15796         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15797         (__get_clockfreq): Likewise.
15798         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15799         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15800         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15801         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15802         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15803         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15804         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15805         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15806         Likewise.
15807         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15808         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15809         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15810         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15811         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15812         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15813         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15814         Likewise.
15815         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15816         (posix_fallocate): Likewise.
15817         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15818         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15819         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15820         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15821         (elf_machine_rela, elf_machine_rela_relative)
15822         (elf_machine_lazy_rel): Likewise.
15823         * time/asctime.c (asctime_internal): Likewise.
15824         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15825         * time/tzset.c (__tzset_parse_tz): Likewise.
15826         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15827         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15828         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15829         * wcsmbs/wcsmbsload.h: Likewise.
15830
15831         [BZ #15894]
15832         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15833
15834         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15835         (arena_get2): Remove THREAD_STATS conditionals.
15836         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15837         (__malloc_stats, int): Likewise.
15838
15839 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15840
15841         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15842         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15843
15844         * manual/setjmp.texi: Fix typos/grammar errors.
15845
15846         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15847         Only return early when n is <= 0.  Delete unused return statement.
15848
15849         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15850         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15851         * debug/tst-longjmp_chk3.c: New file.
15852
15853         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15854         (test_main): Replace code with set_fortify_handler call.
15855         * debug/test-strcpy_chk.c: Likewise.
15856         * debug/tst-chk1.c: Likewise.
15857         * debug/tst-longjmp_chk.c: Likewise.
15858         * test-skeleton.c: Include fcntl.h & paths.h
15859         (set_fortify_handler): Define.
15860
15861         * debug/tst-longjmp_chk.c: Add header comment and include
15862         ../test-skeleton.c.
15863         (do_test): Mark static.
15864         (TEST_FUNCTION): Define.
15865
15866         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15867         (IP_PMTUDISC_INTERFACE): Likewise.
15868         (IP_MULTICAST_IF): Likewise.
15869         (IP_MULTICAST_TTL): Likewise.
15870         (IP_MULTICAST_LOOP): Likewise.
15871         (IP_ADD_MEMBERSHIP): Likewise.
15872         (IP_DROP_MEMBERSHIP): Likewise.
15873         (IP_UNBLOCK_SOURCE): Likewise.
15874         (IP_BLOCK_SOURCE): Likewise.
15875         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15876         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15877         (IP_MSFILTER): Likewise.
15878         (MCAST_JOIN_GROUP): Likewise.
15879         (MCAST_BLOCK_SOURCE): Likewise.
15880         (MCAST_UNBLOCK_SOURCE): Likewise.
15881         (MCAST_LEAVE_GROUP): Likewise.
15882         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15883         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15884         (MCAST_MSFILTER): Likewise.
15885         (IP_MULTICAST_ALL): Likewise.
15886         (IP_UNICAST_IF): Likewise.
15887
15888         * timezone/Makefile: Delete $(have-ksh) check.
15889         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15890         * timezone/tzselect.ksh: Add +x mode bits.
15891
15892         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15893         (ANON_INODE_FS_MAGIC): Likewise.
15894         (BDEVFS_MAGIC): Likewise.
15895         (BINFMTFS_MAGIC): Likewise.
15896         (BTRFS_TEST_MAGIC): Likewise.
15897         (CRAMFS_MAGIC_WEND): Likewise.
15898         (DEBUGFS_MAGIC): Likewise.
15899         (ECRYPTFS_SUPER_MAGIC): Likewise.
15900         (EXT3_SUPER_MAGIC): Likewise.
15901         (EXT4_SUPER_MAGIC): Likewise.
15902         (FUTEXFS_SUPER_MAGIC): Likewise.
15903         (HOSTFS_SUPER_MAGIC): Likewise.
15904         (HUGETLBFS_MAGIC): Likewise.
15905         (MINIX3_SUPER_MAGIC): Likewise.
15906         (MTD_INODE_FS_MAGIC): Likewise.
15907         (NILFS_SUPER_MAGIC): Likewise.
15908         (OPENPROM_SUPER_MAGIC): Likewise.
15909         (PIPEFS_MAGIC): Likewise.
15910         (PSTOREFS_MAGIC): Likewise.
15911         (QNX6_SUPER_MAGIC): Likewise.
15912         (RAMFS_MAGIC): Likewise.
15913         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15914         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15915         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15916         (SECURITYFS_MAGIC): Likewise.
15917         (SELINUX_MAGIC): Likewise.
15918         (SMACK_MAGIC): Likewise.
15919         (SOCKFS_MAGIC): Likewise.
15920         (SQUASHFS_MAGIC): Likewise.
15921         (STACK_END_MAGIC): Likewise.
15922         (TMPFS_MAGIC): Likewise.
15923         (USBDEVICE_SUPER_MAGIC): Likewise.
15924         (V9FS_MAGIC): Likewise.
15925         (XENFS_SUPER_MAGIC): Likewise.
15926         (CRAMFS_MAGIC): Fix typo in comment.
15927         (EXT2_SUPER_MAGIC): Update comment.
15928         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15929
15930 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15931
15932         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15933         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15934         * sysdeps/unix/sysv/linux/arm: Move directory from
15935         ports/sysdeps/unix/sysv/linux/arm.
15936         * README: Update listing for arm-*-linux-gnueabi.
15937
15938         * README: Remove mention of am33.
15939
15940 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15941
15942         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15943         than the comma operator, to avoid "rhs of comma has no effect"
15944         compiler warnings.
15945         (__sigfillset, __sigandset, __sigorset): Likewise.
15946         * include/signal.h (__sigemptyset): Likewise.
15947         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15948
15949 2014-02-07  Allan McRae  <allan@archlinux.org>
15950
15951         * version.h (RELEASE): Set to "development".
15952         (VERSION): Set to "2.19.90"
15953         * NEWS: Add 2.20 section.
15954
15955 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15956
15957         [BZ #16529]
15958         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15959
15960 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15961
15962         * manual/contrib.texi: Update entry for Carlos O'Donell,
15963         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15964
15965 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15966
15967         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15968
15969         * sysdeps/unix/sysv/linux/kernel-features.h
15970         [__LINUX_KERNEL_VERSION >= 0x020621]
15971         (__ASSUME_PROC_PID_TASK_COMM): Define.
15972
15973 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15974
15975         [BZ #16398]
15976         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15977         conversion when destination buffer does not have enough space.
15978         * libio/tst-ftell-partial-wide.c: New test case.
15979         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15980
15981         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15982         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15983         Leonard and Allan McRae.
15984
15985 2014-02-04  David S. Miller  <davem@davemloft.net>
15986
15987         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15988         32-bit.
15989
15990 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15991
15992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15993         New file
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15995         New file
15996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15997         New file.
15998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15999         New file.
16000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16001         New file.
16002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16003         New file.
16004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16005         New file.
16006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16007         New file.
16008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16009         New file.
16010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16011         New file.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16013         New file.
16014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16015         New file.
16016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16017         New file.
16018
16019 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16020
16021         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16022         * shlib-versions: Likewise.
16023
16024 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16025             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16026
16027         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16028         (abilist-pattern): New variable, set to %-le.abilist.
16029
16030         * Makerules (abilist-pattern): New variable.
16031         (vpath): Use $(abilist-pattern) in place of %.abilist.
16032         (check-abi-% pattern rule): Likewise.
16033         (check-abi, update-abi): Likewise.
16034
16035 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16036
16037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16038
16039 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16040
16041         * manual/startup.texi: Add next, previous, and top entries for
16042         the `Program Arguments' and `Environment Variables' nodes.
16043
16044 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16045
16046         * manual/macros.texi: Add comments before MTASC-safety macros.
16047
16048         * manual/users.texi: Document MTASC-safety properties.
16049
16050         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16051         (pthread_getspecific, pthread_setspecific): Format with
16052         @deftypefun, and add @safety note.
16053         * manual/signal.texi: Move comments that analyze the above
16054         functions to their home place.
16055
16056 2014-02-03  Allan McRae  <allan@archlinux.org>
16057
16058         * po/sl.po: Update Slovenian translation from translation project.
16059
16060 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16061
16062         * manual/time.texi (timegm): Add missing blank after @c.
16063         Reported by Joseph Myers <joseph@codesourcery.com>.
16064
16065 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16066
16067         * manual/check-safety.sh: New.
16068         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16069
16070         * manual/terminal.texi: Document MTASC-safety properties.
16071
16072         * manual/filesys.texi: Document MTASC-safety properties.
16073
16074         * manual/errno.texi: Document MTASC-safety properties.
16075
16076         * manual/intro.texi: Document safety identifiers and
16077         conditionals.
16078
16079         * manual/string.texi (wcstok): Fix prototype.
16080         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16081
16082         * manual/time.texi: Document MTASC-safety properties.
16083
16084         * manual/string.texi: Document MTASC-safety properties.
16085
16086         * manual/threads.texi: Document MTASC-safety properties.
16087
16088         * manual/stdio.texi: Document MTASC-safety properties.
16089
16090         * manual/syslog.texi: Document MTASC-safety properties.
16091
16092         * manual/sysinfo.texi: Document MTASC-safety properties.
16093
16094         * manual/startup.texi: Document MTASC-safety properties.
16095
16096         * manual/socket.texi: Document MTASC-safety properties.
16097
16098         * manual/signal.texi: Document MTASC-safety properties.
16099
16100 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16101
16102         * manual/setjmp.texi: Document MTASC-safety properties.
16103
16104         * manual/search.texi: Document MTASC-safety properties.
16105
16106         * manual/resource.texi: Document MTASC-safety properties.
16107
16108         * manual/process.texi: Document MTASC-safety properties.
16109
16110         * manual/platform.texi: Document MTASC-safety properties.
16111
16112         * manual/pipe.texi: Document MTASC-safety properties.
16113
16114         * manual/pattern.texi: Document MTASC-safety properties.
16115
16116         * manual/message.texi: Document MTASC-safety properties.
16117
16118         [BZ #12751]
16119         * manual/memory.texi: Document MTASC-safety properties.
16120
16121         * manual/math.texi: Document MTASC-safety properties.
16122
16123         * manual/locale.texi: Document MTASC-safety properties.
16124
16125         * manual/llio.texi: Document MTASC-safety properties.
16126
16127         * manual/libdl.texi: New.
16128
16129         * manual/lang.texi: Document MTASC-safety properties.
16130
16131         * manual/job.texi: Document MTASC-safety properties.
16132
16133         * manual/getopt.texi: Document MTASC-safety properties.
16134
16135         * manual/ctype.texi: Document MTASC-safety properties.
16136
16137 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16138
16139         [BZ #16046]
16140         * csu/libc-tls.c (static_map): Remove variable.
16141         (__libc_setup_tls): Use main executable's link map for TLS data.
16142         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16143         casing for LM_ID_BASE and GL(dl_nns).
16144         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16145         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16146         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16147         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16148         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16149         member.
16150         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16151         l_phnum members.
16152
16153 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16154
16155         * manual/debug.texi: Document MTASC-safety properties.
16156
16157 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16158
16159         [BZ #16510]
16160         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16161         of __x86_64__ when disabling x87 inline functions.
16162
16163 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16164
16165         * manual/charset.texi: Document MTASC-safety properties.
16166
16167         * manual/crypt.texi: Document MTASC-safety properties.
16168
16169         * manual/conf.texi: Document MTASC-safety properties.
16170
16171         * manual/arith.texi: Document MTASC-safety properties.
16172
16173         * manual/argp.texi: Document MTASC-safety properties.
16174
16175         * manual/macros.texi: Introduce macros to document multi
16176         thread, asynchronous signal and asynchronous cancellation
16177         safety properties.
16178         * manual/intro.texi: Introduce the properties themselves.
16179
16180 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16181
16182         * sysdeps/sh/sh4/Makefile: New file.
16183
16184 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16185
16186         * math/gen-libm-test.pl ($srcdir): New variable.
16187         ($auto_input): Use it.
16188
16189 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16190
16191         [BZ #16506]
16192         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16193         access beyond array bounds when parsing netgroups file.
16194
16195         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16196         the old buffer before realloc.
16197
16198 2014-01-27  Allan McRae  <allan@archlinux.org>
16199
16200         * po/fr.po: Update French translation from translation project.
16201
16202 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16203
16204         * sysdeps/sh/libm-test-ulps: Regenerate.
16205
16206 2014-01-24  David S. Miller  <davem@davemloft.net>
16207
16208         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16209
16210 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16211
16212         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16213         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16214
16215 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16216
16217         [BZ #16474]
16218         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16219         string pointers after reallocation.
16220
16221 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16222
16223         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16224         __SH4A__ instead of __SH_FPU_ANY__.
16225
16226 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16227
16228         * sysdeps/sh/fpu_control.h: New file.
16229         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16230         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16231         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16232         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16233         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16234         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16235         * sysdeps/sh/sys/ucontext.h: Remove.
16236         * sysdeps/sh/sys: Remove directory.
16237
16238 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16239
16240         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16241         s390/sys/ucontext.h.
16242         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16243         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16244
16245 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16246
16247         [BZ #15605]
16248         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16249
16250 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16251
16252         [BZ#16431]
16253         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16254         Adjust the vDSO correctly for internal calls.
16255         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16256
16257 2014-01-20  Allan McRae  <allan@archlinux.org>
16258
16259         * po/ca.po: Update Catalan translation from translation project.
16260
16261 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16262
16263         * sysdeps/s390/sotruss-lib.c: New file.
16264
16265 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16266
16267         [BZ#16430]
16268         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16269         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16270         local calls issues by not having a PLT stub required for IFUNC calls.
16271         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16272
16273 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16274
16275         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16276         * math/test-fpucw-static.c: Likewise.
16277
16278 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16279
16280         [BZ #16453]
16281         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16282
16283 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16284
16285         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16286         implementation for powerpc.
16287
16288 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16289
16290         [BZ #14782]
16291         * sysdeps/posix/system.c (__libc_system): Do not enable
16292         asynchronous cancellation.
16293
16294 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16295
16296         [BZ #16427]
16297         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16298         handling only for numbers special also in the IEEE case.
16299
16300 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16301
16302         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16303
16304 2014-01-11  Allan McRae  <allan@archlinux.org>
16305
16306         * po/bg.po: Update Bulgarian translation from translation project.
16307
16308         * po/de.po: Update German translation from translation project.
16309
16310 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16311
16312         * sysdeps/generic/gcc-compat.h: New file.
16313
16314 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16315
16316         * benchtests/asin-inputs: Correct slow inputs.
16317         * benchtests/acos-inputs: Likewise.
16318
16319 2014-01-10  Allan McRae  <allan@archlinux.org>
16320
16321         * po:sv.po: Update Swedish translation from translation project.
16322
16323         * po/vi.po: Update Vietnamese translation from translation project.
16324
16325         * po/eo.po: Update Esperanto translation from translation project.
16326
16327         * po/cs.po: Update Czech translation from translation project.
16328
16329         * po/nl.po: Update Dutch translation from translation project.
16330
16331         * po/pl.po: Update Polish translation from translation project.
16332
16333         * po/ru.po: Update Russian translation from translation project.
16334
16335         * po/uk.po: Update Ukrainian translation from translation project.
16336
16337 2014-01-08  Brooks Moses  <bmoses@google.com>
16338
16339         * elf/dl-load.c: Fix comment typo.
16340
16341 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16342
16343         * po/header.pot: Rename to...
16344         * po/pot.header: ... this.
16345         * po/Makefile: Use pot.header.
16346
16347 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16348             Maxim Kuvyrkov  <maxim@kugelworks.com>
16349
16350         [BZ #16394]
16351         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16352         SRC and DEST against LEN.
16353
16354 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16355
16356         [BZ #16414]
16357         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16358         implementation.
16359         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16360
16361 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16362
16363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16364
16365 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16366
16367         [BZ #16408]
16368         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16369         for large positive arguments.
16370
16371 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16372
16373         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16374
16375         * math/auto-libm-test-in: Mark various tests with
16376         xfail-rounding:ldbl-128ibm.
16377         * math/auto-libm-test-out: Regenerated.
16378
16379         [BZ #16407]
16380         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16381         Increase overflow threshold.
16382
16383 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16384
16385         [BZ #14286]
16386         * stdio-common/vfprintf.c: Check for integer overflow.
16387
16388 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16389
16390         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16391         the first argument and return value of __tls_get_addr_internal.
16392
16393 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16394
16395         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16396         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16397
16398 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16399
16400         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16401         * sysdeps/s390/rtld-global-offsets.sym: New file.
16402         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16403         GLIBC_2.19 symbol.
16404         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16405         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16406         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16407         ... this.
16408         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16409         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16410         ... this.
16411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16412         Regenerate.
16413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16414         Regenerate.
16415         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16416         halfs of GPRs for high_gprs contexts.
16417         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16418         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16419         field.
16420         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16421         uc_flags field.
16422         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16423         64 bit versions:
16424         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16425         for high GPRs (uc_high_gprs) and for future extensions
16426         (__reserved).
16427         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16428         for future extensions (__reserved).
16429         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16430         64 bit versions:
16431         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16432         SC_HIGHGPRS offset definition.
16433         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16434         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16435
16436         * Versions.def: Add GLIBC_2.19 for libpthread.
16437         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16438         siglongjmp for libpthread with GLIBC_2.19 symver.
16439         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16440         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16441         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16442         * sysdeps/s390/__longjmp.c: New file.
16443         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16444         * sysdeps/s390/longjmp.c: New file.
16445         * sysdeps/s390/setjmp.S: New file.
16446         * sysdeps/s390/sigjmp.S: New file.
16447         * sysdeps/s390/v1-longjmp.c: New file.
16448         * sysdeps/s390/v1-setjmp.h: New file.
16449         * sysdeps/s390/v1-sigjmp.c: New file.
16450         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16451         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16452         GLIBC_2.19 version.
16453         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16454         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16455         versioned symbols for ____longjmp_chk.
16456         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16457         Likewise.
16458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16459         Regenerate.
16460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16461         Regenerate.
16462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16463         Regenerate.
16464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16465         Regenerate.
16466         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16467         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16468         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16469         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16470         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16471         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16472         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16473         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16474         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16475         * sysdeps/s390/rtld-__longjmp.c: New file.
16476         * sysdeps/s390/rtld-setjmp.S: New file.
16477
16478 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16479
16480         [BZ #16400]
16481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16482         Return -__logl (x) for small positive arguments without evaluating
16483         a polynomial.
16484
16485 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16486
16487         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16488         Rename to ...
16489         (__ptrace_peeksiginfo_args): ... this.
16490         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16492         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16493
16494 2014-01-06  Allan McRae  <allan@archlinux.org>
16495
16496         * inet/netinet/in.h: Fix typo in comment.
16497
16498 2014-01-05  Andreas Jaeger  <aj@suse.de>
16499
16500         * sysdeps/i386/fpu/libm-test-ulps: Update.
16501
16502 2014-01-05  Allan McRae  <allan@archlinux.org>
16503
16504         * po/libc.pot: Regenerated.
16505
16506         * malloc/memusagestat.c: Fix gettext call formatting.
16507
16508 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16509
16510         * nscd/nscd.c: Improve usage() output.
16511
16512 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16513
16514         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16515         * sysdeps/unix/sysv/linux/configure: Regenerated.
16516         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16517         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16518
16519 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16520
16521         [BZ #16390]
16522         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16523         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16524
16525 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16526
16527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16528         extra tokens at end of #undef directive.
16529         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16530         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16531         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16532
16533 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16534
16535         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16536
16537         * math/auto-libm-test-in: Mark various tests with
16538         xfail-rounding:ldbl-128ibm.
16539         * math/auto-libm-test-out: Regenerated.
16540
16541 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16542
16543         [BZ #16386]
16544         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16545         numbers with subnormal high part when calculating exponent.
16546
16547         [BZ #16385]
16548         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16549         fabs.
16550
16551         [BZ #16384]
16552         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16553         M_LN2l.
16554         (__ieee754_acoshl): Use __log1pl not __log1p.
16555
16556 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16557
16558         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16559         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16560         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16561         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16562         (reused_arena, arena_get2): Convert to GNU style.
16563         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16564         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16565         (memalign_check, __malloc_set_state): Likewise.
16566         * malloc/mallocbug.c (main): Likewise.
16567         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16568         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16569         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16570         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16571         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16572         (__posix_memalign, malloc_info): Likewise.
16573         * malloc/malloc.h: Likewise.
16574         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16575         (mallochook, memalignhook, reallochook, mabort): Likewise.
16576         * malloc/mcheck.h: Likewise.
16577         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16578         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16579         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16580         * malloc/morecore.c (__default_morecore): Likewise.
16581         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16582         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16583         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16584         (print_and_abort): Likewise.
16585         * malloc/obstack.h: Likewise.
16586         * malloc/set-freeres.c (__libc_freeres): Likewise.
16587         * malloc/tst-mallocstate.c (main): Likewise.
16588         * malloc/tst-mtrace.c (main): Likewise.
16589         * malloc/tst-realloc.c (do_test): Likewise.
16590
16591 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16592
16593         [BZ #16366]
16594         * nscd/netgroupcache.c (do_notfound): New function.
16595         (addgetnetgrentX): Use it.
16596
16597         [BZ # 16365]
16598         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16599         NSS_STATUS_NOTFOUND.
16600
16601 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16602
16603         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16605
16606 2014-01-01  Allan McRae  <allan@archlinux.org>
16607
16608         * scripts/update-copyrights: Update configure input file suffix.
16609
16610         * NEWS: Update copyright year.
16611         * catgets/gencat.c: Likewise.
16612         * csu/version.c: Likewise.
16613         * debug/catchsegv.sh: Likewise.
16614         * debug/pcprofiledump.c: Likewise.
16615         * debug/xtrace.sh: Likewise.
16616         * elf/ldconfig.c: Likewise.
16617         * elf/ldd.bash.in: Likewise.
16618         * elf/pldd.c: Likewise.
16619         * elf/sotruss.ksh: Likewise.
16620         * elf/sprof.c: Likewise.
16621         * iconv/iconv_prog.c: Likewise.
16622         * iconv/iconvconfig.c: Likewise.
16623         * locale/programs/locale.c: Likewise.
16624         * locale/programs/localedef.c: Likewise.
16625         * login/programs/pt_chown.c: Likewise.
16626         * malloc/memusage.sh: Likewise.
16627         * malloc/memusagestat.c: Likewise.
16628         * malloc/mtrace.pl: Likewise.
16629         * manual/libc.texinfo: Likewise.
16630         * nscd/nscd.c: Likewise.
16631         * nss/getent.c: Likewise.
16632         * nss/makedb.c: Likewise.
16633         * posix/getconf.c: Likewise.
16634         * scripts/test-installation.pl: Likewise.
16635
16636         * All files with FSF copyright notices: Update copyright dates
16637         using scripts/update-copyrights.
16638         * intl/plural.c: Regenerated.
16639         * locale/programs/charmap-kw.h: Likewise.
16640         * locale/programs/locfile-kw.h: Likewise.
16641
16642 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16643
16644         * sysdeps/unix/sysv/linux/configure: Regenerated.
16645         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16646         the linux/fanotify.h header.
16647         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16648         HAVE_LINUX_FANOTIFY_H is defined.
16649
16650 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16651
16652         * benchtests/cos-inputs: New inputs.
16653         * benchtests/sin-inputs: Likewise.
16654
16655         * benchtests/atan-inputs: New inputs. Fix name of multiple
16656         precision fallback inputs.
16657
16658         * benchtests/atanh-inputs: New inputs.
16659         * benchtests/tanh-inputs: Likewise.
16660
16661         * benchtests/acosh-inputs: New inputs.
16662         * benchtests/asinh-inputs: Likewise.
16663
16664         * benchtests/cosh-inputs: New inputs.
16665         * benchtests/sinh-inputs: Likewise.
16666
16667         * benchtests/acos-inputs: Add more inputs.
16668         * benchtests/asin-inputs: Likewise.
16669
16670 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16671
16672         [BZ #16375]
16673         * manual/arith.texi: Fix spelling.
16674         * manual/charset.texi: Likewise.
16675         * manual/errno.texi: Likewise.
16676         * manual/filesys.texi: Likewise.
16677         * manual/lang.texi: Likewise.
16678         * manual/llio.texi: Likewise.
16679         * manual/locale.texi: Likewise.
16680         * manual/message.texi: Likewise.
16681         * manual/resource.texi: Likewise.
16682         * manual/search.texi: Likewise.
16683         * manual/setjmp.texi: Likewise.
16684         * manual/stdio.texi: Likewise.
16685         * manual/string.texi: Likewise.
16686         * manual/sysinfo.texi: Likewise.
16687         * manual/time.texi: Likewise.
16688
16689 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16690
16691         * po/sl.po: New file.
16692
16693 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16694
16695         * .gitignore: Add core/.gdbinit/.gdb_history.
16696
16697 2013-12-27  Allan McRae  <allan@archlinux.org>
16698
16699         [BZ #16369]
16700         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16701         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16702
16703 2013-12-24  Brooks Moses  <bmoses@google.com>
16704
16705         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16706         all compilers that claim C++98 compliance, not just GCC.
16707         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16708         Likewise.
16709
16710 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16711
16712         * NEWS: Restore accidentally deleted bug-fix entries.
16713
16714 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16715             Ondřej Bílka  <neleai@seznam.cz>
16716
16717         [BZ #15073]
16718         * malloc/malloc.c (_int_free): Perform sanity check only if we
16719         have_lock.
16720
16721 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16722
16723         [BZ #12986]
16724         * manual/stdio.texi (String Input Conversions): Clarify that character
16725         classes are not supported.
16726
16727 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16728
16729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16730
16731 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16732
16733         [BZ #16337]
16734         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16735         Calculate results for small negative arguments directly rather
16736         than using reflection formula with special underflow handling.
16737
16738         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16739         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16740         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16741         (fchflags): Likewise.
16742         (revoke): Likewise.
16743         (setlogin): Likewise.
16744         (sigaltstack): Likewise.
16745         (wait4): Likewise.
16746         (sigblock): Remove.
16747         (sigsetmask): Likewise.
16748         (wait3): Likewise.
16749         (waitpid): Likewise.
16750         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16751         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16752         file.
16753         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16754         * sysdeps/unix/bsd/Makefile: ... here.
16755         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16756         * sysdeps/unix/bsd/Versions: ... here.
16757         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16758         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16759         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16760         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16761         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16762         * sysdeps/unix/bsd/sigblock.c: ... here.
16763         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16764         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16765         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16766         * sysdeps/unix/bsd/sigvec.c: ... here.
16767         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16768         * sysdeps/unix/bsd/tcdrain.c: ... here.
16769         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16770         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16771         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16772         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16773         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16774         * sysdeps/unix/bsd/wait.c: ... here.
16775         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16776         * sysdeps/unix/bsd/wait3.c: ... here.
16777         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16778         * sysdeps/unix/bsd/waitpid.c: ... here.
16779
16780 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16781
16782         [BZ #16356]
16783         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16784         round-to-nearest for [!USE_AS_EXPM1L].
16785         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16786         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16787         more tests of exp and exp10.  Expect some exp10 tests to miss
16788         exceptions or fail in directed rounding modes.
16789         * math/auto-libm-test-out: Regenerated.
16790         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16791         (exp10_test_tonearest): New function.
16792         (exp10_towardzero_test_data): New array.
16793         (exp10_test_towardzero): New function.
16794         (exp10_downward_test_data): New array.
16795         (exp10_test_downward): New function.
16796         (exp10_upward_test_data): New array.
16797         (exp10_test_upward): New function.
16798         (main): Call the new functions.
16799         * sysdeps/i386/fpu/libm-test-ulps: Update.
16800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16801
16802 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16803
16804         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16805         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16806         * math/auto-libm-test-out: Regenerated.
16807         * math/libm-test.inc (acosh_test_data): Add more tests.
16808         (atanh_test_data): Likewise.
16809         (ceil_test_data): Likewise.
16810         (copysign_test_data): Likewise.
16811         * sysdeps/i386/fpu/libm-test-ulps: Update.
16812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16813
16814         * timezone/checktab.awk: Update from tzcode 2013i.
16815         * timezone/private.h: Likewise.
16816         * timezone/scheck.c: Likewise.
16817         * timezone/tzfile.h: Likewise.
16818         * timezone/tzselect.ksh: Likewise.
16819         * timezone/zdump.c: Likewise.
16820         * timezone/zic.c: Likewise.
16821
16822         * math/auto-libm-test-in: Add tests of cpow.
16823         * math/auto-libm-test-out: Regenerated.
16824         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16826         mpc_cc_c.
16827         (func_calc_desc): Add mpc_cc_c union field.
16828         (test_functions): Add cpow.
16829         (special_fill_2pi): New function.
16830         (special_real_inputs): Add 2pi.
16831         (calc_generic_results): Handle mpc_cc_c.
16832         * sysdeps/i386/fpu/libm-test-ulps: Update.
16833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16834
16835         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16836         csqrt, ctan and ctanh.
16837         * math/auto-libm-test-out: Regenerated.
16838         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16839         (TEST_COND_x86): Likewise.
16840         (ccos_test_data): Use AUTO_TESTS_c_c.
16841         (ccosh_test_data): Likewise.
16842         (cexp_test_data): Likewise.
16843         (clog_test_data): Likewise.
16844         (csqrt_test_data): Likewise.
16845         (ctan_test_data): Likewise.
16846         (ctan_tonearest_test_data): Likewise.
16847         (ctan_towardzero_test_data): Likewise.
16848         (ctan_downward_test_data): Likewise.
16849         (ctan_upward_test_data): Likewise.
16850         (ctanh_test_data): Likewise.
16851         (ctanh_tonearest_test_data): Likewise.
16852         (ctanh_towardzero_test_data): Likewise.
16853         (ctanh_downward_test_data): Likewise.
16854         (ctanh_upward_test_data): Likewise.
16855         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16856         mpc_c_c.
16857         (func_calc_desc): Add mpc_c_c union field.
16858         (FUNC_mpc_c_c): New macro.
16859         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16860         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16861         ctanh.
16862         (special_fill_min_subnorm_p120): New function.
16863         (special_real_inputs): Add min_subnorm_p120.
16864         (calc_generic_results): Handle mpc_c_c.
16865         * sysdeps/i386/fpu/libm-test-ulps: Update.
16866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16867
16868 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16869
16870         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16871         (do_sin_slow): New functions.
16872         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16873         (cslow2, csloww1, csloww2): Use the new functions.
16874
16875         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16876         Use M to change sign of result instead of X.  Assume X is
16877         positive.
16878         (csloww1): Likewise.
16879         (__sin): Adjust.
16880         (__cos): Adjust.
16881
16882         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16883         arguments A and DA.
16884         (__sin): Adjust.
16885         (__cos): Likewise.
16886
16887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16888         (__cos): Likewise.
16889         (sloww1): Don't adjust sign of DX.
16890         (csloww1): Likewise.
16891         (sloww2): Use X directly and don't adjust sign of DX.
16892         (csloww2): Likewise.
16893
16894 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16895
16896         * math/auto-libm-test-in: Add tests of cabs and carg.
16897         * math/auto-libm-test-out: Regenerated.
16898         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16899         (carg_test_data): Likewise.
16900         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16901         mpc_c_f.
16902         (func_calc_desc): Add mpc_c_f union field.
16903         (test_functions): Add cabs and carg.
16904         (calc_generic_results): Handle mpc_c_f.
16905
16906         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16907         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16908         as a macro and a compat symbol.
16909         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16910         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16911         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16912         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16913         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16914         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16915         not use .hidden.
16916         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16917         Likewise.
16918         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16919         Likewise.
16920         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16921         Likewise.
16922         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16923         Likewise.
16924         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16925         Likewise.
16926         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16927         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16928         from GLIBC_2.3.2.
16929
16930 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16931
16932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16933
16934 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16935
16936         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16937         trailing whitespace removed.
16938         * scripts/config.guess: Update to version 2013-11-29.
16939         * scripts/config.sub: Update to version 2013-10-01.
16940
16941         * math/auto-libm-test-in: Add tests of sincos.
16942         * math/auto-libm-test-out: Regenerated.
16943         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16945         mpfr_f_11.
16946         (func_calc_desc): Add mpfr_f_11 union field.
16947         (test_functions): Add sincos.
16948         (calc_generic_results): Handle mpfr_f_11.
16949         * sysdeps/i386/fpu/libm-test-ulps: Update.
16950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951
16952 2013-12-19  Andreas Schwab  <schwab@suse.de>
16953
16954         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16955         CALL_MCOUNT.
16956         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16957         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16958         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16959
16960 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16961
16962         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16963         * sysdeps/i386/fpu/libm-test-ulps: Update.
16964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16965
16966         [BZ #16293]
16967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16968         round-to-nearest mode when using frndint.
16969         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16970         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16972         Likewise.
16973         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16974         sinh test to fail.
16975         * math/auto-libm-test-out: Regenerated.
16976         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16977         (TEST_COND_x86): Likewise.
16978         (expm1_tonearest_test_data): New array.
16979         (expm1_test_tonearest): New function.
16980         (expm1_towardzero_test_data): New array.
16981         (expm1_test_towardzero): New function.
16982         (expm1_downward_test_data): New array.
16983         (expm1_test_downward): New function.
16984         (expm1_upward_test_data): New array.
16985         (expm1_test_upward): New function.
16986         (main): Run the new test functions.
16987         * sysdeps/i386/fpu/libm-test-ulps: Update.
16988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16989
16990         * include/features.h: Update comment documenting feature test
16991         macros.  Mention _DEFAULT_SOURCE in comment.
16992         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16993         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16994         _BSD_SOURCE and _SVID_SOURCE.
16995         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16996         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16997         !_SVID_SOURCE]: Likewise.
16998         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16999         (__USE_POSIX_IMPLICITLY): Define.
17000         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17001         (_POSIX_SOURCE): Undefine and redefine.
17002         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17003         (_POSIX_C_SOURCE): Likewise.
17004         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17005         (Feature Test Macros): Update documentation of default features.
17006
17007 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17008
17009         * benchtests/Makefile: Add bench-strtok.
17010         * benchtests/bench-strtok.c: New file: strtok benchtest.
17011
17012 2013-12-19  Allan McRae  <allan@archlinux.org>
17013
17014         * manual/install.texi: Suppress menu for plain text output.
17015         * INSTALL: Regenerated.
17016
17017 2013-12-18  Brooks Moses  <bmoses@google.com>
17018
17019         [BZ #15846]
17020         * misc/getauxval.c: Include errno.h.
17021         (__getauxval): Set errno to ENOENT if the requested type is not
17022         found.
17023         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17024         don't declare with __attribute_const__.
17025         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17026         * manual/startup.texi: Document that getauxval sets errno.
17027
17028 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17029
17030         * math/auto-libm-test-in: Add tests of jn and yn.
17031         * math/auto-libm-test-out: Regenerated.
17032         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17033         (yn_test_data): Likewise.
17034         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17035         mpfr_if_f.
17036         (func_calc_desc): Add mpfr_if_f union field.
17037         (FUNC_mpfr_if_f): New macro.
17038         (test_functions): Add jn and yn.
17039         (calc_generic_results): Assert type of second input for
17040         mpfr_ff_f.  Handle mpfr_if_f.
17041         (output_for_one_input_case): Disable all checking for arguments
17042         fitting floating-point types in case of an integer argument.
17043         * sysdeps/i386/fpu/libm-test-ulps: Update.
17044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17045
17046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17047         Don't expect fegetround reference in libm.so.
17048
17049 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17050
17051         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17052         $(config-cflags-nofma).
17053
17054 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17055
17056         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17057         * math/auto-libm-test-out: Regenerated.
17058
17059         [BZ #16338]
17060         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17061         to determine exponent and adjust argument to have exponent of -1.
17062         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17063         log2.
17064         * math/auto-libm-test-out: Regenerated.
17065         * sysdeps/i386/fpu/libm-test-ulps: Update.
17066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17067
17068 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17069
17070         * manual/probes.texi: Remove cases when per-thread arenas are
17071         disabled.
17072
17073 2013-12-18  Andreas Schwab  <schwab@suse.de>
17074
17075         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17076         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17077         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17078         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17079         * sysdeps/i386/i686/multiarch/Makefile: Update.
17080         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17081
17082 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17083
17084         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17085         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17086
17087 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17088
17089         [BZ #15968]
17090         Support TZ transition times < 00:00:00.
17091         This is needed for version-3 tz-format files; it supports time
17092         stamps past 2037 for America/Godthab (the only entry in the tz
17093         database for which this change is relevant).
17094         * manual/time.texi (TZ Variable): Document transition times
17095         from -167:59:59 through -00:00:01.
17096         * time/tzset.c (tz_rule): Time of day is now signed.
17097         (__tzset_parse_tz): Parse negative time of day.
17098
17099         Document TZ transition times >= 25:00:00.
17100         * manual/time.texi (TZ Variable): Document transition times from
17101         25:00:00 through 167:59:59.  These are already supported, and this
17102         support will help with version-3 tz-format files.
17103
17104         * manual/time.texi (TZ Variable): Modernize North America example
17105         to reflect current (i.e., 2007-and-later) daylight saving rules.
17106
17107         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17108
17109 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17110
17111         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17112         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17113         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17115         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17116         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17117         * sysdeps/unix/bsd/clock.c: Likewise.
17118         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17119         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17120         * sysdeps/unix/bsd/init-posix.c: Likewise.
17121         * sysdeps/unix/bsd/poll.c: Likewise.
17122         * sysdeps/unix/bsd/ptsname.c: Likewise.
17123         * sysdeps/unix/bsd/seekdir.c: Likewise.
17124         * sysdeps/unix/bsd/setegid.c: Likewise.
17125         * sysdeps/unix/bsd/seteuid.c: Likewise.
17126         * sysdeps/unix/bsd/setgid.c: Likewise.
17127         * sysdeps/unix/bsd/setrgid.c: Likewise.
17128         * sysdeps/unix/bsd/setruid.c: Likewise.
17129         * sysdeps/unix/bsd/setsid.c: Likewise.
17130         * sysdeps/unix/bsd/setuid.c: Likewise.
17131         * sysdeps/unix/bsd/sigaction.c: Likewise.
17132         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17133         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17134         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17135         * sysdeps/unix/bsd/telldir.c: Likewise.
17136         * sysdeps/unix/bsd/times.c: Likewise.
17137         * sysdeps/unix/bsd/usleep.c: Likewise.
17138
17139         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17140         ($(objpfx)libbsd-compat.a): Remove rule.
17141
17142         * include/features.h (__FAVOR_BSD): Do not define.
17143         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17144         features conflicting with POSIX.
17145         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17146         (_BSD_SOURCE): Remove description of not being a subset of other
17147         feature test macros.
17148         * manual/job.texi (getpgrp): Do not document BSD version.
17149         (getpgid): Do not document by reference to BSD getpgrp.
17150         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17151         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17152         * signal/signal.h [__FAVOR_BSD]: Likewise.
17153         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17154         instead of making contents conditional on [__FAVOR_BSD].
17155         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17156
17157 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17158
17159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17160
17161 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17162
17163         [BZ #16314]
17164         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17165         values below 2**-450, not 2**-500.
17166         * math/auto-libm-test-in: Don't allow spurious underflow from
17167         hypot.
17168         * math/auto-libm-test-out: Regenerated.
17169
17170         [BZ #16316]
17171         [BZ #16330]
17172         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17173         values of ha and hb and sort them after adjusting subnormal
17174         arguments.
17175         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17176         Likewise.
17177         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17178         values of ea and eb and sort them after adjusting subnormal
17179         arguments.
17180         * math/auto-libm-test-in: Do not expect some hypot tests of
17181         subnormals to fail.  Add more hypot tests.
17182         * math/auto-libm-test-out: Regenerated.
17183
17184 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17185
17186         [BZ #13304]
17187         * sysdeps/sh/s_fma.c: New file.
17188         * sysdeps/sh/s_fmaf.c: New file.
17189         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17190         version.
17191         * sysdeps/sh/Implies: Add sh/soft-fp.
17192
17193 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17194
17195         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17196         level of indirection to members `objname', `errstring', `malloced'.
17197         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17198         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17199         it as the __longjmp argument (just pass 1 instead).
17200         (_dl_catch_error): Initialize C with argument pointers and address of
17201         volatile local ERRCODE rather than copying values out of C at return.
17202
17203 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17204
17205         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17206         * math/auto-libm-test-out: Regenerated.
17207         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17208         (hypot_test_data): Likewise.
17209         (pow_test_data): Likewise.
17210         (pow_tonearest_test_data): Likewise.
17211         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17212         mpfr_ff_f.
17213         (func_calc_desc): Add mpfr_ff_f union field.
17214         (FUNC_mpfr_ff_f): New macro.
17215         (test_functions): Add atan2, hypot and pow.
17216         (special_fill_min): New function.
17217         (special_fill_minus_min): Likewise.
17218         (special_fill_min_subnorm): Likewise.
17219         (special_fill_minus_min_subnorm): Likewise.
17220         (special_real_inputs): Add min, -min, min_subnorm and
17221         -min_subnorm.
17222         (calc_generic_results): Handle mpfr_ff_f.
17223         * sysdeps/i386/fpu/libm-test-ulps: Update.
17224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17225
17226 2013-12-16  Will Newton  <will.newton@linaro.org>
17227
17228         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17229         (Aligned Memory Blocks): Add documentation for aligned_alloc
17230         and suggest it as an alternative to posix_memalign.
17231         (Hooks for Malloc): Document __memalign_hook is also called
17232         for aligned_alloc.  (Summary of Malloc): Add summary for
17233         aligned alloc.  Document __memalign_hook is also called
17234         for aligned_alloc.
17235
17236 2013-12-16  Will Newton  <will.newton@linaro.org>
17237
17238         * manual/memory.texi (Malloc Examples): Clarify default
17239         alignment documentation.  Suggest posix_memalign rather
17240         than memalign or valloc.
17241         (Aligned Memory Blocks): Remove suggestion to use memalign
17242         or valloc.  Remove obsolete comment about BSD.
17243         Document memalign errno values and mark the function obsolete.
17244         Document posix_memalign returned error codes.  Mark valloc
17245         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17246         called for posix_memalign and valloc.
17247         (Summary of Malloc): Add posix_memalign to function summary.
17248         __memalign_hook is also called for posix_memalign and valloc.
17249
17250 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17251
17252         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17253         TAYLOR_SIN.
17254         (__sin): Adjust.
17255         (__cos): Likewise.
17256         (sloww): Use mynumber union.  Expand ternary operator into
17257         if-else statements.
17258         (cslow): use mynumber union.
17259
17260 2013-12-16  Allan McRae  <allan@archlinux.org>
17261
17262         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17263         * configure: Regenerated.
17264
17265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17266
17267         [BZ #14120]
17268         * configure.ac: Added --enable-maintainer-mode. Check for
17269         autoconf when enabled.
17270         * configure: Regenerated.
17271
17272         * nscd/nscd.service: New file.
17273         * nscd/nscd.tmpfiles: New file.
17274
17275 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17276
17277         [BZ #12100]
17278         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17279         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17280         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17281         (strstr): Add __strstr_sse2_unaligned ifunc.
17282         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17283         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17284         (strcasestr): Remove __strcasestr_sse42 ifunc.
17285         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17288
17289 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17290
17291         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17292         * sysdeps/sh/bits/fenv.h: ... here.
17293         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17294
17295 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17296
17297         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17298
17299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17300         hypotf multiarch implementations.
17301         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17302         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17303         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17304         multiarch hypot for PPC64.
17305         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17306         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17307         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17308         multiarch hypotf for PPC64.
17309
17310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17311         modff multiarch implementations.
17312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17315         multiarch modf for PPC64.
17316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17319         multiarch modff for PPC64.
17320
17321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17322         and logl multiarch implementations.
17323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17326         multiarch logb for PPC64.
17327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17330         multiarch logb for PPC64.
17331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17334         multiarch logb for PPC64.
17335
17336         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17337         isinff multiarch implementation.
17338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17339         file.
17340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17342         multiarch isinf for PPC64.
17343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17344         file.
17345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17346         multiarch isinff for PPC64.
17347
17348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17349         finitef multiarch implementation.
17350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17351         file.
17352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17354         multiarch finite for PPC64.
17355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17356         file.
17357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17358         multiarch finitef for PPC64.
17359
17360         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17361         lrint multiarch implementation.
17362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17363         file.
17364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17366         multiarch llrint for PPC64.
17367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17368         multiarch lrint for PPC64.
17369
17370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17371         copysignf multiarch implementation.
17372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17373         file.
17374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17375         file.
17376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17377         multiarch copysign for PPC64.
17378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17379         multiarch copysignf for PPC64.
17380
17381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17382         multiarch implementation.
17383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17384         file.
17385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17386         file.
17387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17388         file.
17389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17390         file.
17391         multiarch llround for PPC64.
17392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17393         multiarch trunc for PPC64.
17394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17395         multiarch truncf for PPC64.
17396
17397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17398         multiarch implementation.
17399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17400         file.
17401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17402         file.
17403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17404         file.
17405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17406         file.
17407         multiarch llround for PPC64.
17408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17409         multiarch round for PPC64.
17410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17411         multiarch roundf for PPC64.
17412
17413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17414         multiarch implementation.
17415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17416         file.
17417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17418         file.
17419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17420         file.
17421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17422         file.
17423         multiarch llround for PPC64.
17424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17425         multiarch floor for PPC64.
17426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17427         multiarch floorf for PPC64.
17428
17429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17430         multiarch implementation.
17431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17432         file.
17433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17434         file.
17435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17436         file.
17437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17438         file.
17439         multiarch llround for PPC64.
17440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17441         multiarch ceil for PPC64.
17442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17443         multiarch ceilf for PPC64.
17444
17445         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17446         multiarch implementation.
17447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17448         file.
17449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17450         file.
17451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17452         file.
17453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17454         multiarch llround for PPC64.
17455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17456         multiarch lround for PPC64.
17457
17458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17459         multiarch implementation.
17460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17463         file.
17464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17467         multiarch isnan for PPC64.
17468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17469         multiarch isnanf for PPC64.
17470
17471         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17472         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17473         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17474         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17475         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17477
17478         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17479         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17480         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17481         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17482
17483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17484         multiarch implementations.
17485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17486         (__libc_ifunc_impl_list): Likewise.
17487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17488         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17489         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17490         multiarch stpcpy for PPC64.
17491
17492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17493         multiarch implementations.
17494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17495         (__libc_ifunc_impl_list): Likewise.
17496         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17497         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17498         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17499         multiarch strcpy for PPC64.
17500
17501         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17502         redefine function name.
17503         (_wordcopy_fwd_dest_aligned): Likewise.
17504         (_wordcopy_bwd_aligned): Likewise.
17505         (_wordcopy_bwd_dest_aligned): Likewise.
17506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17507         multiarch implementations.
17508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17509         (__libc_ifunc_impl_list): Likewise.
17510         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17511         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17512         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17513         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17514         multiarch wcscpy for PPC64.
17515
17516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17517         multiarch implementations.
17518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17519         (__libc_ifunc_impl_list): Likewise.
17520         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17521         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17522         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17523         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17524         multiarch wcscpy for PPC64.
17525
17526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17527         multiarch implementations.
17528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17529         (__libc_ifunc_impl_list): Likewise.
17530         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17531         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17532         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17533         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17534         multiarch wcsrchr for PPC64.
17535
17536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17537         multiarch implementations.
17538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17539         (__libc_ifunc_impl_list): Likewise.
17540         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17541         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17542         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17543         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17544         multiarch wcschr for PPC64.
17545
17546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17547         multiarch implementations.
17548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17549         (__libc_ifunc_impl_list): Likewise.
17550         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17551         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17552         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17553         multiarch strchrnul for PPC64.
17554
17555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17556         implementations.
17557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17558         (__libc_ifunc_impl_list): Likewise.
17559         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17560         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17561         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17562         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17563         strchr for PPC64.
17564
17565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17566         implementations.
17567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17568         (__libc_ifunc_impl_list): Likewise.
17569         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17570         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17571         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17572         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17573         strncmp for PPC64.
17574
17575         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17576         multiarch implementations.
17577         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17578         (__libc_ifunc_impl_list): Likewise.
17579         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17580         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17581         strncasecmp for PPC64.
17582         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17583         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17584         multiarch strncasecmp_l for PPC64.
17585
17586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17587         multiarch implementations.
17588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17589         (__libc_ifunc_impl_list): Likewise.
17590         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17591         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17592         multiarch strcasecmp for PPC64.
17593         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17594         file.
17595         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17596         multiarch strcasecmp_l for PPC64.
17597
17598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17599         implementations.
17600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17601         (__libc_ifunc_impl_list): Likewise.
17602         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17603         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17604         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17605         strnlen for PPC64.
17606
17607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17608         implementations.
17609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17610         (__libc_ifunc_impl_list): Likewise.
17611         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17612         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17613         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17614         strlen for PPC64.
17615
17616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17617         implementations.
17618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17619         (__libc_ifunc_impl_list): Likewise.
17620         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17621         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17622         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17623         rawmemrchr for PPC64.
17624
17625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17626         implementation.
17627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17628         (__libc_ifunc_impl_list): Likewise.
17629         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17630         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17631         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17632         memrchr for PPC64.
17633
17634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17635         implementation.
17636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17637         (__libc_ifunc_impl_list): Likewise.
17638         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17639         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17640         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17641         memchr for PPC64.
17642
17643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17644         implementation.
17645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17646         (__libc_ifunc_impl_list): Likewise.
17647         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17648         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17649         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17650         mempcpy for PPC64.
17651
17652         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17653         avoid cretion of __bzero symbol.
17654         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17655         Likewise.
17656         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17657         Likewise.
17658         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17659         Likewise.
17660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17661         multiarch implementations.
17662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17663         (__libc_ifunc_impl_list): Likewise.
17664         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17665         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17666         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17667         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17668         bzero for PPC32.
17669         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17670         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17671         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17672         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17673         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17674         memset for PPC64.
17675         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17676
17677         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17679         implementations.
17680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17681         (__libc_ifunc_impl_list): Likewise.
17682         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17683         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17684         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17685         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17686         memcmp for PPC64.
17687
17688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17689         multiarch for POWER/PPC64.
17690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17691         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17692         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17693         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17694         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17695         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17696         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17697         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17698         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17699         memcpy for PPC64.
17700
17701         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17702         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17703         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17704         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17705         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17706         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17707         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17708         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17709         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17710         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17711         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17712         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17713         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17714         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17715         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17723
17724 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17725
17726         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17727
17728 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17729
17730         * benchtests/Makefile (bench): Add exp2 and log2.
17731         (LDLIBS-bench-exp2): Add -lm.
17732         (LDLIBS-bench-log2): Likewise.
17733         * benchtests/exp2-inputs: New inputs file.
17734         * benchtests/log2-inputs: New inputs file.
17735         * benchtests/log-inputs: Add new inputs.
17736         * benchtests/tan-inputs: Likewise.
17737
17738 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17739
17740         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17741         definition...
17742         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17743         (csloww2): ... from here.
17744
17745         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17746         instead of structures.
17747         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17748         (POLYNOMIAL): Likewise.
17749         (TAYLOR_SLOW): Likewise.
17750         (__sin): Likewise.
17751         (__cos): Likewise.
17752         (slow1): Likewise.
17753         (slow2): Likewise.
17754         (sloww): Likewise.
17755         (sloww1); Likewise.
17756         (sloww2): Likewise.
17757         (bsloww1): Likewise.
17758         (bsloww2): Likewise.
17759         (cslow2): Likewise.
17760         (csloww): Likewise.
17761         (csloww1): Likewise.
17762         (csloww2): Likewise.
17763
17764 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17765
17766         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17767         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17768         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17769         * malloc/hooks.c (realloc_check): Likewise.
17770
17771         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17772         * malloc/arena.c: Remove PER_THREAD conditional.
17773         [!PER_THREAD]: Remove code.
17774         (ptmalloc_unlock_all2): Likewise.
17775         (ptmalloc_init): Likewise.
17776         (_int_new_arena): Likewise.
17777         (arena_get2): Likewise.
17778         * malloc/hooks.c (__malloc_get_state): Likewise.
17779         (__malloc_set_state): Likewise.
17780         * malloc/malloc.c: Likewise.
17781         (struct malloc_state): Likewise.
17782         (struct malloc_par): Likewise.
17783         (__libc_realloc): Likewise.
17784         (__libc_mallopt): Likewise.
17785
17786 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17787
17788         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17789
17790 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17791
17792         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17793         macro to a function.  Check for zero perturb_byte.
17794         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17795
17796         * malloc/malloc.c: (force_reg): Remove.
17797         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17798         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17799         force_reg by atomic_forced_read.
17800         * malloc/arena.c (ptmalloc_init): Likewise.
17801         * malloc/hooks.c (top_check): Likewise.
17802
17803 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17804
17805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17806
17807 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17808
17809         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17810
17811 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17812
17813         * math/auto-libm-test-in: Add tests of lgamma.
17814         * math/auto-libm-test-out: Regenerated.
17815         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17816         (M_LOG_2_SQRT_PIl): Likewise.
17817         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17818         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17819         mpfr_f_f1.
17820         (func_calc_desc): Add mpfr_f_f1 union field.
17821         (ARGS1): New macro.
17822         (ARGS2): Likewise.
17823         (ARGS3): Likewise.
17824         (ARGS4): Likewise.
17825         (RET1): Likewise.
17826         (RET2): Likewise.
17827         (CALC): Likewise.
17828         (FUNC): Likewise.
17829         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17830         (test_functions): Add lgamma.
17831         (calc_generic_results): Handle mpfr_f_f1.
17832         * sysdeps/i386/fpu/libm-test-ulps: Update.
17833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17834
17835 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17836
17837         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17838         __mpn_add_n for PowerPC64/POWER7.
17839         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17840         __mpn_sub_n for PowerPC64/POWER7.
17841
17842         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17843         __mpn_addmul_1 for PowerPC64.
17844         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17845         __mpn_submul_1 for PowerPC64.
17846         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17847         for PowerPC64.
17848         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17849         for PowerPC64.
17850
17851 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17852
17853         [BZ #15089]
17854         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17855
17856 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17857
17858         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17859
17860         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17861         add multiarch folders.
17862         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17863         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17864         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17865         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17866         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17867         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17868         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17869         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17870         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17871         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17872         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17879
17880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17881         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17883         New file.
17884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17885         New file.
17886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17887         multiarch __ieee754_hypot for PowerPC32.
17888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17889         New file.
17890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17891         New file.
17892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17893         multiarch __ieee754_hypotf for PowerPC32.
17894
17895         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17896         long_double_symbol only if __logbl is defined.
17897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17898         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17900         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17902         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17903         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17904         path for implementation.
17905         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17906         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17908         logb, and logbl multiarch implementations for PowerPC32.
17909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17910         file.
17911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17912         file.
17913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17914         multiarch logb for PowerPC32.
17915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17916         file.
17917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17918         file.
17919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17920         multiarch logbf for PowerPC32.
17921         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17923         file.
17924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17925         multiarch logbl implementation for PowerPC32.
17926
17927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17928         and modff multiarch implementations.
17929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17930         New file.
17931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17932         New file.
17933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17934         multiarch modf for PowerPC32.
17935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17936         New file.
17937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17938         New file.
17939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17940         multiarch modff for PowerPC32.
17941
17942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17943         and lrintf multiarch implementations.
17944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17945         New file.
17946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17947         New file.
17948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17949         multiarch lrint for PowerPC32.
17950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17951         file: multiarch lrintf for PowerPC32.
17952
17953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17954         and lroundf multiarch implementations.
17955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17956         New file.
17957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17958         New file.
17959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17960         New file.
17961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17962         multiarch lround for PowerPC32.
17963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17964         file: multiarch lroundf for PowerPC32.
17965
17966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17967         copysign and copysignf multiarch implementations.
17968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17969         New file.
17970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17971         New file.
17972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17973         file: multiarch copysign for PowerPC32.
17974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17975         file: multiarch copysignf for PowerPC32.
17976
17977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17978         and truncf multiarch implementations.
17979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17980         New file.
17981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17982         file.
17983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17984         multiarch trunc for PowerPC32.
17985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17986         New file.
17987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17988         New file.
17989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17990         multiarch truncf for PowerPC32.
17991
17992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17993         and roundf multiarch implementations.
17994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17995         New file.
17996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17997         file.
17998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17999         multiarch round for PowerPC32.
18000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18001         New file.
18002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18003         New file.
18004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18005         multiarch roundf for PowerPC32.
18006
18007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18008         and floorf multiarch implementations.
18009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18010         New file.
18011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18012         file.
18013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18014         multiarch floor for PowerPC32.
18015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18016         New file.
18017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18018         New file.
18019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18020         multiarch floorf for PowerPC32.
18021
18022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18023         and ceilf multiarch implementations.
18024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18025         New file.
18026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18027         file.
18028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18029         multiarch ceil for PowerPC32.
18030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18031         New file.
18032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18033         file.
18034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18035         multiarch ceilf for PowerPC32.
18036
18037         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18038         is defined.
18039         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18040         FINITEF is defined.
18041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18042         and finitef multiarch implementations.
18043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18044         New file.
18045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18046         file.
18047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18048         multiarch finite for PowerPC32.
18049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18050         New file.
18051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18052         file: multiarch finitef for PowerPC32.
18053
18054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18055         and isinff multiarch implementations.
18056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18057         file.
18058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18059         file.
18060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18061         multiarch isinf for PowerPC32.
18062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18063         New file.
18064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18065         multiarch isinff for PowerPC32.
18066
18067         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18068         alias when __isnan is defined.
18069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18070         and isnanf multiarch implementations.
18071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18072         file.
18073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18074         file.
18075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18076         file.
18077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18078         file.
18079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18080         multiarch isnan for PowerPC32.
18081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18082         New file.
18083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18084         New file.
18085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18086         multiarch isnanf for PowerPC32.
18087
18088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18089         and sqrtf multiarch implementations.
18090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18091         file.
18092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18093         file.
18094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18095         multiarch sqrt for PowerPC32.
18096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18097         file.
18098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18099         file.
18100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18101         multiarch sqrtf for PowerPC32.
18102
18103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18104         and llroundf multiarch implementations.
18105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18106         New file.
18107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18108         New file.
18109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18110         New file.
18111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18112         file: multiarch llround for PowerPC32.
18113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18114         file: multiarch llroundf for PowerPC32.
18115
18116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18117         multiarch PowerPC32 fpu implementations.
18118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18119         New file.
18120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18121         New file.
18122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18123         multiarch llrint for PowerPC32.
18124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18125         New file.
18126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18127         New file.
18128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18129         file.
18130
18131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18132
18133         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18134         file.
18135         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18136         file.
18137         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18138         file.
18139         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18140         multiarch wordcopy for PPC32.
18141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18142         wordcopy objects.
18143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18144         (__libc_ifunc_impl_list): Likewise.
18145         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18146         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18147         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18148         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18149         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18150         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18151
18152         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18154         file.
18155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18156         file.
18157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18158         file.
18159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18160         multiarch wcscpy for PPC32.
18161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18162         multiarch objects.
18163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18164         (__libc_ifunc_impl_list): Likewise.
18165         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18166         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18167         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18168         sysdeps/powerpc/power6/wcscpy.c.
18169
18170         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18171         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18172         file.
18173         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18174         file.
18175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18176         file.
18177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18178         multiarch wcsrchr for PPC32.
18179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18180         multiarch objects.
18181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18182         (__libc_ifunc_impl_list): Likewise.
18183         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18184         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18185         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18186         sysdeps/powerpc/power6/wcsrchr.c.
18187
18188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18189         file.
18190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18191         file.
18192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18194         multiarch wcschr for PPc32.
18195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18196         multiarch objects.
18197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18198         (__libc_ifunc_impl_list): Likewise.
18199         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18200         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18201         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18202         sysdeps/powerpc/power6/wcschr.c.
18203
18204         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18205         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18206         file.
18207         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18208         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18209         file: multiarch strchr for PPC32.
18210         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18211         multiarch objects.
18212         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18213         (__libc_ifunc_impl_list): Likewise.
18214
18215         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18216         name.
18217         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18218         file.
18219         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18220         file.
18221         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18222         multiarch strchrnul for PPC32.
18223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18224         multiarch objects.
18225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18226         (__libc_ifunc_impl_list): Likewise.
18227
18228         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18229         file.
18230         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18231         multiarch strncasecmp for PPC32.
18232         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18233         file.
18234         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18235         multiarch strncasecmp_l for PPC32.
18236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18237         strncasecmp multiarch objects.
18238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18239         (__libc_ifunc_impl_list): Likewise.
18240
18241         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18242         file.
18243         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18244         multiarch strncasecmp for PPC32.
18245         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18246         New file.
18247         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18248         multiarch strcasecmp_l for PPC32.
18249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18250         multiarch objects.
18251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18252         (__libc_ifunc_impl_list): Likewise.
18253
18254         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18255         file.
18256         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18257         file.
18258         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18259         multiarch strncmp for PPC32.
18260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18261         multiarch objects.
18262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18263         (__libc_ifunc_impl_list): Likewise.
18264
18265         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18266         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18267         file.
18268         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18269         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18271         multiarch objects.
18272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18273         (__libc_ifunc_impl_list): Likewise.
18274
18275         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18276         file.
18277         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18278         file.
18279         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18281         multiarch objects.
18282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18283         (__libc_ifunc_impl_list): Likewise.
18284
18285         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18286         file.
18287         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18288         file.
18289         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18290         multiarch rawmemchr for PPC32.
18291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18292         multiarch objects.
18293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18294         (__libc_ifunc_impl_list): Likewise.
18295
18296         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18297         file.
18298         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18299         file.
18300         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18301         file: memrchr multiarch for PPC32.
18302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18303         multiarch objects.
18304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18305         (__libc_ifunc_impl_list): Likewise.
18306
18307         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18308         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18309         file.
18310         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18311         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18312         multiarch memchr for PPC32.
18313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18314         multiarch objects.
18315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18316         (__libc_ifunc_impl_list): Likewise.
18317
18318         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18319         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18320         file.
18321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18322         file.
18323         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18324         file: multiarch mempcpy for PPC32.
18325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18326         multiarch objects.
18327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18328         (__libc_ifunc_impl_list): Likewise.
18329
18330         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18331         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18332         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18333         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18334         multiarch bzero for PPC32.
18335         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18336         file.
18337         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18338         file.
18339         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18340         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18341         file: multiarch memset for PPC32.
18342         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18344         memset multiarch objects.
18345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18346         (__libc_ifunc_impl_list): Likewise.
18347
18348         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18349         file.
18350         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18352         memcmp for PPC32.
18353         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18355         multiarch objects.
18356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18357         (__libc_ifunc_impl_list): Likewise.
18358
18359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18362         file.
18363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18364         file.
18365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18366         file.
18367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18368         multiarch memcpy for PPC32.
18369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18370         multiarch objects.
18371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18372         (__libc_ifunc_impl_list): Likewise.
18373
18374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18375         support multiarch for POWER/PPC32.
18376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18377         Likewise.
18378         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18380         Implies file to make multiarch folder appers before the fpu and
18381         default folder for power4 configuration.
18382
18383 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18384
18385         * scripts/bench.pl: Append volatile keyword to type.
18386
18387 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18388
18389         * sysdeps/sh/sotruss-lib.c: New file.
18390         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18391
18392 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18393
18394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18395
18396 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18397
18398         [BZ #6810]
18399         * math/w_tgamma.c: Include <errno.h>.
18400         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18401         * math/w_tgammaf.c: Include <errno.h>.
18402         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18403         * math/w_tgammal.c: Include <errno.h>.
18404         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18405         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18406         underflow.  Add more tgamma tests.
18407         * math/auto-libm-test-out: Regenerated.
18408         * sysdeps/i386/fpu/libm-test-ulps: Update.
18409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18410
18411         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18412         sin, sinh, tan, tanh, tgamma, y0 and y1.
18413         * math/auto-libm-test-out: Regenerated.
18414         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18415         (TEST_COND_x86): Likewise.
18416         (M_E2l): Remove macro.
18417         (M_E3l): Likewise.
18418         (M_2_SQRT_PIl): Likewise.
18419         (M_SQRT_PIl): Likewise.
18420         (M_1_DIV_El): Likewise.
18421         (log_test_data): Use AUTO_TESTS_f_f.
18422         (log10_test_data): Likewise.
18423         (log1p_test_data): Likewise.
18424         (log2_test_data): Likewise.
18425         (sin_test_data): Likewise.
18426         (sin_tonearest_test_data): Likewise.
18427         (sin_towardzero_test_data): Likewise.
18428         (sin_downward_test_data): Likewise.
18429         (sin_upward_test_data): Likewise.
18430         (sinh_test_data): Likewise.
18431         (sinh_tonearest_test_data): Likewise.
18432         (sinh_towardzero_test_data): Likewise.
18433         (sinh_downward_test_data): Likewise.
18434         (sinh_upward_test_data): Likewise.
18435         (tan_test_data): Likewise.
18436         (tan_tonearest_test_data): Likewise.
18437         (tan_towardzero_test_data): Likewise.
18438         (tan_downward_test_data): Likewise.
18439         (tan_upward_test_data): Likewise.
18440         (tanh_test_data): Likewise.
18441         (tgamma_test_data): Likewise.
18442         (y0_test_data): Likewise.
18443         (y1_test_data): Likewise.
18444         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18445         (special_real_inputs): Add pi/4.
18446         * sysdeps/i386/fpu/libm-test-ulps: Update.
18447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18448
18449 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18450
18451         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18452         "longjmp_target" static probes.
18453         (__longjmp): Rename to __longjmp_symbol.
18454         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18455         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18456         on which longjmp to generate.
18457         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18458         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18459         probe.
18460         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18461         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18462         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18463         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18464         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18465         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18467         __longjmp_symbol based on which __longjmp to generate.
18468         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18469         probe.
18470         (setjmp): Rename to setjmp_symbol.
18471         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18472         (_setjmp): Rename to _setjmp_symbol.
18473         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18474         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18475         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18476         which setjmp to generate.
18477         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18478         "longjmp_target" static probes.
18479
18480 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18481
18482         * benchtests/README: Add note about output arguments.
18483         * benchtests/bench-sincos.c: Remove file.
18484         * benchtests/sincos-inputs: New file.
18485         * scripts/bench.pl: Identify output arguments and define
18486         static variables for them.
18487
18488         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18489
18490         [BZ #15941]
18491         * Makefile (INSTALL): Add install-plain.texi as the primary
18492         dependency.
18493         * manual/install-plain.texi: New file.
18494         * manual/install.texi: Include node directive only for
18495         non-plaintext output.
18496
18497 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18498
18499         * stdlib/longlong.h: Update from GCC.
18500
18501         [BZ #6807]
18502         [BZ #15901]
18503         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18504         * math/w_j0f.c (y0f): Likewise.
18505         * math/w_j0l.c (__y0l): Likewise.
18506         * math/w_j1.c (y1): Likewise.
18507         * math/w_j1f.c (y1f): Likewise.
18508         * math/w_j1l.c (__y1l): Likewise
18509         * math/w_jn.c (yn): Likewise.
18510         * math/w_jnf.c (ynf): Likewise.
18511         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18512         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18513         value for Bessel function domain errors outside _SVID_ mode.
18514         Adjust sign of return value for yn (negative integer, 0).
18515         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18516         by zero in return for negative x and set sign appropriately for
18517         negative n.
18518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18519         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18520         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18521         expectations in error cases.
18522         (y1_test_data): Likewise.
18523         (yn_test_data): Likewise.
18524         * sysdeps/i386/fpu/libm-test-ulps: Update.
18525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18526
18527 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18528
18529         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18530         "64" to "64-v1".  Add "64-v2".
18531         (abi-64-options): Rename to ...
18532         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18533         (abi-64-condition): Rename to ...
18534         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18535         (abi-64-ld-soname): Rename to ...
18536         (abi-64-v1-ld-soname): ... this.
18537         (abi-64-v2-options): Define.
18538         (abi-64-v2-condition): Likewise.
18539         (abi-64-v2-ld-soname): Likewise.
18540         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18541         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18545
18546 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18547             Alan Modra  <amodra@gmail.com>
18548
18549         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18550         New versions for use with the ELFv2 ABI.
18551         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18552         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18553         declaration.
18554         (struct La_ppc64v2_retval): Likewise.
18555         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18556         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18557         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18558         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18559         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18560         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18561         Do not save or restore CR.
18562         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18563         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18564         return values for ELFv2 ABI.  Fix location of FPR return registers.
18565         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18566         updated values for _CALL_ELF == 2.
18567         (La_regs, La_retval, int_retval): Likewise.
18568
18569 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18570
18571         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18572         (FRAME_MIN_SIZE_PARM): Likewise.
18573         (FRAME_BACKCHAIN): Likewise.
18574         (FRAME_CR_SAVE): Likewise.
18575         (FRAME_LR_SAVE): Likewise.
18576         (FRAME_TOC_SAVE): Likewise.
18577         (FRAME_PARM_SAVE): Likewise.
18578         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18579         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18580         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18581         (call_mcount_parm_offset): New macro.
18582         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18583         (PROF): Use symbolic stack frame offsets.
18584         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18585         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18586         Redefine in terms of FRAME_MIN_SIZE.
18587         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18588         (_dl_profile_resolve): Likewise.  Update comment.
18589         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18590         symbols stack frame offsets.
18591         (__sigsetjmp): Likewise.
18592         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18593         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18594         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18595         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18596
18597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18598         (FRAME_BACKCHAIN): Remove.
18599         (FRAME_CR_SAVE): Likewise.
18600         (FRAME_LR_SAVE): Likewise.
18601         (FRAME_COMPILER_DW): Likewise.
18602         (FRAME_LINKER_DW): Likewise.
18603         (FRAME_TOC_SAVE): Likewise.
18604         (FRAME_PARM_SAVE): Likewise.
18605         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18606         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18607         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18609         (CHECK_SP): Use symbolic stack frame offsets.
18610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18611         zone" instead of caller's parameter save area for temp storage.
18612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18613         Likewise.  Also, use symbolic stack frame offsets.
18614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18615         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18616         our own stack frame instead of the caller's.
18617         (__socket): Use symbolic stack frame offsets.
18618
18619 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18620             Alan Modra  <amodra@gmail.com>
18621
18622         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18623         Define.
18624         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18625         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18626         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18627         New function.
18628         (elf_machine_fixup_plt): Call it.
18629         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18630         reloc arguments.
18631         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18632         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18633         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18634         r2 before calling target.
18635
18636 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18637             Alan Modra  <amodra@gmail.com>
18638
18639         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18640         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18641         versions of macros to support ELFv2 ABI.
18642         (LOCALENTRY): New macro.
18643         (ENTRY, EALIGN): Use it.
18644         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18645         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18646         fall through into ENTRY entry point.
18647         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18648         Only define if _CALL_ELF != 2.
18649
18650         (elf_machine_matches_host): Verify ABI version matches.
18651         (RTLD_START): Use LOCALENTRY.
18652         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18653         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18654         (PLT_ENTRY_WORDS): New macro.
18655         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18656         (elf_machine_runtime_setup): Support ELFv2 ABI.
18657         (elf_machine_fixup_plt): Likewise.
18658         (elf_machine_plt_conflict): Likewise.
18659         (resolve_ifunc): Likewise.
18660         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18661         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18662         Likewise.
18663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18664         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18666         (makecontext): Support ELFv2 ABI.
18667         * elf/elf.h (EF_PPC64_ABI): Define.
18668
18669 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18670
18671         * sysdeps/powerpc/powerpc64/sysdep.h
18672         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18673         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18674         (ENTRY) [ASSEMBLER]: ... but instead here ...
18675         (EALIGN) [ASSEMBLER]: ... and here.
18676         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18677         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18678         (ENTRY_2) [!ASSEMBLER]: Use it.
18679         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18680         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18681         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18682         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18683         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18685         Use PPC64_LOAD_FUNCPTR.
18686
18687         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18688
18689 2013-12-04  Alan Modra  <amodra@gmail.com>
18690
18691         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18692         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18693         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18694         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18695
18696         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18697         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18698         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18699         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18700         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18701         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18702
18703 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18704
18705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18706         (__makecontext): Fix incorrect CFI when backtracing out of
18707         context created via makecontext.
18708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18709         (__setcontext): Fix incorrect CFI during switch to new context.
18710         (__novec_setcontext): Likewise.
18711
18712 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18713
18714         [BZ #4772]
18715         * time/strptime_l.c (__strptime_internal): Allow modifiers
18716         in strptime.
18717         * time/tst-strptime.c (day_tests): Add testcase.
18718
18719 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18720
18721         * scripts/bench.pl: Skip over blank lines.
18722
18723 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18724
18725         [BZ #926]
18726         * manual/time.texi (Calendar Time): Clarify what timezone functions
18727         use.
18728
18729 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18730
18731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18732
18733 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18734
18735         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18736         implementation.
18737         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18738         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18739         * debug/memset_chk.c (__memset_chk): Likewise.
18740         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18741         * debug/strncpy_chk.c: Likewise.
18742
18743 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18744
18745         [BZ #15268]
18746         [BZ #15425]
18747         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18748         (__ieee754_exp): For possibly underflowing results, check size of
18749         result and force underflow exception if required.
18750         * math/auto-libm-test-in: Add more tests of exp.
18751         * math/auto-libm-test-out: Regenerated.
18752         * sysdeps/i386/fpu/libm-test-ulps: Update.
18753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18754
18755         [BZ #16283]
18756         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18757         * math/w_exp2f.c (__exp2f): Likewise.
18758         * math/w_exp2l.c (__exp2l): Likewise.
18759         * math/auto-libm-test-in: Do not allow missing errno on exp2
18760         underflow.
18761         * math/auto-libm-test-out: Regenerated.
18762
18763 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18764
18765         [BZ #16274]
18766         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18767         handle filename validation.
18768         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18769         (do_open): Delete.
18770
18771 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18772
18773         [BZ #6786]
18774         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18775         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18776         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18777         <float.h>.
18778         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18780         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18781         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18782         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18783         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18784         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18785         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18786         Add more erfc tests.
18787         * math/auto-libm-test-out: Regenerated.
18788         * sysdeps/i386/fpu/libm-test-ulps: Update.
18789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18790
18791         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18792         exp2, expm1, j0 and j1.
18793         * math/auto-libm-test-out: Regenerated.
18794         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18795         (erfc_test_data): Likewise.
18796         (exp_test_data): Likewise.
18797         (exp_tonearest_test_data): Likewise.
18798         (exp_towardzero_test_data): Likewise.
18799         (exp_downward_test_data): Likewise.
18800         (exp_upward_test_data): Likewise.
18801         (exp10_test_data): Likewise.
18802         (exp2_test_data): Likewise.
18803         (expm1_test_data): Likewise.
18804         (j0_test_data): Likewise.
18805         (j1_test_data): Likewise.
18806         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18807         (input_flag_type): Add flag_xfail_rounding.
18808         (input_flags): Add xfail-rounding.
18809         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18810         (output_for_one_input_case): Handle flag_xfail_rounding.
18811         * sysdeps/i386/fpu/libm-test-ulps: Update.
18812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18813
18814 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18815
18816         [BZ #16289]
18817         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18818         division by 0.
18819
18820 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18821
18822         [BZ #16195]
18823         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18824         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18825         (STAP_PROBE0): New macro.
18826         (STAP_PROBE1): Likewise.
18827         (STAP_PROBE2): Likewise.
18828         (STAP_PROBE3): Likewise.
18829         (STAP_PROBE4): Likewise.
18830
18831 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18832
18833         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18834
18835 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18836
18837         * benchtests/Makefile (bench): Add sqrt.
18838         (LDLIBS-bench-sqrt): New.
18839         * benchtests/sqrt-input: New.
18840
18841 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18842
18843         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18844         (GAIH_EAI): Likewise.
18845         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18846         (gaih_inet): Likewise.
18847         (getaddrinfo): Don't use GAIH_EAI.
18848
18849         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18850         (struct gaih): Remove definition.
18851
18852 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18853
18854         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18855         Use HERRNOP directly.
18856
18857 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18858
18859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18860
18861 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18862
18863         * math/gen-auto-libm-tests.c (test_functions): Add more
18864         single-argument functions.
18865         (special_fill_pi_2): New function.
18866         (special_fill_minus_pi_2): Likewise.
18867         (special_fill_pi_6): Likewise.
18868         (special_fill_minus_pi_6): Likewise.
18869         (special_fill_pi_3): Likewise.
18870         (special_fill_2pi_3): Likewise.
18871         (special_fill_e): Likewise.
18872         (special_fill_1_e): Likewise.
18873         (special_fill_e_minus_1): Likewise.
18874         (special_real_inputs): Add more special inputs.
18875         (output_for_one_input_case): Do not require ERANGE on underflow to
18876         zero if round-to-nearest result does not underflow to zero, unless
18877         exact results required.
18878         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18879         atan, atanh, cbrt, cos and cosh.
18880         * math/auto-libm-test-out: Regenerated.
18881         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18882         (acos_tonearest_test_data): Likewise.
18883         (acos_towardzero_test_data): Likewise.
18884         (acos_downward_test_data): Likewise.
18885         (acos_upward_test_data): Likewise.
18886         (acosh_test_data): Likewise.
18887         (asin_test_data): Likewise.
18888         (asin_tonearest_test_data): Likewise.
18889         (asin_towardzero_test_data): Likewise.
18890         (asin_upward_test_data): Likewise.
18891         (asinh_test_data): Likewise.
18892         (atan_test_data): Likewise.
18893         (atanh_test_data): Likewise.
18894         (cbrt_test_data): Likewise.
18895         (cos_test_data): Likewise.
18896         (cos_tonearest_test_data): Likewise.
18897         (cos_towardzero_test_data): Likewise.
18898         (cos_downward_test_data): Likewise.
18899         (cos_upward_test_data): Likewise.
18900         (cosh_test_data): Likewise.
18901         (cosh_tonearest_test_data): Likewise.
18902         (cosh_towardzero_test_data): Likewise.
18903         (cosh_downward_test_data): Likewise.
18904         (cosh_upward_test_data): Likewise.
18905         * sysdeps/i386/fpu/libm-test-ulps: Update.
18906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18907
18908 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18909
18910         [BZ #6787]
18911         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18912         * math/w_exp10f.c (__exp10f): Likewise.
18913         * math/w_exp10l.c (__exp10l): Likewise.
18914         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18915         errno settings in existing tests.
18916
18917         [BZ #14032]
18918         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18919         precision control set to double precision.
18920         * sysdeps/i386/fpu/w_sqrt.c: New file.
18921         * math/auto-libm-test-in: Add more tests.
18922         * math/auto-libm-test-out: Update.
18923
18924         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18925         (sqrt_test_tonearest): New function.
18926         (sqrt_towardzero_test_data): New variable.
18927         (sqrt_test_towardzero): New function.
18928         (sqrt_downward_test_data): New variable.
18929         (sqrt_test_downward): New function.
18930         (sqrt_upward_test_data): New variable.
18931         (sqrt_test_upward): New function.
18932         (main): Call the new functions.
18933
18934         * math/gen-auto-libm-tests.c: New file.
18935         * math/auto-libm-test-in: Likewise.
18936         * math/auto-libm-test-out: New generated file.
18937         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18938         variables.
18939         (%beautify): Add generated representations of zero.
18940         (top level): Set $auto_input and call parse_auto_input.
18941         (beautify): Remove trailing "f" from hex float constants.
18942         (parse_args): Handle XFAIL_TEST.
18943         (convert_condition): New function.
18944         (or_value): Likewise.
18945         (or_cond_value): Likewise.
18946         (generate_testfile): Handle AUTO_TESTS_* lines.
18947         (parse_auto_input): New function.
18948         * math/libm-test.inc (XFAIL_TEST): New macro.
18949         (ERRNO_UNCHANGED): Update value.
18950         (ERRNO_EDOM): Likewise.
18951         (ERRNO_ERANGE): Likewise.
18952         (IGNORE_RESULT): Likewise.
18953         (TEST_COND_flt_32): New macro.
18954         (TEST_COND_dbl_64): Likewise.
18955         (TEST_COND_ldbl_96_intel): Likewise.
18956         (TEST_COND_ldbl_96_m68k): Likewise.
18957         (TEST_COND_ldbl_128): Likewise.
18958         (TEST_COND_ldbl_128ibm): Likewise.
18959         (TEST_COND_long32): Likewise.
18960         (TEST_COND_long64): Likewise.
18961         (TEST_COND_before_rounding): Likewise.
18962         (TEST_COND_after_rounding): Likewise.
18963         (enable_test): Handle XFAIL_TEST flag.
18964         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18965         with finite results.
18966         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18967         auto-libm-test-out.
18968
18969 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18970             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18971
18972         [BZ #16214]
18973         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18974         __tls_get_addr_internal instead of __tls_get_offset in order to
18975         avoid GOT pointer dependency.  Make rtld export
18976         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18977         __tls_get_addr since we are a __tls_get_offset platform.
18978         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18979         GOT pointer being set up before.
18980         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18981
18982 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18983
18984         * manual/math.texi (Errors in Math Functions): Document accuracy
18985         goals.
18986
18987         [BZ #15004]
18988         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18989         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18990         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18991         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18992         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18993         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18994         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18995         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18996         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18997         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18998         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18999         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19000         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19001         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19003         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19004
19005         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19006         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19007         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19008         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19009         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19010         Likewise.
19011         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19012         Likewise.
19013         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19014         Likewise.
19015         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19016         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19017         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19018         atomic-feupdateenv and flt-rounds.
19019         * sysdeps/powerpc/nofpu/Versions (libc): Add
19020         __atomic_feholdexcept, __atomic_feclearexcept,
19021         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19022         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19023         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19024         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19025         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19026         here.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19028         Update.
19029
19030         * manual/arith.texi (FP Exceptions): Document that exceptions may
19031         not be raised when matherr is used.
19032         (Math Error Reporting): Document overflow in directed rounding
19033         modes.  Document that errno may not be set when finite values are
19034         returned on overflow.  Document intent to set errno on underflow
19035         only for underflow to zero.
19036
19037         [BZ #16271]
19038         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19039         round-to-nearest then adjust result for other rounding modes.
19040         * include/fenv.h (fegetround): Use libm_hidden_proto.
19041         * math/fegetround.c (fegetround): Use libm_hidden_def.
19042         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19043         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19044         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19045         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19046         Likewise.
19047         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19048         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19049         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19050         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19051
19052 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19053
19054         [BZ #16077]
19055         * nss/Versions (libnss_files): Add
19056         _nss_files_gethostbyname3_r.
19057         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19058         New function.
19059         (HOST_DB_LOOKUP): Remove macro.
19060         (_nss_files_gethostbyname_r): Implement function without the
19061         HOST_DB_LOOKUP macro.
19062         (_nss_files_gethostbyname2_r): Likewise.
19063
19064 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19065
19066         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19067
19068 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19069
19070         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19071         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19072         warning.
19073
19074 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19075
19076         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19077         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19078         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19079         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19080         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19081         __fe_nomask_env_priv and attribute_hidden.
19082         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19083         (libc_feupdateenv_test_ppc): Likewise.
19084         (libc_feresetround_ppc): Likewise.
19085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19086         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19087         compat_symbol macro.
19088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19089         (__fe_nomask_env): Likewise.
19090         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19091
19092 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19093
19094         * string/Makefile: Remove ifunc tests.
19095         * string/test-string.h: Define TEST_IFUNC.
19096         * string/test-bcopy-ifunc.c: Remove.
19097         * string/test-bzero-ifunc.c: Likewise.
19098         * string/test-memccpy-ifunc.c: Likewise.
19099         * string/test-memchr-ifunc.c: Likewise.
19100         * string/test-memcmp-ifunc.c: Likewise.
19101         * string/test-memcpy-ifunc.c: Likewise.
19102         * string/test-memmem-ifunc.c: Likewise.
19103         * string/test-memmove-ifunc.c: Likewise.
19104         * string/test-mempcpy-ifunc.c: Likewise.
19105         * string/test-memrchr-ifunc.c: Likewise.
19106         * string/test-memset-ifunc.c: Likewise.
19107         * string/test-rawmemchr-ifunc.c: Likewise.
19108         * string/test-stpcpy-ifunc.c: Likewise.
19109         * string/test-stpncpy-ifunc.c: Likewise.
19110         * string/test-strcasecmp-ifunc.c: Likewise.
19111         * string/test-strcasestr-ifunc.c: Likewise.
19112         * string/test-strcat-ifunc.c: Likewise.
19113         * string/test-strchr-ifunc.c: Likewise.
19114         * string/test-strchrnul-ifunc.c: Likewise.
19115         * string/test-strcmp-ifunc.c: Likewise.
19116         * string/test-strcpy-ifunc.c: Likewise.
19117         * string/test-strcspn-ifunc.c: Likewise.
19118         * string/test-strlen-ifunc.c: Likewise.
19119         * string/test-strncasecmp-ifunc.c: Likewise.
19120         * string/test-strncat-ifunc.c: Likewise.
19121         * string/test-strncmp-ifunc.c: Likewise.
19122         * string/test-strncpy-ifunc.c: Likewise.
19123         * string/test-strnlen-ifunc.c: Likewise.
19124         * string/test-strpbrk-ifunc.c: Likewise.
19125         * string/test-strrchr-ifunc.c: Likewise.
19126         * string/test-strspn-ifunc.c: Likewise.
19127         * string/test-strstr-ifunc.c: Likewise.
19128
19129 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19130
19131         * benchtests/Makefile: Remove ifunc tests.
19132         * benchtests/bench-string.h: Define TEST_IFUNC.
19133         * benchtests/bench-bcopy-ifunc.c: Remove.
19134         * benchtests/bench-bzero-ifunc.c: Likewise.
19135         * benchtests/bench-memccpy-ifunc.c: Likewise.
19136         * benchtests/bench-memchr-ifunc.c: Likewise.
19137         * benchtests/bench-memcmp-ifunc.c: Likewise.
19138         * benchtests/bench-memcpy-ifunc.c: Likewise.
19139         * benchtests/bench-memmem-ifunc.c: Likewise.
19140         * benchtests/bench-memmove-ifunc.c: Likewise.
19141         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19142         * benchtests/bench-memrchr-ifunc.c: Likewise.
19143         * benchtests/bench-memset-ifunc.c: Likewise.
19144         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19145         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19146         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19147         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19148         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19149         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19150         * benchtests/bench-strcat-ifunc.c: Likewise.
19151         * benchtests/bench-strchr-ifunc.c: Likewise.
19152         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19153         * benchtests/bench-strcmp-ifunc.c: Likewise.
19154         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19155         * benchtests/bench-strcpy-ifunc.c: Likewise.
19156         * benchtests/bench-strcspn-ifunc.c: Likewise.
19157         * benchtests/bench-strlen-ifunc.c: Likewise.
19158         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19159         * benchtests/bench-strncat-ifunc.c: Likewise.
19160         * benchtests/bench-strncmp-ifunc.c: Likewise.
19161         * benchtests/bench-strncpy-ifunc.c: Likewise.
19162         * benchtests/bench-strnlen-ifunc.c: Likewise.
19163         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19164         * benchtests/bench-strrchr-ifunc.c: Likewise.
19165         * benchtests/bench-strsep-ifunc.c: Likewise.
19166         * benchtests/bench-strspn-ifunc.c: Likewise.
19167         * benchtests/bench-strstr-ifunc.c: Likewise.
19168
19169 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19170
19171         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19172
19173 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19174
19175         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19176         * rt/aio.h: Likewise.
19177         * sysdeps/gnu/bits/utmp.h: Likewise.
19178         * sysdeps/gnu/bits/utmpx.h: Likewise.
19179         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19180         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19181         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19182         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19183         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19184         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19185         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19186         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19187         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19188         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19189         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19190         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19191         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19193         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19194         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19195         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19196         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19197         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19198         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19199         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19200         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19201         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19202         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19203         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19205         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19206         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19207         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19208         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19209         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19210         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19211         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19212         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19213         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19214         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19215         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19216         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19217         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19218         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19219         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19220         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19221
19222 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19223
19224         [BZ #16245]
19225         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19226         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19227
19228 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19229
19230         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19231         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19232         Likewise.
19233
19234 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19235
19236         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19237         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19238         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19239         (__fesetround): Remove define.
19240         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19241         rounding and exceptions handling.
19242         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19243         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19244         (__fe_nomask_env): Likewise.
19245         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19246         __fegetround instead of fegetround.
19247         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19248         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19249
19250 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19251
19252         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19253         it's there.
19254
19255         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19256
19257 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19258
19259         [BZ #11157]
19260         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19261         (encrypt_r): Likewise.
19262         * malloc/obstack.h (obstack_free): Likewise.
19263         * posix/unistd.h (encrypt): Likewise.
19264
19265 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19266
19267         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19268         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19269         DL_CALL_DT_FINI() that call the functions directly.
19270         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19271         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19272         * elf/dl-fini.c: Likewise.
19273
19274 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19275
19276         * malloc/hooks.c (memalign_check): Add alignment rounding.
19277         * malloc/malloc.c (_mid_memalign): New function.
19278         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19279         Implement by calling _mid_memalign.
19280         * manual/probes.texi (Memory Allocation Probes): Remove
19281         memory_valloc_retry and memory_pvalloc_retry.
19282
19283 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19284
19285         * locale/programs/locarchive.c (open_archive): Add const
19286         qualifier to ARCHIVEFNAME and copy default fname to
19287         DEFAULT_FNAME.
19288
19289         [BZ #15601]
19290         * libio/tst-widetext.input: Rename Oriya to Odia.
19291         * locale/iso-639.def: Likewise.
19292
19293         * manual/probes.texi (Mathematical Function Probes): Add
19294         documentation for sin, cos, asin and acos probes.
19295         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19296         (__sin32): Add slowasin probe.
19297         (__cos32): Add slowacos probe.
19298         (__mpsin): Add slowsin probe.
19299         (__mpcos): Add slowcos probe.
19300
19301 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19302
19303         [BZ #15483]
19304         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19305         thread-local __sim_exceptions_thread and global
19306         __sim_exceptions_global.
19307         (__sim_disabled_exceptions): Change to thread-local
19308         __sim_disabled_exceptions_thread and global
19309         __sim_disabled_exceptions_global.
19310         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19311         and global __sim_round_mode_global.
19312         (__simulate_exceptions): Use thread-local floating-point state and
19313         set global state from it as needed.
19314         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19315         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19316         __sim_round_mode_thread.
19317         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19318         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19319         and global __sim_exceptions_global.
19320         (__sim_disabled_exceptions): Change to thread-local
19321         __sim_disabled_exceptions_thread and global
19322         __sim_disabled_exceptions_global.
19323         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19324         and global __sim_round_mode_global.
19325         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19326         (SIM_SET_GLOBAL): Likewise.
19327         * sysdeps/powerpc/soft-fp/sfp-machine.h
19328         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19329         __sim_round_mode_thread.
19330         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19331         __sim_disabled_exceptions_thread.
19332         (__sim_exceptions): Change to __sim_exceptions_thread.
19333         (__sim_disabled_exceptions): Change to
19334         __sim_disabled_exceptions_thread.
19335         (__sim_round_mode): Change to __sim_round_mode_thread.
19336         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19337         thread-local floating-point state and set global state from it as
19338         needed.
19339         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19340         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19341         (__sim_disabled_exceptions): Remove extern declaration.
19342         (feenableexcept): Use thread-local floating-point state and set
19343         global state from it as needed.
19344         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19345         extern declaration.
19346         (__sim_disabled_exceptions): Likewise.
19347         (__sim_round_mode): Likewise.
19348         (__fegetenv): Use thread-local floating-point state.
19349         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19350         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19351         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19352         floating-point state and set global state from it as needed.
19353         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19354         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19355         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19356         Likewise.
19357         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19358         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19359         Likewise.
19360         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19361         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19362         Use __sim_round_mode_thread.
19363         * math/test-fenv-tls.c: New file.
19364         * math/Makefile (tests): Add test-fenv-tls.
19365         ($(objpfx)test-fenv-tls): Depend on
19366         $(common-objpfx)nptl/libpthread.so.
19367
19368 2013-11-19  Andreas Schwab  <schwab@suse.de>
19369
19370         * locale/programs/locale.c (show_info): Decode wordarray elements.
19371         * locale/categories.def (LC_MONETARY): Add element for
19372         _NL_MONETARY_CRNCYSTR.
19373         * locale/C-monetary.c (conversion_rate): New variable.
19374         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19375         element.
19376
19377 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19378
19379         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19380         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19381
19382 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19383
19384         * elf/Makefile (tst-auxv): New test.
19385         * elf/tst-auxv.c: New
19386         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19387
19388 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19389
19390         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19391         (hidden_proto): Caller changed.
19392         (hidden_tls_proto): New macro.
19393         (libc_hidden_tls_proto): Likewise.
19394         (rtld_hidden_tls_proto): Likewise.
19395         (libm_hidden_tls_proto): Likewise.
19396         (libresolv_hidden_tls_proto): Likewise.
19397         (librt_hidden_tls_proto): Likewise.
19398         (libdl_hidden_tls_proto): Likewise.
19399         (libnss_files_hidden_tls_proto): Likewise.
19400         (libnsl_hidden_tls_proto): Likewise.
19401         (libnss_nisplus_hidden_tls_proto): Likewise.
19402         (libutil_hidden_tls_proto): Likewise.
19403
19404 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19405
19406         [BZ #10253]
19407         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19408         (decompose_rpath): Defer expansion to fillin_rpath.
19409         (_dl_init_paths): Pass linkmap to fillin_rpath.
19410
19411 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19412
19413         * benchtests/Makefile: Add strsep.
19414         * benchtests/bench-strsep.c: New file: strsep benchtest.
19415         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19416
19417 2013-11-18  Andreas Schwab  <schwab@suse.de>
19418
19419         * locale/programs/locale.c (show_info) [case byte]: Check for
19420         '\377' instead of '\177'.
19421         * locale/C-monetary.c (not_available): Always use "\377".
19422         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19423         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19424         detect unavailable sign_posn locale elements.
19425         * locale/localeconv.c (__localeconv): For grouping and
19426         mon_grouping handle "\177" and "\377" like no grouping.
19427         (INT_ELEM): New macro.  Use it to set all numeric members.
19428         * locale/programs/ld-monetary.c (monetary_read)
19429         <tok_mon_grouping>: Normalize single -1 to the empty string.
19430         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19431         Likewise.
19432
19433 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19434
19435         [BZ #16055]
19436         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19437         when we match (nil).
19438         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19439
19440 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19441
19442         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19443         (NO_TEST_INLINE): Update value.
19444         (ERRNO_UNCHANGED): Likewise.
19445         (ERRNO_EDOM): Likewise.
19446         (ERRNO_ERANGE): Likewise.
19447         (IGNORE_RESULT): Likewise.
19448         (check_float_internal): Check signs of NaN results if
19449         TEST_NAN_SIGN used.
19450         (check_complex): Pass TEST_NAN_SIGN flag through to second
19451         check_float_internal call.
19452         (copysign_test_data): Add tests with quiet NaNs as second
19453         argument.  Use TEST_NAN_SIGN.
19454         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19455         TEST_NAN_SIGN.
19456         (signbit_test_data): Add tests of quiet NaN argument.
19457         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19458
19459         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19460         $ignore_result.
19461         (parse_args): Handle function results specified as IGNORE.
19462         * math/libm-test.inc (IGNORE_RESULT): New macro.
19463         (check_float_internal): Do not check numerical result if flag
19464         IGNORE_RESULT set.
19465         (check_complex): Pass through IGNORE_RESULT to second
19466         check_float_internal call.
19467         (check_int): Do not check numerical result if flag IGNORE_RESULT
19468         set.
19469         (check_long): Likewise.
19470         (check_bool): Likewise.
19471         (check_longlong): Likewise.
19472         (lrint_test_data): Add tests of infinite and NaN arguments.
19473         (lrint_tonearest_test_data): Likewise.
19474         (lrint_towardzero_test_data): Likewise.
19475         (lrint_downward_test_data): Likewise.
19476         (lrint_upward_test_data): Likewise.
19477         (llrint_test_data): Likewise.
19478         (llrint_tonearest_test_data): Likewise.
19479         (llrint_towardzero_test_data): Likewise.
19480         (llrint_downward_test_data): Likewise.
19481         (llrint_upward_test_data): Likewise.
19482         (lround_test_data): Likewise.
19483         (llround_test_data): Likewise.
19484
19485         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19486         (ERRNO_UNCHANGED): Update value.
19487         (ERRNO_EDOM): Likewise.
19488         (ERRNO_ERANGE): Likewise.
19489         (NO_TEST_INLINE_FLOAT): New macro.
19490         (NO_TEST_INLINE_DOUBLE): Likewise.
19491         (enable_test): New function.
19492         (RUN_TEST_f_f): Check enable_test before running test.
19493         (RUN_TEST_2_f): Likewise.
19494         (RUN_TEST_fff_f): Likewise.
19495         (RUN_TEST_c_f): Likewise.
19496         (RUN_TEST_f_f1): Likewise.
19497         (RUN_TEST_fF_f1): Likewise.
19498         (RUN_TEST_fI_f1): Likewise.
19499         (RUN_TEST_ffI_f1): Likewise.
19500         (RUN_TEST_c_c): Likewise.
19501         (RUN_TEST_cc_c): Likewise.
19502         (RUN_TEST_f_i): Likewise.
19503         (RUN_TEST_f_i_tg): Likewise.
19504         (RUN_TEST_ff_i_tg): Likewise.
19505         (RUN_TEST_f_b): Likewise.
19506         (RUN_TEST_f_b_tg): Likewise.
19507         (RUN_TEST_f_l): Likewise.
19508         (RUN_TEST_f_L): Likewise.
19509         (RUN_TEST_fFF_11): Likewise.
19510         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19511         conditionals.
19512         (cosh_test_data): Likewise.
19513         (exp_test_data): Likewise.
19514         (expm1_test_data): Likewise.
19515         (hypot_test_data): Likewise.
19516         (pow_test_data): Likewise.
19517         (sinh_test_data): Likewise.
19518         (tanh_test_data): Likewise.
19519         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19520         flags argument.
19521
19522         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19523         tests with quiet NaN input and output.
19524         (acosh_test_data): Likewise.
19525         (asin_test_data): Likewise.
19526         (asinh_test_data): Likewise.
19527         (atan_test_data): Likewise.
19528         (atanh_test_data): Likewise.
19529         (atan2_test_data): Likewise.
19530         (cbrt_test_data): Likewise.
19531         (cos_test_data): Likewise.
19532         (cosh_test_data): Likewise.
19533         (erf_test_data): Likewise.
19534         (erfc_test_data): Likewise.
19535         (exp_test_data): Likewise.
19536         (exp10_test_data): Likewise.
19537         (exp2_test_data): Likewise.
19538         (expm1_test_data): Likewise.
19539         (hypot_test_data): Likewise.
19540         (j0_test_data): Likewise.
19541         (j1_test_data): Likewise.
19542         (jn_test_data): Likewise.
19543         (lgamma_test_data): Likewise.
19544         (log_test_data): Likewise.
19545         (log10_test_data): Likewise.
19546         (log1p_test_data): Likewise.
19547         (log2_test_data): Likewise.
19548         (pow_test_data): Likewise.
19549         (scalb_test_data): Likewise.
19550         (sin_test_data): Likewise.
19551         (sincos_test_data): Likewise.
19552         (sinh_test_data): Likewise.
19553         (tan_test_data): Likewise.
19554         (tanh_test_data): Likewise.
19555         (tgamma_test_data): Likewise.
19556         (y0_test_data): Likewise.
19557         (y1_test_data): Likewise.
19558         (yn_test_data): Likewise.
19559
19560         [BZ #16167]
19561         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19562         argument being NaN and avoid computations with second argument in
19563         that case.
19564         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19565         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19566         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19567
19568 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19569
19570         * locale/iso-639.def: Add Chitwani Tharu (the).
19571
19572 2013-11-14  Andreas Schwab  <schwab@suse.de>
19573
19574         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19575         word instead of empty string.
19576
19577 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19578
19579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19580         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19582         (__fe_nomask_env): Likewise.
19583
19584 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19585
19586         * benchtests/bench-timing.h: Include time.h.
19587
19588 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19589
19590         [BZ #15997]
19591         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19592         to 3.4.0 for x32.
19593         * sysdeps/unix/sysv/linux/configure: Regenerated.
19594
19595 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19596
19597         [BZ #16151]
19598         * stdlib/strtod_l.c (round_and_return): Do not consider
19599         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19600         exponent one less than half the least subnormal exponent.
19601         * stdlib/test-strtod-round-data: Add more tests.
19602         * stdlib/tst-strtod-round.c (tests): Regenerated.
19603
19604 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19605
19606         [BZ #14143]
19607         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19608         (__fe_mask_env): Likewise.
19609         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19610         libm_hidden_proto and add function prototype.
19611         (__fe_mask_env): Add function prototype.
19612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19613         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19615         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19617         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19618
19619 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19620
19621         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19622         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19623
19624 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19625
19626         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19627         of htab_find_slot().
19628
19629 2013-11-11  David S. Miller  <davem@davemloft.net>
19630
19631         [BZ #16150]
19632         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19633         symbol in the non-vis3 case in static builds.
19634         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19635         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19636         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19637         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19638
19639 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19640
19641         [BZ #387]
19642         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19643         it is empty.
19644
19645 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19646
19647         * benchtests/Makefile: Add bench-strtod.
19648         * benchtests/bench-strtod.c: New file: strtod benchtest
19649
19650 2013-11-11  Andreas Schwab  <schwab@suse.de>
19651
19652         [BZ #16153]
19653         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19654         terminating NUL in key length.
19655
19656 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19657
19658         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19659         Add artificial ODP entry for vDSO symbol for PPC64.
19660         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19661         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19662
19663 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19664
19665         [BZ #15374]
19666         * nss/getent.c (services_keys): Recognize services starting with digit.
19667
19668 2013-11-06  David S. Miller  <davem@davemloft.net>
19669
19670         [BZ #15985]
19671         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19672         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19673
19674 2013-11-06  Will Newton  <will.newton@linaro.org>
19675
19676         * manual/memory.texi (Malloc Examples): Remove register
19677         keyword from examples.
19678
19679 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19680
19681         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19682
19683 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19684
19685         [BZ #6981]
19686         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19687         depending on [__GCC_IEC_559 > 0].
19688         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19689         depending on [__GCC_IEC_559_COMPLEX > 0].
19690
19691 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19692
19693         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19694         to iso-639.def.
19695
19696 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19697
19698         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19699
19700 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19701
19702         [BZ #16112]
19703         * malloc/malloc (malloc_info): Do not handle first bin as
19704         special case.
19705
19706 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19707
19708         * locale/iso-639.def: Add Central Nahuatl (nhn).
19709
19710 2013-11-01  Bruno Haible  <bruno@clisp.org>
19711
19712         [BZ #7003]
19713         * manual/math.texi (BSD Random): Specify range upper bound as
19714         in POSIX.
19715
19716 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19717
19718         * locale/iso-639.def: Add Meadow Mari (mhr).
19719
19720 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19721
19722         [BZ #14752], [BZ #15763]
19723         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19724         Validate name.
19725         * rt/tst_shm.c: Add test for escaping directory.
19726
19727 2013-10-31  Andreas Schwab  <schwab@suse.de>
19728
19729         [BZ #15917]
19730         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19731         followed by 'x' as part of digit sequence.
19732         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19733
19734 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19735
19736         [BZ #16037]
19737         * configure.ac: allow GNU Make 4.0 and greater.
19738         * configure: Regenerated.
19739
19740 2013-10-30  Will Newton  <will.newton@linaro.org>
19741
19742         [BZ #16038]
19743         * malloc/hooks.c (memalign_check): Limit alignment to the
19744         maximum representable power of two.
19745         * malloc/malloc.c (__libc_memalign): Likewise.
19746         * malloc/tst-memalign.c (do_test): Add test for very
19747         large alignment values.
19748         * malloc/tst-posix_memalign.c (do_test): Likewise.
19749
19750 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19751
19752         [BZ #11087]
19753         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19754         (munmap_chunk): Likewise.
19755         (mremap_chunk): Likewise.
19756
19757 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19758
19759         [BZ #15799]
19760         * stdlib/div.c (div): Remove obsolete code.
19761         * stdlib/ldiv.c (ldiv): Likewise.
19762         * stdlib/lldiv.c (lldiv): Likewise.
19763
19764 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19765
19766         [BZ #16071]
19767         * nss/nss_files/files-XXX.c (get_contents_ret): New
19768         enumerator.
19769         (get_contents): New function.
19770         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19771
19772 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19773
19774         * configure.in: Moved to ...
19775         * configure.ac: ... here. Change reference to configure.in
19776         to configure.ac.
19777         * sysdeps/arm/preconfigure.ac: ... here.
19778         configure.in to configure.ac.
19779         * sysdeps/gnu/configure.in: Moved to ...
19780         * sysdeps/gnu/configure.ac: ... here.
19781         * sysdeps/i386/configure.in: Moved to ...
19782         * sysdeps/i386/configure.ac: ... here.
19783         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19784         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19785         * sysdeps/mach/configure.in: Moved to ...
19786         * sysdeps/mach/configure.ac: ... here.
19787         * sysdeps/mach/hurd/configure.in: Moved to ...
19788         * sysdeps/mach/hurd/configure.ac: ... here.
19789         * sysdeps/powerpc/configure.in: Moved to ...
19790         * sysdeps/powerpc/configure.ac: ... here.
19791         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19792         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19793         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19794         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19795         * sysdeps/s390/s390-32/configure.in: Moved to ...
19796         * sysdeps/s390/s390-32/configure.ac: ... here.
19797         * sysdeps/s390/s390-64/configure.in: Moved to ...
19798         * sysdeps/s390/s390-64/configure.ac: ... here.
19799         * sysdeps/sh/configure.in: Moved to ...
19800         * sysdeps/sh/configure.ac: ... here.
19801         * sysdeps/sparc/configure.in: Moved to ...
19802         * sysdeps/sparc/configure.ac: ... here.
19803         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19804         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19805         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19806         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19807         * sysdeps/x86_64/configure.in: Moved to ...
19808         * sysdeps/x86_64/configure.ac: ... here.
19809         * sysdeps/x86_64/preconfigure.in: Moved to ...
19810         * sysdeps/x86_64/preconfigure.ac: ... here.
19811         * aclocal.m4: Change reference to configure.in to configure.ac.
19812         * config.h.in: Likewise.
19813         * manual/install.texi: Likewise.
19814         * manual/maint.texi: Likewise.
19815         * Makefile: Likewise.
19816         * malloc/Makefile: Likewise.
19817         * nscd/Makefile: Likewise.
19818         * Makeconfig: Change reference to configure.in and
19819         preconfigure.in to configure.ac and preconfigure.ac
19820         respectively.
19821         * INSTALL: Regenerated.
19822         * configure: Likewise.
19823         * sysdeps/gnu/configure: Likewise.
19824         * sysdeps/i386/configure: Likewise.
19825         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19826         * sysdeps/mach/configure: Likewise.
19827         * sysdeps/mach/hurd/configure: Likewise.
19828         * sysdeps/powerpc/configure: Likewise.
19829         * sysdeps/powerpc/powerpc32/configure: Likewise.
19830         * sysdeps/powerpc/powerpc64/configure: Likewise.
19831         * sysdeps/s390/s390-32/configure: Likewise.
19832         * sysdeps/s390/s390-64/configure: Likewise.
19833         * sysdeps/sh/configure: Likewise.
19834         * sysdeps/sparc/configure: Likewise.
19835         * sysdeps/unix/sysv/linux/configure: Likewise.
19836         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19837         * sysdeps/x86_64/configure: Likewise.
19838         * sysdeps/x86_64/preconfigure: Likewise.
19839
19840 2013-10-29  Andreas Schwab  <schwab@suse.de>
19841
19842         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19843
19844 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19845
19846         * benchtests/pow-inputs: Add new inputs.
19847
19848         * benchtests/exp-inputs: Add new inputs.
19849
19850         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19851         conditional check for return value.
19852         (__cos32): Likewise.
19853
19854 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19855
19856         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19857         to provide a boost for large inputs with word alignment.
19858         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19859         implementation based on optimized PPC64 strcpy.
19860         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19861         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19862         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19863         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19864
19865 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19866
19867         [BZ #2801]
19868         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19869
19870 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19871
19872         [BZ #14876]
19873         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19874         * time/tst-strptime.c (day_tests): Add testcase.
19875
19876 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19877
19878         [BZ #14029]
19879         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19880
19881 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19882
19883         [BZ #16074]
19884         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19885         MAP_FAILED on error.
19886
19887 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19888
19889         [BZ #16072]
19890         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19891         heap for large requests.
19892
19893 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19894
19895         [BZ #9954]
19896         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19897         result if the result has no associated interface.
19898         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19899         interface for all 127.X.Y.Z addresses.
19900
19901 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19902
19903         * locale/iso-639.def: Add Ligurian (lij)
19904
19905 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19906
19907         [BZ #15825]
19908         * sunrpc/rpc_main.c: Document rpcgen -5.
19909
19910 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19911
19912         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19913
19914 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19915
19916         [BZ #10278]
19917         * posix/glob.c: Match only directories when trailing slash is present.
19918         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19919         (main): Add testcase.
19920
19921 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19922
19923         [BZ #15670]
19924         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19925
19926 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19927
19928         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19929         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19930         AUTH_DES and cindex for FIPS 140-2.
19931         (DES Encryption): Add cindex FIPS 46-3.
19932
19933         * locale/locarchive.h (struct locarhandle): Add fname.
19934         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19935         if an optional argument was specified to --list-archive,
19936         otherwise NULL.
19937         * locale/programs/locarchive.c (show_archive_content): Take new
19938         argument fname and pass it via ah.fname to open_archive.
19939         * locale/programs/localedef.h: Update decl.
19940         (open_archive): If AH->fname is non-null, open that file
19941         rather than the default file name, and don't ignore ENOENT.
19942         (create_archive): Set AH.fname to NULL.
19943         (delete_locales_from_archive): Likewise.
19944         (add_locales_to_archive): Likewise.
19945         * locale/programs/locfile.c (write_all_categories): Likewise.
19946
19947 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19948             Aldy Hernandez  <aldyh@redhat.com>
19949
19950         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19951         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19952         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19953         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19954         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19955         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19956         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19957         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19958         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19959         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19960         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19961         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19962         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19963         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19964         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19965         Likewise.
19966         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19967         Likewise.
19968         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19969         Likewise.
19970         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19971         Likewise.
19972         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19973         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19974         Likewise.
19975         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19976         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19977         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19978         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19979         Likewise.
19980         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19981         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19982         * sysdeps/powerpc/preconfigure: Likewise.
19983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19984         Likewise.
19985         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19986         Replace contents of file by #include of <fenv_libc.h>.
19987         * sysdeps/powerpc/soft-fp/sfp-machine.h
19988         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19989         and <sys/prctl.h>.
19990         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19991         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19994         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19995         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19997         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19998         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19999         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20000         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20001         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20003         Allow copysignl PLT reference to be missing.
20004
20005 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20006             Joseph Myers  <joseph@codesourcery.com
20007
20008         [BZ #15948]
20009         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20010         single character.
20011         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20012
20013 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20014
20015         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20016         * elf/tst-tls1.c: Likewise.
20017         * elf/tst-tls10.h: Likewise.
20018         * elf/tst-tls14.c: Likewise.
20019         * elf/tst-tls2.c: Likewise.
20020         * elf/tst-tls3.c: Likewise.
20021         * elf/tst-tls4.c: Likewise.
20022         * elf/tst-tls5.c: Likewise.
20023         * elf/tst-tls6.c: Likewise.
20024         * elf/tst-tls7.c: Likewise.
20025         * elf/tst-tls8.c: Likewise.
20026         * elf/tst-tls9.c: Likewise.
20027         * elf/tst-tlsmod1.c: Likewise.
20028         * elf/tst-tlsmod13.c: Likewise.
20029         * elf/tst-tlsmod13a.c: Likewise.
20030         * elf/tst-tlsmod14a.c: Likewise.
20031         * elf/tst-tlsmod16a.c: Likewise.
20032         * elf/tst-tlsmod16b.c: Likewise.
20033         * elf/tst-tlsmod2.c: Likewise.
20034         * elf/tst-tlsmod3.c: Likewise.
20035         * elf/tst-tlsmod4.c: Likewise.
20036         * elf/tst-tlsmod5.c: Likewise.
20037         * elf/tst-tlsmod6.c: Likewise.
20038
20039 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20040
20041         [BZ #12486]
20042         * malloc/malloc.c: remove checks for statistics.
20043
20044 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20045
20046         [BZ #15277]
20047         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20048         * inet/tst-network.c: Add testcase.
20049
20050 2013-10-17  Andreas Schwab  <schwab@suse.de>
20051
20052         [BZ #15218]
20053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20054         to determine canonical name.
20055
20056 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20057
20058         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20059         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20060         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20061         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20063         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20064         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20065         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20066         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20067         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20068         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20069         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20070         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20071         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20072         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20073         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20074         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20075         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20076         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20077         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20078         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20079         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20081         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20082         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20083         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20084         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20085         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20086         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20087         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20088         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20089         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20090         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20091         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20092         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20093         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20094         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20095         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20096         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20097         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20098         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20099         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20100         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20101         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20102         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20103         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20104         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20105         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20106         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20107         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20108         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20109         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20110         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20111         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20112         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20113         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20114         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20115         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20116
20117 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20118
20119         [BZ #16041]
20120         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20121         make result into a quiet NaN.
20122
20123 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20124
20125         * soft-fp/adddf3.c: Fix horizontal whitespace.
20126         * soft-fp/addsf3.c: Likewise.
20127         * soft-fp/addtf3.c: Likewise.
20128         * soft-fp/divdf3.c: Likewise.
20129         * soft-fp/divsf3.c: Likewise.
20130         * soft-fp/divtf3.c: Likewise.
20131         * soft-fp/double.h: Likewise.
20132         * soft-fp/eqdf2.c: Likewise.
20133         * soft-fp/eqsf2.c: Likewise.
20134         * soft-fp/eqtf2.c: Likewise.
20135         * soft-fp/extenddftf2.c: Likewise.
20136         * soft-fp/extended.h: Likewise.
20137         * soft-fp/extendsfdf2.c: Likewise.
20138         * soft-fp/extendsftf2.c: Likewise.
20139         * soft-fp/extendxftf2.c: Likewise.
20140         * soft-fp/fixdfdi.c: Likewise.
20141         * soft-fp/fixdfsi.c: Likewise.
20142         * soft-fp/fixdfti.c: Likewise.
20143         * soft-fp/fixsfdi.c: Likewise.
20144         * soft-fp/fixsfsi.c: Likewise.
20145         * soft-fp/fixsfti.c: Likewise.
20146         * soft-fp/fixtfdi.c: Likewise.
20147         * soft-fp/fixtfsi.c: Likewise.
20148         * soft-fp/fixtfti.c: Likewise.
20149         * soft-fp/fixunsdfdi.c: Likewise.
20150         * soft-fp/fixunsdfsi.c: Likewise.
20151         * soft-fp/fixunsdfti.c: Likewise.
20152         * soft-fp/fixunssfdi.c: Likewise.
20153         * soft-fp/fixunssfsi.c: Likewise.
20154         * soft-fp/fixunssfti.c: Likewise.
20155         * soft-fp/fixunstfdi.c: Likewise.
20156         * soft-fp/fixunstfsi.c: Likewise.
20157         * soft-fp/fixunstfti.c: Likewise.
20158         * soft-fp/floatdidf.c: Likewise.
20159         * soft-fp/floatdisf.c: Likewise.
20160         * soft-fp/floatditf.c: Likewise.
20161         * soft-fp/floatsidf.c: Likewise.
20162         * soft-fp/floatsisf.c: Likewise.
20163         * soft-fp/floatsitf.c: Likewise.
20164         * soft-fp/floattidf.c: Likewise.
20165         * soft-fp/floattisf.c: Likewise.
20166         * soft-fp/floattitf.c: Likewise.
20167         * soft-fp/floatundidf.c: Likewise.
20168         * soft-fp/floatundisf.c: Likewise.
20169         * soft-fp/floatunditf.c: Likewise.
20170         * soft-fp/floatunsidf.c: Likewise.
20171         * soft-fp/floatunsisf.c: Likewise.
20172         * soft-fp/floatunsitf.c: Likewise.
20173         * soft-fp/floatuntidf.c: Likewise.
20174         * soft-fp/floatuntisf.c: Likewise.
20175         * soft-fp/floatuntitf.c: Likewise.
20176         * soft-fp/fmadf4.c: Likewise.
20177         * soft-fp/fmasf4.c: Likewise.
20178         * soft-fp/fmatf4.c: Likewise.
20179         * soft-fp/gedf2.c: Likewise.
20180         * soft-fp/gesf2.c: Likewise.
20181         * soft-fp/getf2.c: Likewise.
20182         * soft-fp/ledf2.c: Likewise.
20183         * soft-fp/lesf2.c: Likewise.
20184         * soft-fp/letf2.c: Likewise.
20185         * soft-fp/muldf3.c: Likewise.
20186         * soft-fp/mulsf3.c: Likewise.
20187         * soft-fp/multf3.c: Likewise.
20188         * soft-fp/negdf2.c: Likewise.
20189         * soft-fp/negsf2.c: Likewise.
20190         * soft-fp/negtf2.c: Likewise.
20191         * soft-fp/op-1.h: Likewise.
20192         * soft-fp/op-2.h: Likewise.
20193         * soft-fp/op-4.h: Likewise.
20194         * soft-fp/op-8.h: Likewise.
20195         * soft-fp/op-common.h: Likewise.
20196         * soft-fp/quad.h: Likewise.
20197         * soft-fp/single.h: Likewise.
20198         * soft-fp/soft-fp.h: Likewise.
20199         * soft-fp/sqrtdf2.c: Likewise.
20200         * soft-fp/sqrtsf2.c: Likewise.
20201         * soft-fp/sqrttf2.c: Likewise.
20202         * soft-fp/subdf3.c: Likewise.
20203         * soft-fp/subsf3.c: Likewise.
20204         * soft-fp/subtf3.c: Likewise.
20205         * soft-fp/truncdfsf2.c: Likewise.
20206         * soft-fp/trunctfdf2.c: Likewise.
20207         * soft-fp/trunctfsf2.c: Likewise.
20208         * soft-fp/trunctfxf2.c: Likewise.
20209         * soft-fp/unorddf2.c: Likewise.
20210         * soft-fp/unordsf2.c: Likewise.
20211         * soft-fp/unordtf2.c: Likewise.
20212
20213 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20214
20215         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20216         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20217
20218 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20219
20220         * elf/dl-libc.c: Clear initfini list after freeing.
20221
20222 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20223
20224         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20225         * soft-fp/addsf3.c: Likewise.
20226         * soft-fp/addtf3.c: Likewise.
20227         * soft-fp/divdf3.c: Likewise.
20228         * soft-fp/divsf3.c: Likewise.
20229         * soft-fp/divtf3.c: Likewise.
20230         * soft-fp/double.h: Likewise.
20231         * soft-fp/eqdf2.c: Likewise.
20232         * soft-fp/eqsf2.c: Likewise.
20233         * soft-fp/eqtf2.c: Likewise.
20234         * soft-fp/extenddftf2.c: Likewise.
20235         * soft-fp/extended.h: Likewise.
20236         * soft-fp/extendsfdf2.c: Likewise.
20237         * soft-fp/extendsftf2.c: Likewise.
20238         * soft-fp/extendxftf2.c: Likewise.
20239         * soft-fp/fixdfdi.c: Likewise.
20240         * soft-fp/fixdfsi.c: Likewise.
20241         * soft-fp/fixdfti.c: Likewise.
20242         * soft-fp/fixsfdi.c: Likewise.
20243         * soft-fp/fixsfsi.c: Likewise.
20244         * soft-fp/fixsfti.c: Likewise.
20245         * soft-fp/fixtfdi.c: Likewise.
20246         * soft-fp/fixtfsi.c: Likewise.
20247         * soft-fp/fixtfti.c: Likewise.
20248         * soft-fp/fixunsdfdi.c: Likewise.
20249         * soft-fp/fixunsdfsi.c: Likewise.
20250         * soft-fp/fixunsdfti.c: Likewise.
20251         * soft-fp/fixunssfdi.c: Likewise.
20252         * soft-fp/fixunssfsi.c: Likewise.
20253         * soft-fp/fixunssfti.c: Likewise.
20254         * soft-fp/fixunstfdi.c: Likewise.
20255         * soft-fp/fixunstfsi.c: Likewise.
20256         * soft-fp/fixunstfti.c: Likewise.
20257         * soft-fp/floatdidf.c: Likewise.
20258         * soft-fp/floatdisf.c: Likewise.
20259         * soft-fp/floatditf.c: Likewise.
20260         * soft-fp/floatsidf.c: Likewise.
20261         * soft-fp/floatsisf.c: Likewise.
20262         * soft-fp/floatsitf.c: Likewise.
20263         * soft-fp/floattidf.c: Likewise.
20264         * soft-fp/floattisf.c: Likewise.
20265         * soft-fp/floattitf.c: Likewise.
20266         * soft-fp/floatundidf.c: Likewise.
20267         * soft-fp/floatundisf.c: Likewise.
20268         * soft-fp/floatunsidf.c: Likewise.
20269         * soft-fp/floatunsisf.c: Likewise.
20270         * soft-fp/floatuntidf.c: Likewise.
20271         * soft-fp/floatuntisf.c: Likewise.
20272         * soft-fp/floatuntitf.c: Likewise.
20273         * soft-fp/fmadf4.c: Likewise.
20274         * soft-fp/fmasf4.c: Likewise.
20275         * soft-fp/fmatf4.c: Likewise.
20276         * soft-fp/gedf2.c: Likewise.
20277         * soft-fp/gesf2.c: Likewise.
20278         * soft-fp/getf2.c: Likewise.
20279         * soft-fp/ledf2.c: Likewise.
20280         * soft-fp/lesf2.c: Likewise.
20281         * soft-fp/letf2.c: Likewise.
20282         * soft-fp/muldf3.c: Likewise.
20283         * soft-fp/mulsf3.c: Likewise.
20284         * soft-fp/multf3.c: Likewise.
20285         * soft-fp/negdf2.c: Likewise.
20286         * soft-fp/negsf2.c: Likewise.
20287         * soft-fp/negtf2.c: Likewise.
20288         * soft-fp/op-1.h: Likewise.
20289         * soft-fp/op-2.h: Likewise.
20290         * soft-fp/op-4.h: Likewise.
20291         * soft-fp/op-8.h: Likewise.
20292         * soft-fp/op-common.h: Likewise.
20293         * soft-fp/quad.h: Likewise.
20294         * soft-fp/single.h: Likewise.
20295         * soft-fp/soft-fp.h: Likewise.
20296         * soft-fp/sqrtdf2.c: Likewise.
20297         * soft-fp/sqrtsf2.c: Likewise.
20298         * soft-fp/sqrttf2.c: Likewise.
20299         * soft-fp/subdf3.c: Likewise.
20300         * soft-fp/subsf3.c: Likewise.
20301         * soft-fp/subtf3.c: Likewise.
20302         * soft-fp/truncdfsf2.c: Likewise.
20303         * soft-fp/trunctfdf2.c: Likewise.
20304         * soft-fp/trunctfsf2.c: Likewise.
20305         * soft-fp/trunctfxf2.c: Likewise.
20306         * soft-fp/unorddf2.c: Likewise.
20307         * soft-fp/unordsf2.c: Likewise.
20308         * soft-fp/unordtf2.c: Likewise.
20309
20310 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20311
20312         [BZ #15672]
20313         * misc/error.c (error_tail): Fix possible buffer overflow.
20314
20315 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20316
20317         [BZ #13028]
20318         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20319         address.
20320
20321 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20322
20323         [BZ #832]
20324         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20325         testing pipefail option.
20326
20327 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20328
20329         * soft-fp/double.h: Indent preprocessor directives inside #if.
20330         * soft-fp/extended.h: Likewise.
20331         * soft-fp/op-2.h: Likewise.
20332         * soft-fp/op-4.h: Likewise.
20333         * soft-fp/op-common.h: Likewise.
20334         * soft-fp/quad.h: Likewise.
20335         * soft-fp/single.h: Likewise.
20336         * soft-fp/soft-fp.h: Likewise.
20337
20338 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20339
20340         * iconv/iconv_prog.c: Fix typos.
20341         * stdio-common/psiginfo-data.h: Likewise.
20342
20343 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20344
20345         [BZ #15764]
20346         * locale/setlocale.c: Fix typo.
20347
20348 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20349
20350         [BZ #16036]
20351         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20352         signaling NaN arguments.
20353         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20354         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20355
20356         [BZ #14910]
20357         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20358         unordered operands.
20359         * soft-fp/gesf2.c (__gesf2): Likewise.
20360         * soft-fp/getf2.c (__getf2): Likewise.
20361         * soft-fp/ledf2.c (__ledf2): Likewise.
20362         * soft-fp/lesf2.c (__lesf2): Likewise.
20363         * soft-fp/letf2.c (__letf2): Likewise.
20364
20365         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20366         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20367         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20368         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20369         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20370         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20371         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20372         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20373         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20374         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20375         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20376         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20377         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20378         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20379         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20380         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20381         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20382         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20383         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20384         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20385         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20386         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20387         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20388         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20389         * soft-fp/floattidf.c (__floattidf): Likewise.
20390         * soft-fp/floattisf.c (__floattisf): Likewise.
20391         * soft-fp/floattitf.c (__floattitf): Likewise.
20392         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20393         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20394         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20395         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20396         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20397         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20398         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20399         * soft-fp/gesf2.c (__gesf2): Likewise.
20400         * soft-fp/getf2.c (__getf2): Likewise.
20401         * soft-fp/ledf2.c (__ledf2): Likewise.
20402         * soft-fp/lesf2.c (__lesf2): Likewise.
20403         * soft-fp/letf2.c (__letf2): Likewise.
20404
20405         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20406         Undefine and redefine.
20407         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20408         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20409         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20410         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20411         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20412         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20413         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20414         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20415         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20416         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20417         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20418         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20419         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20420         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20421         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20422
20423         [BZ #16032]
20424         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20425         without decrementing exponent if mantissa >= that for the
20426         denominator, not >.
20427         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20428         denominator, not >.  Decrement exponent in < case instead of
20429         incrementing in >= case.
20430         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20431         without decrementing exponent if mantissa >= that for the
20432         denominator, not >.
20433
20434         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20435         computing saturated result for unsigned overflow.
20436
20437 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20438             Jeff Law  <law@redhat.com>
20439
20440         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20441         (atan2Mp): Add systemtap probe marker.
20442         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20443         (__ieee754_log): Add systemtap probe marker.
20444         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20445         (atanMp): Add systemtap probe marker.
20446         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20447         (tanMp): Add systemtap probe marker.
20448         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20449         (__slowexp): Add systemtap probe marker.
20450         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20451         (__slowpow): Add systemtap probe marker.
20452         * manual/probes.texi: Document probes.
20453
20454 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20455
20456         [BZ #15362]
20457         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20458         written.
20459         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20460         written.
20461         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20462         written to buffer but not flushed.
20463         * libio/iofwrite_u.c:  Likewise.
20464         * libio/iopadn.c:  Return bytes returned even if EOF was
20465         encountered.
20466         * libio/iowpadn.c:  Likewise.
20467         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20468         if _IO_padn does not write the whole buffer.
20469         [!COMPILE_WPRINTF] (PAD): Likewise.
20470
20471 2013-10-10  David S. Miller  <davem@davemloft.net>
20472
20473         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20474         directory block.
20475
20476 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20477
20478         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20479         instead of FSF address.
20480         * soft-fp/fixdfti.c: Likewise.
20481         * soft-fp/fixsfti.c: Likewise.
20482         * soft-fp/fixtfti.c: Likewise.
20483         * soft-fp/fixunsdfti.c: Likewise.
20484         * soft-fp/fixunssfti.c: Likewise.
20485         * soft-fp/fixunstfti.c: Likewise.
20486         * soft-fp/floattidf.c: Likewise.
20487         * soft-fp/floattisf.c: Likewise.
20488         * soft-fp/floattitf.c: Likewise.
20489         * soft-fp/floatuntidf.c: Likewise.
20490         * soft-fp/floatuntisf.c: Likewise.
20491         * soft-fp/floatuntitf.c: Likewise.
20492         * soft-fp/trunctfxf2.c: Likewise.
20493
20494         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20495         * soft-fp/fixdfti.c: Likewise.
20496         * soft-fp/fixsfti.c: Likewise.
20497         * soft-fp/fixtfti.c: Likewise.
20498         * soft-fp/fixunsdfti.c: Likewise.
20499         * soft-fp/fixunssfti.c: Likewise.
20500         * soft-fp/fixunstfti.c: Likewise.
20501         * soft-fp/floattidf.c: Likewise.
20502         * soft-fp/floattisf.c: Likewise.
20503         * soft-fp/floattitf.c: Likewise.
20504         * soft-fp/floatuntidf.c: Likewise.
20505         * soft-fp/floatuntisf.c: Likewise.
20506         * soft-fp/floatuntitf.c: Likewise.
20507         * soft-fp/trunctfxf2.c: Likewise.
20508
20509 2013-10-10  David S. Miller  <davem@davemloft.net>
20510
20511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20512
20513 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20514
20515         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20516         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20517         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20518         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20519         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20520         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20521         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20522
20523         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20524         for NaNs before doing comparisons on argument.
20525         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20526         Likewise.
20527
20528 2013-10-10  Will Newton  <will.newton@linaro.org>
20529
20530         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20531         passed to _int_memalign does not overflow.
20532
20533 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20534
20535         * scripts/bench.pl: Add include-sources directive.
20536         * benchtests/README: Update documentation.
20537
20538 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20539
20540         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20541         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20542         instead of FP_INIT_ROUNDMODE.
20543         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20544         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20545
20546         [BZ #16034]
20547         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20548         copy class of input value.
20549         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20550         not handle exceptions.
20551         * soft-fp/negsf2.c (__negsf2): Likewise.
20552         * soft-fp/negtf2.c (__negtf2): Likewise.
20553         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20554
20555 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20556
20557         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20558         semicolon.  From Linux kernel.
20559
20560 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20561
20562         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20563
20564 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20565
20566         [BZ #156]
20567         * manual/socket.texi: Added statement about buffer
20568         for gethostbyname2_r.
20569
20570 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20571
20572         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20573         Use .p2align directive instead, throughout.
20574         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20575         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20576         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20577         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20578         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20579         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20580         * sysdeps/x86_64/strchr.S: Likewise.
20581         * sysdeps/x86_64/strrchr.S: Likewise.
20582
20583 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20584
20585         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20586
20587         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20588
20589         * sysdeps/generic/math_private.h (__mpsin1): Remove
20590         declaration.
20591         (__mpcos1): Likewise.
20592         (__mpsin): New argument __range_reduce.
20593         (__mpcos): Likewise.
20594         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20595         (slow): Use __mpsin and __mpcos.
20596         (slow1): Likewise.
20597         (slow2): Likewise.
20598         (sloww): Likewise.
20599         (sloww1): Likewise.
20600         (sloww2): Likewise.
20601         (bsloww): Likewise.
20602         (bsloww1): Likewise.
20603         (bsloww2): Likewise.
20604         (cslow2): Likewise.
20605         (csloww): Likewise.
20606         (csloww1): Likewise.
20607         (csloww2): Likewise.
20608         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20609         range_reduce.  Merge in __mpsin1.
20610         (__mpcos): Likewise.
20611         (__mpsin1): Remove.
20612         (__mpcos1): Likewise.
20613
20614 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20615
20616         * locale/loadlocale.c (_nl_intern_locale_data): Use
20617         LOCFILE_ALIGNED_P.
20618         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20619         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20620         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20621         obstack data is appropriately aligned.
20622         (obstack_int32_grow_fast): Likewise.
20623         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20624         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20625         (add_locale_uint32_array): Likewise.
20626
20627 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20628
20629         * benchtests/Makefile: Remove ARGLIST and RET variables.
20630         ($(objpfx)bench-%.c): Pass only function name to the script.
20631         * benchtests/README: Update documentation.
20632         * benchtests/acos-inputs: Add new directives.
20633         * benchtests/acosh-inputs: Likewise.
20634         * benchtests/asin-inputs: Likewise.
20635         * benchtests/asinh-inputs: Likewise.
20636         * benchtests/atan-inputs: Likewise.
20637         * benchtests/atanh-inputs: Likewise.
20638         * benchtests/cos-inputs: Likewise.
20639         * benchtests/cosh-inputs: Likewise.
20640         * benchtests/exp-inputs: Likewise.
20641         * benchtests/log-inputs: Likewise.
20642         * benchtests/pow-inputs: Likewise.
20643         * benchtests/rint-inputs: Likewise.
20644         * benchtests/sin-inputs: Likewise.
20645         * benchtests/sinh-inputs: Likewise.
20646         * benchtests/tan-inputs: Likewise.
20647         * benchtests/tanh-inputs: Likewise.
20648         * scripts/bench.pl: Add support for new directives.
20649
20650 2013-10-07  Alan Modra  <amodra@gmail.com>
20651
20652         * README: Fix careless merge.
20653
20654 2013-10-05  Alan Modra  <amodra@gmail.com>
20655
20656         * NEWS: Mention powerpc64le support and bugs fixed.
20657         * README: Both big-endian and little-endian powerpc64 supported.
20658
20659 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20660
20661         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20662         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20663         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20664         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20665
20666 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20667
20668         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20669         match prototype.
20670
20671 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20672
20673         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20674         Move -mhard-float appending from
20675         ports/sysdeps/powerpc/powerpc32/Makefile.
20676         [$(with-fp) = yes] (ASFLAGS): Likewise.
20677         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20678         * sysdeps/powerpc/nofpu: Move directory from
20679         ports/sysdeps/powerpc/nofpu.
20680         * sysdeps/powerpc/soft-fp: Move directory from
20681         ports/sysdeps/powerpc/soft-fp.
20682         * sysdeps/powerpc/powerpc32/405: Move directory from
20683         ports/sysdeps/powerpc/powerpc32/405.
20684         * sysdeps/powerpc/powerpc32/440: Move directory from
20685         ports/sysdeps/powerpc/powerpc32/440.
20686         * sysdeps/powerpc/powerpc32/464: Move directory from
20687         ports/sysdeps/powerpc/powerpc32/464.
20688         * sysdeps/powerpc/powerpc32/476: Move directory from
20689         ports/sysdeps/powerpc/powerpc32/476.
20690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20691         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20693         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20695         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20697         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20699         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20700         * README: Update for powerpc-*-linux-gnu software floating point
20701         support in libc.
20702
20703         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20704         case to powerpc/powerpc32*.
20705         * sysdeps/unix/sysv/linux/configure: Regenerated.
20706
20707         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20708         (_FPU_MASK_OM): Define as 0x04.
20709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20711         0x00c10080.
20712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20713         0x0000003c.
20714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20715
20716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20717         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20718         getcontext_e500.
20719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20720         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20721         setcontext_e500.
20722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20723         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20724         and setcontext_e500.
20725
20726 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20727
20728         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20729
20730 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20731
20732         * manual/threads.texi (Default Thread Attributes): Fix typo.
20733
20734 2013-10-04  Will Newton  <will.newton@linaro.org>
20735
20736         * malloc/Makefile: Add tst-memalign.
20737         * malloc/tst-memalign.c: New file.
20738
20739         * malloc/tst-posix_memalign.c: Add comments.
20740         (do_test): Add comments and call free on all potentially
20741         allocated pointers. Add space after cast.
20742
20743         * malloc/tst-pvalloc.c: Add comments.
20744         (do_test): Add comments and call free on all potentially
20745         allocated pointers. Remove duplicate check for NULL pointer.
20746         Add space after cast.
20747
20748         * malloc/tst-valloc.c: Add comments.
20749         (do_test): Add comments and call free on all potentially
20750         allocated pointers. Remove duplicate check for NULL pointer.
20751         Add space after cast.
20752
20753 2013-10-04  Alan Modra  <amodra@gmail.com>
20754
20755         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20756         Use stdint types in rather than __attribute__((mode())).
20757         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20758
20759 2013-10-04  Alan Modra  <amodra@gmail.com>
20760
20761         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20762         Correct handling of unaligned relocs for little-endian.
20763         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20764
20765 2013-10-04  Alan Modra  <amodra@gmail.com>
20766
20767         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20768         * configure: Regenerate.
20769         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20770         * shlib-versions: Likewise.
20771
20772 2013-10-04  Alan Modra  <amodra@gmail.com>
20773
20774         * string/tester.c (test_memrchr): Increment reported test cycle.
20775
20776 2013-10-04  Alan Modra  <amodra@gmail.com>
20777
20778         * string/test-memcpy.c (do_one_test): When reporting errors, print
20779         string address and don't overrun end of string.
20780
20781 2013-10-04  Alan Modra  <amodra@gmail.com>
20782
20783         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20784         insrdi.  Make better use of reg selection to speed exit slightly.
20785         Schedule entry path a little better.  Remove useless "are we done"
20786         checks on entry to main loop.  Handle wrapping around zero address.
20787         Correct main loop count.  Handle single left-over word from main
20788         loop inline rather than by using loop_small.  Remove extra word
20789         case in loop_small caused by wrong loop count.  Add little-endian
20790         support.
20791         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20792         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20793         cache hint.
20794         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20795         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20796         support.  Avoid rlwimi.
20797         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20798
20799 2013-10-04  Alan Modra  <amodra@gmail.com>
20800
20801         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20802         insrdi.  Formatting.
20803         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20804         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20805         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20806         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20807         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20808         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20809
20810 2013-10-04  Alan Modra  <amodra@gmail.com>
20811
20812         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20813         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20814         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20815         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20816         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20817         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20818         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20819         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20820         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20821         use of regs.  Use power7 mtocrf.  Tidy function tails.
20822
20823 2013-10-04  Alan Modra  <amodra@gmail.com>
20824
20825         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20826         Formatting.  Consistently use rXXX register defines or rN defines.
20827         Use early exit labels that avoid restoring unused non-volatile regs.
20828         Make cr field use more consistent with rWORDn compares.  Rename
20829         regs used as shift registers for unaligned loop, using rN defines
20830         for short lifetime/multiple use regs.
20831         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20832         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20833         addi 1,1,64 to pop stack frame.  Simplify return value code.
20834         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20835
20836 2013-10-04  Alan Modra  <amodra@gmail.com>
20837
20838         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20839         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20840         rather than rlwimi.
20841         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20842         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20843         little-endian support.  Correct typos.
20844         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20845         rather than rlwimi.
20846         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20847         in loop and entry code to keep "and." results.
20848         (strchr): Add little-endian support.  Comment.  Move cntlzd
20849         earlier in tail.
20850         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20851
20852 2013-10-04  Alan Modra  <amodra@gmail.com>
20853
20854         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20855         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20856         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20857         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20858
20859 2013-10-04  Alan Modra  <amodra@gmail.com>
20860
20861         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20862         (rTMP): Define as r11.
20863         (strcmp): Add little-endian support.  Optimise tail.
20864         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20865         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20866         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20867         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20868         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20869         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20870         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20871
20872 2013-10-04  Alan Modra  <amodra@gmail.com>
20873
20874         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20875         little-endian support.  Remove unnecessary "are we done" tests.
20876         Handle "s" wrapping around zero and extremely large "size".
20877         Correct main loop count.  Handle single left-over word from main
20878         loop inline rather than by using small_loop.  Correct comments.
20879         Delete "zero" tail, use "end_max" instead.
20880         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20881
20882 2013-10-04  Alan Modra  <amodra@gmail.com>
20883
20884         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20885         support.  Don't branch over align.
20886         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20887         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20888         support.  Rearrange tmp reg use to suit.  Comment.
20889         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20890
20891 2013-10-04  Alan Modra  <amodra@gmail.com>
20892
20893         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20894
20895 2013-10-04  Alan Modra  <amodra@gmail.com>
20896
20897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20898         conditional form of branch and link when obtaining pc.
20899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20900
20901 2013-10-04  Alan Modra  <amodra@gmail.com>
20902
20903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20904         HIWORD/LOWORD.
20905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20907
20908 2013-10-04  Alan Modra  <amodra@gmail.com>
20909
20910         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20911         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20912         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20913         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20914         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20915         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20916         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20917         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20918         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20919         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20920
20921 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20922             Alistair Popple <alistair@ozlabs.au.ibm.com>
20923             Alan Modra <amodra@gmail.com>
20924
20925         [BZ #15723]
20926         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20927         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20928         _dl_hwcap access for little-endian.
20929         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20930         destroy vmx regs when saving unaligned.
20931         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20932         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20933         destroy vmx regs when saving unaligned.
20934
20935 2013-10-04  Alan Modra  <amodra@gmail.com>
20936
20937         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20938         Don't use a union to pack hi/low value.
20939
20940 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20941
20942         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20943         for little-endian.
20944         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20945         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20946         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20947         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20948         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20949
20950 2013-10-04  Alan Modra  <amodra@gmail.com>
20951
20952         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20953         constants to usual value for .cst8 section, and remove redundant
20954         high address load.
20955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20956         constant for 0x1p52.  Load little-endian words of double from
20957         correct stack offsets.
20958
20959 2013-10-04  Alan Modra  <amodra@gmail.com>
20960
20961         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20962         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20963         words of double from correct stack offsets.
20964         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20965         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20966         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20967         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20968         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20969         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20970         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20971         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20972         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20976         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20977         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20978         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20979         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20980         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20981
20982 2013-10-04  Alan Modra  <amodra@gmail.com>
20983
20984         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20985         64-bit int/double union.
20986         (_FPU_SETCW): Likewise.
20987         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20988         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20989
20990 2013-10-04  Alan Modra  <amodra@gmail.com>
20991
20992         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20993         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20994
20995 2013-10-04  Alan Modra  <amodra@gmail.com>
20996
20997         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20998         use vector int constants.
20999         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21000
21001 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21002
21003         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21004         array with long long.
21005         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21006         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21007         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21008         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21009         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21010         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21011         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21012         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21013         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21014         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21015         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21016         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21017         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21018
21019 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21020
21021         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21022         (__signbit): Likewise.  Correct for little-endian.
21023         (__signbitl): Call __signbit.
21024         (lrint): Correct for little-endian.
21025         (lrintf): Call lrint.
21026
21027 2013-10-04  Alan Modra  <amodra@gmail.com>
21028
21029         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21030         union 32-bit int array member with 64-bit int array.
21031         (t515, tm256): Double rather than long double.
21032         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21033
21034 2013-10-04  Alan Modra  <amodra@gmail.com>
21035
21036         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21037         Delete.
21038         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21039         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21040         version of math_ldbl.h.
21041
21042 2013-10-04  Alan Modra  <amodra@gmail.com>
21043
21044         [BZ #15734], [BZ #15735]
21045         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21046         all uses of ieee875 long double macros and unions.  Simplify test
21047         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21048         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21049         normalize after ldbl_extract_mantissa, and don't add hidden bit
21050         already handled.  Don't treat low word of ieee854 mantissa like
21051         low word of IBM long double and mask off bit when testing for
21052         zero.
21053         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21054         all uses of ieee875 long double macros and unions.  Simplify tests
21055         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21056         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21057         two1022, instead use their values.  Recognise that tests for large
21058         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21059         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21060         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21061         test for 0.0L and nan.  Correct negation.
21062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21063         ieee875 long double macros and unions.  Correct output for large
21064         magnitude x.  Correct absolute value calculation.
21065         (__erfcl): Likewise.
21066         * math/libm-test.inc: Add tests for errors discovered in IBM long
21067         double versions of fmodl, remainderl, erfl and erfcl.
21068
21069 2013-10-04  Alan Modra  <amodra@gmail.com>
21070
21071         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21072         all uses of ieee854 long double macros and unions.  Simplify tests
21073         for long doubles that are fully specified by the high double.
21074         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21075         Likewise.
21076         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21077         Remove dead code too.
21078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21079         (__ieee754_ynl): Likewise.
21080         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21081         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21082         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21083         Remove dead code too.
21084         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21085         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21086         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21087         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21088         Simplify.
21089         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21090         Simplify.
21091         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21092         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21093         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21094         Comment on variable precision.
21095         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21096         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21097         Likewise.
21098         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21099         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21100         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21101         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21102         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21103
21104 2013-10-04  Alan Modra  <amodra@gmail.com>
21105
21106         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21107         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21108         all uses of ieee854 long double macros and unions.
21109         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21110         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21112         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21113         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21114         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21115         Likewise.
21116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21117         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21118         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21119         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21120         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21121         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21122         Simplify sign and nan test too.
21123         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21124         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21125         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21126         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21127         Likewise.
21128         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21129         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21130         Likewise.
21131         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21132         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21133         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21134         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21135         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21136         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21137
21138 2013-10-04  Alan Modra  <amodra@gmail.com>
21139
21140         * stdio-common/printf_size.c (__printf_size): Don't use
21141         union ieee854_long_double in fpnum union.
21142         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21143         signbit macro to retrieve sign from long double.
21144         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21145         retrieve sign from long double.
21146         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21147         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21148         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21149         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21150         * math/test-misc.c (main): Don't use union ieee854_long_double.
21151
21152 2013-10-04  Alan Modra  <amodra@gmail.com>
21153
21154         [BZ #15680]
21155         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21156         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21157         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21158         calculation.  Remove unnecessary test for denormal exponent.
21159         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21160         Correct handling of denormals.  Avoid undefined shift behaviour.
21161         Correct normalisation of low mantissa when low double is denormal.
21162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21163         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21164         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21165         Correct normalisation of low mantissa.  Test for overflow of high
21166         mantissa and normalise.
21167         (ldbl_nearbyint): Use more readable constant for two52.
21168         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21169         (__mpn_construct_long_double): Fix test for overflow of high
21170         mantissa and correct normalisation.  Avoid undefined shift.
21171
21172 2013-10-04  Alan Modra  <amodra@gmail.com>
21173
21174         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21175         (union ibm_extended_long_double): Define as an array of ieee754_double.
21176         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21177         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21178         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21179         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21180         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21181         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21183         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21184         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21185         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21186         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21187
21188 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21189
21190         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21191         page size instead of calling getpagesize.
21192
21193         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21194         (LOCFILE_ALIGN_MASK): Likewise.
21195         (LOCFILE_ALIGN_UP): Likewise.
21196         (LOCFILE_ALIGNED_P): Likewise.
21197         * locale/programs/ld-collate.c (collate_output): Use the new
21198         macros instead of __alignof__ (int32_t).
21199         * locale/weight.h (findidx): Likewise.
21200
21201 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21202
21203         [BZ #431]
21204         * manual/string.texi: Fix strncat and wcsncat.
21205
21206 2013-10-03  Brooks Moses  <bmoses@google.com>
21207
21208         [BZ #15915]
21209         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21210         * Makerules: ...here, and adjust associated comments.
21211
21212 2013-10-02  Will Newton  <will.newton@linaro.org>
21213
21214         * malloc/Makefile: Add tst-pvalloc.
21215         * malloc/tst-pvalloc.c: New file.
21216
21217 2013-10-02  Will Newton  <will.newton@linaro.org>
21218
21219         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21220         improve test coverage.
21221
21222 2013-10-02  Will Newton  <will.newton@linaro.org>
21223
21224         * malloc/Makefile: Add tst-posix_memalign.
21225         * malloc/tst-posix_memalign.c: New file.
21226
21227 2013-10-01  Eric Blake  <eblake@redhat.com>
21228
21229         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21230         Use __THROWNL rather than __THROW on static functions.
21231
21232 2013-09-30  Petr Machata  <pmachata@redhat.com>
21233
21234         * elf/elf.h (R_AARCH64_ABS16): New macro.
21235         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21236         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21237         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21238         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21239         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21240         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21241         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21242         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21243         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21244         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21245         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21246         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21247         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21248         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21249         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21250         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21251         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21252         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21253         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21254         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21255         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21256         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21257         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21258         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21259         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21260         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21261         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21262         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21263         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21264         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21265         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21266         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21267         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21268         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21269         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21270         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21271         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21272         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21273         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21274         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21275         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21276         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21277         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21278         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21279         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21280         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21281         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21282         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21283         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21284         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21285         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21286         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21287         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21288         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21289         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21290         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21291         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21292         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21293         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21294         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21295         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21296         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21297         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21298         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21299         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21300         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21301         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21302         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21303         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21304         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21305         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21306         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21307         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21308         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21309         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21310         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21311         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21312         (R_AARCH64_TLSDESC_LDR): Likewise.
21313         (R_AARCH64_TLSDESC_ADD): Likewise.
21314         (R_AARCH64_TLSDESC_CALL): Likewise.
21315
21316 2013-09-30  Andreas Schwab  <schwab@suse.de>
21317
21318         [BZ #15048]
21319         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21320         the nss database lookup.
21321         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21323
21324 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21325
21326         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21327
21328 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21329
21330         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21331         ${Bash-specific parameter/pattern/string} parameter expansion.
21332         * sysdeps/unix/make-syscalls.sh: Likewise.
21333
21334 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21335
21336         * sysdeps/sh/stackguard-macros.h: New file.
21337
21338 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21339
21340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21342         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21343         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21344         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21345         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21346
21347 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21348
21349         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21350         Fix thread ID register.
21351
21352 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21353
21354         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21355         [POSIX || UNIX98]: Require rather than permitting all symbols from
21356         <time.h>.
21357         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21358         element of struct sched_param.
21359         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21360         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21361         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21362         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21363         constant.
21364
21365 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21366
21367         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21368         argument calculation.
21369
21370 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21371
21372         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21373         Expect macro.
21374         [POSIX] (pthread_attr_t): Do not require type.
21375         [POSIX] (pthread_cond_t): Likewise.
21376         [POSIX] (pthread_condattr_t): Likewise.
21377         [POSIX] (pthread_key_t): Likewise.
21378         [POSIX] (pthread_mutex_t): Likewise.
21379         [POSIX] (pthread_mutexattr_t): Likewise.
21380         [POSIX] (pthread_once_t): Likewise.
21381         [POSIX] (pthread_t): Likewise.
21382         [POSIX-based standards] (pthread_atfork): Expect function.
21383
21384 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21385             Richard Sandiford  <richard@codesourcery.com>
21386
21387         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21388         (swap_endianness_p): New extern variable.
21389         (set_big_endian): New inline function.
21390         (maybe_swap_uint32): Likewise.
21391         (maybe_swap_uint32_array): Likewise.
21392         (maybe_swap_uint32_obstack): Likewise.
21393         * locale/programs/locfile.c: Include <stdbool.h>.
21394         (swap_endianness_p): New variable.
21395         (add_locale_uint32): Call maybe_swap_uint32.
21396         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21397         (write_locale_data): Call maybe_swap_uint32_array.
21398         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21399         maybe_swap_uint32.
21400         (obstack_int32_grow_fast): Likewise.
21401         (output_weightwc): Call maybe_swap_uint32_obstack.
21402         (collate_output): Likewise.
21403         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21404         (OPT_LITTLE_ENDIAN): Likewise.
21405         (options): Add --little-endian and --big-endian options.
21406         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21407         * locale/programs/locarchive.c: Include "locfile.h".
21408         (GET): New macro.
21409         (SET): Likewise.
21410         (INC): Likewise.
21411         (create_archive): Use the new macros to access fields of
21412         structures directly mapped from or written to locale archives.
21413         (oldlocrecentcmp): Likewise.
21414         (enlarge_archive): Likewise.
21415         (insert_name): Likewise.
21416         (add_alias): Likewise.
21417         (add_locale): Likewise.
21418         (delete_locales_from_archive): Likewise.
21419         (show_archive_content): Likewise.
21420         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21421         locale data.
21422
21423 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21424
21425         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21426         http://www.gnu.org/doc/freemanuals.texi.
21427         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21428
21429 2013-09-24  Will Newton  <will.newton@linaro.org>
21430
21431         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21432         macro.
21433
21434 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21435
21436         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21437         unsigned char.
21438
21439 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21440
21441         * manual/threads.texi (POSIX Threads): Fix a typo.
21442
21443 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21444
21445         [BZ #14547]
21446         * string/tst-strcoll-overflow.c: New test case.
21447         * string/Makefile (xtests): Add tst-strcoll-overflow.
21448         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21449         cache if string sizes may cause integer overflow.
21450
21451         [BZ #14547]
21452         * string/strcoll_l.c (coll_seq): New members rule, idx,
21453         save_idx and back_us.
21454         (get_next_seq_nocache): New function.
21455         (do_compare_nocache): New function.
21456         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21457         when malloc fails.
21458
21459 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21460
21461         [BZ #15754]
21462         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21463         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21464         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21465
21466         [BZ #15754]
21467         * elf/Makefile (tests): Add tst-ptrguard1.
21468         (tests-static): Add tst-ptrguard1-static.
21469         (tst-ptrguard1-ARGS): Define.
21470         (tst-ptrguard1-static-ARGS): Define.
21471         * elf/tst-ptrguard1.c: New file.
21472         * elf/tst-ptrguard1-static.c: New file.
21473         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21474         * sysdeps/i386/stackguard-macros.h: Likewise.
21475         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21476         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21477         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21478         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21479         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21480         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21481
21482 2013-09-23  Hector Marco  <hecmargi@upv.es>
21483             Ismael Ripoll  <iripoll@disca.upv.es>
21484             Carlos O'Donell  <carlos@redhat.com>
21485
21486         [BZ #15754]
21487         * sysdeps/generic/stackguard-macros.h: Define
21488         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21489         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21490         Define __pointer_chk_guard_local.
21491         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21492         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21493
21494 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21495
21496         [BZ #15859]
21497         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21498
21499 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21500
21501         * include/string.h (__ffs): Declare as hidden.
21502         * string/ffs.c (__ffs): Define as hidden.
21503         * sysdeps/i386/ffs.c (__ffs): Likewise.
21504         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21505         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21506         * sysdeps/s390/ffs.c (__ffs): Likewise.
21507         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21508
21509 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21510
21511         * NEWS: Mention malloc probes.
21512
21513         * malloc/arena.c (new_heap): New memory_heap_new probe.
21514         (grow_heap): New memory_heap_more probe.
21515         (shrink_heap): New memory_heap_less probe.
21516         (heap_trim): New memory_heap_free probe.
21517         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21518         (systrim): New memory_sbrk_less probe.
21519         * manual/probes.texi: Document them.
21520
21521         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21522         * manual/probes.texi: Document it.
21523
21524         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21525         (__libc_realloc): Add memory_realloc_retry probe.
21526         (__libc_memalign): Add memory_memalign_retry probe.
21527         (__libc_valloc): Add memory_valloc_retry probe.
21528         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21529         (__libc_calloc): Add memory_calloc_retry probe.
21530         * manual/probes.texi: Document them.
21531
21532         * malloc/arena.c (get_free_list): Add probe
21533         memory_arena_reuse_free_list.
21534         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21535         and memory_arena_reuse.
21536         (arena_get2) [!PER_THREAD]: Likewise.
21537         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21538         memory_arena_reuse_realloc.
21539         * manual/probes.texi: Document them.
21540
21541         * malloc/malloc.c (__libc_free): Add
21542         memory_mallopt_free_dyn_thresholds probe.
21543         (__libc_mallopt): Add multiple memory_mallopt probes.
21544         * manual/probes.texi: Document them.
21545
21546         * malloc/malloc.c: Include stap-probe.h.
21547         (__libc_mallopt): Add memory_mallopt probe.
21548         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21549         * manual/probes.texi: New.
21550         * manual/Makefile (chapters): Add probes.
21551         * manual/threads.texi: Set next node.
21552
21553 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21554
21555         [BZ #15963, #13985]
21556         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21557         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21558         Add `Chinese' to `nan' entry name.
21559
21560 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561
21562         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21563         (POLYNOMIAL): Likewise.
21564         (TAYLOR_SINCOS): Likewise.
21565         (TAYLOR_SLOW): Likewise.
21566         (__sin): Use TAYLOR_SINCOS.
21567         (__cos): Likewise.
21568         (slow): Use TAYLOR_SLOW.
21569         (sloww): Likewise.
21570         (bsloww): Likewise.
21571         (csloww): Likewise.
21572
21573 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21574
21575         * stdlib/strtod_l.c: Fix buffer overrun.
21576
21577 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21578
21579         * benchtests/Makefile (bench): Add sincos.
21580         * benchtests/bench-sincos.c: New file.
21581
21582         * math/libm-test.inc (cos_test_data): New test inputs.
21583         (sin_test_data): Likewise.
21584
21585         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21586         macro.
21587         (__sin): Use it.
21588         (__cos): Likewise.
21589         (slow1): Likewise.
21590         (slow2): Likewise.
21591         (sloww1): Likewise.
21592         (sloww2): Likewise.
21593         (bsloww1): Likewise.
21594         (bsloww2): Likewise.
21595         (cslow2): Likewise.
21596         (csloww1): Likewise.
21597         (csloww2): Likewise.
21598
21599         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21600         function.
21601         (__sin): Use it.
21602         (__cos): Likewise.
21603
21604         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21605         gotos.
21606         (__cos): Likewise.
21607
21608 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21609
21610         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21611         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21612         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21613         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21614         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21615         * elf/cache.c (print_entry): Handle the new cache flags.
21616
21617 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21618             Aldy Hernandez  <aldyh@redhat.com>
21619
21620         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21621         Change condition to [_SOFT_FLOAT].
21622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21626         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21634         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21637         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21638         declaration.
21639
21640 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21641
21642         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21643         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21644         (__longjmp): Use LOAD_GP to load saved GPRs.
21645         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21646         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21647         (__sigsetjmp): Use SAVE_GP to save GPRs.
21648
21649         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21650         Do not append -msoft-float.
21651         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21652
21653 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21654
21655         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21656
21657 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21658
21659         [BZ #15966]
21660         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21661         (_FPU_GETCW): Use initial "__" on variable and field names but not
21662         on macro parameter name.
21663         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21664         parentheses around reference to macro parameter.
21665
21666 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21667
21668         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21669         prototype.
21670         (ctype_startup): Use uint32_t in cast and sizeof for
21671         ctype->charnames.
21672
21673 2013-09-11  Jia Liu  <proljc@gmail.com>
21674
21675         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21676         __daddr_t_defined.
21677         [__FreeBSD__]: Likewise.
21678
21679 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21680
21681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21682         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21683         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21684         (strchr): Remove __strchr_sse42 ifunc selection.
21685         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21686         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21687
21688 2013-09-11  Will Newton  <will.newton@linaro.org>
21689
21690         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21691         parameter to RES. Remove hardcoded 1000 value.
21692         * benchtests/bench-skeleton.c (main): Pass RES parameter
21693         to TIMING_INIT and multiply result by 1000.
21694
21695 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21696
21697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21698
21699 2013-09-11  Andreas Schwab  <schwab@suse.de>
21700
21701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21702         if not defined.
21703         (O_TMPFILE) [__USE_GNU]: Define.
21704         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21705         Define.
21706
21707 2013-09-11  Will Newton  <will.newton@linaro.org>
21708
21709         [BZ #15857]
21710         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21711         does not overflow.
21712
21713 2013-09-11  Will Newton  <will.newton@linaro.org>
21714
21715         [BZ #15856]
21716         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21717         does not overflow.
21718
21719 2013-09-11  Will Newton  <will.newton@linaro.org>
21720
21721         [BZ #15855]
21722         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21723         does not overflow.
21724
21725 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21726
21727         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21728         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21729         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21730         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21731         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21732
21733 2013-09-10  Allan McRae  <allan@archlinux.org>
21734
21735         [BZ #15748]
21736         * manual/arith.texi (Parsing of Floats): Clarify
21737         cross-reference.
21738
21739         [BZ #15849]
21740         * manual/install.texi (Running make install): Mention
21741         --enable-pt-chown.
21742         * INSTALL: Regenerated.
21743
21744 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21745
21746         * csu/init-first.c (_init): Remove the !SHARED condition around
21747         FPU control word initialization.
21748         * elf/dl-support.c (_dl_fpu_control): New variable.
21749         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21750         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21751         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21752         * math/test-fpucw-static.c: New file.
21753         * math/test-fpucw-ieee.c: New file.
21754         * math/test-fpucw-ieee-static.c: New file.
21755         * math/Makefile (tests): Add `test-fpucw-ieee' and
21756         `$(tests-static)'.
21757         (tests-static): New variable.
21758         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21759         dependency to...
21760         [($(build-shared),yes)]
21761         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21762         ... this.
21763         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21764         New dependency.
21765
21766 2013-09-09  Allan McRae  <allan@archlinux.org>
21767
21768         [BZ #15939]
21769         * manual/string.texi (Collation Functions): Fix typo in
21770         strcoll example.
21771         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21772
21773         [BZ #15893]
21774         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21775
21776         [BZ #15892]
21777         * libio/memstream.c (open_memstream): Fix memory leak.
21778         * libio/wmemstream.c (open_wmemstream): Likewise.
21779
21780         [BZ #15895]
21781         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21782
21783 2013-09-09  Will Newton  <will.newton@linaro.org>
21784
21785         * malloc/Makefile: Add tst-realloc to tests.
21786         * malloc/tst-realloc.c: New file.
21787
21788 2013-09-09  Allan McRae  <allan@archlinux.org>
21789
21790         [BZ #15844]
21791         * COPYING: Update from GNU website to fix FSF address.
21792         * COPYING.LIB: Likewise.
21793
21794 2013-09-06  David S. Miller  <davem@davemloft.net>
21795
21796         * po/zh_TW.po: Update Chinese (traditional) translation from
21797         translation project.
21798
21799 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21800             Joseph Myers  <joseph@codesourcery.com>
21801
21802         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21803         "localeinfo.h".
21804         (obstack_chunk_alloc): New macro.
21805         (obstack_chunk_free): Likewise.
21806         (record_offset): New function.
21807         (init_locale_data): Likewise.
21808         (align_locale_data): Likewise.
21809         (add_locale_empty): Likewise.
21810         (add_locale_raw_data): Likewise.
21811         (add_locale_raw_obstack): Likewise.
21812         (add_locale_string): Likewise.
21813         (add_locale_wstring): Likewise.
21814         (add_locale_uint32): Likewise.
21815         (add_locale_uint32_array): Likewise.
21816         (add_locale_char): Likewise.
21817         (start_locale_structure): Likewise.
21818         (end_locale_structure): Likewise.
21819         (start_locale_prelude): Likewise.
21820         (end_locale_prelude): Likewise.
21821         (write_locale_data): Take locale_file structure rather than an
21822         iovec.
21823         * locale/programs/locfile.h: Include "obstack.h".
21824         (struct locale_file): Change to store locale file contents instead
21825         of header.
21826         (init_locale_data): New prototype.
21827         (align_locale_data): Likewise.
21828         (add_locale_empty): Likewise.
21829         (add_locale_raw_data): Likewise.
21830         (add_locale_raw_obstack): Likewise.
21831         (add_locale_string): Likewise.
21832         (add_locale_wstring): Likewise.
21833         (add_locale_uint32): Likewise.
21834         (add_locale_uint32_array): Likewise.
21835         (add_locale_char): Likewise.
21836         (start_locale_structure): Likewise.
21837         (end_locale_structure): Likewise.
21838         (start_locale_prelude): Likewise.
21839         (end_locale_prelude): Likewise.
21840         (write_locale_data): Update prototype.
21841         * locale/programs/3level.h (struct TABLE): Remove result field.
21842         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21843         Use new locale_file interface.
21844         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21845         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21846         * locale/programs/ld-address.c (address_output): Use new
21847         locale_file interface.
21848         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21849         NO_ADD_LOCALE.
21850         (collate_finish): Don't call collseq_table_finalize.
21851         (collate_output): Use new locale_file interface.
21852         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21853         in file.
21854         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21855         (TABLE): Move defines earlier in file.
21856         (ELEMENT): Likewise.
21857         (DEFAULT): Likewise.
21858         (wctrans_table_add): Move macro and inline function earlier in
21859         file.
21860         (struct wctype_table): Move type earlier in file.
21861         (add_locale_wctype_table): New static prototype.
21862         (struct locale_ctype_t): Use logical types instead of struct iovec
21863         pointers for members.
21864         (ctype_output): Use new locale_file interface.
21865         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21866         new locale_file interface.
21867         (allocate_arrays): Update for use of new locale_file interface.
21868         * locale/programs/ld-identification.c (identification_output): Use
21869         new locale_file interface.
21870         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21871         * locale/programs/ld-messages.c (messages_output): Likewise.
21872         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21873         * locale/programs/ld-name.c (name_output): Likewise.
21874         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21875         * locale/programs/ld-paper.c (paper_output): Likewise.
21876         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21877         * locale/programs/ld-time.c (time_output): Likewise.
21878
21879 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21880
21881         * benchtests/Makefile: Add memrchr benchmark.
21882         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21883         benchmark as memrchr.
21884         * benchtests/bench-memrchr-ifunc.c: New file.
21885         * benchtests/bench-memrchr.c: New file.
21886
21887 2013-09-06   Will Newton  <will.newton@linaro.org>
21888
21889         * benchtests/Makefile (string-bench): Add memcpy.
21890
21891 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21892             Cong Wang  <amwang@redhat.com>
21893
21894         [BZ #15850]
21895         * sysdeps/unix/sysv/linux/bits/in.h
21896         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21897         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21898         before __USE_KERNEL_IPV6_DEFS uses.
21899         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21900         IPPROTO_BEETPH.
21901         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21902         sockaddr_in6, or ipv6_mreq.
21903
21904 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21905
21906         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21907         memory access for final bytes in some large inputs.
21908         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21909
21910 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21911
21912         * string/test-memrchr.c: New file.
21913         * string/test-memrchr-ifunc.c: New file.
21914         * string/Makefile: Add new memrchr testcase.
21915
21916 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21917
21918         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21919         fanotify_init returns EPERM.
21920
21921 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21922
21923         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21924         errors.
21925         (top level): Treat second token from macro or constant entries for
21926         allowed headers as allowed.
21927         * include/complex.h: Condition internal declarations on
21928         [!_ISOMAC].
21929         * include/fenv.h: Condition include of <stdbool.h> and internal
21930         declarations on [!_ISOMAC].
21931
21932 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21933
21934         [BZ #15923]
21935         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21936
21937 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21938
21939         * configure.in (--enable-versioning): Remove configure option.
21940         (libc_cv_asm_symver_directive): Remove configure test.
21941         (libc_cv_ld_version_script_option): Likewise.
21942         (VERSIONING): Remove variable and AC_SUBST.
21943         (DO_VERSIONING): Remove AC_DEFINE.
21944         * configure: Regenerated.
21945         * config.h.in (DO_VERSIONING): Remove macro.
21946         * Makerules [$(versioning) = yes]: Change conditionals to
21947         [$(build-shared) = yes].
21948         * config.make.in (versioning): Remove variable.
21949         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21950         [$(build-shared) = yes].
21951         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21952         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21953         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21954         [$(build-shared) = yes].
21955         * extra-lib.mk [$(versioning) = yes]: Likewise.
21956         * hurd/Makefile [$(versioning) = yes]: Likewise.
21957         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21958         [SHARED].
21959         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21960         [SHARED].
21961         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21962         [SHARED && !NO_HIDDEN].
21963         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21964         [SHARED].
21965         [SHARED && DO_VERSIONING]: Likewise..
21966         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21967         [$(build-shared) = yes].
21968         * manual/install.texi (--disable-versioning): Remove
21969         documentation.
21970         * INSTALL: Regenerated.
21971         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21972         to [SHARED].
21973         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21974         [$(build-shared) = yes].
21975         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21976         * sysdeps/i386/i686/multiarch/strstr-c.c
21977         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21978         [SHARED && !NO_HIDDEN].
21979         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21980         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21981         * sysdeps/powerpc/powerpc32/dl-machine.c
21982         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21983         * sysdeps/powerpc/powerpc32/sysdep.h
21984         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21985         to [SHARED && PIC && !NO_HIDDEN].
21986         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21987         conditional to [SHARED].
21988
21989 2013-09-04   Will Newton  <will.newton@linaro.org>
21990
21991         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21992         * benchtests/bench-string.h: Include bench-timing.h instead
21993         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21994         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21995         call to HP_TIMING_DIFF_INIT.
21996         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21997         instead of hp-timing.h macros.
21998         * benchtests/bench-memchr.c: Likewise.
21999         * benchtests/bench-memcmp.c: Likewise.
22000         * benchtests/bench-memcpy.c: Likewise.
22001         * benchtests/bench-memmem.c: Likewise.
22002         * benchtests/bench-memmove.c: Likewise.
22003         * benchtests/bench-memset.c: Likewise.
22004         * benchtests/bench-rawmemchr.c: Likewise.
22005         * benchtests/bench-strcasecmp.c: Likewise.
22006         * benchtests/bench-strcasestr.c: Likewise.
22007         * benchtests/bench-strcat.c: Likewise.
22008         * benchtests/bench-strchr.c: Likewise.
22009         * benchtests/bench-strcmp.c: Likewise.
22010         * benchtests/bench-strcpy.c: Likewise.
22011         * benchtests/bench-strcpy_chk.c: Likewise.
22012         * benchtests/bench-strlen.c: Likewise.
22013         * benchtests/bench-strncasecmp.c: Likewise.
22014         * benchtests/bench-strncat.c: Likewise.
22015         * benchtests/bench-strncmp.c: Likewise.
22016         * benchtests/bench-strncpy.c: Likewise.
22017         * benchtests/bench-strnlen.c: Likewise.
22018         * benchtests/bench-strpbrk.c: Likewise.
22019         * benchtests/bench-strrchr.c: Likewise.
22020         * benchtests/bench-strspn.c: Likewise.
22021         * benchtests/bench-strstr.c: Likewise.
22022
22023 2013-09-04  Will Newton  <will.newton@linaro.org>
22024
22025         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22026
22027 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22028
22029         [BZ #15427]
22030         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22031         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22032         * math/libm-test.inc (lgamma_test_data): Add more tests.
22033         * sysdeps/i386/fpu/libm-test-ulps: Update.
22034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22035
22036 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22037
22038         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22040         Add ifunc.
22041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22042         Add strcmp-sse2-unaligned
22043         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22044
22045 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22046
22047         * Versions.def (libc): Add GLIBC_2.19.
22048
22049 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22050
22051         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22052         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22053
22054 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22055
22056         [BZ #14155]
22057         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22058         intermediate calculations in recurrence.
22059         (__ieee754_ynf): Likewise.
22060         * math/libm-test.inc (jn_test_data): Do not allow spurious
22061         underflow exception.  Add more tests.
22062         (yn_test_data): Add more tests.
22063         * sysdeps/i386/fpu/libm-test-ulps: Update.
22064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22065
22066 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22067
22068         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22069
22070 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22071
22072         * csu/init-first.c: Fix then/than typos.
22073         * locale/programs/ld-collate.c: Likewise.
22074         * locale/programs/linereader.h: Likewise.
22075         * manual/charset.texi: Likewise.
22076         * manual/filesys.texi: Likewise.
22077         * manual/stdio.texi: Likewise.
22078         * manual/string.texi: Likewise.
22079         * stdlib/fmtmsg.c: Likewise.
22080         * sysdeps/i386/stpncpy.S: Likewise.
22081         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22082         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22083         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22084         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22085
22086 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22087
22088         * elf/dl-open.c: Fix typos.
22089         * iconvdata/gbbig5.c: Likewise.
22090         * iconvdata/iso-2022-jp.c: Likewise.
22091         * iconv/gconv_int.h: Likewise.
22092         * iconv/loop.c: Likewise.
22093         * nis/rpcsvc/nis.h: Likewise.
22094         * resolv/ns_name.c: Likewise.
22095         * stdio-common/vfscanf.c: Likewise.
22096         * streams/stropts.h: Likewise.
22097         * sunrpc/rpc_thread.c: Likewise.
22098         * sysdeps/i386/strpbrk.S: Likewise.
22099         * sysdeps/ieee754/k_standard.c: Likewise.
22100         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22101         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22102         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22103         * sysdeps/mach/hurd/profil.c: Likewise.
22104         * sysdeps/s390/dl-procinfo.h: Likewise.
22105         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22106         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22107         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22108         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22109         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22110
22111 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22112
22113         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22114         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22115
22116 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22117
22118         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22119         aix specific files.
22120         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22121         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22122         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22123         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22124         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22125         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22126         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22127         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22128
22129 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22130             Roland McGrath  <roland@hack.frob.com>
22131
22132         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22133         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22134
22135 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22136
22137         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22138         __executable_start symbol instead of _start.
22139
22140 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22141
22142         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22143         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22144         Move macros to...
22145         * sysdeps/gnu/ldsodefs.h: ... this new file.
22146
22147         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22148         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22149         instead of ELFOSABI_LINUX.
22150
22151         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22152         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22153         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22154         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22155         Likewise.
22156         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22157         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22158         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22159         Likewise.
22160         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22161         (ibm_extended_long_double): Add ieee_nan member.
22162         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22163         (do_test): New function.
22164
22165         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22166         TEST_TRUNC.
22167         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22168         functions, renamed from truncdfsf_test, trunctfsf_test,
22169         trunctfdf_test.
22170         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22171         functions.
22172         (do_test): Run all these.
22173
22174 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22175
22176         * argp/argp-help.c: Fix typos.
22177         * argp/argp-parse.c: Likewise.
22178         * debug/backtracesyms.c: Likewise.
22179         * elf/elf.h: Likewise.
22180         * malloc/malloc.c: Likewise.
22181         * nis/nis_print.c: Likewise.
22182         * resolv/res_comp.c: Likewise.
22183         * stdlib/stdlib.h: Likewise.
22184         * sunrpc/clnt_tcp.c: Likewise.
22185         * sunrpc/clnt_udp.c: Likewise.
22186         * sunrpc/clnt_unix.c: Likewise.
22187         * sysdeps/unix/bsd/ptsname.c: Likewise.
22188         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22189         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22191         Likewise.
22192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22193         Likewise.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22195         Likewise.
22196         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22197
22198 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22199
22200         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22202
22203 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22204
22205         [BZ #15897]
22206         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22207         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22208         ($(objpfx)bug-dl-leaf): New rule.
22209         ($(objpfx)bug-dl-leaf.so): Likewise.
22210         ($(objpfx)bug-dl-leaf.out): Likewise.
22211         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22212         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22213         * dlfcn/bug-dl-leaf.c: New test.
22214         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22215         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22216         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22217         (dlclose): Likewise.
22218         (dlmopen): Likewise.
22219
22220 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22221
22222         * include/netdb.h [!_ISOMAC]:
22223         Don't include <tls.h>.
22224         (h_errno, __libc_h_errno): Move declaration and macros out of
22225         [_LIBC_REENTRANT].
22226
22227         * include/resolv.h [_RESOLV_H_]:
22228         Don't include <tls.h>.
22229         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22230         * resolv/res_libc.c: Don't include <tls.h>.
22231         (_res): Use __attribute__ ((nocommon)) in place of
22232         __attribute__ ((section (".bss"))).
22233
22234         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22235         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22236
22237         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22238
22239         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22240         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22241
22242         * resolv/res_mkquery.c: Include <sys/time.h>.
22243
22244         * inet/ifreq.c: Moved to ...
22245         * sysdeps/unix/ifreq.c: ... here.
22246         * inet/ifreq.c: New file, true stub version.
22247
22248         * socket/sa_len.c: New file.
22249         * socket/Makefile (aux): Add it.
22250         * sysdeps/unix/sysv/linux/Makefile
22251         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22252         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22253         and #include <socket/sa_len.c>.
22254         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22255         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22256
22257         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22258         * bits/socket.h: ... here.
22259
22260         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22261         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22262         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22263
22264 2013-08-27  Andreas Schwab  <schwab@suse.de>
22265
22266         [BZ #15736]
22267         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22268         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22269         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22270         * string/test-strcasecmp.c (test_main): Run tests in several
22271         locales.
22272         * string/test-strncasecmp.c (test_main): Likewise.
22273
22274         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22275         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22276         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22278         (__strncasecmp_ssse3) [PIC]: Likewise.
22279
22280 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22281
22282         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22283
22284         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22285         instead of explicitly declaring xdecrypt.
22286         * nis/nss_nis/nis-publickey.c: Likewise.
22287
22288 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22289
22290         [BZ #15890]
22291         * nscd/aicache.c: Include res_hconf.h.
22292         (addhstaiX): Initialize res_hconf.
22293
22294 2013-08-26  Andreas Schwab  <schwab@suse.de>
22295
22296         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22297         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22298
22299 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300
22301         * nscd/aicache.c (addhstaiX): Fix indentation.
22302
22303 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22304
22305         * configure.ac: Quote $build_pt_chown test.
22306         * configure: Regenerated.
22307
22308 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22309
22310         [BZ #15532]
22311         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22312         * math/s_cexpf.c (__cexpf): Likewise.
22313         * math/s_cexpl.c (__cexpl): Likewise.
22314         * math/libm-test.inc (cexp_test_data): Correct expected return
22315         value for NaN + i0.  Add another test.
22316
22317 2013-08-22  David S. Miller  <davem@davemloft.net>
22318
22319         * po/ca.po: Update Catalan translation from translation project.
22320         * po/uk.po: Add Ukrainian translations from translation project.
22321
22322 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22323
22324         [BZ #15797]
22325         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22326         is infinite, not alongside NaN test.
22327         * math/s_fdimf.c (__fdimf): Likewise.
22328         * math/s_fdiml.c (__fdiml): Likewise.
22329         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22330         errno is unchanged.
22331
22332 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22333
22334         * argp/argp-help.c: Fix typos.
22335         * crypt/speeds.c: Likewise.
22336         * csu/check_fds.c: Likewise.
22337         * elf/dl-load.c: Likewise.
22338         * elf/dl-open.c: Likewise.
22339         * elf/reldep3.c: Likewise.
22340         * elf/reldep.c: Likewise.
22341         * elf/sprof.c: Likewise.
22342         * iconv/iconv_charmap.c: Likewise.
22343         * iconv/skeleton.c: Likewise.
22344         * iconv/strtab.c: Likewise.
22345         * io/lockf64.c: Likewise.
22346         * libio/libioP.h: Likewise.
22347         * resolv/gai_notify.c: Likewise.
22348         * resolv/ns_name.c: Likewise.
22349         * resolv/ns_samedomain.c: Likewise.
22350         * resolv/res_send.c: Likewise.
22351         * stdlib/random.c: Likewise.
22352         * sunrpc/rpc/xdr.h: Likewise.
22353         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22354         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22355         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22356         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22357         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22358         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22359         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22360         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22361         * sysdeps/mach/hurd/check_fds.c: Likewise.
22362         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22363         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22364         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22365         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22366         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22367         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22368         * sysdeps/pthread/aio_notify.c: Likewise.
22369         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22370         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22371         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22372         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22373         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22374
22375 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22376
22377         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22378         version if bit_Slow_SSE4_2 is set.
22379         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22380         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22381
22382 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22383
22384         [BZ #15867]
22385         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22386         trampoline stack frame information.
22387         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22388         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22389         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22390         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22391         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22392         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22393         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22394         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22395         sa_flags value.
22396         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22397         interrupting a syscall and set with option SA_SIGINFO.
22398
22399 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22400
22401         [BZ #15531]
22402         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22403         argument is infinite.
22404         * math/s_cprojf.c (__cprojf): Likewise.
22405         * math/s_cprojl.c (__cprojl): Likewise.
22406         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22407         * math/libm-test.inc (cproj_test_data): Add more tests.
22408
22409         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22410
22411         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22412         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22413         size.  Use __ffs to determine corresponding shift.
22414
22415 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22416             Roland McGrath  <roland@hack.frob.com>
22417
22418         * Makefile (INSTALL): Remove trailing blank lines from output of
22419         makeinfo.
22420
22421 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22422
22423         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22424         Align 32 bit compat elf_greg to 8 bytes.
22425
22426 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22427
22428         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22429
22430 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22431
22432         * string/strcoll_l.c (coll_seq): New structure.
22433         (get_next_seq_cached): New function.
22434         (get_next_seq): New function.
22435         (do_compare): New function.
22436         (STRCOLL): Use GNU style definition.  Simplify implementation
22437         by using get_next_seq, get_next_seq_cached and do_compare.
22438
22439 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22440
22441         [BZ #14699]
22442         CVE-2013-4237
22443         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22444         member.
22445         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22446         member.
22447         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22448         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22449         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22450         conditional.
22451         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22452         GETDENTS_64BIT_ALIGNED.
22453         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22454         * manual/filesys.texi (Reading/Closing Directory): Document
22455         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22456         strongly.
22457         * manual/conf.texi (Limits for Files): Add portability note to
22458         NAME_MAX, PATH_MAX.
22459         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22460
22461 2013-08-13  Andreas Schwab  <schwab@suse.de>
22462
22463         [BZ #15749]
22464         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22465         of fabs.
22466         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22467         LDBL_MAX_EXP >= 16384]: Add tests for it.
22468
22469 2013-08-12  David S. Miller  <davem@davemloft.net>
22470
22471         * version.h (RELEASE): Set to "development".
22472         (VERSION): Set to "2.18.90".
22473         * NEWS: Add 2.19 section.
22474
22475 2013-08-03  David S. Miller  <davem@davemloft.net>
22476
22477         * po/ko.po: Update Korean translation from translation project.
22478
22479 2013-08-01  David S. Miller  <davem@davemloft.net>
22480
22481         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22482         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22483         Bilka.
22484
22485 2013-07-30  David S. Miller  <davem@davemloft.net>
22486
22487         * po/fr.po: Update French translation from translation project.
22488
22489 2013-07-28  David S. Miller  <davem@davemloft.net>
22490
22491         * po/cs.po: Update Czech translation from translation project.
22492
22493         * po/sv.po: Update Swedish translation from translation project.
22494
22495 2013-07-27  David S. Miller  <davem@davemloft.net>
22496
22497         * po/eo.po: Update Esperanto translation from translation project.
22498
22499         * po/vi.po: Update Vietnamese translation from translation project.
22500
22501         * po/de.po: Update German translation from translation project.
22502
22503 2013-07-26  David S. Miller  <davem@davemloft.net>
22504
22505         * po/bg.po: Update Bulgarian translation from translation project.
22506
22507         * po/nl.po: Update Dutch translation from translation project.
22508         * po/pl.po: Update Polish translation from translation project.
22509         * po/ru.po: Update Russian translation from translation project.
22510
22511 2013-07-24  David S. Miller  <davem@davemloft.net>
22512
22513         * po/libc.pot: Update.
22514
22515 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22516
22517         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22518         variable page size.
22519         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22520         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22521         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22522
22523 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22524
22525         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22526
22527 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22528             Andreas Schwab  <schwab@suse.de>
22529             Roland McGrath  <roland@hack.frob.com>
22530             Joseph Myers  <joseph@codesourcery.com>
22531             Carlos O'Donell  <carlos@redhat.com>
22532
22533         [BZ #15755]
22534         * config.h.in: Define HAVE_PT_CHOWN.
22535         * config.make.in (build-pt-chown): New variable.
22536         * configure.in (--enable-pt_chown): New configure option.
22537         * configure: Regenerate.
22538         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22539         build-pt-chown is enabled.
22540         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22541         pt_chown to fix pty ownership.
22542         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22543         CLOSE_ALL_FDS.
22544         * manual/install.texi (Configuring and compiling): Mention
22545         --enable-pt_chown. Add @findex for grantpt.
22546         * INSTALL: Regenerate.
22547
22548 2013-07-20  David S. Miller  <davem@davemloft.net>
22549
22550         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22551         difference between 32-bit and 64-bit.
22552
22553 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22554
22555         [BZ #15711]
22556         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22557         Avoid system header dependency with -ffreestanding.
22558         ($(objpfx)bits/syscall%d): Likewise.
22559
22560 2013-07-13  David S. Miller  <davem@davemloft.net>
22561
22562         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22563         underflows from atanl/atan2l due to bug 15319.
22564         (casinh_test_data): Likewise.
22565
22566 2013-07-07  David S. Miller  <davem@davemloft.net>
22567
22568         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22569
22570 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22571
22572         * sysdeps/i386/fpu/libm-test-ulps: Update.
22573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22574
22575 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22576
22577         * configure.in (--enable-lock-elision): Fix message text.
22578         * INSTALL: Regenerate.
22579         * configure: Regenerate.
22580
22581 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22582
22583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22584
22585 2013-07-03  Andreas Jaeger  <aj@suse.de>
22586
22587         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22588         define.
22589         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22590         (ptrace_peeksiginfo_args): Add.
22591         (__ptrace_peeksiginfo_flags): Add.
22592         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22593         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22594         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22595
22596 2013-07-03  Allan McRae  <allan@archlinux.org>
22597
22598         * sysdeps/i386/fpu/libm-test-ulps: Update.
22599
22600 2013-07-02  David S. Miller  <davem@davemloft.net>
22601
22602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22603
22604 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22605
22606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22607
22608 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22609
22610         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22612
22613 2013-07-02  Andi Kleen <ak@linux.intel.com>
22614
22615         * config.h.in (ENABLE_LOCK_ELISION): Add.
22616         * configure.in (--enable-lock-elision): Add option.
22617         * manual/install.texi: Document --enable lock elision.
22618         * configure: Regenerate
22619         * INSTALL: Regenerate.
22620
22621 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22622
22623         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22624         SSE4.2 strcasecmp for libc.a.
22625         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22626
22627 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22628
22629         [BZ #13304]
22630         * soft-fp/op-common.h (_FP_FMA): New macro.
22631         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22632         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22633         (_FP_MUL_MEAT_1_imm): ... here.
22634         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22635         (_FP_MUL_MEAT_1_wide): ... here.
22636         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22637         (_FP_MUL_MEAT_1_hard): ... here.
22638         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22639         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22640         (_FP_MUL_MEAT_2_wide): ... here.
22641         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22642         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22643         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22644         (_FP_MUL_MEAT_2_gmp): ... here.
22645         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22646         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22647         (_FP_MUL_MEAT_4_wide): ... here.
22648         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22649         (_FP_MUL_MEAT_4_gmp): ... here.
22650         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22651         (_FP_WFRACBITS_DW_S): Likewise.
22652         (_FP_WFRACXBITS_DW_S): Likewise.
22653         (_FP_HIGHBIT_DW_S): Likewise.
22654         (FP_FMA_S): Likewise.
22655         (_FP_FRAC_HIGH_DW_S): Likewise.
22656         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22657         (_FP_WFRACBITS_DW_D): Likewise.
22658         (_FP_WFRACXBITS_DW_D): Likewise.
22659         (_FP_HIGHBIT_DW_D): Likewise.
22660         (FP_FMA_D): Likewise.
22661         (_FP_FRAC_HIGH_DW_D): Likewise.
22662         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22663         (_FP_WFRACBITS_DW_E): Likewise.
22664         (_FP_WFRACXBITS_DW_E): Likewise.
22665         (_FP_HIGHBIT_DW_E): Likewise.
22666         (FP_FMA_E): Likewise.
22667         (_FP_FRAC_HIGH_DW_E): Likewise.
22668         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22669         (_FP_WFRACBITS_DW_Q): Likewise.
22670         (_FP_WFRACXBITS_DW_Q): Likewise.
22671         (_FP_HIGHBIT_DW_Q): Likewise.
22672         (FP_FMA_Q): Likewise.
22673         (_FP_FRAC_HIGH_DW_Q): Likewise.
22674         * soft-fp/fmasf4.c: New file.
22675         * soft-fp/fmadf4.c: Likewise.
22676         * soft-fp/fmatf4.c: Likewise.
22677
22678 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22679
22680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22681         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22682         Silvermont.
22683         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22684         macro.
22685         (index_Slow_SSE4_2): Likewise.
22686         (index_Prefer_PMINUB_for_stringop): Likewise.
22687         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22688         bit_Slow_SSE4_2 is set.
22689         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22690         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22691
22692 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22693
22694         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22695         rtld_global._dl_hwcap2.
22696         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22697         POWER8.
22698         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22699         POWER8 feature descriptions defined in _dl_hwcap2.
22700         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22701         string handling for POWER8 feature bits.
22702         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22703         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22704         _dl_powerpc_cap_flags.
22705         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22706         * sysdeps/powerpc/rtld-global-offsets.sym
22707         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22708         _dl_hwcap2 in the rtld_global_ro structure.
22709
22710 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22711
22712         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22713         hardware capabilities in support of AT_HWCAP2.
22714         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22715         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22716         GLRO(dl_hwcap2).
22717         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22718         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22719         explicitly the unknown a_type display mechanism is used.
22720         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22721         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22722         struct member.
22723         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22724         to macro prototype for AT_HWCAP2 support.
22725         * sysdeps/i386/dl-procinfo.h: Likewise.
22726         * sysdeps/s390/dl-procinfo.h: Likewise.
22727         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22728         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22729         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22730         return -1 for unknown a_type display fallback.
22731         * sysdeps/sparc/dl-procinfo.h: Likewise.
22732         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22733         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22734
22735 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22736
22737         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22738         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22739
22740 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22741
22742         [BZ #12492]
22743         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22744         mprotect making __stack_prot writable.
22745
22746 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22747             Joseph Myers  <joseph@codesourcery.com>
22748
22749         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22750         as being properly aligned.
22751
22752 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22753
22754         * dlfcn/modstatic5.c: New file.
22755         * dlfcn/tststatic5.c: New file.
22756         * dlfcn/Makefile (tests): Add tststatic5.
22757         (tests-static): Likewise.
22758         (modules-names): Add modstatic5.
22759         (tststatic5-ENV): New variable.
22760         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22761
22762         [BZ #15022]
22763         * elf/dl-support.c (_dl_main_map): New variable.
22764         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22765         (_dl_nns, _dl_load_adds): Set to 1.
22766         (_dl_initial_searchlist): Refer to _dl_main_map.
22767         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22768         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22769         call to _dl_get_origin.
22770         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22771         around call_map.
22772         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22773         * dlfcn/modstatic3.c: New file.
22774         * dlfcn/tststatic3.c: New file.
22775         * dlfcn/tststatic4.c: New file.
22776         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22777         (tests-static): Likewise.
22778         (modules-names): Add modstatic3.
22779         (tststatic3-ENV, tststatic4-ENV): New variables.
22780         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22781         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22782
22783 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22784
22785         * configure.in (CC): Require GCC version 4.4 or later.
22786         * configure: Regenerated.
22787         * manual/install.texi (Tools for Compilation): Update GCC version
22788         requirement.
22789         * INSTALL: Regenerated.
22790
22791 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22792
22793         [BZ #15674]
22794         * string/test-memcmp.c (check2): New.
22795         (main): Call check2.
22796
22797         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22798
22799 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22800
22801         [BZ #15022]
22802         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22803         over to...
22804         (dl_open_worker) [!SHARED]: ... here.
22805
22806 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22807
22808         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22809
22810 2013-06-25  Richard Henderson  <rth@redhat.com>
22811
22812         * locale/programs/locarchive.c: Include <libc-internal.h>
22813
22814 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22815
22816         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22817         trailing whitespace removed.
22818
22819 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22820
22821         [BZ #10283]
22822         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22823         * locale/programs/locarchive.c: Include libc-mmap.h.
22824         (prepare_address_space): Take two new outputs (the mmap base and len).
22825         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22826         values.
22827         (create_archive): Declare new mmap base and len values for
22828         prepare_address_space, and store the result in ah.
22829         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22830         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22831         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22832         Declare new mmap base and len values for
22833         prepare_address_space, and store the result in new_ah.
22834         (open_archive): Declare new mmap base and len values for
22835         prepare_address_space, and store the result in ah.
22836         (close_archive): If ah->mmap_base is not NULL, use that and
22837         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22838         * sysdeps/generic/libc-mmap.h: New file.
22839
22840 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22841
22842         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22843         (ALIGN_UP): Likewise.
22844         (PTR_ALIGN_DOWN): Likewise.
22845         (PTR_ALIGN_UP): Likewise.
22846
22847 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22848
22849         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22850         entry mapped to PPC_PLATFORM_POWER8.
22851         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22852         POWER8.
22853         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22854         (_dl_string_platform): Add case for exporting platform position for
22855         POWER8.
22856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22857         search path to sysdeps/powerpc/powerpc32/power8 directory.
22858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22859         search path to sysdeps/powerpc/powerpc64/power8 directory.
22860         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22861         power7 directories.
22862         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22863         power7 directories.
22864
22865 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22866
22867         * INSTALL: Regenerate.
22868
22869         * nscd/connections.c (nscd_init): Fix comment.
22870
22871 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22872
22873         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22874
22875         [BZ #15667]
22876         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22877         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22878
22879 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22880
22881         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22882         DL_DST_REQ_STATIC.
22883         (DL_DST_REQ_STATIC): Remove macro.
22884
22885 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22886
22887         [BZ #7006]
22888         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22889         with a shift of 0 bits.
22890
22891 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22892
22893         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22894         $(tststatic-ENV).
22895
22896 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22897
22898         [BZ #15655]
22899         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22900
22901 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22902
22903         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22904         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22905         accepts -fno-tree-loop-distribute-patterns.
22906         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22907         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22908         recursive call.
22909         * string/memset.c (memset): Likewise.
22910         * string/test-memmove.c (simple_memmove): Disable loop transformation
22911         to library calls.
22912         * string/test-memset.c (simple_memset): Likewise.
22913         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22914         * benchtests/bench-memset.c (simple_memset): Likewise.
22915         * configure: Regenerated.
22916
22917 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22918
22919         * math/test-misc.c (main): Ignore fesetround failure when failures
22920         of subsequent rounding tests would be ignored.
22921
22922         [BZ #15654]
22923         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22924         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22925         * math/fegetenv.c (__fegetenv): Return 0.
22926         * math/fegetexcept.c (fegetexcept): Return 0.
22927         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22928         FE_TONEAREST.
22929         * math/feholdexcpt.c (feholdexcept): Return 0.
22930         * math/fesetenv.c (__fesetenv): Return 0.
22931         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22932         argument FE_TONEAREST.
22933         * math/feupdateenv.c (__feupdateenv): Return 0.
22934         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22935
22936 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22937
22938         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22939         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22940         ($(objpfx)rtld-%.os rules): Use them.
22941
22942 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22943
22944         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22945         fields.
22946
22947 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22948
22949         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22950         length of target pattern, then descending length of dependency pattern.
22951         * configure.in (AWK): Require gawk 3.1.2 or newer.
22952         * manual/install.texi (Tools for Compilation): Say that we do.
22953         * configure: Regenerated.
22954
22955         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22956         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22957         * scripts/sysd-rules.awk: ... this new script.
22958         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22959         than a glob-style pattern.
22960
22961 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22962
22963         * math/test-misc.c (main): Do not treat incorrectly rounded
22964         conversions as failure unless ROUNDING_TESTS passes.
22965
22966 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22967
22968         [BZ #15631]
22969         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22970         restore exception state around main square root computation, then
22971         check for inexactness explicitly.
22972
22973         * math/libm-test.inc (fma_test_data): Add another test.
22974
22975 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22976
22977         * manual/threads.texi (Non-POSIX Extensions): New document
22978         node.  Document pthread_getattr_default_np and
22979         pthread_setattr_default_np.
22980
22981         * Versions.def (libpthread): Add GLIBC_2.18.
22982         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22984         Likewise.
22985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22986         Likewise.
22987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22988         Likewise.
22989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22990         Likewise.
22991         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22992         Likewise.
22993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22994         Likewise.
22995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22996         Likewise.
22997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22998         Likewise.
22999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23000         Likewise.
23001
23002 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23003
23004         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23005         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23006
23007 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23008             H.J. Lu  <hjl.tools@gmail.com>
23009
23010         [BZ #15627]
23011         * sysdeps/x86_64/rtld-memset.c: Remove file.
23012         * sysdeps/x86_64/rtld-memset.S: New file.
23013
23014 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23015
23016         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23017         (test_in_one_mode): Take arguments for whether the rounding mode
23018         is supported for each floating-point type.
23019         (do_test): Pass new arguments to test_in_one_mode using
23020         ROUNDING_TESTS.
23021
23022 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23023
23024         * posix/tst-waitid.c (do_test): Distinguish different instances of
23025         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23026         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23027         before entering the kernel for waitpid.
23028
23029 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23030
23031         * NEWS: Fix note on clock function precision.  Text by Roland
23032         McGrath.
23033
23034 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23035
23036         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23037         it into place only when and if the sanity check passes.
23038
23039 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23040
23041         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23042         output for whether conversion result is exact.  Take argument
23043         indicating whether type is IBM long double.
23044         (round_for_all): Change need_exact field to ibm_ld.
23045         * stdlib/tst-strtod-round.c (struct exactness): New type.
23046         (struct test): Change bool ld_ok field to struct exactness exact.
23047         (TEST): Update all definitions for change to field.
23048         (tests): Regenerate array contents.
23049         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23050         field value.  Check for IBM long double here.
23051         (do_test): Update calls to test_in_one_mode.
23052
23053 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23054
23055         [BZ #12515]
23056         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23057         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23058
23059 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23060
23061         [BZ #15605]
23062         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23063         generated by the compiler on loop optimizations.
23064         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23065         general definitions.
23066
23067 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23068
23069         * math/bug-nextafter.c: Include <math-tests.h>.
23070         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23071         the relevant type.
23072         * math/bug-nexttoward.c: Include <math-tests.h>.
23073         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23074         the relevant type.
23075         * math/test-misc.c: Include <math-tests.h>.
23076         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23077         the relevant type.
23078
23079 2013-06-12  Andreas Jaeger  <aj@suse.de>
23080
23081         * po/ia.po: Update Interlingua translation from translation
23082         project.
23083
23084 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23085
23086         * include/fenv.h: Include stdbool.h.
23087         (struct rm_ctx): New structure.
23088         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23089         Define macro.
23090         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23091         (SET_RESTORE_ROUNDF): Likewise.
23092         (SET_RESTORE_ROUNDL): Likewise.
23093         (SET_RESTORE_ROUND_NOEX): Likewise.
23094         (SET_RESTORE_ROUND_NOEXF): Likewise.
23095         (SET_RESTORE_ROUND_NOEXL): Likewise.
23096         (SET_RESTORE_ROUND_53BIT): Likewise.
23097         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23098         (libc_feresetround_noexf_ctx): Likewise.
23099         (libc_feresetround_noexl_ctx): Likewise.
23100         (libc_feholdsetround_53bit_ctx): Likewise.
23101         (libc_feresetround_53bit_ctx): Likewise.
23102         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23103         (libc_feholdexcept_setround_sse_ctx): New function.
23104         (libc_fesetenv_sse_ctx): Likewise.
23105         (libc_feupdateenv_sse_ctx): Likewise.
23106         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23107         (libc_feholdexcept_setround_387_ctx): Likewise.
23108         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23109         (libc_feholdsetround_387_prec_ctx): Likewise.
23110         (libc_feholdsetround_387_ctx): Likewise.
23111         (libc_feholdsetround_387_53bit_ctx): Likewise.
23112         (libc_feholdsetround_sse_ctx): Likewise.
23113         (libc_feresetround_sse_ctx): Likewise.
23114         (libc_feresetround_387_ctx): Likewise.
23115         (libc_feupdateenv_387_ctx): Likewise.
23116         (libc_feholdexcept_setroundf_ctx): Define macro.
23117         (libc_fesetenvf_ctx): Likewise.
23118         (libc_feupdateenvf_ctx): Likewise.
23119         (libc_feholdsetroundf_ctx): Likewise.
23120         (libc_feresetroundf_ctx): Likewise.
23121         (libc_feholdexcept_setround_ctx): Likewise.
23122         (libc_fesetenv_ctx): Likewise.
23123         (libc_feupdateenv_ctx): Likewise.
23124         (libc_feholdsetround_ctx): Likewise.
23125         (libc_feresetround_ctx): Likewise.
23126         (libc_feholdexcept_setroundl_ctx): Likewise.
23127         (libc_feupdateenvl_ctx): Likewise.
23128         (libc_feholdsetroundl_ctx): Likewise.
23129         (libc_feresetroundl_ctx): Likewise.
23130         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23131         (libc_feresetround_53bit_ctx): Likewise.
23132
23133 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23134
23135         * locale/iso-639.def: Convert to UTF-8.
23136
23137 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23138
23139         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23140         (EXCEPTION_TESTS_double): Likewise.
23141         (EXCEPTION_TESTS_long_double): Likewise.
23142         (EXCEPTION_TESTS): Likewise.
23143         * math/libm-test.inc (test_exceptions): Only test exceptions if
23144         EXCEPTION_TESTS (FLOAT).
23145
23146 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23147
23148         * benchtests/Makefile (string-bench): Add strcpy_chk and
23149         stpcpy_chk.
23150         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23151         * benchtests/bench-stpcpy_chk.c: New file.
23152         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23153         * benchtests/bench-strcpy_chk.c: New file.
23154         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23155         code.
23156         (do_test): Likewise.
23157
23158 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23159
23160         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23161         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23162         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23163         with tabs where appropriate.
23164         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23165         dl-procinfo.h.
23166         [PPC_PLATFORM_PPC440]: Likewise.
23167         [PPC_PLATFORM_PPC464]: Likewise.
23168         [PPC_PLATFORM_PPC476]: Likewise.
23169         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23170         ppc464, and ppc476 platform strings merging from ports/
23171         dl-procinfo.h.
23172
23173 2013-06-11  Andreas Schwab  <schwab@suse.de>
23174
23175         [BZ #14991]
23176         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23177         (from_ucs4_idx): Regenerate.
23178         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23179         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23180         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23181         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23182         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23183         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23184         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23185         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23186         from FROM_LOOP and TO_LOOP specific macros.
23187         (BODY): Handle combining characters.
23188         * iconvdata/BIG5HKSCS.irreversible: Update.
23189         * iconvdata/BIG5HKSCS.precomposed: New file.
23190         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23191         characters.
23192         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23193
23194 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23195
23196         * include/sys/time.h: Fix indentation and add copyright header.
23197
23198         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23199         (do_test): Likewise.
23200         * string/test-memchr.c (do_one_test): Likewise.
23201         (do_test): Likewise.
23202         * string/test-memcmp.c (do_one_test): Likewise.
23203         (do_test): Likewise.
23204         * string/test-memcpy.c (do_one_test): Likewise.
23205         (do_test): Likewise.
23206         * string/test-memmem.c (do_one_test): Likewise.
23207         (do_test): Likewise.
23208         (do_random_tests): Likewise.
23209         * string/test-memmove.c (do_one_test): Likewise.
23210         (do_test): Likewise.
23211         * string/test-memset.c (do_one_test): Likewise.
23212         (do_test): Likewise.
23213         * string/test-rawmemchr.c (do_one_test): Likewise.
23214         (do_test): Likewise.
23215         * string/test-strcasecmp.c (do_one_test): Likewise.
23216         (do_test): Likewise.
23217         * string/test-strcasestr.c (do_one_test): Likewise.
23218         (do_test): Likewise.
23219         * string/test-strcat.c (do_one_test): Likewise.
23220         (do_test): Likewise.
23221         * string/test-strchr.c (do_one_test): Likewise.
23222         (do_test): Likewise.
23223         * string/test-strcmp.c (do_one_test): Likewise.
23224         (do_test): Likewise.
23225         * string/test-strcpy.c (do_one_test): Likewise.
23226         (do_test): Likewise.
23227         * string/test-string.h: Likewise.
23228         (test_init): Likewise.
23229         * string/test-strlen.c (do_one_test): Likewise.
23230         (do_test): Likewise.
23231         * string/test-strncasecmp.c (do_one_test): Likewise.
23232         (do_test): Likewise.
23233         * string/test-strncat.c (do_one_test): Likewise.
23234         (do_test): Likewise.
23235         * string/test-strncmp.c (do_one_test): Likewise.
23236         (do_test_limit): Likewise.
23237         (do_test): Likewise.
23238         * string/test-strncpy.c (do_one_test): Likewise.
23239         (do_test): Likewise.
23240         * string/test-strnlen.c (do_one_test): Likewise.
23241         (do_test): Likewise.
23242         * string/test-strpbrk.c (do_one_test): Likewise.
23243         (do_test): Likewise.
23244         * string/test-strrchr.c (do_one_test): Likewise.
23245         (do_test): Likewise.
23246         * string/test-strspn.c (do_one_test): Likewise.
23247         (do_test): Likewise.
23248         * string/test-strstr.c (do_one_test): Likewise.
23249         (do_test): Likewise.
23250
23251         * benchtests/Makefile (string-bench): Add string benchmarks.
23252         * benchtests/bench-bcopy-ifunc.c: New file.
23253         * benchtests/bench-bcopy.c: New file.
23254         * benchtests/bench-bzero-ifunc.c: New file.
23255         * benchtests/bench-bzero.c: New file.
23256         * benchtests/bench-memccpy-ifunc.c: New file.
23257         * benchtests/bench-memccpy.c: New file.
23258         * benchtests/bench-memchr-ifunc.c: New file.
23259         * benchtests/bench-memchr.c: New file.
23260         * benchtests/bench-memcmp-ifunc.c: New file.
23261         * benchtests/bench-memcmp.c: New file.
23262         * benchtests/bench-memmem-ifunc.c: New file.
23263         * benchtests/bench-memmem.c: New file.
23264         * benchtests/bench-memmove-ifunc.c: New file.
23265         * benchtests/bench-memmove.c: New file.
23266         * benchtests/bench-mempcpy-ifunc.c: New file.
23267         * benchtests/bench-mempcpy.c: New file.
23268         * benchtests/bench-memset-ifunc.c: New file.
23269         * benchtests/bench-memset.c: New file.
23270         * benchtests/bench-rawmemchr-ifunc.c: New file.
23271         * benchtests/bench-rawmemchr.c: New file.
23272         * benchtests/bench-stpcpy-ifunc.c: New file.
23273         * benchtests/bench-stpcpy.c: New file.
23274         * benchtests/bench-stpncpy-ifunc.c: New file.
23275         * benchtests/bench-stpncpy.c: New file.
23276         * benchtests/bench-strcasecmp-ifunc.c: New file.
23277         * benchtests/bench-strcasecmp.c: New file.
23278         * benchtests/bench-strcasestr-ifunc.c: New file.
23279         * benchtests/bench-strcasestr.c: New file.
23280         * benchtests/bench-strcat-ifunc.c: New file.
23281         * benchtests/bench-strcat.c: New file.
23282         * benchtests/bench-strchr-ifunc.c: New file.
23283         * benchtests/bench-strchr.c: New file.
23284         * benchtests/bench-strchrnul-ifunc.c: New file.
23285         * benchtests/bench-strchrnul.c: New file.
23286         * benchtests/bench-strcmp-ifunc.c: New file.
23287         * benchtests/bench-strcmp.c: New file.
23288         * benchtests/bench-strcpy-ifunc.c: New file.
23289         * benchtests/bench-strcpy.c: New file.
23290         * benchtests/bench-strcspn-ifunc.c: New file.
23291         * benchtests/bench-strcspn.c: New file.
23292         * benchtests/bench-strlen-ifunc.c: New file.
23293         * benchtests/bench-strlen.c: New file.
23294         * benchtests/bench-strncasecmp-ifunc.c: New file.
23295         * benchtests/bench-strncasecmp.c: New file.
23296         * benchtests/bench-strncat-ifunc.c: New file.
23297         * benchtests/bench-strncat.c: New file.
23298         * benchtests/bench-strncmp-ifunc.c: New file.
23299         * benchtests/bench-strncmp.c: New file.
23300         * benchtests/bench-strncpy-ifunc.c: New file.
23301         * benchtests/bench-strncpy.c: New file.
23302         * benchtests/bench-strnlen-ifunc.c: New file.
23303         * benchtests/bench-strnlen.c: New file.
23304         * benchtests/bench-strpbrk-ifunc.c: New file.
23305         * benchtests/bench-strpbrk.c: New file.
23306         * benchtests/bench-strrchr-ifunc.c: New file.
23307         * benchtests/bench-strrchr.c: New file.
23308         * benchtests/bench-strspn-ifunc.c: New file.
23309         * benchtests/bench-strspn.c: New file.
23310         * benchtests/bench-strstr-ifunc.c: New file.
23311         * benchtests/bench-strstr.c: New file.
23312
23313         * benchtests/Makefile: Disable parallel execution of targets.
23314         (string-bench): Add memcpy.
23315         (benchset): New variable to store a list of benchmark sets.
23316         (bench-func): Renamed from bench.
23317         (bench-set): New target.
23318         (bench): Depend on bench-func and bench-set.
23319         * benchtests/README: Add section on benchmark sets.
23320         * benchtests/bench-memcpy-ifunc.c: New file.
23321         * benchtests/bench-memcpy.c: New file.
23322         * benchtests/bench-string.h: New file.
23323
23324 2013-06-11  Andreas Schwab  <schwab@suse.de>
23325
23326         [BZ #15577]
23327         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23328         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23329         values in the triple.
23330         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23331         terminator in the group key.
23332
23333 2013-06-11  Andreas Jaeger  <aj@suse.de>
23334
23335         * po/zh_TW.po: Update Chinese (traditional) translation from
23336         translation project.
23337
23338 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23339
23340         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23341         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23342         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23343         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23344         (clock_getcpuclockid): Likewise.
23345         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23346         Add weak_alias and libc_hidden_def.
23347         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23348         * rt/clock_gettime.c (clock_gettime): Rename to
23349         __clock_gettime.  Add weak_alias and libc_hidden_def.
23350         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23351         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23352         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23353         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23354         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23355         Likewise.
23356         * rt/clock_settime.c (clock_settime): Rename to
23357         __clock_settime.  Add weak_alias and libc_hidden_def.
23358         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23359
23360 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23361
23362         * mach/err_boot.sub: Remove trailing whitespace.
23363         * mach/err_ipc.sub: Likewise.
23364         * mach/err_mach.sub: Likewise.
23365
23366         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23367         (ROUNDING_TESTS_double): Likewise.
23368         (ROUNDING_TESTS_long_double): Likewise.
23369         (ROUNDING_TESTS): Likewise.
23370         * math/libm-test.inc: Include <math-tests.h>.
23371         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23372         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23373         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23374         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23375
23376 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23377
23378         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23379         of assigning.
23380
23381 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23382
23383         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23384         otherwise empty TRANS lines.
23385         * sysdeps/gnu/errlist.c: Regenerated.
23386
23387         * catgets/gencat.c (error_print): Use (void) in function
23388         definition.
23389         * crypt/crypt_util.c (__init_des): Likewise.
23390         * crypt/speeds.c (Stop): Likewise.
23391         (main): Likewise.
23392         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23393         * inet/ruserpass.c (token): Likewise.
23394         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23395         * intl/localealias.c (extend_alias_table): Likewise.
23396         * intl/plural-exp.c (init_germanic_plural): Likewise.
23397         * libio/fcloseall.c (__fcloseall): Likewise.
23398         * libio/genops.c (_IO_flush_all): Likewise.
23399         (_IO_flush_all_linebuffered): Likewise.
23400         (_IO_cleanup): Likewise.
23401         (_IO_iter_begin): Likewise.
23402         (_IO_iter_end): Likewise.
23403         (_IO_list_lock): Likewise.
23404         (_IO_list_unlock): Likewise.
23405         (_IO_list_resetlock): Likewise.
23406         * libio/getchar.c (getchar): Likewise.
23407         * libio/getchar_u.c (getchar_unlocked): Likewise.
23408         * libio/getwchar.c (getwchar): Likewise.
23409         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23410         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23411         * login/getpt.c (__getpt): Likewise.
23412         * login/tst-utmp.c (main): Likewise.
23413         * malloc/hooks.c (__malloc_check_init): Likewise.
23414         * malloc/malloc.c (__malloc_stats): Likewise.
23415         * malloc/mtrace.c (tr_break): Likewise.
23416         (mtrace): Likewise.
23417         (muntrace): Likewise.
23418         * misc/fstab.c (endfsent): Likewise.
23419         * misc/getclktck.c (__getclktck): Likewise.
23420         * misc/getdtsz.c (__getdtablesize): Likewise.
23421         * misc/gethostid.c (gethostid): Likewise.
23422         * misc/getpagesize.c (__getpagesize): Likewise.
23423         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23424         (__get_nprocs): Likewise.
23425         (__get_phys_pages): Likewise.
23426         (__get_avphys_pages): Likewise.
23427         * misc/getttyent.c (getttyent): Likewise.
23428         (setttyent): Likewise.
23429         (endttyent): Likewise.
23430         * misc/getusershell.c (getusershell): Likewise.
23431         (endusershell): Likewise.
23432         (setusershell): Likewise.
23433         (initshells): Likewise.
23434         * misc/hsearch.c (__hdestroy): Likewise.
23435         * misc/sync.c (sync): Likewise.
23436         * misc/syslog.c (closelog_internal): Likewise.
23437         (closelog): Likewise.
23438         * misc/ttyslot.c (ttyslot): Likewise.
23439         * misc/vhangup.c (vhangup): Likewise.
23440         * posix/fork.c (__fork): Likewise.
23441         * posix/getegid.c (__getegid): Likewise.
23442         * posix/geteuid.c (__geteuid): Likewise.
23443         * posix/getgid.c (__getgid): Likewise.
23444         * posix/getpid.c (__getpid): Likewise.
23445         * posix/getppid.c (__getppid): Likewise.
23446         * posix/getuid.c (__getuid): Likewise.
23447         * posix/pause.c (pause): Likewise.
23448         * posix/setpgrp.c (setpgrp): Likewise.
23449         * posix/setsid.c (__setsid): Likewise.
23450         * posix/test-vfork.c (noop): Likewise.
23451         * resolv/gethnamaddr.c (_endhtent): Likewise.
23452         (_gethtent): Likewise.
23453         (ht_endhostent): Likewise.
23454         (gethostent): Likewise.
23455         (dns_service): Likewise.
23456         * stdlib/drand48.c (drand48): Likewise.
23457         * stdlib/lrand48.c (lrand48): Likewise.
23458         * stdlib/mrand48.c (mrand48): Likewise.
23459         * stdlib/rand.c (rand): Likewise.
23460         * stdlib/random.c (__random): Likewise.
23461         * stdlib/setenv.c (clearenv): Likewise.
23462         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23463         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23464         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23465         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23466         (__get_nprocs): Likewise.
23467         (__get_phys_pages): Likewise.
23468         (__get_avphys_pages): Likewise.
23469         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23470         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23471         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23472         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23473         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23474         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23475         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23476         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23477         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23478         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23479         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23480         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23481         * sysdeps/posix/clock.c (clock): Likewise.
23482         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23483         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23484         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23485         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23486         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23487         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23488         (__get_nprocs_conf): Likewise.
23489         (__get_phys_pages): Likewise.
23490         (__get_avphys_pages): Likewise.
23491         * time/clock.c (clock): Likewise.
23492         * time/tzset.c (__tzname_max): Likewise.
23493
23494 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23495
23496         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23497         (__bswap_32): Do not use "register".
23498         * crypt/crypt.c (_ufc_doit_r): Likewise.
23499         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23500         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23501         * gmon/gmon.c (__monstartup): Likewise.
23502         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23503         * hurd/hurdmalloc.c (more_memory): Likewise.
23504         (malloc): Likewise.
23505         (free): Likewise.
23506         (realloc): Likewise.
23507         (malloc_fork_prepare): Likewise.
23508         (malloc_fork_parent): Likewise.
23509         (malloc_fork_child): Likewise.
23510         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23511         (_svcauth_des): Likewise.
23512         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23513         * inet/inet_net.c (inet_network): Likewise.
23514         * inet/inet_netof.c (inet_netof): Likewise.
23515         * inet/rcmd.c (__validuser2_sa): Likewise.
23516         * io/fts.c (fts_open): Likewise.
23517         (fts_load): Likewise.
23518         (fts_close): Likewise.
23519         (fts_read): Likewise.
23520         (fts_children): Likewise.
23521         (fts_build): Likewise.
23522         (fts_stat): Likewise.
23523         (fts_sort): Likewise.
23524         (fts_alloc): Likewise.
23525         (fts_lfree): Likewise.
23526         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23527         (_IO_file_xsgetn): Likewise.
23528         (_IO_file_xsgetn_mmap): Likewise.
23529         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23530         (_IO_cookie_write): Likewise.
23531         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23532         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23533         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23534         * malloc/obstack.c (_obstack_begin): Likewise.
23535         (_obstack_begin_1): Likewise.
23536         (_obstack_newchunk): Likewise.
23537         (_obstack_allocated_p): Likewise.
23538         (obstack_free): Likewise.
23539         (_obstack_memory_used): Likewise.
23540         * misc/getttyent.c (getttynam): Likewise.
23541         (getttyent): Likewise.
23542         (skip): Likewise.
23543         (value): Likewise.
23544         * misc/getusershell.c (initshells): Likewise.
23545         * misc/syslog.c (__vsyslog_chk): Likewise.
23546         * misc/ttyslot.c (ttyslot): Likewise.
23547         * nis/nis_hash.c (__nis_hash): Likewise.
23548         * posix/fnmatch_loop.c (FCT): Likewise.
23549         * posix/getconf.c (print_all): Likewise.
23550         (main): Likewise.
23551         * posix/getopt.c (exchange): Likewise.
23552         * posix/glob.c (globfree): Likewise.
23553         (prefix_array): Likewise.
23554         (__glob_pattern_type): Likewise.
23555         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23556         (NS_GET32): Likewise.
23557         (NS_PUT16): Likewise.
23558         (NS_PUT32): Likewise.
23559         * resolv/gethnamaddr.c (getanswer): Likewise.
23560         (gethostbyname2): Likewise.
23561         (gethostbyaddr): Likewise.
23562         (_gethtent): Likewise.
23563         (_gethtbyname2): Likewise.
23564         (_gethtbyaddr): Likewise.
23565         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23566         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23567         * resolv/res_init.c (__res_vinit): Likewise.
23568         (net_mask): Likewise.
23569         * resolv/res_mkquery.c (outchar): Likewise.
23570         (PRINT): Likewise.
23571         * stdio-common/printf_fp.c (outchar): Likewise.
23572         (PRINT): Likewise.
23573         * stdio-common/printf_fphex.c (outchar): Likewise.
23574         (PRINT): Likewise.
23575         * stdio-common/printf_size.c (outchar): Likewise.
23576         (PRINT): Likewise.
23577         * stdio-common/test_rdwr.c (main): Likewise.
23578         * stdio-common/tfformat.c (matches): Likewise.
23579         * stdio-common/vfprintf.c (outchar): Likewise.
23580         (printf_unknown): Likewise.
23581         (buffered_vfprintf): Likewise.
23582         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23583         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23584         (ReadFile): Likewise.
23585         * stdlib/qsort.c (SWAP): Likewise.
23586         (_quicksort): Likewise.
23587         * stdlib/setenv.c (__add_to_environ): Likewise.
23588         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23589         * stdlib/strtol_l.c (__strtol_l): Likewise.
23590         * stdlib/tst-strtod.c (main): Likewise.
23591         * stdlib/tst-strtol.c (main): Likewise.
23592         * stdlib/tst-strtoll.c (main): Likewise.
23593         * string/bits/string2.h (__strcmp_cc): Likewise.
23594         (__strcmp_cg): Likewise.
23595         (__strcspn_c1): Likewise.
23596         (__strcspn_c2): Likewise.
23597         (__strcspn_c3): Likewise.
23598         (__strspn_c1): Likewise.
23599         (__strspn_c2): Likewise.
23600         (__strspn_c3): Likewise.
23601         (__strsep_1c): Likewise.
23602         (__strsep_2c): Likewise.
23603         (__strsep_3c): Likewise.
23604         * string/memccpy.c (__memccpy): Likewise.
23605         * string/stpcpy.c (__stpcpy): Likewise.
23606         * string/strcmp.c (strcmp): Likewise.
23607         * string/strrchr.c (strrchr): Likewise.
23608         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23609         Likewise.
23610         * sysdeps/mach/hurd/getcwd.c
23611         (_hurd_canonicalize_directory_name_internal): Likewise.
23612         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23613         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23614         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23615         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23616         Likewise, in both definitions.
23617         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23618         definitions.
23619         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23620         64] (__bswap_64): Likewise.
23621         * time/test_time.c (main): Likewise.
23622         * time/tzfile.c (__tzfile_read): Likewise.
23623         (__tzfile_compute): Likewise.
23624         * time/tzset.c (__tzset_parse_tz): Likewise.
23625         (tzset_internal): Likewise.
23626         (compute_change): Likewise.
23627         * wcsmbs/wcscat.c (__wcscat): Likewise.
23628         * wcsmbs/wcschr.c (wcschr): Likewise.
23629         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23630         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23631         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23632         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23633         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23634         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23635         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23636         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23637         * wcsmbs/wmemset.c (wmemset): Likewise.
23638
23639 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23640
23641         * scripts/config.guess: Update to version 2013-05-16.
23642         * scripts/config.sub: Update to version 2013-04-24.
23643         * scripts/install-sh: Update to version 2011-11-20.07.
23644         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23645         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23646
23647 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23648
23649         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23650         * elf/sln.c: Likewise.
23651         * hurd/hurd/ioctl.h: Likewise.
23652         * hurd/hurdmalloc.c: Likewise.
23653         * hurd/xattr.c: Likewise.
23654         * include/shlib-compat.h: Likewise.
23655         * inet/ruserpass.c: Likewise.
23656         * libio/iofgets_u.c: Likewise.
23657         * libio/iofgetws_u.c: Likewise.
23658         * locale/programs/ld-identification.c: Likewise.
23659         * locale/programs/ld-time.c: Likewise.
23660         * mach/msg-destroy.c: Likewise.
23661         * nss/nss_files/files-netgrp.c: Likewise.
23662         * resolv/res_data.c: Likewise.
23663         * soft-fp/op-1.h: Likewise.
23664         * soft-fp/op-2.h: Likewise.
23665         * soft-fp/op-4.h: Likewise.
23666         * soft-fp/op-common.h: Likewise.
23667         * stdio-common/printf_fphex.c: Likewise.
23668         * stdlib/strtod_l.c: Likewise.
23669         * sunrpc/rpc/clnt.h: Likewise.
23670         * sysdeps/generic/framestate.c: Likewise.
23671         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23672         * sysdeps/i386/bsd-setjmp.S: Likewise.
23673         * sysdeps/i386/__longjmp.S: Likewise.
23674         * sysdeps/i386/setjmp.S: Likewise.
23675         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23676         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23677         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23678         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23680         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23681         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23682         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23683         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23684         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23685         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23686         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23687         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23688         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23689         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23690         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23691         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23692         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23693         * sysdeps/ieee754/support.c: Likewise.
23694         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23695         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23696         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23697         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23698         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23699         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23700         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23701         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23702         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23703         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23704         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23705         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23706         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23707         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23708         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23709         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23710         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23712
23713 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23714
23715         * posix/transbug.c: Remove executable mode.
23716
23717 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23718
23719         * crypt/speeds.c: Remove trailing whitespace.
23720         * dlfcn/default.c: Likewise.
23721         * elf/ifuncdep2.c: Likewise.
23722         * elf/ifuncmain1.c: Likewise.
23723         * elf/ifuncmain1vis.c: Likewise.
23724         * elf/testobj.h: Likewise.
23725         * elf/tst-stackguard1.c: Likewise.
23726         * gmon/sys/gmon.h: Likewise.
23727         * hurd/hurdmsg.c: Likewise.
23728         * hurd/new-fd.c: Likewise.
23729         * hurd/ports-get.c: Likewise.
23730         * iconvdata/ibm1008_420.c: Likewise.
23731         * inet/tst-getni1.c: Likewise.
23732         * inet/tst-getni2.c: Likewise.
23733         * libio/ioungetc.c: Likewise.
23734         * libio/wfiledoalloc.c: Likewise.
23735         * manual/libm-err-tab.pl: Likewise.
23736         * math/w_dremf.c: Likewise.
23737         * misc/ftruncate.c: Likewise.
23738         * posix/bug-glob2.c: Likewise.
23739         * posix/tst-pcre.c: Likewise.
23740         * posix/wait4.c: Likewise.
23741         * resolv/README: Likewise.
23742         * resolv/res_debug.h: Likewise.
23743         * resolv/tst-inet_ntop.c: Likewise.
23744         * setjmp/bug269-setjmp.c: Likewise.
23745         * soft-fp/extended.h: Likewise.
23746         * soft-fp/op-1.h: Likewise.
23747         * soft-fp/op-2.h: Likewise.
23748         * soft-fp/op-4.h: Likewise.
23749         * soft-fp/op-8.h: Likewise.
23750         * soft-fp/testit.c: Likewise.
23751         * stdio-common/bug16.c: Likewise.
23752         * stdlib/random.c: Likewise.
23753         * sunrpc/rpcsvc/rquota.x: Likewise.
23754         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23755         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23756         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23757         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23758         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23759         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23760         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23761         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23762         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23763         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23764         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23765         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23766         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23767         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23768         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23769         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23770         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23771         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23772         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23773         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23774         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23775         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23776         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23777         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23778         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23779         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23782         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23783         * sysdeps/ieee754/s_lib_version.c: Likewise.
23784         * sysdeps/mach/hurd/check_fds.c: Likewise.
23785         * sysdeps/mach/hurd/getsockname.c: Likewise.
23786         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23787         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23788         * sysdeps/powerpc/bits/link.h: Likewise.
23789         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23790         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23791         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23792         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23793         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23794         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23795         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23796         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23797         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23798         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23799         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23800         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23801         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23802         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23803         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23804         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23805         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23806         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23807         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23808         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23809         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23810         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23811         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23812         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23813         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23814         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23815         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23816         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23817         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23818         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23819         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23820         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23821         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23822         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23823         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23824         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23825         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23826         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23827         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23828         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23829         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23830         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23831         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23832         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23833         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23834         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23835         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23836         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23837         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23838         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23839         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23840         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23841         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23842         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23843         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23844         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23845         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23846         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23847         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23848         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23849         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23850         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23851         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23852         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23853         * sysdeps/powerpc/sysdep.h: Likewise.
23854         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23855         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23856         * sysdeps/sh/dl-trampoline.S: Likewise.
23857         * sysdeps/sh/memset.S: Likewise.
23858         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23859         * sysdeps/sh/strlen.S: Likewise.
23860         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23861         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23862         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23863         * sysdeps/sparc/sparc32/rem.S: Likewise.
23864         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23865         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23866         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23867         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23868         * sysdeps/sparc/sparc32/urem.S: Likewise.
23869         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23870         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23871         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23872         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23874         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23875         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23876         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23877         * sysdeps/unix/bsd/times.c: Likewise.
23878         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23879         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23883         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23884         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23885         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23886         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23887         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23888         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23889         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23890         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23891         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23892         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23893         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23894         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23895         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23896         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23897         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23898         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23899         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23900         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23901         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23902         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23903         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23904         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23905         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23906         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23907         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23908         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23909         * sysdeps/x86_64/strcspn.S: Likewise.
23910
23911 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23912
23913         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23914         generated file.  Regenerate properly from gen-translit.pl.
23915         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23916         locale/C-translit.h.
23917
23918 2013-06-05  Andreas Schwab  <schwab@suse.de>
23919
23920         [BZ #15100]
23921         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23922         week as 6 instead of -1.
23923         * time/tst-strptime.c (day_tests): Add test case.
23924
23925 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23926
23927         * sysdeps/generic/math_private.h
23928         (libc_feholdexcept_setround_53bit): Replace with
23929         libc_feholdsetround_53bit.
23930         (libc_feupdateenv_53bit): Replace with
23931         libc_feresetround_53bit.
23932         (SET_RESTORE_ROUND_53BIT): Adjust.
23933
23934 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23935
23936         * string/test-strchrnul.c: Add copyright header.
23937
23938         * posix/tst-getaddrinfo4.c: Increase test timeout.
23939
23940 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23941
23942         [BZ #15536]
23943         * math/libm-test.inc (MAX_EXP): Remove
23944         (MIN_EXP): Define.
23945         (ulp): Use MIN_EXP - MANT_DIG.
23946         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23947
23948 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23949
23950         * po/be.po: Revert last change.
23951         * po/zh_CN.po: Likewise.
23952         * po/header.pot: Likewise.
23953
23954 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23955
23956         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23957         link-libc-deps to empty as target-specific variable.
23958         * Makerules (link-libc-args): New variable.
23959         (libc-for-link): Likewise.
23960         (link-libc-deps): Likewise.
23961         (lib%.so): Depend on $(link-libc-deps).  Link with
23962         $(link-libc-args).
23963         (build-module): Link with $(link-libc-args).
23964         (build-module-asneeded): Likewise.
23965         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23966         list of objects.
23967         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23968         target-specific variable.
23969         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23970         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23971         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23972         libc.
23973         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23974         libc and ld.so.
23975         ($(objpfx)libpcprofile.so): Likewise.
23976         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23977         libc_nonshared.a.
23978         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23979         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23980         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23981         $(link-libc-deps).
23982         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23983         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23984         * login/Makefile ($(objpfx)libutil.so): Likewise.
23985         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23986         * math/Makefile ($(objpfx)libm.so): Likewise.
23987         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23988         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23989         variable instead of depending directly on libc.
23990         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23991         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23992         $(link-libc-deps).
23993         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23994         libc.
23995         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23996         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23997         ($(objpfx)libanl.so): Likewise.
23998         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23999         ld.so.
24000         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24001         $(link-libc-deps).
24002         * sysdeps/i386/fpu/Makefile: Remove file.
24003         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24004         ($(objpfx)libm.so): Remove dependency on ld.so.
24005
24006 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24007
24008         [BZ # 15553]
24009         * nis/yp_xdr.c (XDRMAXNAME): Define.
24010         (XDRMAXRECORD): Define.
24011         (xdr_domainname): Use XDRMAXNAME.
24012         (xdr_mapname): Likewise.
24013         (xdr_peername): Likewise.
24014         (xdr_keydat): Use XDRMAXRECORD.
24015         (xdr_valdat): Likewise.
24016
24017 2013-05-30  Jeff Law  <law@redhat.com>
24018
24019         [BZ #14256]
24020         * manual/errno.texi (ESTALE): Update to account for more than
24021         just NFS file systems.
24022         * sysdeps/gnu/errlist.c: Regenerated.
24023
24024 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24025
24026         [BZ #15465]
24027         * elf/Makefile (tests): Add tst-null-argv.
24028         (modules-names):  Add tst-null-argv-lib.
24029         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24030         (tst-null-argv-ENV): Set environment for tst-null-argv.
24031         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24032         (RTLD_PROGNAME): New macro.
24033         * elf/tst-null-argv.c: New test case.
24034         * elf/tst-null-argv-lib.c: Library for test case.
24035         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24036         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24037         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24038         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24039         * elf/dl-init.c (call_init): Likewise.
24040         (_dl_init): Likewise.
24041         * elf/dl-load.c (print_search_path): Likewise.
24042         (_dl_map_object): Likewise.
24043         * elf/dl-lookup.c (do_lookup_x): Likewise.
24044         (add_dependency): Likewise.
24045         (_dl_lookup_symbol_x): Likewise.
24046         (_dl_debug_bindings): Likewise.
24047         * elf/dl-open.c (_dl_show_scope): Likewise.
24048         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24049         * elf/dl-version.c (match_symbol): Likewise.
24050         (_dl_check_map_versions): Likewise.
24051         * elf/rtld.c (dl_main): Likewise.
24052         (print_unresolved): Use RTLD_PROGNAME.
24053         (print_missing_version): Likewise.
24054         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24055         (elf_machine_rela): Likewise.
24056         * sysdeps/powerpc/powerpc32/dl-machine.c
24057         (__process_machine_rela): Likewise.
24058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24059         Likewise.
24060         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24061         Likewise.
24062         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24063         Likewise.
24064         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24065         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24066         Likewise.
24067         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24068         Likewise.
24069         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24070
24071 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24072
24073         * po/be.po: Add descriptive title.
24074         * po/zh_CN.po: Likewise.
24075         * po/header.pot: Likewise.
24076
24077 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24078
24079         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24080         error message.
24081         (enlarge_archive): Likewise.
24082
24083 2013-05-28  Ben North  <ben@redfrontdoor.org>
24084
24085         * manual/arith.texi (frexp): It is the magnitude of the return
24086         value which lies in [0.5, 1), not the return value itself.
24087
24088 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24089
24090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24091
24092 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24093
24094         * stdio-common/bug26.c (main): Correct fscanf template.
24095
24096         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24097         declare _dl_skip_args.
24098
24099         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24100         Don't declare.
24101
24102         * manual/platform.texi: Add missing @end deftypefun.
24103
24104 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24105
24106         [BZ #15529]
24107         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24108         bit of mantissa of 2^16382.
24109         * math/libm-test.inc (hypot_test_data): Add more tests.
24110
24111         * math/libm-test.inc: Add drem and pow10 to list of tested
24112         functions.
24113         (pow10_test): New function.
24114         (drem_test): Likewise.
24115         (drem_test_tonearest): Likewise.
24116         (drem_test_towardzero): Likewise.
24117         (drem_test_downward): Likewise.
24118         (drem_test_upward): Likewise.
24119         (main): Call the new functions.
24120
24121         * math/libm-test.inc (finite_test_data): Remove.
24122         (finite_test): Run tests from isfinite_test_data.
24123         (gamma_test_data): Remove.
24124         (gamma_test): Run tests from lgamma_test_data.
24125         * sysdeps/i386/fpu/libm-test-ulps: Update.
24126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24127
24128 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24129
24130         * manual/platform.texi: Add PowerPC PPR function set documentation.
24131         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24132         implementation.
24133
24134 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24135
24136         * math/libm-test.inc (MAX_EXP): Define.
24137         (ULPDIFF): Define.
24138         (ulp): New function.
24139         (check_float_internal): Use ULPDIFF.
24140         (cpow_test): Disable failing test.
24141         (check_ulp): Test ulp() implemetnation.
24142         (main): Call check_ulp before starting tests.
24143
24144 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24145
24146         * math/gen-libm-test.pl (generate_testfile): Do not handle
24147         START_DATA and END_DATA.
24148         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24149         END_DATA.
24150         (acos_tonearest_test_data): Likewise.
24151         (acos_towardzero_test_data): Likewise.
24152         (acos_downward_test_data): Likewise.
24153         (acos_upward_test_data): Likewise.
24154         (acosh_test_data): Likewise.
24155         (asin_test_data): Likewise.
24156         (asin_tonearest_test_data): Likewise.
24157         (asin_towardzero_test_data): Likewise.
24158         (asin_downward_test_data): Likewise.
24159         (asin_upward_test_data): Likewise.
24160         (asinh_test_data): Likewise.
24161         (atan_test_data): Likewise.
24162         (atanh_test_data): Likewise.
24163         (atan2_test_data): Likewise.
24164         (cabs_test_data): Likewise.
24165         (cacos_test_data): Likewise.
24166         (cacosh_test_data): Likewise.
24167         (carg_test_data): Likewise.
24168         (casin_test_data): Likewise.
24169         (casinh_test_data): Likewise.
24170         (catan_test_data): Likewise.
24171         (catanh_test_data): Likewise.
24172         (cbrt_test_data): Likewise.
24173         (ccos_test_data): Likewise.
24174         (ccosh_test_data): Likewise.
24175         (ceil_test_data): Likewise.
24176         (cexp_test_data): Likewise.
24177         (cimag_test_data): Likewise.
24178         (clog_test_data): Likewise.
24179         (clog10_test_data): Likewise.
24180         (conj_test_data): Likewise.
24181         (copysign_test_data): Likewise.
24182         (cos_test_data): Likewise.
24183         (cos_tonearest_test_data): Likewise.
24184         (cos_towardzero_test_data): Likewise.
24185         (cos_downward_test_data): Likewise.
24186         (cos_upward_test_data): Likewise.
24187         (cosh_test_data): Likewise.
24188         (cosh_tonearest_test_data): Likewise.
24189         (cosh_towardzero_test_data): Likewise.
24190         (cosh_downward_test_data): Likewise.
24191         (cosh_upward_test_data): Likewise.
24192         (cpow_test_data): Likewise.
24193         (cproj_test_data): Likewise.
24194         (creal_test_data): Likewise.
24195         (csin_test_data): Likewise.
24196         (csinh_test_data): Likewise.
24197         (csqrt_test_data): Likewise.
24198         (ctan_test_data): Likewise.
24199         (ctan_tonearest_test_data): Likewise.
24200         (ctan_towardzero_test_data): Likewise.
24201         (ctan_downward_test_data): Likewise.
24202         (ctan_upward_test_data): Likewise.
24203         (ctanh_test_data): Likewise.
24204         (ctanh_tonearest_test_data): Likewise.
24205         (ctanh_towardzero_test_data): Likewise.
24206         (ctanh_downward_test_data): Likewise.
24207         (ctanh_upward_test_data): Likewise.
24208         (erf_test_data): Likewise.
24209         (erfc_test_data): Likewise.
24210         (exp_test_data): Likewise.
24211         (exp_tonearest_test_data): Likewise.
24212         (exp_towardzero_test_data): Likewise.
24213         (exp_downward_test_data): Likewise.
24214         (exp_upward_test_data): Likewise.
24215         (exp10_test_data): Likewise.
24216         (exp2_test_data): Likewise.
24217         (expm1_test_data): Likewise.
24218         (fabs_test_data): Likewise.
24219         (fdim_test_data): Likewise.
24220         (finite_test_data): Likewise.
24221         (floor_test_data): Likewise.
24222         (fma_test_data): Likewise.
24223         (fma_towardzero_test_data): Likewise.
24224         (fma_downward_test_data): Likewise.
24225         (fma_upward_test_data): Likewise.
24226         (fmax_test_data): Likewise.
24227         (fmin_test_data): Likewise.
24228         (fmod_test_data): Likewise.
24229         (fpclassify_test_data): Likewise.
24230         (frexp_test_data): Likewise.
24231         (gamma_test_data): Likewise.
24232         (hypot_test_data): Likewise.
24233         (ilogb_test_data): Likewise.
24234         (isfinite_test_data): Likewise.
24235         (isgreater_test_data): Likewise.
24236         (isgreaterequal_test_data): Likewise.
24237         (isinf_test_data): Likewise.
24238         (isless_test_data): Likewise.
24239         (islessequal_test_data): Likewise.
24240         (islessgreater_test_data): Likewise.
24241         (isnan_test_data): Likewise.
24242         (isnormal_test_data): Likewise.
24243         (issignaling_test_data): Likewise.
24244         (isunordered_test_data): Likewise.
24245         (j0_test_data): Likewise.
24246         (j1_test_data): Likewise.
24247         (jn_test_data): Likewise.
24248         (ldexp_test_data): Likewise.
24249         (lgamma_test_data): Likewise.
24250         (lrint_test_data): Likewise.
24251         (lrint_tonearest_test_data): Likewise.
24252         (lrint_towardzero_test_data): Likewise.
24253         (lrint_downward_test_data): Likewise.
24254         (lrint_upward_test_data): Likewise.
24255         (llrint_test_data): Likewise.
24256         (llrint_tonearest_test_data): Likewise.
24257         (llrint_towardzero_test_data): Likewise.
24258         (llrint_downward_test_data): Likewise.
24259         (llrint_upward_test_data): Likewise.
24260         (log_test_data): Likewise.
24261         (log10_test_data): Likewise.
24262         (log1p_test_data): Likewise.
24263         (log2_test_data): Likewise.
24264         (logb_test_data): Likewise.
24265         (logb_downward_test_data): Likewise.
24266         (lround_test_data): Likewise.
24267         (llround_test_data): Likewise.
24268         (modf_test_data): Likewise.
24269         (nearbyint_test_data): Likewise.
24270         (nextafter_test_data): Likewise.
24271         (nexttoward_test_data): Likewise.
24272         (pow_test_data): Likewise.
24273         (pow_tonearest_test_data): Likewise.
24274         (pow_towardzero_test_data): Likewise.
24275         (pow_downward_test_data): Likewise.
24276         (pow_upward_test_data): Likewise.
24277         (remainder_test_data): Likewise.
24278         (remainder_tonearest_test_data): Likewise.
24279         (remainder_towardzero_test_data): Likewise.
24280         (remainder_downward_test_data): Likewise.
24281         (remainder_upward_test_data): Likewise.
24282         (remquo_test_data): Likewise.
24283         (rint_test_data): Likewise.
24284         (rint_tonearest_test_data): Likewise.
24285         (rint_towardzero_test_data): Likewise.
24286         (rint_downward_test_data): Likewise.
24287         (rint_upward_test_data): Likewise.
24288         (round_test_data): Likewise.
24289         (scalb_test_data): Likewise.
24290         (scalbn_test_data): Likewise.
24291         (scalbln_test_data): Likewise.
24292         (signbit_test_data): Likewise.
24293         (sin_test_data): Likewise.
24294         (sin_tonearest_test_data): Likewise.
24295         (sin_towardzero_test_data): Likewise.
24296         (sin_downward_test_data): Likewise.
24297         (sin_upward_test_data): Likewise.
24298         (sincos_test_data): Likewise.
24299         (sinh_test_data): Likewise.
24300         (sinh_tonearest_test_data): Likewise.
24301         (sinh_towardzero_test_data): Likewise.
24302         (sinh_downward_test_data): Likewise.
24303         (sinh_upward_test_data): Likewise.
24304         (sqrt_test_data): Likewise.
24305         (tan_test_data): Likewise.
24306         (tan_tonearest_test_data): Likewise.
24307         (tan_towardzero_test_data): Likewise.
24308         (tan_downward_test_data): Likewise.
24309         (tan_upward_test_data): Likewise.
24310         (tanh_test_data): Likewise.
24311         (tgamma_test_data): Likewise.
24312         (trunc_test_data): Likewise.
24313         (y0_test_data): Likewise.
24314         (y1_test_data): Likewise.
24315         (yn_test_data): Likewise.
24316         (significand_test_data): Likewise.
24317
24318         * math/gen-libm-test.pl (@functions): Remove variable.
24319         (generate_testfile): Don't handle START and END lines.
24320         * math/libm-test.inc (START): New macro.
24321         (END): Likewise.
24322         (END_COMPLEX): Likewise.
24323         (acos_test): Use END macro without arguments.
24324         (acos_test_tonearest): Likewise.
24325         (acos_test_towardzero): Likewise.
24326         (acos_test_downward): Likewise.
24327         (acos_test_upward): Likewise.
24328         (acosh_test): Likewise.
24329         (asin_test): Likewise.
24330         (asin_test_tonearest): Likewise.
24331         (asin_test_towardzero): Likewise.
24332         (asin_test_downward): Likewise.
24333         (asin_test_upward): Likewise.
24334         (asinh_test): Likewise.
24335         (atan_test): Likewise.
24336         (atanh_test): Likewise.
24337         (atan2_test): Likewise.
24338         (cabs_test): Likewise.
24339         (cacos_test): Use END_COMPLEX macro without arguments.
24340         (cacosh_test): Likewise.
24341         (carg_test): Use END macro without arguments.
24342         (casin_test): Use END_COMPLEX macro without arguments.
24343         (casinh_test): Likewise.
24344         (catan_test): Likewise.
24345         (catanh_test): Likewise.
24346         (cbrt_test): Use END macro without arguments.
24347         (ccos_test): Use END_COMPLEX macro without arguments.
24348         (ccosh_test): Likewise.
24349         (ceil_test): Use END macro without arguments.
24350         (cexp_test): Use END_COMPLEX macro without arguments.
24351         (cimag_test): Use END macro without arguments.
24352         (clog_test): Use END_COMPLEX macro without arguments.
24353         (clog10_test): Likewise.
24354         (conj_test): Likewise.
24355         (copysign_test): Use END macro without arguments.
24356         (cos_test): Likewise.
24357         (cos_test_tonearest): Likewise.
24358         (cos_test_towardzero): Likewise.
24359         (cos_test_downward): Likewise.
24360         (cos_test_upward): Likewise.
24361         (cosh_test): Likewise.
24362         (cosh_test_tonearest): Likewise.
24363         (cosh_test_towardzero): Likewise.
24364         (cosh_test_downward): Likewise.
24365         (cosh_test_upward): Likewise.
24366         (cpow_test): Use END_COMPLEX macro without arguments.
24367         (cproj_test): Likewise.
24368         (creal_test): Use END macro without arguments.
24369         (csin_test): Use END_COMPLEX macro without arguments.
24370         (csinh_test): Likewise.
24371         (csqrt_test): Likewise.
24372         (ctan_test): Likewise.
24373         (ctan_test_tonearest): Likewise.
24374         (ctan_test_towardzero): Likewise.
24375         (ctan_test_downward): Likewise.
24376         (ctan_test_upward): Likewise.
24377         (ctanh_test): Likewise.
24378         (ctanh_test_tonearest): Likewise.
24379         (ctanh_test_towardzero): Likewise.
24380         (ctanh_test_downward): Likewise.
24381         (ctanh_test_upward): Likewise.
24382         (erf_test): Use END macro without arguments.
24383         (erfc_test): Likewise.
24384         (exp_test): Likewise.
24385         (exp_test_tonearest): Likewise.
24386         (exp_test_towardzero): Likewise.
24387         (exp_test_downward): Likewise.
24388         (exp_test_upward): Likewise.
24389         (exp10_test): Likewise.
24390         (exp2_test): Likewise.
24391         (expm1_test): Likewise.
24392         (fabs_test): Likewise.
24393         (fdim_test): Likewise.
24394         (finite_test): Likewise.
24395         (floor_test): Likewise.
24396         (fma_test): Likewise.
24397         (fma_test_towardzero): Likewise.
24398         (fma_test_downward): Likewise.
24399         (fma_test_upward): Likewise.
24400         (fmax_test): Likewise.
24401         (fmin_test): Likewise.
24402         (fmod_test): Likewise.
24403         (fpclassify_test): Likewise.
24404         (frexp_test): Likewise.
24405         (gamma_test): Likewise.
24406         (hypot_test): Likewise.
24407         (ilogb_test): Likewise.
24408         (isfinite_test): Likewise.
24409         (isgreater_test): Likewise.
24410         (isgreaterequal_test): Likewise.
24411         (isinf_test): Likewise.
24412         (isless_test): Likewise.
24413         (islessequal_test): Likewise.
24414         (islessgreater_test): Likewise.
24415         (isnan_test): Likewise.
24416         (isnormal_test): Likewise.
24417         (issignaling_test): Likewise.
24418         (isunordered_test): Likewise.
24419         (j0_test): Likewise.
24420         (j1_test): Likewise.
24421         (jn_test): Likewise.
24422         (ldexp_test): Likewise.
24423         (lgamma_test): Likewise.
24424         (lrint_test): Likewise.
24425         (lrint_test_tonearest): Likewise.
24426         (lrint_test_towardzero): Likewise.
24427         (lrint_test_downward): Likewise.
24428         (lrint_test_upward): Likewise.
24429         (llrint_test): Likewise.
24430         (llrint_test_tonearest): Likewise.
24431         (llrint_test_towardzero): Likewise.
24432         (llrint_test_downward): Likewise.
24433         (llrint_test_upward): Likewise.
24434         (log_test): Likewise.
24435         (log10_test): Likewise.
24436         (log1p_test): Likewise.
24437         (log2_test): Likewise.
24438         (logb_test): Likewise.
24439         (logb_test_downward): Likewise.
24440         (lround_test): Likewise.
24441         (llround_test): Likewise.
24442         (modf_test): Likewise.
24443         (nearbyint_test): Likewise.
24444         (nextafter_test): Likewise.
24445         (nexttoward_test): Likewise.
24446         (pow_test): Likewise.
24447         (pow_test_tonearest): Likewise.
24448         (pow_test_towardzero): Likewise.
24449         (pow_test_downward): Likewise.
24450         (pow_test_upward): Likewise.
24451         (remainder_test): Likewise.
24452         (remainder_test_tonearest): Likewise.
24453         (remainder_test_towardzero): Likewise.
24454         (remainder_test_downward): Likewise.
24455         (remainder_test_upward): Likewise.
24456         (remquo_test): Likewise.
24457         (rint_test): Likewise.
24458         (rint_test_tonearest): Likewise.
24459         (rint_test_towardzero): Likewise.
24460         (rint_test_downward): Likewise.
24461         (rint_test_upward): Likewise.
24462         (round_test): Likewise.
24463         (scalb_test): Likewise.
24464         (scalbn_test): Likewise.
24465         (scalbln_test): Likewise.
24466         (signbit_test): Likewise.
24467         (sin_test): Likewise.
24468         (sin_test_tonearest): Likewise.
24469         (sin_test_towardzero): Likewise.
24470         (sin_test_downward): Likewise.
24471         (sin_test_upward): Likewise.
24472         (sincos_test): Likewise.
24473         (sinh_test): Likewise.
24474         (sinh_test_tonearest): Likewise.
24475         (sinh_test_towardzero): Likewise.
24476         (sinh_test_downward): Likewise.
24477         (sinh_test_upward): Likewise.
24478         (sqrt_test): Likewise.
24479         (tan_test): Likewise.
24480         (tan_test_tonearest): Likewise.
24481         (tan_test_towardzero): Likewise.
24482         (tan_test_downward): Likewise.
24483         (tan_test_upward): Likewise.
24484         (tanh_test): Likewise.
24485         (tgamma_test): Likewise.
24486         (trunc_test): Likewise.
24487         (y0_test): Likewise.
24488         (y1_test): Likewise.
24489         (yn_test): Likewise.
24490         (significand_test): Likewise.
24491
24492 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24493
24494         [BZ #15381]
24495         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24496
24497 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24498
24499         [BZ #14894]
24500         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24501         __ppc_mdoio and __ppc_mdoom.
24502         * manual/platform.texi: Document new functions __ppc_yield,
24503         __ppc_mdoio and __ppc_mdoom.
24504
24505 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24506
24507         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24508         (main): Mention "tls" pseudo-hwcap is legacy.
24509         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24510
24511 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24512
24513         * math/gen-libm-test.pl (parse_args): Output only string of
24514         arguments as text for test name, not full call or descriptions of
24515         tests for extra outputs.
24516         (generate_testfile): Do not pass function name to parse_args.
24517         Generate this_func variable from START.
24518         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24519         field to arg_str.
24520         (struct test_ff_f_data): Likewise.
24521         (test_ff_f_data_nexttoward): Likewise.
24522         (struct test_fi_f_data): Likewise.
24523         (struct test_fl_f_data): Likewise.
24524         (struct test_if_f_data): Likewise.
24525         (struct test_fff_f_data): Likewise.
24526         (struct test_c_f_data): Likewise.
24527         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24528         (struct test_fF_f1_data): Likewise.
24529         (struct test_ffI_f1_data): Likewise.
24530         (struct test_c_c_data): Rename test_name field to arg_str.
24531         (struct test_cc_c_data): Likewise.
24532         (struct test_f_i_data): Likewise.
24533         (struct test_ff_i_data): Likewise.
24534         (struct test_f_l_data): Likewise.
24535         (struct test_f_L_data): Likewise.
24536         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24537         and extra2_name.
24538         (COMMON_TEST_SETUP): New macro.
24539         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24540         (COMMON_TEST_CLEANUP): Likewise.
24541         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24542         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24543         macros.
24544         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24545         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24546         macros.
24547         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24548         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24549         cleanup macros.
24550         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24551         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24552         macros.
24553         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24554         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24555         macros.
24556         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24557         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24558         cleanup macros.
24559         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24560         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24561         cleanup macros.
24562         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24563         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24564         cleanup macros.
24565         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24566         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24567         macros.
24568         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24569         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24570         macros.
24571         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24572         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24573         macros.
24574         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24575         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24576         cleanup macros.
24577         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24578         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24579         cleanup macros.
24580         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24581         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24582         macros.
24583         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24584         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24585         cleanup macros.
24586         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24587         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24588         macros.
24589         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24590         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24591         macros.
24592         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24593         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24594         cleanup macros.
24595         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24596
24597 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24598
24599         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24600         to _sifields.sigfault.
24601         (si_addr_lsb): Define new macro.
24602         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24603         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24604         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24605
24606 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24607
24608         [BZ #15441]
24609         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24610         returns -1.
24611         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24612         null return -1.
24613         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24614         loading the domain.
24615
24616 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24617
24618         * math/gen-libm-test.pl (parse_args): Do not include expected
24619         result in test name.
24620         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24621         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24622         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24623         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24624         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24626
24627 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24628
24629         * benchtests/Makefile: Sort function entries.
24630
24631         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24632         tanh, asinh, acosh, atanh.
24633         * benchtests/acos-inputs: New file.
24634         * benchtests/acosh-inputs: New file.
24635         * benchtests/asin-inputs: New file.
24636         * benchtests/asinh-inputs: New file.
24637         * benchtests/atanh-inputs: New file.
24638         * benchtests/cosh-inputs: New file.
24639         * benchtests/log-inputs: New file.
24640         * benchtests/sinh-inputs: New file.
24641         * benchtests/tanh-inputs: New file.
24642
24643 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24644
24645         [BZ #15339]
24646         * posix/tst-getaddrinfo4.c: New test.
24647         * posix/Makefile (tests): Add it.
24648
24649 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24650
24651         [BZ #15339]
24652         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24653         when no services were used.
24654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24655         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24656
24657 2013-05-21  Andreas Schwab  <schwab@suse.de>
24658
24659         [BZ #15014]
24660         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24661         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24662         successful.
24663         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24664         redundant variable declarations and reallocation of buffer when
24665         parsing as IPv6 address.  Always set NSS status when called from
24666         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24667         buffer too small.  Correct computation of needed size.
24668         * nss/Makefile (tests): Add test-digits-dots.
24669         * nss/test-digits-dots.c: New test.
24670
24671 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24672
24673         * benchtests/Makefile: Remove instructions for adding
24674         benchmark tests.
24675         * benchtests/README: New file to explain how to execute and
24676         enhance the benchmark tests.
24677
24678 2013-05-21  Andreas Schwab  <schwab@suse.de>
24679
24680         [BZ #15493]
24681         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24682         * setjmp/tst-sigsetjmp.c: New test.
24683
24684 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24685
24686         * sysdeps/x86_64/memset.S (memset): New implementation.
24687         (__bzero): Likewise.
24688         (__memset_tail): New function.
24689
24690 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24691
24692         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24693         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24694         __memcpy_sse2_unaligned ifunc selection.
24695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24696         Add memcpy-sse2-unaligned.S.
24697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24698         Add: __memcpy_sse2_unaligned.
24699
24700 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24701
24702         [BZ #15490]
24703         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24704         math_force_eval before restoring floating-point envrionment.
24705         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24706         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24707         Likewise.
24708         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24709         <math_private.h>.
24710         (__nearbyintl): Use math_force_eval before restoring
24711         floating-point environment.
24712         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24713
24714         * math/gen-libm-test.pl (special_functions): Remove.
24715         (parse_args): Don't handle TEST_extra.  Handle functions with no
24716         return value.
24717         * math/libm-test.inc (struct test_sincos_data): Replace with
24718         struct test_fFF_11_data.
24719         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24720         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24721         (sincos_test_data): Change element type to struct
24722         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24723         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24724         RUN_TEST_LOOP_sincos.
24725         * math/README.libm-test: Don't mention special handling of
24726         individual functions.
24727         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24728         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24729         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24730         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24731         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24733
24734         * math/gen-libm-test.pl (get_variable): Remove function.
24735         (parse_args): Don't show pointer parameters to call in test
24736         names.  Use "extra output N" in test names for extra outputs
24737         rather than naming variables.
24738
24739 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24740
24741         [BZ #15488]
24742         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24743         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24744         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24745         double tests.
24746         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24747         disable.
24748         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24749         check_long_double.
24750
24751         * math/gen-libm-test.pl (@tests): Remove variable.
24752         ($count): Likewise.
24753         (new_test): Remove function.
24754         (show_exceptions): New function.
24755         (special_functions): Use show_exceptions instead of new_test.
24756         (parse_args): Likewise.
24757         (generate_testfile): Pass only function name in generated call to
24758         print_max_error or print_complex_max_error.
24759         (get_ulps): Do not handle complex tests specially.
24760         (output_test): Rename to ...
24761         (get_all_ulps_for_test): ... this.  Return a string rather than
24762         printing to a file.  Require ulps to be present.
24763         (output_ulps): Generate arrays rather than #defines.
24764         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24765         (struct ulp_data): New type.
24766         (BUILD_COMPLEX_ULP): Remove macro.
24767         (compare_ulp_data): New function.
24768         (find_ulps): Likewise.
24769         (find_test_ulps): Likewise.
24770         (find_function_ulps): Likewise.
24771         (find_complex_function_ulps): Likewise.
24772         (print_max_error): Determine allowed ulps using
24773         find_function_ulps.
24774         (print_complex_max_error): Determine allowed ulps using
24775         find_complex_function_ulps.
24776         (check_float_internal): Determine max ulps using find_test_ulps.
24777         (check_float): Do not take max_ulp parameter.  Update call to
24778         check_float_internal.
24779         (check_complex): Likewise.
24780         (check_int): Do not take max_ulp parameter.
24781         (check_long): Likewise.
24782         (check_bool): Likewise.
24783         (check_longlong): Likewise.
24784         (struct test_f_f_data): Remove max_ulp field.
24785         (struct test_ff_f_data): Likewise.
24786         (struct test_ff_f_data_nexttoward): Likewise.
24787         (struct test_fi_f_data): Likewise.
24788         (struct test_fl_f_data): Likewise.
24789         (struct test_if_f_data): Likewise.
24790         (struct test_fff_f_data): Likewise.
24791         (struct test_c_f_data): Likewise.
24792         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24793         (struct test_fF_f1_data): Likewise.
24794         (struct test_ffI_f1_data): Likewise.
24795         (struct test_c_c_data): Remove max_ulp field.
24796         (struct test_cc_c_data): Likewise.
24797         (struct test_f_i_data): Likewise.
24798         (struct test_ff_i_data): Likewise.
24799         (struct test_f_l_data): Likewise.
24800         (struct test_f_L_data): Likewise.
24801         (struct test_sincos_data): Likewise.
24802         (RUN_TEST_f_f): Do not handle ulps.
24803         (RUN_TEST_LOOP_f_f): Likewise.
24804         (RUN_TEST_2_f): Likewise.
24805         (RUN_TEST_LOOP_2_f): Likewise.
24806         (RUN_TEST_fff_f): Likewise.
24807         (RUN_TEST_LOOP_fff_f): Likewise.
24808         (RUN_TEST_c_f): Likewise.
24809         (RUN_TEST_LOOP_c_f): Likewise.
24810         (RUN_TEST_f_f1): Likewise.
24811         (RUN_TEST_LOOP_f_f1): Likewise.
24812         (RUN_TEST_fF_f1): Likewise.
24813         (RUN_TEST_LOOP_fF_f1): Likewise.
24814         (RUN_TEST_fI_f1): Likewise.
24815         (RUN_TEST_LOOP_fI_f1): Likewise.
24816         (RUN_TEST_ffI_f1): Likewise.
24817         (RUN_TEST_LOOP_ffI_f1): Likewise.
24818         (RUN_TEST_c_c): Likewise.
24819         (RUN_TEST_LOOP_c_c): Likewise.
24820         (RUN_TEST_cc_c): Likewise.
24821         (RUN_TEST_LOOP_cc_c): Likewise.
24822         (RUN_TEST_f_i): Likewise.
24823         (RUN_TEST_LOOP_f_i): Likewise.
24824         (RUN_TEST_f_i_tg): Likewise.
24825         (RUN_TEST_LOOP_f_i_tg): Likewise.
24826         (RUN_TEST_ff_i_tg): Likewise.
24827         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24828         (RUN_TEST_f_b): Likewise.
24829         (RUN_TEST_LOOP_f_b): Likewise.
24830         (RUN_TEST_f_b_tg): Likewise.
24831         (RUN_TEST_LOOP_f_b_tg): Likewise.
24832         (RUN_TEST_f_l): Likewise.
24833         (RUN_TEST_LOOP_f_l): Likewise.
24834         (RUN_TEST_f_L): Likewise.
24835         (RUN_TEST_LOOP_f_L): Likewise.
24836         (RUN_TEST_sincos): Likewise.
24837         (RUN_TEST_LOOP_sincos): Likewise.
24838
24839 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24840
24841         [BZ #15480]
24842         [BZ #15485]
24843         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24844         main case of finite arguments, set rounding mode to FE_TONEAREST
24845         and discard exceptions.
24846         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24847         exceptions.
24848         (remainder_tonearest_test_data): New variable.
24849         (remainder_test_tonearest): New function.
24850         (remainder_towardzero_test_data): New variable.
24851         (remainder_test_towardzero): New function.
24852         (remainder_downward_test_data): New variable.
24853         (remainder_test_downward): New function.
24854         (remainder_upward_test_data): New variable.
24855         (remainder_test_upward): New function.
24856         (main): Call the new test functions.
24857
24858         * math/libm-test.inc (struct test_f_f1_data): Remove field
24859         extra_init.
24860         (struct test_fF_f1_data): Likewise.
24861         (struct test_ffI_f1_data): Likewise.
24862         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24863         based on value of EXTRA_EXPECTED.
24864         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24865         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24866         EXTRA_VAR based on value of EXTRA_EXPECTED.
24867         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24868         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24869         EXTRA_VAR based on value of EXTRA_EXPECTED.
24870         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24871         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24872         EXTRA_VAR based on value of EXTRA_EXPECTED.
24873         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24874         * math/gen-libm-test.pl (parse_args): Don't output initializers
24875         for extra output values.
24876
24877         * math/libm-test.inc (check_int): Expect result to be exactly
24878         equal to expected value and do not handle ulps.
24879         (check_long): Likewise.
24880         (check_longlong): Likewise.
24881
24882         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24883         exceptions.
24884         (cimag_test_data): Likewise.
24885         (conj_test_data): Likewise.
24886         (copysign_test_data): Likewise.
24887         (cproj_test_data): Likewise.
24888         (creal_test_data): Likewise.
24889         (fabs_test_data): Likewise.
24890         (fdim_test_data): Likewise.
24891         (finite_test_data): Likewise.
24892         (floor_test_data): Likewise.
24893         (fmax_test_data): Likewise.
24894         (fmin_test_data): Likewise.
24895         (fmod_test_data): Likewise.
24896         (fpclassify_test_data): Likewise.
24897         (frexp_test_data): Likewise.
24898         (ilogb_test_data): Likewise.
24899         (isfinite_test_data): Likewise.
24900         (isgreater_test_data): Likewise.
24901         (isgreaterequal_test_data): Likewise.
24902         (isinf_test_data): Likewise.
24903         (isless_test_data): Likewise.
24904         (islessequal_test_data): Likewise.
24905         (islessgreater_test_data): Likewise.
24906         (isnan_test_data): Likewise.
24907         (isnormal_test_data): Likewise.
24908         (issignaling_test_data): Likewise.
24909         (isunordered_test_data): Likewise.
24910         (ldexp_test_data): Likewise.
24911         (lrint_test_data): Likewise.
24912         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24913         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24914         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24915         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24916         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24917         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24918         test input.
24919         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24920         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24921         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24922         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24923         that test input.
24924         (lrint_downward_test_data): Test for "inexact" exceptions.
24925         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24926         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24927         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24928         test input.
24929         (lrint_upward_test_data): Test for "inexact" exceptions.
24930         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24931         test input.
24932         (llrint_test_data): Test for "inexact" exceptions.
24933         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24934         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24935         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24936         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24937         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24938         (llrint_downward_test_data): Test for "inexact" exceptions.
24939         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24940         (llrint_upward_test_data): Test for "inexact" exceptions.
24941         (logb_test_data): Likewise.
24942         (logb_downward_test_data): Likewise.
24943         (nextafter_test_data): Likewise.
24944         (nexttoward_test_data): Likewise.
24945         (remainder_test_data): Likewise.
24946         (remquo_test_data): Likewise.
24947         (scalbn_test_data): Likewise.
24948         (scalbln_test_data): Likewise.
24949         (signbit_test_data): Likewise.
24950         (sqrt_test_data): Likewise.
24951         (significand_test_data): Likewise.
24952
24953 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24954
24955         [BZ #15424]
24956         * benchtests/bench-modf.c (struct args): Mark arg0 as
24957         volatile.
24958         * scripts/bench.pl: Mark members of struct args as volatile.
24959
24960 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24961
24962         [BZ # 15497]
24963         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24964         negative infinity on POWER6 or lower.
24965         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24966
24967 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24968
24969         [BZ #15442]
24970         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24971         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24972         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24973         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24974         (_FP_SETQNAN): New macro.
24975         (_FP_SETQNAN_SEMIRAW): Likewise.
24976         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24977         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24978         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24979         (FP_EXTEND): Use _FP_FRAC_SNANP.
24980         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24981         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24982         into account.
24983         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24984         New macro.
24985         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24986         Likewise.
24987
24988 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24989
24990         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24991         with DIVIDE_BY_ZERO_EXCEPTION.
24992         (gamma_test_data): Likewise.
24993         (lgamma_test_data): Likewise.
24994         (log_test_data): Likewise.
24995         (log10_test_data): Likewise.
24996         (log2_test_data): Likewise.
24997         (tgamma_test_data): Likewise.
24998
24999         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25000         (acos_test_tonearest): Likewise.
25001         (acos_test_towardzero): Likewise.
25002         (acos_test_downward): Likewise.
25003         (acos_test_upward): Likewise.
25004         (acosh_test): Likewise.
25005         (asin_test): Likewise.
25006         (asin_test_tonearest): Likewise.
25007         (asin_test_towardzero): Likewise.
25008         (asin_test_downward): Likewise.
25009         (asin_test_upward): Likewise.
25010         (asinh_test): Likewise.
25011         (atan_test): Likewise.
25012         (atanh_test): Likewise.
25013         (atan2_test): Likewise.
25014         (cabs_test): Likewise.
25015         (cacos_test): Likewise.
25016         (cacosh_test): Likewise.
25017         (casin_test): Likewise.
25018         (casinh_test): Likewise.
25019         (catan_test): Likewise.
25020         (catanh_test): Likewise.
25021         (cbrt_test): Likewise.
25022         (ccos_test): Likewise.
25023         (ccosh_test): Likewise.
25024         (cexp_test): Likewise.
25025         (clog_test): Likewise.
25026         (clog10_test): Likewise.
25027         (cos_test): Likewise.
25028         (cos_test_tonearest): Likewise.
25029         (cos_test_towardzero): Likewise.
25030         (cos_test_downward): Likewise.
25031         (cos_test_upward): Likewise.
25032         (cosh_test): Likewise.
25033         (cosh_test_tonearest): Likewise.
25034         (cosh_test_towardzero): Likewise.
25035         (cosh_test_downward): Likewise.
25036         (cosh_test_upward): Likewise.
25037         (cpow_test): Likewise.
25038         (csin_test): Likewise.
25039         (csinh_test): Likewise.
25040         (csqrt_test): Likewise.
25041         (ctan_test): Likewise.
25042         (ctan_test_tonearest): Likewise.
25043         (ctan_test_towardzero): Likewise.
25044         (ctan_test_downward): Likewise.
25045         (ctan_test_upward): Likewise.
25046         (ctanh_test): Likewise.
25047         (ctanh_test_tonearest): Likewise.
25048         (ctanh_test_towardzero): Likewise.
25049         (ctanh_test_downward): Likewise.
25050         (ctanh_test_upward): Likewise.
25051         (erf_test): Likewise.
25052         (erfc_test): Likewise.
25053         (exp_test): Likewise.
25054         (exp_test_tonearest): Likewise.
25055         (exp_test_towardzero): Likewise.
25056         (exp_test_downward): Likewise.
25057         (exp_test_upward): Likewise.
25058         (exp10_test): Likewise.
25059         (exp2_test): Likewise.
25060         (expm1_test): Likewise.
25061         (fmod_test): Likewise.
25062         (gamma_test): Likewise.
25063         (hypot_test): Likewise.
25064         (j0_test): Likewise.
25065         (j1_test): Likewise.
25066         (jn_test): Likewise.
25067         (lgamma_test): Likewise.
25068         (log_test): Likewise.
25069         (log10_test): Likewise.
25070         (log1p_test): Likewise.
25071         (log2_test): Likewise.
25072         (logb_test_downward): Likewise.
25073         (pow_test): Likewise.
25074         (pow_test_tonearest): Likewise.
25075         (pow_test_towardzero): Likewise.
25076         (pow_test_downward): Likewise.
25077         (pow_test_upward): Likewise.
25078         (remainder_test): Likewise.
25079         (remquo_test): Likewise.
25080         (sin_test): Likewise.
25081         (sin_test_tonearest): Likewise.
25082         (sin_test_towardzero): Likewise.
25083         (sin_test_downward): Likewise.
25084         (sin_test_upward): Likewise.
25085         (sincos_test): Likewise.
25086         (sinh_test): Likewise.
25087         (sinh_test_tonearest): Likewise.
25088         (sinh_test_towardzero): Likewise.
25089         (sinh_test_downward): Likewise.
25090         (sinh_test_upward): Likewise.
25091         (sqrt_test): Likewise.
25092         (tan_test): Likewise.
25093         (tan_test_tonearest): Likewise.
25094         (tan_test_towardzero): Likewise.
25095         (tan_test_downward): Likewise.
25096         (tan_test_upward): Likewise.
25097         (tanh_test): Likewise.
25098         (tgamma_test): Likewise.
25099         (y0_test): Likewise.
25100         (y1_test): Likewise.
25101         (yn_test): Likewise.
25102
25103         * math/gen-libm-test.pl (adjust_arg): Remove function.
25104         (special_function): Remove argument $in_func.  Only handle
25105         generating output for tables of tests, not inside functions.
25106         (parse_args): Likewise.
25107         (generate_testfile): Remove variable $in_func.  Update call to
25108         parse_args.
25109         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25110         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25111         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25112         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25113         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25114         (MAX_VALUE_INIT): Rename macro to max_value.
25115         (MIN_VALUE_INIT): Rename macro to min_value.
25116         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25117         (plus_zero): Remove variable.
25118         (minus_zero): Likewise.
25119         (plus_infty): Likewise.
25120         (minus_infty): Likewise.
25121         (qnan_value): Likewise.
25122         (max_value): Likewise.
25123         (min_value): Likewise.
25124         (min_subnorm_value): Likewise.
25125
25126 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25127
25128         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25129         uint64_t or uint32_t usage.
25130         * crypt/sha256-block.c: Likewise.
25131         * crypt/sha256-crypt.c: Likewise.
25132         * crypt/sha256.c: Likewise.
25133         * crypt/sha512-block.c: Likewise.
25134         * crypt/sha512-crypt.c: Likewise.
25135         * crypt/sha512.c: Likewise.
25136         * debug/backtrace-tst.c: Likewise.
25137         * debug/pcprofiledump.c: Likewise.
25138         * elf/cache.c: Likewise.
25139         * elf/dl-cache.c: Likewise.
25140         * elf/dl-misc.c: Likewise.
25141         * elf/dl-profile.c: Likewise.
25142         * elf/dl-support.c: Likewise.
25143         * elf/ldconfig.c: Likewise.
25144         * elf/sprof.c: Likewise.
25145         * iconv/dummy-repertoire.c: Likewise.
25146         * iconv/iconv_charmap.c: Likewise.
25147         * iconv/skeleton.c: Likewise.
25148         * iconvdata/8bit-generic.c: Likewise.
25149         * iconvdata/cp737.h: Likewise.
25150         * iconvdata/cp775.h: Likewise.
25151         * iconvdata/ibm1008.h: Likewise.
25152         * iconvdata/ibm1025.h: Likewise.
25153         * iconvdata/ibm1046.h: Likewise.
25154         * iconvdata/ibm1097.h: Likewise.
25155         * iconvdata/ibm1112.h: Likewise.
25156         * iconvdata/ibm1122.h: Likewise.
25157         * iconvdata/ibm1123.h: Likewise.
25158         * iconvdata/ibm1124.h: Likewise.
25159         * iconvdata/ibm1129.h: Likewise.
25160         * iconvdata/ibm1130.h: Likewise.
25161         * iconvdata/ibm1132.h: Likewise.
25162         * iconvdata/ibm1133.h: Likewise.
25163         * iconvdata/ibm1137.h: Likewise.
25164         * iconvdata/ibm1140.h: Likewise.
25165         * iconvdata/ibm1141.h: Likewise.
25166         * iconvdata/ibm1142.h: Likewise.
25167         * iconvdata/ibm1143.h: Likewise.
25168         * iconvdata/ibm1144.h: Likewise.
25169         * iconvdata/ibm1145.h: Likewise.
25170         * iconvdata/ibm1146.h: Likewise.
25171         * iconvdata/ibm1147.h: Likewise.
25172         * iconvdata/ibm1148.h: Likewise.
25173         * iconvdata/ibm1149.h: Likewise.
25174         * iconvdata/ibm1153.h: Likewise.
25175         * iconvdata/ibm1154.h: Likewise.
25176         * iconvdata/ibm1155.h: Likewise.
25177         * iconvdata/ibm1156.h: Likewise.
25178         * iconvdata/ibm1157.h: Likewise.
25179         * iconvdata/ibm1158.h: Likewise.
25180         * iconvdata/ibm1160.h: Likewise.
25181         * iconvdata/ibm1161.h: Likewise.
25182         * iconvdata/ibm1162.h: Likewise.
25183         * iconvdata/ibm1163.h: Likewise.
25184         * iconvdata/ibm1164.h: Likewise.
25185         * iconvdata/ibm1166.h: Likewise.
25186         * iconvdata/ibm1167.h: Likewise.
25187         * iconvdata/ibm12712.h: Likewise.
25188         * iconvdata/ibm1390.h: Likewise.
25189         * iconvdata/ibm1399.h: Likewise.
25190         * iconvdata/ibm16804.h: Likewise.
25191         * iconvdata/ibm4517.h: Likewise.
25192         * iconvdata/ibm4899.h: Likewise.
25193         * iconvdata/ibm4909.h: Likewise.
25194         * iconvdata/ibm4971.h: Likewise.
25195         * iconvdata/ibm5347.h: Likewise.
25196         * iconvdata/ibm803.h: Likewise.
25197         * iconvdata/ibm856.h: Likewise.
25198         * iconvdata/ibm901.h: Likewise.
25199         * iconvdata/ibm902.h: Likewise.
25200         * iconvdata/ibm9030.h: Likewise.
25201         * iconvdata/ibm9066.h: Likewise.
25202         * iconvdata/ibm921.h: Likewise.
25203         * iconvdata/ibm922.h: Likewise.
25204         * iconvdata/ibm9448.h: Likewise.
25205         * iconvdata/isiri-3342.h: Likewise.
25206         * iconvdata/jis0201.h: Likewise.
25207         * include/link.h: Likewise.
25208         * include/netdb.h: Likewise.
25209         * inet/check_native.c: Likewise.
25210         * inet/check_pf.c: Likewise.
25211         * inet/getipv4sourcefilter.c: Likewise.
25212         * inet/getnameinfo.c: Likewise.
25213         * inet/getsourcefilter.c: Likewise.
25214         * inet/htonl.c: Likewise.
25215         * inet/setipv4sourcefilter.c: Likewise.
25216         * inet/setsourcefilter.c: Likewise.
25217         * inet/test-inet6_opt.c: Likewise.
25218         * inet/tst-network.c: Likewise.
25219         * locale/C-collate.c: Likewise.
25220         * locale/C-ctype.c: Likewise.
25221         * locale/C-time.c: Likewise.
25222         * locale/C-translit.h: Likewise.
25223         * locale/loadarchive.c: Likewise.
25224         * locale/programs/3level.h: Likewise.
25225         * locale/programs/charmap.c: Likewise.
25226         * locale/programs/charmap.h: Likewise.
25227         * locale/programs/ld-address.c: Likewise.
25228         * locale/programs/ld-collate.c: Likewise.
25229         * locale/programs/ld-ctype.c: Likewise.
25230         * locale/programs/ld-identification.c: Likewise.
25231         * locale/programs/ld-measurement.c: Likewise.
25232         * locale/programs/ld-messages.c: Likewise.
25233         * locale/programs/ld-monetary.c: Likewise.
25234         * locale/programs/ld-name.c: Likewise.
25235         * locale/programs/ld-numeric.c: Likewise.
25236         * locale/programs/ld-paper.c: Likewise.
25237         * locale/programs/ld-telephone.c: Likewise.
25238         * locale/programs/ld-time.c: Likewise.
25239         * locale/programs/linereader.c: Likewise.
25240         * locale/programs/locale.c: Likewise.
25241         * locale/programs/locarchive.c: Likewise.
25242         * locale/programs/locfile.h: Likewise.
25243         * locale/programs/repertoire.c: Likewise.
25244         * locale/programs/simple-hash.c: Likewise.
25245         * locale/programs/simple-hash.h: Likewise.
25246         * malloc/memusage.c: Likewise.
25247         * malloc/memusagestat.c: Likewise.
25248         * nis/nis_defaults.c: Likewise.
25249         * nis/nis_hash.c: Likewise.
25250         * nis/nis_print.c: Likewise.
25251         * nis/nis_xdr.c: Likewise.
25252         * nscd/connections.c: Likewise.
25253         * nscd/hstcache.c: Likewise.
25254         * nscd/nscd_gethst_r.c: Likewise.
25255         * nscd/nscd_getserv_r.c: Likewise.
25256         * nscd/nscd_helper.c: Likewise.
25257         * nscd/servicescache.c: Likewise.
25258         * nss/makedb.c: Likewise.
25259         * nss/nss_db/db-XXX.c: Likewise.
25260         * nss/nss_db/db-initgroups.c: Likewise.
25261         * nss/nss_db/db-netgrp.c: Likewise.
25262         * nss/nss_files/files-network.c: Likewise.
25263         * nss/nss_files/files-parse.c: Likewise.
25264         * posix/bug-regex5.c: Likewise.
25265         * posix/fnmatch_loop.c: Likewise.
25266         * posix/regcomp.c: Likewise.
25267         * posix/regexec.c: Likewise.
25268         * posix/tst-rfc3484-2.c: Likewise.
25269         * posix/tst-rfc3484-3.c: Likewise.
25270         * posix/tst-rfc3484.c: Likewise.
25271         * resolv/nss_dns/dns-canon.c: Likewise.
25272         * resolv/nss_dns/dns-network.c: Likewise.
25273         * resolv/res_init.c: Likewise.
25274         * resolv/res_mkquery.c: Likewise.
25275         * resolv/tst-aton.c: Likewise.
25276         * stdlib/cxa_atexit.c: Likewise.
25277         * stdlib/cxa_finalize.c: Likewise.
25278         * stdlib/gen-fpioconst.c: Likewise.
25279         * stdlib/strtol_l.c: Likewise.
25280         * string/tst-endian.c: Likewise.
25281         * sunrpc/auth_des.c: Likewise.
25282         * sunrpc/clnt_udp.c: Likewise.
25283         * sunrpc/rtime.c: Likewise.
25284         * sunrpc/svcauth_des.c: Likewise.
25285         * sunrpc/xdr.c: Likewise.
25286         * sunrpc/xdr_intXX_t.c: Likewise.
25287         * sunrpc/xdr_rec.c: Likewise.
25288         * sysdeps/generic/ldconfig.h: Likewise.
25289         * sysdeps/generic/ldsodefs.h: Likewise.
25290         * sysdeps/generic/memusage.h: Likewise.
25291         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25292         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25293         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25294         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25295         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25296         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25297         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25298         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25299         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25301         * sysdeps/posix/getaddrinfo.c: Likewise.
25302         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25303         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25304         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25305         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25306         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25307         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25308         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25309         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25310         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25311         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25312         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25313         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25314         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25315         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25316         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25317         * sysdeps/x86_64/dl-tls.h: Likewise.
25318         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25319         * time/alt_digit.c: Likewise.
25320         * time/era.c: Likewise.
25321         * wcsmbs/tst-c16c32-1.c: Likewise.
25322
25323 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25324
25325         * math/libm-test.inc (struct test_sincos_data): New type.
25326         (RUN_TEST_LOOP_sincos): New macro.
25327         (sincos_test_data): New variable.
25328         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25329
25330 2013-05-16  Richard Henderson  <rth@redhat.com>
25331
25332         * math/atest-exp2.c (LIMB64): New macro.
25333         (CONSTSZ): New macro.
25334         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25335         (hexdig): Move ...
25336         (print_mpn_fp): ... to function scope.
25337         (read_mpn_hex): Remove.
25338         (get_log2): Remove.
25339         (exp2_mpn): Use mp_log2.
25340         (main): Use mp_exp1.
25341
25342 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25343
25344         * math/libm-test.inc: Remove comment about not testing "inexact"
25345         exceptions.
25346         (INEXACT_EXCEPTION): New macro.
25347         (NO_INEXACT_EXCEPTION): Likewise.
25348         (INVALID_EXCEPTION_OK): Update value.
25349         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25350         (OVERFLOW_EXCEPTION_OK): Likewise.
25351         (UNDERFLOW_EXCEPTION_OK): Likewise.
25352         (IGNORE_ZERO_INF_SIGN): Likewise.
25353         (ERRNO_UNCHANGED): Likewise.
25354         (ERRNO_EDOM): Likewise.
25355         (ERRNO_ERANGE): Likewise.
25356         (test_exceptions): Handle testing "inexact" exceptions.
25357         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25358         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25359         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25360         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25361         INEXACT_EXCEPTION.
25362         (rint_towardzero_test_data): Likewise.
25363         (rint_downward_test_data): Likewise.
25364         (rint_upward_test_data): Likewise.
25365
25366         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25367         with OVERFLOW_EXCEPTION.
25368         (exp10_test_data): Likewise.
25369         (exp2_test_data): Likewise.
25370         (expm1_test_data): Likewise.
25371         (lgamma_test_data): Likewise.
25372         (pow_test_data): Likewise.
25373         (tgamma_test_data): Likewise.
25374         (yn_test_data): Remove duplicate test of overflow.
25375
25376         * math/libm-test.inc (struct test_cc_c_data): New type.
25377         (RUN_TEST_LOOP_cc_c): New macro.
25378         (cpow_test_data): New variable.
25379         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25380
25381         * math/libm-test.inc (struct test_f_L_data): New type.
25382         (RUN_TEST_LOOP_f_L): New macro.
25383         (llrint_test_data): New variable.
25384         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25385         (llrint_tonearest_test_data): New variable.
25386         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25387         (llrint_towardzero_test_data): New variable.
25388         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25389         (llrint_downward_test_data): New variable.
25390         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25391         (llrint_upward_test_data): New variable.
25392         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25393         (llround_test_data): New variable.
25394         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25395
25396 2013-05-13  Peter Collingbourne  <pcc@google.com>
25397
25398         * math/atest-exp2.c (get_log2): Remove const attribute.
25399
25400 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25401
25402         * math/libm-test.inc (struct test_f_l_data): New type.
25403         (RUN_TEST_LOOP_f_l): New macro.
25404         (lrint_test_data): New variable.
25405         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25406         (lrint_tonearest_test_data): New variable.
25407         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25408         (lrint_towardzero_test_data): New variable.
25409         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25410         (lrint_downward_test_data): New variable.
25411         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25412         (lrint_upward_test_data): New variable.
25413         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25414         (lround_test_data): New variable.
25415         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25416
25417 2013-05-15  Peter Collingbourne  <pcc@google.com>
25418
25419         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25420         (EXTRACT_WORDS64) Use where appropriate.
25421         (INSERT_WORDS64) Likewise.
25422
25423         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25424         constraints with x constraints.
25425         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25426
25427         * malloc/obstack.c (_obstack_compat): Add initializer.
25428
25429 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25430
25431         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25432         si_trapno and add si_addr_lsb to _sifields.sigfault.
25433         (si_trapno): Remove macro.
25434         (si_addr_lsb): Define new macro.
25435         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25436
25437 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25438
25439         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25440         instead of TEST_f_l.
25441         (llrint_test_tonearest): Likewise.
25442         (llrint_test_towardzero): Likewise.
25443         (llrint_test_downward): Likewise.
25444         (llrint_test_upward): Likewise.
25445         (llround_test): Likewise.
25446
25447         * math/libm-test.inc (struct test_f_i_data): Add comment.
25448         (RUN_TEST_LOOP_f_b): New macro.
25449         (RUN_TEST_LOOP_f_b_tg): Likewise.
25450         (finite_test_data): New variable.
25451         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25452         (isfinite_test_data): New variable.
25453         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25454         (isinf_test_data): New variable.
25455         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25456         (isnan_test_data): New variable.
25457         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25458         (isnormal_test_data): New variable.
25459         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25460         (issignaling_test_data): New variable.
25461         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25462         (signbit_test_data): New variable.
25463         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25464
25465         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25466         with INVALID_EXCEPTION.
25467         (acosh_test_data): Likewise.
25468         (asin_test_data): Likewise.
25469         (atanh_test_data): Likewise.
25470         (fmod_test_data): Likewise.
25471         (log_test_data): Likewise.
25472         (log10_test_data): Likewise.
25473         (log2_test_data): Likewise.
25474         (pow_test_data): Likewise.
25475         (sqrt_test_data): Likewise.
25476         (y0_test_data): Likewise.
25477         (y1_test_data): Likewise.
25478         (yn_test_data): Likewise.
25479
25480         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25481         function contents.
25482
25483         * math/libm-test.inc (struct test_ff_i_data): New type.
25484         (RUN_TEST_LOOP_ff_i_tg): New macro.
25485         (isgreater_test_data): New variable.
25486         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25487         (isgreaterequal_test_data): New variable.
25488         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25489         (isless_test_data): New variable.
25490         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25491         (islessequal_test_data): New variable.
25492         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25493         (islessgreater_test_data): New variable.
25494         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25495         (isunordered_test_data): New variable.
25496         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25497
25498 2013-05-14  David S. Miller  <davem@davemloft.net>
25499
25500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25501
25502 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25503
25504         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25505
25506         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25507         extra_test to int.
25508         (struct test_f_i_data): Change type of max_ulp to int.
25509
25510         * math/libm-test.inc (test_ffI_f1_data): New type.
25511         (RUN_TEST_LOOP_ffI_f1): New macro.
25512         (remquo_test_data): New variable.
25513         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25514
25515         * setjmp/tst-setjmp-fp.c: New file.
25516         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25517         (link-libm): New variable.
25518         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25519
25520         * math/libm-test.inc (struct test_f_i_data): New type.
25521         (RUN_TEST_LOOP_f_i): New macro.
25522         (RUN_TEST_LOOP_f_i_tg): Likewise.
25523         (fpclassify_test_data): New variable.
25524         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25525         (ilogb_test_data): New variable.
25526         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25527
25528         * math/libm-test.inc (scalbln_test): Correct function name in END
25529         call.
25530
25531         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25532         (RUN_TEST_LOOP_fI_f1): New macro.
25533         (frexp_test_data): New variable.
25534         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25535
25536         * math/libm-test.inc (struct test_fF_f1_data): New type.
25537         (RUN_TEST_LOOP_fF_f1): New macro.
25538         (modf_test_data): New variable.
25539         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25540
25541         * math/libm-test.inc (struct test_f_f1_data): New type.
25542         (RUN_TEST_LOOP_f_f1): New macro.
25543         (gamma_test_data): New variable.
25544         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25545         (lgamma_test_data): New variable.
25546         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25547
25548 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25549
25550         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25551         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25552         (main): Comment "tls" pseudo-hwcap.
25553
25554 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25555
25556         * math/libm-test.inc (struct test_fl_f_data): New type.
25557         (RUN_TEST_LOOP_fl_f): New variable.
25558         (scalbln_test_data): New variable.
25559         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25560
25561         * math/libm-test.inc (struct test_fi_f_data): New type.
25562         (RUN_TEST_LOOP_fi_f): New macro.
25563         (ldexp_test_data): New variable.
25564         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25565         (scalbn_test_data): New variable.
25566         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25567
25568         * math/libm-test.inc (struct test_c_f_data): New type.
25569         (RUN_TEST_LOOP_c_f): New macro.
25570         (cabs_test_data): New variable.
25571         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25572         (carg_test_data): New variable.
25573         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25574         (cimag_test_data): New variable.
25575         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25576         (creal_test_data): New variable.
25577         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25578
25579         * math/libm-test.inc (struct test_if_f_data): New type.
25580         (RUN_TEST_LOOP_if_f): New macro.
25581         (jn_test_data): New variable.
25582         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25583         (yn_test_data): New variable.
25584         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25585
25586         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25587
25588 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25589
25590         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25591         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25592
25593 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25594
25595         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25596         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25597         (bench-deps): Add bench-timing.h.
25598         * benchtests-bench-skeleton.c: Include bench-timing.h.
25599         (main): Use TIMING_* macros instead of clock_gettime.
25600         * benchtests/bench-timing.h: New file.
25601
25602         [BZ #14582]
25603         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25604         Renamed from _LIB_VERSION.
25605         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25606
25607 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25608
25609         * math/libm-test.inc (struct test_fff_f_data): New type.
25610         (RUN_TEST_LOOP_fff_f): New macro.
25611         (fma_test_data): New variable.
25612         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25613         (fma_towardzero_test_data): New variable.
25614         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25615         (fma_downward_test_data): New variable.
25616         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25617         (fma_upward_test_data): New variable.
25618         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25619
25620         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25621         (struct test_c_c_data): New type.
25622         (RUN_TEST_LOOP_c_c): New macro.
25623         (cacos_test_data): New variable.
25624         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25625         (cacosh_test_data): New variable.
25626         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25627         (casin_test_data): New variable.
25628         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25629         (casinh_test_data): New variable.
25630         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25631         (catan_test_data): New variable.
25632         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25633         (catanh_test_data): New variable.
25634         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25635         (ccos_test_data): New variable.
25636         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25637         (ccosh_test_data): New variable.
25638         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25639         (cexp_test_data): New variable.
25640         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25641         (clog_test_data): New variable.
25642         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25643         (clog10_test_data): New variable.
25644         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25645         (conj_test_data): New variable.
25646         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25647         (cproj_test_data): New variable.
25648         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25649         (csin_test_data): New variable.
25650         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25651         (csinh_test_data): New variable.
25652         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25653         (csqrt_test_data): New variable.
25654         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25655         (ctan_test_data): New variable.
25656         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25657         (ctan_tonearest_test_data): New variable.
25658         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25659         (ctan_towardzero_test_data): New variable.
25660         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25661         (ctan_downward_test_data): New variable.
25662         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25663         (ctan_upward_test_data): New variable.
25664         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25665         (ctanh_test_data): New variable.
25666         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25667         (ctanh_tonearest_test_data): New variable.
25668         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25669         (ctanh_towardzero_test_data): New variable.
25670         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25671         (ctanh_downward_test_data): New variable.
25672         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25673         (ctanh_upward_test_data): New variable.
25674         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25675         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25676         of BUILD_COMPLEX.
25677
25678         * math/libm-test.inc (struct test_ff_f_data): New type.
25679         (struct test_ff_f_data_nexttoward): Likewise.
25680         (RUN_TEST_LOOP_2_f): New macro.
25681         (RUN_TEST_LOOP_ff_f): Likewise.
25682         (atan2_test_data): New variable.
25683         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25684         (copysign_test_data): New variable.
25685         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25686         (fdim_test_data): New variable.
25687         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25688         (fmax_test_data): New variable.
25689         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25690         (fmin_test_data): New variable.
25691         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25692         (fmod_test_data): New variable.
25693         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25694         (hypot_test_data): New variable.
25695         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25696         (nextafter_test_data): New variable.
25697         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25698         (nexttoward_test_data): New variable.
25699         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25700         (pow_test_data): New variable.
25701         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25702         (pow_tonearest_test_data): New variable.
25703         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25704         (pow_towardzero_test_data): New variable.
25705         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25706         (pow_downward_test_data): New variable.
25707         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25708         (pow_upward_test_data): New variable.
25709         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25710         (remainder_test_data): New variable.
25711         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25712         (scalb_test_data): New variable.
25713         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25714         * sysdeps/i386/fpu/libm-test-ulps: Update.
25715
25716 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25717
25718         * math/libm-test.inc (fma_test): Use max_value instead of local
25719         variable fltmax.
25720         (nextafter_test): Likewise.
25721
25722         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25723         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25724         (acos_downward_test_data): New variable.
25725         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25726         (acos_upward_test_data): New variable.
25727         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25728         (acosh_test_data): New variable.
25729         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25730         (asin_test_data): New variable.
25731         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25732         (asin_tonearest_test_data): New variable.
25733         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25734         (asin_towardzero_test_data): New variable.
25735         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25736         (asin_downward_test_data): New variable.
25737         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25738         (asin_upward_test_data): New variable.
25739         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25740         (asinh_test_data): New variable.
25741         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25742         (atan_test_data): New variable.
25743         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25744         (atanh_test_data): New variable.
25745         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25746         (cbrt_test_data): New variable.
25747         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25748         (ceil_test_data): New variable.
25749         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25750         (cos_test_data): New variable.
25751         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25752         (cos_tonearest_test_data): New variable.
25753         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25754         (cos_towardzero_test_data): New variable.
25755         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25756         (cos_downward_test_data): New variable.
25757         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25758         (cos_upward_test_data): New variable.
25759         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25760         (cosh_test_data): New variable.
25761         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25762         (cosh_tonearest_test_data): New variable.
25763         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25764         (cosh_towardzero_test_data): New variable.
25765         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25766         (cosh_downward_test_data): New variable.
25767         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25768         (cosh_upward_test_data): New variable.
25769         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25770         (erf_test_data): New variable.
25771         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25772         (erfc_test_data): New variable.
25773         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25774         (exp_test_data): New variable.
25775         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25776         (exp_tonearest_test_data): New variable.
25777         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25778         (exp_towardzero_test_data): New variable.
25779         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25780         (exp_downward_test_data): New variable.
25781         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25782         (exp_upward_test_data): New variable.
25783         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25784         (exp10_test_data): New variable.
25785         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25786         (exp2_test_data): New variable.
25787         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25788         (expm1_test_data): New variable.
25789         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25790         (fabs_test_data): New variable.
25791         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25792         (floor_test_data): New variable.
25793         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25794         (j0_test_data): New variable.
25795         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25796         (j1_test_data): New variable.
25797         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25798         (log_test_data): New variable.
25799         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25800         (log10_test_data): New variable.
25801         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25802         (log1p_test_data): New variable.
25803         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25804         (log2_test_data): New variable.
25805         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25806         (logb_test_data): New variable.
25807         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25808         (logb_downward_test_data): New variable.
25809         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25810         (nearbyint_test_data): New variable.
25811         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25812         (rint_test_data): New variable.
25813         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25814         (rint_tonearest_test_data): New variable.
25815         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25816         (rint_towardzero_test_data): New variable.
25817         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25818         (rint_downward_test_data): New variable.
25819         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25820         (rint_upward_test_data): New variable.
25821         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25822         (round_test_data): New variable.
25823         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25824         (sin_test_data): New variable.
25825         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25826         (sin_tonearest_test_data): New variable.
25827         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25828         (sin_towardzero_test_data): New variable.
25829         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25830         (sin_downward_test_data): New variable.
25831         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25832         (sin_upward_test_data): New variable.
25833         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25834         (sinh_test_data): New variable.
25835         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25836         (sinh_tonearest_test_data): New variable.
25837         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25838         (sinh_towardzero_test_data): New variable.
25839         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25840         (sinh_downward_test_data): New variable.
25841         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25842         (sinh_upward_test_data): New variable.
25843         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25844         (sqrt_test_data): New variable.
25845         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25846         (tan_test_data): New variable.
25847         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25848         (tan_tonearest_test_data): New variable.
25849         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25850         (tan_towardzero_test_data): New variable.
25851         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25852         (tan_downward_test_data): New variable.
25853         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25854         (tan_upward_test_data): New variable.
25855         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25856         (tanh_test_data): New variable.
25857         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25858         (tgamma_test_data): New variable.
25859         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25860         (trunc_test_data): New variable.
25861         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25862         (y0_test_data): New variable.
25863         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25864         (y1_test_data): New variable.
25865         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25866         (significand_test_data): New variable.
25867         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25868
25869 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25870
25871         [BZ #12387]
25872         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25873
25874 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25875
25876         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25877
25878 2013-05-10  Andreas Jaeger  <aj@suse.de>
25879
25880         [BZ #15448]
25881         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25882         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25883
25884 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25885
25886         * math/gen-libm-test.pl (adjust_arg): New function.
25887         (special_functions): Handle generating output in both functions
25888         and arrays.
25889         (parse_args): Likewise.
25890         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25891         $in_func argument to parse_args.
25892         * math/libm-test.inc (struct test_f_f_data): New type.
25893         (IF_ROUND_INIT_): New macro.
25894         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25895         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25896         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25897         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25898         (ROUND_RESTORE_): Likewise.
25899         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25900         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25901         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25902         (ROUND_RESTORE_FE_UPWARD): Likewise.
25903         (RUN_TEST_LOOP_f_f): New macro.
25904         (acos_test_data): New variable.
25905         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25906         (acos_tonearest_test_data): New variable.
25907         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25908
25909 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25910
25911         * benchtests/bench-skeleton.c (startup): Fix coding style.
25912
25913 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25914
25915         [BZ #6809]
25916         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25917         negative infinity argument.
25918         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25919         negative infinity argument.
25920         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25921         negative infinity argument.
25922         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25923         domain errors.
25924
25925 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25926
25927         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25928         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25929         * iconv/iconv_prog.c (main): Likewise.
25930         * locale/programs/charmap-dir.c (charmap_readdir)
25931         (fopen_uncompressed): Likewise.
25932         * locale/programs/locfile.c (siblings_uncached)
25933         (write_locale_data): Use lstat64 instead of lstat.
25934         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25935         stat.
25936
25937 2013-05-10  Andreas Jaeger  <aj@suse.de>
25938
25939         [BZ #15395]
25940         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25941         localization.
25942         Include <locale.h>.
25943
25944 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25945
25946         * elf/dl-close.c (_dl_close_worker): Add comments.
25947
25948 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25949
25950         [BZ #15359]
25951         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25952         high part of pi/2.
25953         (__ieee754_rem_pio2l): Update comments.
25954
25955         [BZ #15429]
25956         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25957         high part of pi/2.
25958         (__ieee754_rem_pio2l): Update comments.
25959
25960         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25961         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25962
25963         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25964         M_PI_4l.
25965
25966         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25967         (M_PI_34_LOG10El): Likewise.
25968         (M_PI2_LOG10El): Likewise.
25969         (M_PI4_LOG10El): Likewise.
25970         (M_PI_LOG10El): Likewise.
25971
25972 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25973
25974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25975
25976 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25977
25978         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25979         (MINUS_ZERO_INIT): Likewise.
25980         (PLUS_INFTY_INIT): Likewise.
25981         (MINUS_INFTY_INIT): Likewise.
25982         (QNAN_VALUE_INIT): Likewise.
25983         (MAX_VALUE_INIT): Likewise.
25984         (MIN_VALUE_INIT): Likewise.
25985         (MIN_SUBNORM_VALUE_INIT): Likewise.
25986         (plus_zero): Initialize with PLUS_ZERO_INIT.
25987         (minus_zero): Initialize with MINUS_ZERO_INIT.
25988         (plus_infty): Initialize with PLUS_INFTY_INIT.
25989         (minus_infty): Initialize with MINUS_INFTY_INIT.
25990         (qnan_value): Initialize with QNAN_VALUE_INIT.
25991         (max_value): Initialize with MAX_VALUE_INIT.
25992         (min_value): Initialize with MIN_VALUE_INIT.
25993         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25994
25995         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25996         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25997         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25998         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25999
26000         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26001         (RUN_TEST_2_f): Likewise.
26002         (RUN_TEST_ff_f): Likewise.
26003         (RUN_TEST_fi_f): Likewise.
26004         (RUN_TEST_fl_f): Likewise.
26005         (RUN_TEST_fff_f): Likewise.
26006         (RUN_TEST_c_f): Likewise.
26007         (RUN_TEST_f_f1): Likewise.
26008         (RUN_TEST_fF_f1): Likewise.
26009         (RUN_TEST_fI_f1): Likewise.
26010         (RUN_TEST_ffI_f1): Likewise.
26011         (RUN_TEST_c_c): Likewise.
26012         (RUN_TEST_cc_c): Likewise.
26013         (RUN_TEST_f_i): Likewise.
26014         (RUN_TEST_f_i_tg): Likewise.
26015         (RUN_TEST_ff_i_tg): Likewise.
26016         (RUN_TEST_f_b): Likewise.
26017         (RUN_TEST_f_b_tg): Likewise.
26018         (RUN_TEST_f_l): Likewise.
26019         (RUN_TEST_f_L): Likewise.
26020         (RUN_TEST_sincos): Likewise.
26021         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26022         whether to show exceptions.  Do not include ");\n" in return
26023         value.
26024         (special_functions): Output call to RUN_TEST_sincos instead of
26025         check_float calls.  Update calls to new_test.
26026         (parse_args): Output call to single RUN_TEST_* macro instead of
26027         check_* calls and other assignments.  Update calls to new_test.
26028
26029         [BZ #2546]
26030         [BZ #2560]
26031         [BZ #5159]
26032         [BZ #15426]
26033         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26034         input to result for tgamma overflow.
26035         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26036         (gamma_coeff): New variable.
26037         (NCOEFF): New macro.
26038         (gamma_positive): New function.
26039         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26040         underflow here.  Use gamma_positive instead of exp (lgamma) for
26041         other arguments.
26042         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26043         (gamma_coeff): New variable.
26044         (NCOEFF): New macro.
26045         (gammaf_positive): New function.
26046         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26047         underflow here.  Use gamma_positive instead of exp (lgamma) for
26048         other arguments.
26049         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26050         (gamma_coeff): New variable.
26051         (NCOEFF): New macro.
26052         (gammal_positive): New function.
26053         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26054         underflow here.  Use gamma_positive instead of exp (lgamma) for
26055         other arguments.
26056         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26057         (gamma_coeff): New variable.
26058         (NCOEFF): New macro.
26059         (gammal_positive): New function.
26060         (__ieee754_gammal_r): Handle positive infinity, overflow and
26061         underflow here.  Handle NaN the same as positive infinity.  Remove
26062         check x < 0xffffffff for negative integers.  Use gamma_positive
26063         instead of exp (lgamma) for other arguments.
26064         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26065         (gamma_coeff): New variable.
26066         (NCOEFF): New macro.
26067         (gammal_positive): New function.
26068         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26069         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26070         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26071         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26072         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26073         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26074         * sysdeps/generic/math_private.h (__gamma_productf): New
26075         prototype.
26076         (__gamma_product): Likewise.
26077         (__gamma_productl): Likewise.
26078         * math/Makefile (libm-calls): Add gamma_product.
26079         * math/libm-test.inc (tgamma_test): Add more tests.
26080         * sysdeps/i386/fpu/libm-test-ulps: Update.
26081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26082
26083 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26084
26085         * benchtests/bench-skeleton.c (main): Preheat CPU.
26086
26087 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26088
26089         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26090
26091 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26092
26093         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26094         and _dl_skip_args_internal.
26095
26096 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26097
26098         * manual/message.texi (Message Translation): Talk about users.
26099         Message to key mapping impacts design.
26100
26101 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26102
26103         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26104
26105         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26106
26107         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26108         * sysdeps/wordsize-64/glob64.c: ... here.
26109
26110         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26111         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26112         New macros.
26113
26114         * debug/getlogin_r_chk.c: Moved to ...
26115         * login/getlogin_r_chk.c: ... here.
26116         * debug/Makefile (routines): Move getlogin_r_chk to ...
26117         * login/Makefile (routines): ... here.
26118         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26119         * login/Versions (libc: GLIBC_2.4): ... here.
26120
26121         * io/poll.c (__poll): Renamed from poll.
26122         Add libc_hidden_def.
26123         (poll): Define as weak alias.
26124
26125         * debug/ptsname_r_chk.c: Moved to ...
26126         * login/ptsname_r_chk.c: ... here.
26127         * debug/Makefile (routines): Move ptsname_r_chk to ...
26128         * login/Makefile (routines): ... here.
26129         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26130         * login/Versions (libc: GLIBC_2.4): ... here.
26131
26132         * posix/getlogin.c: Moved to ...
26133         * login/getlogin.c: ... here.
26134         * posix/getlogin_r.c: Moved to ...
26135         * login/getlogin_r.c: ... here.
26136         * posix/getlogin_r.c: Moved to ...
26137         * login/getlogin_r.c: ... here.
26138         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26139         * login/Makefile (routines): ... here.
26140         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26141         * login/Versions (libc: GLIBC_2.0): ... here.
26142
26143         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26144         (setrlimit): Define as weak alias.
26145
26146         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26147         Call __ names for open, ftruncate, and close.
26148         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26149         (truncate): Define as weak alias.
26150
26151 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26152
26153         * math/gen-libm-test.pl (parse_args): Initialize x before each
26154         test of frexp, modf and remquo.
26155
26156         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26157         test signgam value.
26158
26159 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26160
26161         [BZ #15418]
26162         [BZ #15419]
26163         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26164         internal tests.
26165         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26166
26167 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26168
26169         * elf/dl-writev.h: New file.
26170         * elf/dl-misc.c: Include it.
26171         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26172         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26173
26174 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26175
26176         * math/libm-test.inc (noXFails): Remove variable.
26177         (noXPasses): Likewise.
26178         (BUILD_COMPLEX_INT): Remove macro.
26179         (print_screen): Remove xfail argument.
26180         (print_screen_max_error): Likewise.
26181         (update_stats): Likewise.
26182         (print_max_error): Likewise.  Update calls to other affected
26183         functions.
26184         (print_complex_max_error): Likewise.
26185         (test_single_exception): Update calls to print_screen.
26186         (test_single_errno): Likewise.
26187         (check_float_internal): Remove xfail argument.  Update calls to
26188         other affected functions.
26189         (check_float): Likewise.
26190         (check_complex): Likewise.
26191         (check_int): Likewise.
26192         (check_long): Likewise.
26193         (check_bool): Likewise.
26194         (check_longlong): Likewise.
26195         (main): Don't print noXFails and noXPasses.
26196         * math/gen-libm-test.pl (top level): Don't mention expected
26197         failure handling in comment.
26198         (new_test): Don't handle expected failures.
26199         (parse_args): Don't mention expected failure handling in comment.
26200         (generate_testfile): Don't handle expected failures.
26201         (parse_ulps): Likewise.
26202         (print_ulps_file): Likewise.
26203         (get_failure): Remove function.
26204         (output_test): Don't handle expected failures.
26205         * make/README.libm-test: Don't mention expected failure handling.
26206
26207         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26208         (minus_zero): Likewise.
26209         (plus_infty): Likewise.
26210         (minus_infty): Likewise.
26211         (qnan_value): Likewise.
26212         (max_value): Likewise.
26213         (min_value): Likewise.
26214         (min_subnorm_value): Likewise.
26215         (initialize): Do not initialize those variables dynamically.
26216
26217 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26218
26219         * io/open.c (__open_2): Moved to ...
26220         * io/open_2.c: ... this new file.
26221         * io/open64.c (__open64_2): Moved to ...
26222         * io/open64_2.c: ... this new file.
26223         * io/openat.c (__openat_2): Moved to ...
26224         * io/openat_2.c: ... this new file.
26225         * io/openat64.c (__openat64_2): Moved to ...
26226         * io/openat64_2.c: ... this new file.
26227         * io/Makefile (routines): Add them.
26228         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26229         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26230         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26231         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26232         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26233         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26234         (__openat64): Add hidden_ver.
26235         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26236         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26237
26238         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26239         Separately conditionalize setting of GLRO(dl_sysinfo) so
26240         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26241         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26242
26243 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26244
26245         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26247         definition.
26248         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26249         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26250         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26251         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26252         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26253
26254 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26255
26256         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26257         test signgam value.
26258
26259         * math/libm-test.inc (hypot_test): Do not use
26260         IGNORE_ZERO_INF_SIGN.
26261
26262 2013-05-03  Andreas Jaeger  <aj@suse.de>
26263
26264         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26265         Linux 3.9.
26266         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26267         (PF_MAX): Adjust for VSOCK change.
26268
26269 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26270
26271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26272
26273 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26274
26275         [BZ #15264]
26276         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26277         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26278         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26279
26280 2013-05-02  David S. Miller  <davem@davemloft.net>
26281
26282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26283
26284 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26285
26286         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26287
26288 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26289
26290         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26291
26292 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26293
26294         [BZ #14952]
26295         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26296         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26297         Use __attribute__ ((__gnu_inline__)).
26298         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26299         Don't use __attribute__ ((__gnu_inline__)).
26300
26301 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26302
26303         [BZ #15423]
26304         * math/s_catan.c (__catan): Handle small real or imaginary part of
26305         input specially to avoid spurious underflow.
26306         * math/s_catanf.c (__catanf): Likewise.
26307         * math/s_catanh.c (__catanh): Likewise.
26308         * math/s_catanhf.c (__catanhf): Likewise.
26309         * math/s_catanhl.c (__catanhl): Likewise.
26310         * math/s_catanl.c (__catanl): Likewise.
26311         * math/libm-test.inc (catan_test): Add more tests.
26312         (catanh_test): Likewise.
26313         * sysdeps/i386/fpu/libm-test-ulps: Update.
26314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26315
26316 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26317
26318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26319
26320 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26321
26322         [BZ #15416]
26323         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26324         accurately for denominator in atan2.
26325         * math/s_catanf.c (__catanf): Likewise.
26326         * math/s_catanh.c (__catanh): Likewise.
26327         * math/s_catanhf.c (__catanhf): Likewise.
26328         * math/s_catanhl.c (__catanhl): Likewise.
26329         * math/s_catanl.c (__catanl): Likewise.
26330         * math/libm-test.inc (catan_test): Add more tests.
26331         (catanh_test): Likewise.
26332         * sysdeps/i386/fpu/libm-test-ulps: Update.
26333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26334
26335 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26336
26337         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26338
26339         * benchtests/Makefile (bench): Remove slow benchmarks.
26340         * benchtests/atan-inputs: Add slow benchmark inputs.
26341         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26342         (BENCH_FUNC): Accept variant offset.
26343         (VARIANT): Define.
26344         * benchtests/bench-skeleton.c (main): Run benchmark for each
26345         variant.
26346         * benchtests/cos-inputs: Add slow benchmark inputs.
26347         * benchtests/exp-inputs: Likewise.
26348         * benchtests/pow-inputs: Likewise.
26349         * benchtests/sin-inputs: Likewise.
26350         * benchtests/slowatan-inputs: Remove.
26351         * benchtests/slowatan.c: Remove.
26352         * benchtests/slowcos-inputs: Remove.
26353         * benchtests/slowcos.c: Remove.
26354         * benchtests/slowexp-inputs: Remove.
26355         * benchtests/slowexp.c: Remove.
26356         * benchtests/slowpow-inputs: Remove.
26357         * benchtests/slowpow.c: Remove.
26358         * benchtests/slowsin-inputs: Remove.
26359         * benchtests/slowsin.c: Remove.
26360         * benchtests/slowtan-inputs: Remove.
26361         * benchtests/slowtan.c: Remove.
26362         * benchtests/tan-inputs: Add slow benchmark inputs.
26363         * scripts/bench.pl: Parse comments and directives.
26364
26365         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26366         in CPPFLAGS.
26367         ($(objpfx)bench-%.c): Remove *-ITER.
26368         * benchtests/bench-modf.c: Remove definition of ITER.
26369         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26370         (main): Loop for DURATION seconds instead of fixed number of
26371         iterations.
26372         * scripts/bench.pl: Don't expect iterations in parameters.
26373
26374 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26375
26376         * io/fchdir.c (__fchdir): Renamed from fchdir.
26377         (fchdir): Define as weak alias.
26378
26379 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26380
26381         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26382         (ERRNO_EDOM): Likewise.
26383         (ERRNO_ERANGE): Likewise.
26384         (noErrnoTests): New variable.
26385         (init_max_error): Set errno to 0.
26386         (test_single_errno): New function.
26387         (test_errno): Likewise.
26388         (check_float_internal): Call test_errno.  Set errno to 0.
26389         (check_complex): Refer to errno tests in comment.
26390         (check_int): Call test_errno.  Set errno to 0.
26391         (check_long): Likewise.
26392         (check_bool): Likewise.
26393         (check_longlong): Likewise.
26394         (cos_test): Use ERRNO_* flags for errno tests instead of
26395         check_int.
26396         (expm1_test): Likewise.
26397         (fmod_test): Likewise.
26398         (ilogb_test): Likewise.
26399         (lgamma_test): Likewise.
26400         (pow_test): Likewise.
26401         (remainder_test): Likewise.
26402         (sin_test): Likewise.
26403         (tan_test): Likewise.
26404         (yn_test): Likewise.
26405         (initialize): Set errno to 0.
26406         (main): Print number of errno tests.
26407         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26408
26409 2013-04-29  Andreas Jaeger  <aj@suse.de>
26410
26411         [BZ #15084]
26412         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26413         and RES_USEVC.
26414
26415         [BZ #15085]
26416         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26417         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26418         unimplemented.
26419
26420         [BZ #15380]
26421         * stdlib/random.c (__initstate): Return NULL if
26422         __initstate fails.
26423
26424         [BZ #15086]
26425         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26426         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26427         RES_SNGLKUPREOP.
26428
26429 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26430
26431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26432
26433 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26434
26435         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26436         of individual tests.
26437         (casin_test): Likewise.
26438         (casinh_test): Likewise.
26439
26440 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26441
26442         [BZ #15409]
26443         * math/s_catan.c (__catan): Handle arguments with large real or
26444         imaginary part separately without squaring.
26445         * math/s_catanf.c (__catanf): Likewise.
26446         * math/s_catanh.c (__catanh): Likewise.
26447         * math/s_catanhf.c (__catanhf): Likewise.
26448         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26449         and redefine.
26450         (__catanhl): Handle arguments with large real or imaginary part
26451         separately without squaring.
26452         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26453         and redefine.
26454         (__catanl): Handle arguments with large real or imaginary part
26455         separately without squaring.
26456         * math/libm-test.inc (catan_test): Add more tests.
26457         (catanh_test): Likewise.
26458         * sysdeps/i386/fpu/libm-test-ulps: Update.
26459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26460
26461 2013-04-27  Andreas Jaeger  <aj@suse.de>
26462
26463         [BZ #15007]
26464         * stdlib/stdlib.h: Update guards for qecvt.
26465         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26466         <stdlib.h>.
26467
26468 2013-04-27  Allan McRae  <allan@archlinux.org>
26469
26470         * sysdeps/i386/fpu/libm-test-ulps: Update.
26471
26472 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26473
26474         [BZ #15406]
26475         * math/s_catan.c: Include <float.h>.
26476         (__catan): Ensure underflow exception occurs for underflowed
26477         result.
26478         * math/s_catanf.c: Include <float.h>.
26479         (__catanf): Ensure underflow exception occurs for underflowed
26480         result.
26481         * math/s_catanh.c: Include <float.h>.
26482         (__catanh): Ensure underflow exception occurs for underflowed
26483         result.
26484         * math/s_catanhf.c: Include <float.h>.
26485         (__catanhf): Ensure underflow exception occurs for underflowed
26486         result.
26487         * math/s_catanhl.c: Include <float.h>.
26488         (__catanhl): Ensure underflow exception occurs for underflowed
26489         result.
26490         * math/s_catanl.c: Include <float.h>.
26491         (__catanl): Ensure underflow exception occurs for underflowed
26492         result.
26493         * math/libm-test.inc (catan_test): Add more tests.
26494         (catanh_test): Likewise.
26495
26496         [BZ #15405]
26497         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26498         underflowed result.
26499         * math/s_ccoshf.c (__ccoshf): Likewise.
26500         * math/s_ccoshl.c (__ccoshl): Likewise.
26501         * math/s_csin.c (__csin): Likewise.
26502         * math/s_csinf.c (__csinf): Likewise.
26503         * math/s_csinh.c (__csinh): Likewise.
26504         * math/s_csinhf.c (__csinhf): Likewise.
26505         * math/s_csinhl.c (__csinhl): Likewise.
26506         * math/s_csinl.c (__csinl): Likewise.
26507         * math/libm-test.inc (ccos_test): Add more tests.
26508         (ccosh_test): Likewise.
26509         (csin_test): Likewise.
26510         (csinh_test): Likewise.
26511
26512 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26513
26514         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26515         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26516         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26517         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26518         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26519         powerpc/power5+/fpu folders.
26520         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26521
26522
26523 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26524
26525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26526
26527 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26528
26529         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26530         additions to variable.
26531         [$(config-machine) = x86_64] (modules-names): Likewise.
26532         ($(objpfx)tst-audit3): Remove dependency.
26533         ($(objpfx)tst-audit3.out): Likewise.
26534         ($(objpfx)tst-audit4): Likewise.
26535         ($(objpfx)tst-audit4.out): Likewise.
26536         ($(objpfx)tst-audit5): Likewise.
26537         ($(objpfx)tst-audit5.out): Likewise.
26538         ($(objpfx)tst-audit6): Likewise.
26539         ($(objpfx)tst-audit6.out): Likewise.
26540         ($(objpfx)tst-audit7): Likewise.
26541         ($(objpfx)tst-audit7.out): Likewise.
26542         (tst-audit3-ENV): Remove variable.
26543         (tst-audit4-ENV): Likewise.
26544         (tst-audit5-ENV): Likewise.
26545         (tst-audit6-ENV): Likewise.
26546         (tst-audit7-ENV): Likewise.
26547         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26548         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26549         addition to variable.
26550         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26551         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26552         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26553         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26554         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26555         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26556         tst-audit3, tst-audit4 and tst-audit5.
26557         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26558         tst-audit6 and tst-audit7.
26559         [$(subdir) = elf] (modules-names): Add audit modules for those
26560         tests.
26561         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26562         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26563         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26564         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26565         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26566         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26567         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26568         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26569         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26570         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26571         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26572         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26573         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26574         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26575         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26576         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26577         Likewise.
26578         [$(subdir) = elf && $(config-cflags-avx) = yes]
26579         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26580         [$(subdir) = elf && $(config-cflags-avx) = yes]
26581         (CFLAGS-tst-auditmod4a.c): Likewise.
26582         [$(subdir) = elf && $(config-cflags-avx) = yes]
26583         (CFLAGS-tst-auditmod4b.c): Likewise.
26584         [$(subdir) = elf && $(config-cflags-avx) = yes]
26585         (CFLAGS-tst-auditmod6b.c): Likewise.
26586         [$(subdir) = elf && $(config-cflags-avx) = yes]
26587         (CFLAGS-tst-auditmod6c.c): Likewise.
26588         [$(subdir) = elf && $(config-cflags-avx) = yes]
26589         (CFLAGS-tst-auditmod7b.c): Likewise.
26590         * elf/tst-audit3.c: Move to ...
26591         * sysdeps/x86_64/tst-audit3.c: ... here.
26592         * elf/tst-audit4.c: Move to ...
26593         * sysdeps/x86_64/tst-audit4.c: ... here.
26594         * elf/tst-audit5.c: Move to ...
26595         * sysdeps/x86_64/tst-audit5.c: ... here.
26596         * elf/tst-audit6.c: Move to ...
26597         * sysdeps/x86_64/tst-audit6.c: ... here.
26598         * elf/tst-audit7.c: Move to ...
26599         * sysdeps/x86_64/tst-audit7.c: ... here.
26600         * elf/tst-auditmod3a.c: Move to ...
26601         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26602         * elf/tst-auditmod3b.c: Move to ...
26603         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26604         * elf/tst-auditmod4a.c: Move to ...
26605         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26606         * elf/tst-auditmod4b.c: Move to ...
26607         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26608         * elf/tst-auditmod5a.c: Move to ...
26609         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26610         * elf/tst-auditmod5b.c: Move to ...
26611         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26612         * elf/tst-auditmod6a.c: Move to ...
26613         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26614         * elf/tst-auditmod6b.c: Move to ...
26615         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26616         * elf/tst-auditmod6c.c: Move to ...
26617         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26618         * elf/tst-auditmod7a.c: Move to ...
26619         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26620         * elf/tst-auditmod7b.c: Move to ...
26621         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26622
26623 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26624
26625         [BZ #15366]
26626         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26627         define unconditionally.
26628         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26629         define unconditionally.
26630         (INT8_C, INT16_C, etc.): Likewise.
26631
26632 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26633
26634         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26635         __ehdr_start with hidden visibility.
26636
26637         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26638
26639 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26640
26641         * math/libm-test.inc (cos_test): Use accurate hex constants.
26642         (sincost_test): Likewise.
26643
26644 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26645
26646         * math/libm-test.inc (catan_test): Add more tests.
26647         (catanh_test): Likewise.
26648
26649         * math/s_catanf.c (__catanf): Use suffixed floating-point
26650         constants.
26651         * math/s_catanhf.c (__catanhf): Likewise.
26652         * math/s_catanhl.c (__catanhl): Likewise.
26653         * math/s_catanl.c (__catanl): Likewise.
26654
26655         [BZ #15394]
26656         * math/s_catan.c (__catan): Calculate imaginary part of result
26657         with log1p not log unless computing log of number close to 0.
26658         * math/s_catanf.c (__catanf): Likewise.
26659         * math/s_catanl.c (__catanl): Likewise.
26660         * math/s_catanh.c (__catanh): Calculate real part of result with
26661         log1p not log unless computing log of number close to 0.
26662         * math/s_catanhf.c (__catanhf): Likewise.
26663         * math/s_catanhl.c (__catanhl): Likewise.
26664         * math/libm-test.inc (catan_test): Add more tests.
26665         (catanh_test): Likewise.
26666         * sysdeps/i386/fpu/libm-test-ulps: Update.
26667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26668
26669 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26670
26671         * benchtests/Makefile: Mention files in which fast and slow
26672         paths of math functions are implemented.
26673
26674 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26675
26676         * sysdeps/posix/timespec_get.c: New file.
26677
26678 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26679
26680         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26681         POWER.
26682         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26683         for POWER.
26684         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26685         powerpc/power5/fpu folders.
26686         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26687         * benchtests/Makefile: Add modf testcase.
26688         * benchtests/bench-modf.c: New file: Benchmark test for mo
26689
26690 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26691
26692         [BZ #14888]
26693         * time/Makefile (tests): Add tst-strptime-whitespace.
26694         * time/strptime_l.c (get_number): Use ISSPACE.
26695         (__strptime_internal): Likewise.
26696         * time/tst-strptime-whitespace.c: New test case.
26697
26698 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26699
26700         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26701         member.
26702         (_nss_files_init): Set it here.
26703
26704 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26705
26706         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26707         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26708         unsigned.
26709
26710 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26711
26712         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26713
26714 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26715
26716         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26717         size just once.
26718
26719 2013-04-21  David S. Miller  <davem@davemloft.net>
26720
26721         * po/ru.po: Update Russion translation from translation project.
26722
26723 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26724
26725         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26726         and setfsgid.
26727
26728 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26729
26730         * configure.in: Remove i386 configure warning. Remove i386 case.
26731         * configure: Regenerate.
26732         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26733         Add example to error message.
26734         * sysdeps/i386/configure: Regenerate.
26735
26736 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26737
26738         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26739         slowtan.
26740         * benchtests/cos-inputs: New file.
26741         * benchtests/slowcos-inputs: New file.
26742         * benchtests/slowcos.c: New file.
26743         * benchtests/slowtan-inputs: New file.
26744         * benchtests/slowtan.c: New file.
26745         * benchtests/tan-inputs: New file.
26746
26747 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26748
26749         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26750         considered kosher.
26751
26752 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26753
26754         * benchtests/Makefile: Include cppflags-iterator.mk to add
26755         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26756
26757         * Makefile.in (bench-clean): New target.
26758         * benchtests/Makefile (bench-clean): Likewise.
26759
26760 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26761
26762         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26763
26764 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26765
26766         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26767
26768 2013-04-15  Andreas Schwab  <schwab@suse.de>
26769
26770         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26772         * nscd/pwdcache.c (cache_addpw): Likewise.
26773         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26774         more than recsize.
26775
26776 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26777
26778         * benchtests/Makefile (bench): Write all output to
26779         bench-out.tmp together.
26780
26781 2013-04-15  Andreas Schwab  <schwab@suse.de>
26782
26783         * nscd/nscd.c (main): Don't fork again after closing files.
26784
26785 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26786
26787         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26788
26789         * benchtests/Rules (bench-deps): Collect dependencies into a
26790         single variable.  Add Makefile to dependencies.
26791         ($(objpfx)bench-%.c): Depend on bench-deps.
26792
26793 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26794             Xavier Roche  <roche+kml2@exalead.com>
26795
26796         [BZ #15361]
26797         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26798         just that it's a file descriptor.
26799         * manual/llio.texi (Synchronizing AIO Operations): Update description
26800         for EBADF error from aio_fsync.
26801
26802 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26803
26804         * Rules (bench): Move target definition...
26805         * benchtests/Makefile: ... here.
26806
26807 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26808
26809         * math/libm-test.inc (cos_test): Fix PI/2 test.
26810         (sincos_test): Likewise.
26811         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26812         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26813
26814 2013-04-11  Andreas Schwab  <schwab@suse.de>
26815
26816         [BZ #13988]
26817         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26818         accept exponent character only when digits were seen.
26819         * stdio-common/Makefile (tests): Add bug26.
26820         * stdio-common/bug26.c: New file.
26821
26822         [BZ #14293]
26823         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26824         non-freeable.
26825
26826 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26827
26828         * Makeconfig (rtld-prefix): Define built linker prefix.
26829         * Rules (run-bench): Use it.
26830         * math/Makefile (run-regen-ulps): Likewise.
26831
26832         * Rules (bench): Remove eval.
26833
26834 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26835             Roland McGrath  <roland@hack.frob.com>
26836             Ondrej Bilka  <neleai@seznam.cz>
26837
26838         [BZ #15346]
26839         * time/getdate.c: Include ctype.h and alloca.h.
26840         (__getdate_r): Trim leading and trailing spaces of input.
26841         * time/tst-getdate.c (tests): Add tests with leading and
26842         trailing spaces.
26843
26844 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26845
26846         [BZ #14280]
26847         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26848         when computing value.
26849
26850 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26851
26852         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26853         Use testrun.sh to run libm tests.
26854
26855         [BZ #15309]
26856         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26857
26858 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26859
26860         [BZ #15264]
26861         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26862
26863 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26864
26865         * Makefile.in (regen-ulps): New target.
26866         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26867         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26868         [ifneq (no,$(PERL)] (regen-ulps): New target.
26869         [ifeq (no,$(PERL)] (regen-ulps): New target.
26870         * math/libm-test.inc (ulps_file_name): Define.
26871         (output_dir): New variable.
26872         (options): Add "output-dir" option.
26873         (parse_opt): Handle 'o' case.
26874         (main): If output_dir is non-NULL use it as a prefix
26875         otherwise use "".
26876         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26877
26878 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26879
26880         [BZ #10060, #10062]
26881         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26882         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26883         fail configure if __sync_val_compare_and_swap is not inlined.
26884         * sysdeps/i386/configure: Regenerate.
26885         * configure.in: Build for i686 when configured for i386.
26886         * configure: Regenerate.
26887         * README: Remove i386 reference.
26888
26889 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26890
26891         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26892         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26893
26894 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26895
26896         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26897         (lmsnanval): New variables.
26898         (F): Add conversion tests.
26899         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26900         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26901
26902         * stdio-common/tstdiomisc.c (F): Properly collect individual
26903         tests' results.
26904
26905         [BZ #14686, #15336]
26906         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26907         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26908         Instead, use input NaN values or generate a qNaN by arithmetic
26909         operation.  Also fix bugs to comply with the standard.
26910         * math/libm-test.inc (remainder_test): Add more tests.
26911
26912         [BZ #15335, #15342]
26913         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26914         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26915         input NaN values or generate a qNaN by arithmetic operation.
26916
26917         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26918         unreachable code.
26919
26920         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26921         definitions.
26922
26923 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26924
26925         [BZ #14478]
26926         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26927         underflowed result.
26928         * math/s_cexpf.c (__cexpf): Likewise.
26929         * math/s_cexpl.c (__cexpl): Likewise.
26930         * math/libm-test.inc (cexp_test): Add more tests.
26931
26932 2013-04-03  Andreas Schwab  <schwab@suse.de>
26933
26934         [BZ #15330]
26935         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26936         order arrays from heap if bigger than alloca cutoff.
26937
26938 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26939
26940         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26941         (SNAN_TESTS_double): Refer to GCC PR56831.
26942         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26943         GCC PR56828.
26944
26945 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26946
26947         * Rules (bench): Move bench.out after the run is complete.
26948
26949         * Rules (bench): Echo currently running benchmark.
26950
26951         * benchtests/Makefile (bench): Add atan and slowatan.
26952         * benchtests/atan-inputs: New file.
26953         * benchtests/slowatan-inputs: New file.
26954         * benchtests/slowatan.c: New file.
26955
26956         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26957         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26958         its value.
26959
26960         [BZ #15305]
26961         * sysdeps/unix/sysv/linux/kernel-features.h
26962         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26963         __ASSUME_XFS_RESTRICTED_CHOWN.
26964         * sysdeps/unix/sysv/linux/pathconf.c
26965         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26966         Save and restore errno.
26967
26968 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26969
26970         [BZ #15327]
26971         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26972         arguments using __kernel_casinh.
26973         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26974         arguments using __kernel_casinhf.
26975         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26976         arguments using __kernel_casinhl.
26977         * math/libm-test.inc (cacosh_test): Add more tests.
26978         * sysdeps/i386/fpu/libm-test-ulps: Update.
26979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26980
26981 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26982
26983         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26984         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26985
26986         * bench/Makefile (bench): Add sin and slowsin.
26987         * benchtests/sin-inputs: New file.
26988         * benchtests/slowsin-inputs: New file.
26989         * benchtests/slowsin.c: New file.
26990
26991         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26992         (bench): Add slowexp and slowpow.
26993         (exp-ITER): Increase iterations.
26994         (pow-ITER): Likewise.
26995         * benchtests/exp-inputs: Change input.
26996         * benchtests/pow-inputs: Likewise.
26997         * benchtests/slowexp-inputs: New file.
26998         * benchtests/slowexp.c: New file.
26999         * benchtests/slowpow-inputs: New file.
27000         * benchtests/slowpow.c: New file.
27001
27002 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27003
27004         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27005         instructions.
27006         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27007         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27008         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27009         * benchtests/Makefile: Add rint benchtest.
27010         * benchtests/rint-inputs: Input for rint benchtest.
27011
27012 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27013
27014         * Versions.def (libm): Add GLIBC_2.18.
27015         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27016         hidden libm prototypes.
27017         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27018         * math/Makefile (libm-calls): Add s_issignaling.
27019         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27020         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27021         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27022         declaration.
27023         * math/math.h [__USE_GNU] (issignaling): New macro.
27024         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27025         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27026         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27027         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27028         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27029         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27030         * manual/arith.texi (issignaling): New section.
27031         * manual/libm-err-tab.pl (@all_functions): Update comment.
27032         * math/gen-libm-test.pl (parse_args): Apply special handling for
27033         issignaling.
27034         * math/libm-test.inc (print_float, issignaling_test): New
27035         functions.
27036         (check_float_internal): Add issignaling checks.
27037         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27038         default definition.
27039         * sysdeps/powerpc/math-tests.h: New file.
27040         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27041         tests.
27042         * math/test-snan.c (TEST_FUNC): Likewise.
27043
27044 2013-03-30  David S. Miller  <davem@davemloft.net>
27045
27046         * po/de.po: Update from translation team.
27047
27048 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27049
27050         [BZ #10357]
27051         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27052         imaginary part less than 1.0 and real part less than 0.5
27053         specially.
27054         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27055         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27056         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27057         (cacos_test): Add more tests.
27058         (casin_test): Likewise.
27059         (casinh_test): Likewise.
27060         * sysdeps/i386/fpu/libm-test-ulps: Update.
27061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27062
27063 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27064
27065         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27066         ONE with its value.
27067
27068         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27069         (__pow_mp): Replace ONE and MONE with their values.
27070         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27071         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27072         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27073         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27074         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27075         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27076
27077         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27078
27079         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27080         (__pow_mp): Replace ZERO and MZERO with their values.
27081         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27082         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27083         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27084         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27085         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27086         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27087         (__sqr): Likewise.
27088
27089         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27090
27091         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27092
27093 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27094
27095         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27096         Declare with __attribute__ ((weak)).
27097         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27098         Call __call_tls_dtors only if it's not NULL.
27099
27100 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27101
27102         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27103         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27104         magic __ehdr_start linker symbol if it's defined.
27105         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27106         them up here if it was already done.
27107
27108         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27109         (_dl_aux_init): Use const in cast when setting it.
27110         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27111         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27112         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27113
27114         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27115         Declare them here.
27116         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27117         * csu/libc-tls.c: Nor here.
27118         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27119
27120         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27121         (__libc_message): Never call vsyslog.
27122
27123 2013-03-28  Alan Modra  <amodra@gmail.com>
27124
27125         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27126         Define as empty.
27127         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27128         Likewise.
27129
27130 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27131
27132         [BZ #15214]
27133         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27134         underflow.
27135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27136
27137 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27138
27139         [BZ #15304]
27140         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27141         Don't add gid passed as argument.
27142
27143         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27144
27145 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27146
27147         [BZ #15307]
27148         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27149         imaginary part between 1.0 and 1.5 and real part less than 0.5
27150         specially.
27151         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27152         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27153         * math/libm-test.inc (cacos_test): Add more tests.
27154         (casin_test): Likewise.
27155         (casinh_test): Likewise.
27156         * sysdeps/i386/fpu/libm-test-ulps: Update.
27157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27158
27159 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27160
27161         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27162         constants.
27163         (norm): Likewise.
27164         (denorm): Likewise.
27165         (__dbl_mp): Likewise.
27166         (add_magnitudes): Likewise.
27167         (sub_magnitudes): Likewise.
27168         (__add): Likewise.
27169         (__sub): Likewise.
27170         (__mul): Likewise.
27171         (__sqr): Likewise.
27172         (__inv): Likewise.
27173         (__dvd): Likewise.
27174
27175         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27176         commented code.
27177         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27178         (__dubcos): Likewise.
27179         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27180         (__ieee754_acos): Likewise.
27181         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27182         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27183         (__exp1): Likewise.
27184         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27185         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27186         (log1): Likewise.
27187         (my_log2): Likewise.
27188         (checkint): Likewise.
27189         * sysdeps/ieee754/dbl-64/e_remainder.c
27190         (__ieee754_remainder): Likewise.
27191         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27192         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27193         (bsloww): Likewise.
27194         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27195
27196         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27197         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27198         MANTISSA_STORE_T to store computations on mantissa.  Use
27199         macros for rounding and division.
27200         (denorm): Likewise.
27201         (__dbl_mp): Likewise.
27202         (add_magnitudes): Likewise.
27203         (sub_magnitudes): Likewise.
27204         (__mul): Likewise.
27205         (__sqr): Likewise.
27206         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27207         powers of two in terms of TWOPOW macro.
27208         (mp_no): Make type of mantissa as MANTISSA_T.
27209         [!RADIXI]: Define RADIXI.
27210         [!TWO52]: Define TWO52.
27211         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27212
27213 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27214
27215         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27216         llroundl symbol when building for PPC32.
27217
27218 2013-03-24  Mark H Weaver  <mhw@netris.org>
27219
27220         * manual/arith.texi (Normalization Functions): Fix prototypes for
27221         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27222
27223 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27224
27225         [BZ #13889]
27226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27227         high value to check if expl overflow.
27228         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27229         to check for underflow and overflow.
27230         * math/libm-test.inc: Add exp test.
27231
27232 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27233
27234         [BZ #11120]
27235         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27236         with NOT_IN_libc.
27237
27238 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27239
27240         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27241         symbol.
27242
27243 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27244
27245         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27246         wrap blocks consisting of several statements.
27247
27248         * sysdeps/generic/math-tests.h: New file.
27249         * sysdeps/i386/fpu/math-tests.h: Likewise.
27250         * math/test-snan.c: Include it.
27251         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27252
27253 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27254
27255         [BZ #15285]
27256         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27257         (__ieee754_j0l): Do not improve calculations using cos of twice
27258         input for inputs above LDBL_MAX / 2.0L.
27259         (__ieee754_y0l): Likewise.
27260         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27261         (__ieee754_j1l): Do not improve calculations using cos of twice
27262         input for inputs above LDBL_MAX / 2.0L.
27263         (__ieee754_y1l): Likewise.
27264         * math/libm-test.inc (j0_test): Add another test.
27265         (j1_test): Likewise.
27266         (y0_test): Likewise.
27267         (y1_test): Likewise.
27268         * sysdeps/i386/fpu/libm-test-ulps: Update.
27269
27270 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27271
27272         * Rules ($(objpfx)bench-%.c): Include code from a C source
27273         file.
27274
27275 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27276
27277         [BZ #15287]
27278         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27279         imaginary part 1.0 and real part less than 0.5 specially.
27280         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27281         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27282         * math/libm-test.inc (cacos_test): Add more tests.
27283         (casin_test): Likewise.
27284         (casinh_test): Likewise.
27285         * sysdeps/i386/fpu/libm-test-ulps: Update.
27286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27287
27288 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27289
27290         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27291         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27292
27293 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27294
27295         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27296         * config.make.in (config-cflags-sse4): Remove variable.
27297         (config-cflags-avx): Likewise.
27298         (config-cflags-sse2avx): Likewise.
27299         (config-cflags-novzeroupper): Likewise.
27300         (config-asflags-i686): Likewise.
27301         (have-mfma4): Likewise.
27302         (have-as-vis3): Likewise.
27303         (MIG): Likewise.
27304         * configure.in (MIG): Do not AC_SUBST.
27305         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27306         (libc_cv_cc_sse4): Do not AC_SUBST.
27307         (libc_cv_cc_avx): Likewise.
27308         (libc_cv_cc_sse2avx): Likewise.
27309         (libc_cv_cc_novzeroupper): Likewise.
27310         (libc_cv_cc_fma4): Likewise.
27311         (libc_cv_as_i686): Likewise.
27312         (libc_cv_sparc_as_vis3): Likewise.
27313         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27314         LIBC_CONFIG_VAR.
27315         (config-asflags-i686): Likewise.
27316         (config-cflags-avx): Likewise.
27317         (config-cflags-sse2avx): Likewise.
27318         (have-mfma4): Likewise.
27319         (config-cflags-novzeroupper): Likewise.
27320         * sysdeps/mach/configure.in (MIG): Likewise.
27321         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27322         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27323         LIBC_CONFIG_VAR.
27324         (config-cflags-avx): Likewise.
27325         (config-cflags-sse2avx): Likewise.
27326         (have-mfma4): Likewise.
27327         (config-cflags-novzeroupper): Likewise.
27328         * configure: Regenerated.
27329         * sysdeps/i386/configure: Likewise.
27330         * sysdeps/mach/configure: Likewise.
27331         * sysdeps/sparc/configure: Likewise.
27332         * sysdeps/x86_64/configure: Likewise.
27333
27334 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27335
27336         [BZ #14812]
27337         * locale/programs/localedef.c (options): Put N_ translation marker
27338         on argument names, not just descriptions.
27339
27340 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27341
27342         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27343
27344 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27345
27346         [BZ #14176]
27347         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27348
27349 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27350
27351         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27352         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27353         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27354         [!BEFORE_ABORT] (before_abort): New function.
27355         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27356         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27357         (writev_for_fatal): New function.
27358         (WRITEV_FOR_FATAL): New macro; call that.
27359         (backtrace_and_maps): New function.
27360         (BEFORE_ABORT): New macro; call that.
27361         (struct str_list): Type removed.
27362         (__libc_message, __libc_fatal): Functions removed.
27363         Include <sysdeps/posix/libc_fatal.c> instead.
27364
27365 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27366
27367         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27368         constants.
27369         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27370         double constants.
27371
27372 2013-03-19  Andreas Schwab  <schwab@suse.de>
27373
27374         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27375         * sysdeps/gnu/configure: Regenerate.
27376
27377         * configure.in: Substitute libc_cv_rtlddir.
27378         * configure: Regenerate.
27379         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27380         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27381         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27382         * elf/Makefile (install-others, CFLAGS-interp.c)
27383         (ldso_install, common-ldd-rewrite): Likewise.
27384         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27385         $(inst_slibdir)/$(rtld-installed-name).
27386         * scripts/rellns-sh: Add -p option.
27387         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27388         for source.
27389
27390 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27391
27392         * manual/nptl.texi: Renamed to ...
27393         * manual/threads.texi: ... this.
27394         * manual/Makefile (chapters): Update.
27395
27396 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27397
27398         [BZ #14812]
27399         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27400         on argument names, not just descriptions.
27401         * malloc/memusagestat.c (options): Likewise.
27402         * nss/getent.c (options): Likewise.
27403
27404 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27405
27406         [BZ #14812]
27407         * iconv/iconv_prog.c (options): Put N_ translation marker
27408         on argument names, not just descriptions.
27409         * iconv/iconvconfig.c (options): Likewise.
27410
27411 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27412
27413         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27414         implementation which is faster on all x86_64 architectures.
27415         Tested on AMD, Intel Nehalem, SNB, IVB.
27416         * sysdeps/x86_64/strnlen.S: Likewise.
27417
27418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27419         Remove all multiarch strlen and strnlen versions.
27420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27421         Remove strlen and strnlen related parts.
27422
27423         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27424         Inline strlen part.
27425         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27426
27427         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27428         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27429         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27430         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27431         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27432         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27433
27434 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27435
27436         * manual/memory.texi (Malloc Tunable Parameters):
27437         Sort parameters alphabetically. Add comments for missing entries.
27438
27439 2013-03-17  David S. Miller  <davem@davemloft.net>
27440
27441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27442
27443 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27444
27445         [BZ #15283]
27446         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27447         for arguments at most half maximum finite value.
27448         * math/libm-test.inc (j0_test): Add more tests.
27449         (j1_test): Likewise.
27450         (y0_test): Likewise.
27451         (y1_test): Likewise.
27452         * sysdeps/i386/fpu/libm-test-ulps: Update.
27453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27454
27455         [BZ #14155]
27456         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27457         1 / x and functions P and Q for arguments above 0x1p256L.
27458         (__ieee754_y0l): Likewise.
27459         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27460         (__ieee754_y1l): Likewise.
27461         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27462         (j1_test): Likewise.
27463         (y0_test): Likewise.
27464         (y1_test): Likewise.
27465
27466 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27467
27468         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27469         variable.
27470
27471 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27472
27473         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27474         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27475         zero since it's initialized to EXEC_PAGESIZE.
27476
27477         * sysdeps/unix/sysv/linux/ldsodefs.h
27478         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27479         * sysdeps/generic/ldsodefs.h: ... here.
27480
27481 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27482
27483         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27484
27485         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27486         math/test-snan.c.
27487         * math/test-snan.c: Renamed from
27488         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27489         * math/Makefile (tests): Add test-snan.
27490         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27491         test-powerpc-snan.
27492
27493         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27494         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27495         functions.
27496         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27497         __builtin_nan family of functions.
27498         * math/libm-test.inc (initialize): Initialize qnan_value with
27499         __builtin_nan family of functions.
27500         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27501         Remove variables.
27502         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27503         Remove functions.
27504         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27505         storage class.  Initialize qNaN_var and sNaN_var with
27506         __builtin_nan and __builtin_nans families of functions,
27507         respectively.
27508
27509         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27510         (sqrt_test): Remove duplicate test with qNaN input.
27511         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27512         (round_test, signbit_test, significand_test): Note missing +/-Inf
27513         as well as qNaN tests.
27514
27515         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27516         qNaN_var.  Fix a few strings, too.
27517         * math/libm-test.inc (nan_value): Rename to qnan_value.
27518         * math/gen-libm-test.pl (%beautify): Adjust to that.
27519         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27520         * math/test-misc.c (main): Likewise.
27521         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27522         to __qnan_bytes, and __qnan_union, respectively.
27523         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27524         Likewise.
27525         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27526         and lqnanval, respectively.
27527         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27528         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27529         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27530         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27531
27532         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27533         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27534         doubles.
27535
27536         * math/test-misc.c (main): Fix copy'n'pastos.
27537         * misc/tst-efgcvt.c (special): Likewise.
27538
27539         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27540         Remove declarations.
27541
27542 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27543
27544         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27545         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27546         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27547         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27548
27549 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27550
27551         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27552         macro to return vdso values correctly in IFUNC implementations.
27553         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27554         Optimization by using IFUNC.
27555
27556 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27557             Richard Henderson  <rth@redhat.com>
27558             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27559
27560         * Makefile.in (bench): New target.
27561         * NEWS: Mention the benchmark framework.
27562         * Rules (bench): Likewise.
27563         (binaries-bench): Generate binaries for functions to
27564         benchmark.
27565         * benchtests/Makefile: New makefile for benchmark tests.
27566         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27567         programs.
27568         * benchtests/exp-inputs: New input file for EXP function.
27569         * benchtests/pow-inputs: New input file for POW function.
27570         * scripts/bench.pl: New script to generate source files for
27571         benchmark programs.
27572
27573 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27574
27575         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27576         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27577         computations on mantissa.  Use macros for rounding and
27578         division.
27579         (denorm): Likewise.
27580         (__dbl_mp): Likewise.
27581         (add_magnitudes): Likewise.
27582         (sub_magnitudes): Likewise.
27583         (__mul): Likewise.
27584         (__sqr): Likewise.
27585         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27586         powers of two in terms of TWOPOW macro.
27587         (mp_no): Make type of mantissa as MANTISSA_T.
27588         [!RADIXI]: Define RADIXI.
27589         [!TWO52]: Define TWO52.
27590         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27591
27592         * manual/nptl.texi (cindex): Modify threads to pthreads.
27593
27594 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27595
27596         * sysdeps/x86_64/preconfigure: Regenerated.
27597
27598 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27599
27600         [BZ #14155]
27601         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27602         0x1p28 and above.
27603         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27604         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27605         0x1p28 and above.
27606         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27607         * math/libm-test.inc (j0_test): Do not allow one spurious
27608         underflow exception.
27609         (y1_test): Likewise.
27610
27611 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27612
27613         * manual/Makefile (chapters): Add nptl.
27614         * manual/debug.texi (Debugging Support): Add link to Threads
27615         chapter.
27616         * manual/nptl.texi: New file.
27617
27618         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27619
27620 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27621
27622         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27623         for non-NULL pointer before the memory validity test. Pointed
27624         out by Holger Brunck <holger.brunck@keymile.com>.
27625
27626 2013-03-13  Andreas Schwab  <schwab@suse.de>
27627
27628         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27629         instead of .os.
27630
27631 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27632
27633         * timezone/zic.c: Update from tzcode 2013b.
27634
27635 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27636
27637         * manual/install.texi (Configuring and compiling):
27638         Mention i686 and i586.
27639         * INSTALL: Regenerate.
27640
27641 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27642
27643         * sysdeps/init_array/elf-init.c: New file.
27644         * csu/elf-init.c
27645         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27646         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27647
27648         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27649         __gmon_start__ as global, but as static with a .preinit_array pointer.
27650         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27651         * sysdeps/init_array/crti.S: New file, empty except for comments.
27652         * sysdeps/init_array/crtn.S: Likewise.
27653
27654 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27655
27656         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27657         definining bcopy.
27658         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27659         Remove Prefer_SSE_for_memop.
27660         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27661         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27662         HAS_PREFER_SSE_FOR_MEMOP.
27663         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27664         memset-x86-64.
27665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27666         Remove bzero, memset ifunc support.
27667         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27668         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27669         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27670         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27671
27672 2013-03-11  Andreas Schwab  <schwab@suse.de>
27673
27674         [BZ #15234]
27675         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27676         by SHLIB_COMPAT.
27677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27678         (GLIBC_2.16): Remove pthread_atfork.
27679
27680 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27681
27682         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27683         (ptestcases.h): Likewise.
27684
27685 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27686
27687         * Makeconfig ($(common-objpfx)config.status): Depend on
27688         sysdeps/*/preconfigure{,.in} too.
27689
27690 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27691
27692         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27693         (__free_hook): Use void * instead of __malloc_ptr_t.
27694         (__malloc_hook): Likewise.
27695         (__realloc_hook): Likewise.
27696         (__memalign_hook): Likewise.
27697         (__after_morecore_hook): Likewise.
27698         * malloc/arena.c (save_malloc_hook): Likewise.
27699         (save_free_hook): Likewise.
27700         * malloc/hooks.c (malloc_hook_ini): Likewise.
27701         (realloc_hook_ini): Likewise.
27702         (memalign_hook_ini): Likewise.
27703         * malloc/malloc.c (malloc_hook_ini): Likewise.
27704         (realloc_hook_ini): Likewise.
27705         (memalign_hook_ini): Likewise.
27706         (__free_hook): Likewise.
27707         (__malloc_hook): Likewise.
27708         (__realloc_hook): Likewise.
27709         (__memalign_hook): Likewise.
27710         (__libc_malloc): Likewise.
27711         (__libc_free): Likewise.
27712         (__libc_realloc): Likewise.
27713         (__libc_memalign): Likewise.
27714         (__libc_valloc): Likewise.
27715         (__libc_pvalloc): Likewise.
27716         (__libc_calloc): Likewise.
27717         (__posix_memalign): Likewise.
27718         * malloc/morecore.c (__sbrk): Likewise.
27719         (__default_morecore): Likewise.
27720
27721         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27722
27723         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27724         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27725         __malloc_ptrdiff_t.
27726
27727         * malloc/malloc.h (__malloc_size_t): Remove macro.
27728         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27729         __malloc_size_t.
27730         (old_memalign_hook): Likewise.
27731         (old_realloc_hook): Likewise.
27732         (struct hdr): Likewise.
27733         (flood): Likewise.
27734         (mallochook): Likewise.
27735         (memalignhook): Likewise.
27736         (reallochook): Likewise.
27737         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27738         (tr_old_realloc_hook): Likewise.
27739         (tr_old_memalign_hook): Likewise.
27740         (tr_mallochook): Likewise.
27741         (tr_reallochook): Likewise.
27742         (tr_memalignhook): Likewise.
27743
27744 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27745
27746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27747         default_ldbl_pack and using as default implementation.
27748         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27749         implementation.
27750         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27751         redundant definition.
27752         (ldbl_insert_mantissa): Likewise.
27753         (ldbl_canonicalize): Likewise.
27754         (ldbl_nearbyint): Likewise.
27755         (ldbl_pack): Rename to ldbl_pack_ppc.
27756         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27757         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27758         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27759
27760 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27761
27762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27763         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27764         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27765         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27767         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27768         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27769         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27770
27771 2013-03-07  Andreas Jaeger  <aj@suse.de>
27772
27773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27774         bits/mman-linux.h.
27775
27776 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27777
27778         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27779         Include mpa.h and declare __MPEXP.
27780         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27781         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27782         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27783         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27784         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27785         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27786         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27787
27788         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27789         (__slowpow): Use long double EXPL and LOGL functions to
27790         compute POW.
27791         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27792         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27793         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27794         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27795         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27796         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27797
27798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27799         intermediate variable to calculate exponent.
27800         (__sqr): Likewise.
27801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27802         Likewise.
27803         (__sqr): Likewise.
27804
27805         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27806         [!NO__SQR]: Define __sqr.
27807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27808         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27809         sysdeps/ieee754/dbl-64/mpa.c.
27810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27811
27812         [BZ #12723]
27813         * posix/Makefile (tests): Add tst-pathconf.
27814         * posix/tst-pathconf.c: New test case.
27815         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27816         _PC_PIPE_BUF.
27817         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27818
27819 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27820
27821         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27822
27823 2013-03-06  Andreas Jaeger  <aj@suse.de>
27824
27825         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27826         definition via __MAP_ANONYMOUS.
27827
27828         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27829         it's not part of Linux headers.
27830
27831         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27832         (MAP_HUGE_MASK): Define.
27833
27834         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27835         Define.
27836         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27837         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27838         Define.
27839         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27840         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27841         Define.
27842         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27843         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27844         Define.
27845         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27846
27847         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27848         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27849         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27850         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27851         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27852         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27853
27854         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27855         Handle f2fs.
27856
27857         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27858         Handle f2fs and efivarfs.
27859
27860         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27861         f2fs.
27862
27863         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27864         (EFIVARFS_MAGIC): Add.
27865         (F2FS_LINK_MAX): Add.
27866
27867 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27868
27869         * stdio-common/vfprintf.c: Replace __builtin_expect with
27870         __glibc_unlikely.
27871
27872 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27873
27874         [BZ #13550]
27875         * sysdeps/generic/bp-sym.h: Remove file.
27876         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27877         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27878         <bp-sym.h> and <bp-asm.h>.
27879         (__longjmp): Don't use BP_SYM.
27880         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27881         and <bp-asm.h>.
27882         (memcpy): Don't use BP_SYM.
27883         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27884         <bp-sym.h> and <bp-asm.h>.
27885         (memcpy): Don't use BP_SYM.
27886         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27887         <bp-asm.h>.
27888         (memcpy): Don't use BP_SYM.
27889         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27890         <bp-asm.h>.
27891         (memset): Don't use BP_SYM.
27892         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27893         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27894         (__bzero): Don't use BP_SYM.
27895         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27896         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27897         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27898         <bp-sym.h> and <bp-asm.h>.
27899         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27900         pointers.
27901         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27902         <bp-sym.h> and <bp-asm.h>.
27903         (memcpy): Don't use BP_SYM.
27904         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27905         <bp-sym.h> and <bp-asm.h>.
27906         (memset): Don't use BP_SYM.
27907         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27908         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27909         (__bzero): Don't use BP_SYM.
27910         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27911         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27912         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27913         <bp-sym.h> and <bp-asm.h>.
27914         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27915         pointers.
27916         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27917         <bp-sym.h> and <bp-asm.h>.
27918         (memcpy): Don't use BP_SYM.
27919         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27920         <bp-sym.h> and <bp-asm.h>.
27921         (memset): Don't use BP_SYM.
27922         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27923         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27924         (__bzero): Don't use BP_SYM.
27925         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27926         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27927         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27928         <bp-sym.h> and <bp-asm.h>.
27929         (__memchr): Don't use BP_SYM.
27930         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27931         <bp-sym.h> and <bp-asm.h>.
27932         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27933         pointers.
27934         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27935         <bp-sym.h> and <bp-asm.h>.
27936         (memcpy): Don't use BP_SYM.
27937         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27938         <bp-sym.h> and <bp-asm.h>.
27939         (__mempcpy): Don't use BP_SYM.
27940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27941         <bp-sym.h> and <bp-asm.h>.
27942         (__memrchr): Don't use BP_SYM.
27943         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27944         <bp-sym.h> and <bp-asm.h>.
27945         (memset): Don't use BP_SYM.
27946         (__bzero): Likewise.
27947         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27948         <bp-sym.h> and <bp-asm.h>.
27949         (__rawmemchr): Don't use BP_SYM.
27950         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27951         <bp-sym.h> and <bp-asm.h>.
27952         (__STRCMP): Don't use BP_SYM.
27953         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27954         <bp-sym.h> and <bp-asm.h>.
27955         (strchr): Don't use BP_SYM.
27956         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27957         <bp-sym.h> and <bp-asm.h>.
27958         (__strchrnul): Don't use BP_SYM.
27959         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27960         <bp-sym.h> and <bp-asm.h>.
27961         (strlen): Don't use BP_SYM.
27962         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27963         <bp-sym.h> and <bp-asm.h>.
27964         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27965         pointers.
27966         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27967         <bp-sym.h> and <bp-asm.h>.
27968         (__strnlen): Don't use BP_SYM.
27969         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27970         <bp-sym.h> and <bp-asm.h>.
27971         (__GI__setjmp): Don't use BP_SYM.
27972         (_setjmp): Likewise.
27973         (__sigsetjmp): Likewise.
27974         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27975         (L(start_addresses)): Don't use BP_SYM.
27976         (_start): Likewise.
27977         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27978         <bp-asm.h>.
27979         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27980         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27981         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27982         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27983         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27984         <bp-asm.h>.
27985         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27986         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27987         about bounded pointers.
27988         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27989         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27990         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27991         <bp-asm.h>.
27992         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27993         about bounded pointers.  Remove GKM FIXME comments.
27994         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27995         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27996         <bp-asm.h>.
27997         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27998         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27999         Remove GKM FIXME comments.
28000         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28001         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28002         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28003         <bp-asm.h>.
28004         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28005         about bounded pointers.  Remove GKM FIXME comment.
28006         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28007         and <bp-asm.h>.
28008         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28009         pointers.
28010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28011         <bp-sym.h> and <bp-asm.h>.
28012         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28014         <bp-sym.h> and <bp-asm.h>.
28015         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28016         comment.
28017
28018 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28019
28020         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28021         call free(NULL).
28022
28023 2013-03-05  David S. Miller  <davem@davemloft.net>
28024
28025         * po/es.po: Update from translation team.
28026
28027 2013-03-05  Andreas Jaeger  <aj@suse.de>
28028
28029         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28030         <bits/mman-linux.h>.
28031         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28032         is fine.
28033         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28034         <bits/mman-linux.h> to end of file.
28035         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28036         is fine.
28037         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28038         <bits/mman-linux.h> to end of file.
28039         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28040         is fine.
28041         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28042         <bits/mman-linux.h> to end of file.
28043
28044         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28045         (MCL_CURRENT, MCL_FUTURE): Define here.
28046
28047 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28048
28049         [BZ #15232]
28050         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28051         attribute_hidden.
28052         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28053
28054 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28055
28056         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28057         fourth parameter needed for rt_sigprocmask syscall.
28058         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28059         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28060         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28061         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28062         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28063         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28064
28065 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28066
28067         [BZ #13550]
28068         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28069         comment about bounded pointers.
28070         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28071         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28072
28073 2013-03-04  Andreas Jaeger  <aj@suse.de>
28074
28075         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28076         common definitions.
28077
28078         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28079         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28080         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28081         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28082         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28083         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28084
28085 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28086
28087         [BZ #15055]
28088         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28089         __ieee754_sqrl instead of __sqrl.
28090
28091 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28092
28093         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28094         * sysdeps/powerpc/fpu_control.h: ... here.
28095         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28096         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28097         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28098         * sysdeps/powerpc/bits/mathinline.h: ... here.
28099
28100 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28101
28102         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28103         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28104         to just [NEED_DL_SYSINFO_DSO].
28105         * elf/dl-support.c: Likewise.
28106         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28107         * elf/rtld.c (dl_main): Likewise.
28108         * elf/setup-vdso.h (setup_vdso): Likewise.
28109         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28110         * sysdeps/unix/sysv/linux/dl-sysdep.c
28111         (_dl_discover_osversion): Likewise.
28112
28113 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28114
28115         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28116         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28117
28118 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28119
28120         * NEWS: Mention libm performance improvements and non-x86 PI
28121         futex support.
28122
28123         * csu/libc-start.c (__pthread_initialize_minimal): Change
28124         function arguments.
28125         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28126
28127 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28128
28129         [BZ #13550]
28130         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28131         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28132         <bp-sym.h> and <bp-asm.h>.
28133         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28134         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28135         and <bp-asm.h>.
28136         (memcpy): Don't use BP_SYM.
28137         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28138         <bp-asm.h>.
28139         (__mpn_add_n): Don't use BP_SYM.
28140         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28141         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28142         and <bp-asm.h>.
28143         (__mpn_addmul_1): Don't use BP_SYM.
28144         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28145         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28146         <bp-sym.h>.
28147         (_setjmp): Don't use BP_SYM.
28148         (__novmx_setjmp): Likewise.
28149         (__GI__setjmp): Likewise.
28150         (__vmx_setjmp): Likewise.
28151         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28152         <bp-sym.h>.
28153         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28154         (__bzero): Don't use BP_SYM.
28155         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28156         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28157         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28158         <bp-sym.h> and <bp-asm.h>.
28159         (memcpy): Don't use BP_SYM.
28160         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28161         <bp-sym.h> and <bp-asm.h>.
28162         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28163         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28164         <bp-sym.h> and <bp-asm.h>.
28165         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28166         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28167         <bp-asm.h>.
28168         (__mpn_lshift): Don't use BP_SYM.
28169         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28170         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28171         <bp-asm.h>.
28172         (memset): Don't use BP_SYM.
28173         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28174         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28175         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28176         <bp-asm.h>.
28177         (__mpn_mul_1): Don't use BP_SYM.
28178         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28179         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28180         <bp-sym.h> and <bp-asm.h>.
28181         (memcmp): Don't use BP_SYM.
28182         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28183         <bp-sym.h> and <bp-asm.h>.
28184         (memcpy): Don't use BP_SYM.
28185         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28186         <bp-sym.h> and <bp-asm.h>.
28187         (memset): Don't use BP_SYM.
28188         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28189         <bp-sym.h> and <bp-asm.h>.
28190         (strncmp): Don't use BP_SYM.
28191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28192         <bp-sym.h> and <bp-asm.h>.
28193         (memcpy): Don't use BP_SYM.
28194         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28195         <bp-sym.h> and <bp-asm.h>.
28196         (memset): Don't use BP_SYM.
28197         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28198         <bp-sym.h> and <bp-asm.h>.
28199         (__memchr): Don't use BP_SYM.
28200         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28201         <bp-sym.h> and <bp-asm.h>.
28202         (memcmp): Don't use BP_SYM.
28203         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28204         <bp-sym.h> and <bp-asm.h>.
28205         (memcpy): Don't use BP_SYM.
28206         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28207         <bp-sym.h> and <bp-asm.h>.
28208         (__mempcpy): Don't use BP_SYM.
28209         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28210         <bp-sym.h> and <bp-asm.h>.
28211         (__memrchr): Don't use BP_SYM.
28212         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28213         <bp-sym.h> and <bp-asm.h>.
28214         (memset): Don't use BP_SYM.
28215         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28216         <bp-sym.h> and <bp-asm.h>.
28217         (__rawmemchr): Don't use BP_SYM.
28218         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28219         <bp-sym.h> and <bp-asm.h>.
28220         (__STRCMP): Don't use BP_SYM.
28221         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28222         <bp-sym.h> and <bp-asm.h>.
28223         (strchr): Don't use BP_SYM.
28224         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28225         <bp-sym.h> and <bp-asm.h>.
28226         (__strchrnul): Don't use BP_SYM.
28227         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28228         <bp-sym.h> and <bp-asm.h>.
28229         (strlen): Don't use BP_SYM.
28230         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28231         <bp-sym.h> and <bp-asm.h>.
28232         (strncmp): Don't use BP_SYM.
28233         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28234         <bp-sym.h> and <bp-asm.h>.
28235         (__strnlen): Don't use BP_SYM.
28236         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28237         <bp-asm.h>.
28238         (__mpn_rshift): Don't use BP_SYM.
28239         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28240         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28241         <bp-sym.h> and <bp-asm.h>.
28242         (__sigsetjmp): Don't use BP_SYM.
28243         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28244         (L(start_addresses)): Don't use BP_SYM.
28245         (_start): Likewise.
28246         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28247         <bp-asm.h>.
28248         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28249         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28250         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28251         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28252         <bp-asm.h>.
28253         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28254         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28255         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28256         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28257         <bp-asm.h>.
28258         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28259         comments.
28260         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28261         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28262         <bp-asm.h>.
28263         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28264         FIXME comments.
28265         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28266         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28267         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28268         <bp-asm.h>.
28269         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28270         comment.
28271         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28272         and <bp-asm.h>.
28273         (strncmp): Don't use BP_SYM,
28274         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28275         <bp-asm.h>.
28276         (__mpn_sub_n): Don't use BP_SYM.
28277         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28278         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28279         and <bp-asm.h>.
28280         (__mpn_submul_1): Don't use BP_SYM.
28281         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28283         <bp-sym.h> and <bp-asm.h>.
28284         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28286         <bp-sym.h> and <bp-asm.h>.
28287         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28288         comment.
28289
28290 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28291
28292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28293         Use ZK to minimize writes to Z.
28294         (sub_magnitudes): Simplify code a bit.
28295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28296         Use ZK to minimize writes to Z.
28297         (sub_magnitudes): Simplify code a bit.
28298
28299 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28300
28301         * csu/gmon-start.c: Add special exception to license text.
28302
28303 2013-02-27  Richard Henderson  <rth@redhat.com>
28304
28305         * scripts/config.guess: Update from config.git.
28306         * scripts/config.sub: Likewise.
28307
28308 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28309
28310         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28311
28312         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28313
28314         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28315
28316         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28317
28318         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28319
28320 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28321
28322         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28323         [$(build-shared = yes].
28324
28325 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28326
28327         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28328         (__mul): Reduce iterations for calculating mantissa.
28329
28330         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28331         MPTWO.
28332         (__mpranred): Likewise.
28333
28334         [BZ #15160]
28335         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28336         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28337
28338 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28339
28340         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28341         Define __attribute__.
28342
28343 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28344
28345         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28346         unused.
28347         * posix/regex_internal.h (__attribute): Remove.
28348         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28349         (re_string_context_at): Likewise.
28350         (bitset_not): Use __attribute__ and mark function as possibly
28351         unused.
28352         (bitset_merge): Likewise.
28353         (bitset_mask): Likewise.
28354         (re_string_char_size_at): Likewise.
28355         (re_string_wchar_at): Likewise.
28356         (re_string_elem_size_at): Likewise.
28357
28358 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28359
28360         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28361         code.
28362         (cc32): Likewise.
28363
28364         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28365         (__acr): Likewise.
28366         (__cpy): Likewise.
28367         (norm): Likewise.
28368         (denorm): Likewise.
28369         (__dbl_mp): Likewise.
28370         (add_magnitudes): Likewise.
28371         (sub_magnitudes): Likewise.
28372         (__mul): Likewise.
28373         (__inv): Likewise.
28374
28375         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28376         style.
28377
28378         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28379         style.
28380
28381         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28382         code.
28383
28384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28385         up changes with default code.
28386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28387         Likewise.
28388
28389 2013-02-24  Allan McRae  <allan@archlinux.org>
28390
28391         * manual/socket.texi (The Internet Namespace): Order menu items
28392         to match that in the file.
28393
28394         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28395         node listing of the info page menu.
28396
28397 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28398
28399         [BZ #13550]
28400         * sysdeps/i386/bp-asm.h: Remove file.
28401         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28402         (PARMS): Do not use macros from bp-asm.h.
28403         (S1): Likewise.
28404         (S2): Likewise.
28405         (SIZE): Likewise.
28406         (__mpn_add_n): Do not use BP_SYM
28407         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28408         "bp-asm.h".
28409         (PARMS): Do not use macros from bp-asm.h.
28410         (S1): Likewise.
28411         (SIZE): Likewise.
28412         (__mpn_addmul_1): Do not use BP_SYM
28413         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28414         "bp-asm.h".
28415         (PARMS): Do not use macros from bp-asm.h.
28416         (SIGMSK): Likewise.
28417         (_setjmp): Likewise.  Do not use BP_SYM.
28418         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28419         "bp-asm.h".
28420         (PARMS): Do not use macros from bp-asm.h.
28421         (SIGMSK): Likewise.
28422         (setjmp): Likewise.  Do not use BP_SYM.
28423         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28424         "bp-asm.h".
28425         (PARMS): Do not use macros from bp-asm.h.
28426         (__frexp): Do not use BP_SYM.
28427         (frexp): Likewise.
28428         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28429         "bp-asm.h".
28430         (PARMS): Do not use macros from bp-asm.h.
28431         (__frexpf): Do not use BP_SYM.
28432         (frexpf): Likewise.
28433         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28434         "bp-asm.h".
28435         (PARMS): Do not use macros from bp-asm.h.
28436         (__frexpl): Do not use BP_SYM.
28437         (frexpl): Likewise.
28438         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28439         "bp-asm.h".
28440         (PARMS): Do not use macros from bp-asm.h.
28441         (__remquo): Do not use BP_SYM.
28442         (remquo): Likewise.
28443         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28444         "bp-asm.h".
28445         (PARMS): Do not use macros from bp-asm.h.
28446         (__remquof): Do not use BP_SYM.
28447         (remquof): Likewise.
28448         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28449         "bp-asm.h".
28450         (PARMS): Do not use macros from bp-asm.h.
28451         (__remquol): Do not use BP_SYM.
28452         (remquol): Likewise.
28453         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28454         "bp-asm.h".
28455         (PARMS): Do not use macros from bp-asm.h.
28456         (DEST): Likewise.
28457         (SRC): Likewise.
28458         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28459         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28460         "bp-asm.h".
28461         (PARMS): Do not use macros from bp-asm.h.
28462         (strlen): Do not use BP_SYM.
28463         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28464         "bp-asm.h".
28465         (PARMS): Do not use macros from bp-asm.h.
28466         (S1): Likewise.
28467         (S2): Likewise.
28468         (SIZE): Likewise.
28469         (__mpn_add_n): Do not use BP_SYM.
28470         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28471         "bp-asm.h".
28472         (PARMS): Do not use macros from bp-asm.h.
28473         (S1): Likewise.
28474         (SIZE): Likewise.
28475         (__mpn_addmul_1): Do not use BP_SYM.
28476         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28477         weak_alias.
28478         (bzero): Likewise.
28479         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28480         "bp-asm.h".
28481         (PARMS): Do not use macros from bp-asm.h.
28482         (S): Likewise.
28483         (SIZE): Likewise.
28484         (__mpn_lshift): Do not use BP_SYM.
28485         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28486         "bp-asm.h".
28487         (PARMS): Do not use macros from bp-asm.h.
28488         (DEST): Likewise.
28489         (SRC): Likewise.
28490         (LEN): Likewise.
28491         (memcpy): Likewise.  Do not use BP_SYM.
28492         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28493         libc_hidden_def and weak_alias.
28494         (mempcpy): Do not use BP_SYM in weak_alias.
28495         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28496         "bp-asm.h".
28497         (PARMS): Do not use macros from bp-asm.h.
28498         (DEST): Likewise.
28499         (LEN): Likewise.
28500         [!BZERO_P] (CHR): Likewise.
28501         (memset): Likewise.  Do not use BP_SYM.
28502         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28503         "bp-asm.h".
28504         (PARMS): Do not use macros from bp-asm.h.
28505         (S1): Likewise.
28506         (SIZE): Likewise.
28507         (__mpn_mul_1): Do not use BP_SYM.
28508         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28509         "bp-asm.h".
28510         (PARMS): Do not use macros from bp-asm.h.
28511         (S): Likewise.
28512         (SIZE): Likewise.
28513         (__mpn_rshift): Do not use BP_SYM.
28514         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28515         "bp-asm.h".
28516         (PARMS): Do not use macros from bp-asm.h.
28517         (STR): Likewise.
28518         (CHR): Likewise.
28519         (strchr): Likewise.  Do not use BP_SYM.
28520         (index): Do not use BP_SYM in weak_alias.
28521         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28522         "bp-asm.h".
28523         (PARMS): Do not use macros from bp-asm.h.
28524         (DEST): Likewise.
28525         (SRC): Likewise.
28526         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28527         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28528         "bp-asm.h".
28529         (PARMS): Do not use macros from bp-asm.h.
28530         (strlen): Do not use BP_SYM.
28531         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28532         "bp-asm.h".
28533         (PARMS): Do not use macros from bp-asm.h.
28534         (S1): Likewise.
28535         (S2): Likewise.
28536         (SIZE): Likewise.
28537         (__mpn_sub_n): Do not use BP_SYM.
28538         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28539         "bp-asm.h".
28540         (PARMS): Do not use macros from bp-asm.h.
28541         (S1): Likewise.
28542         (SIZE): Likewise.
28543         (__mpn_submul_1): Do not use BP_SYM.
28544         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28545         "bp-asm.h".
28546         (PARMS): Do not use macros from bp-asm.h.
28547         (S1): Likewise.
28548         (S2): Likewise.
28549         (SIZE): Likewise.
28550         (__mpn_add_n): Do not use BP_SYM.
28551         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28552         weak_alias.
28553         (bzero): Likewise.
28554         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28555         "bp-asm.h".
28556         (PARMS): Do not use macros from bp-asm.h.
28557         (BLK2): Likewise.
28558         (LEN): Likewise.
28559         (memcmp): Do not use BP_SYM.
28560         (bcmp): Do not use BP_SYM in weak_alias.
28561         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28562         "bp-asm.h".
28563         (PARMS): Do not use macros from bp-asm.h.
28564         (DEST): Likewise.
28565         (SRC): Likewise.
28566         (LEN): Likewise.
28567         (memcpy): Likewise.  Do not use BP_SYM.
28568         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28569         "bp-asm.h".
28570         (PARMS): Do not use macros from bp-asm.h.
28571         (DEST): Likewise.
28572         (SRC): Likewise.
28573         (LEN): Likewise.
28574         (memmove): Likewise.  Do not use BP_SYM.
28575         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28576         "bp-asm.h".
28577         (PARMS): Do not use macros from bp-asm.h.
28578         (DEST): Likewise.
28579         (SRC): Likewise.
28580         (LEN): Likewise.
28581         (__mempcpy): Likewise.  Do not use BP_SYM.
28582         (mempcpy): Do not use BP_SYM in weak_alias.
28583         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28584         "bp-asm.h".
28585         (PARMS): Do not use macros from bp-asm.h.
28586         (DEST): Likewise.
28587         (LEN): Likewise.
28588         [!BZERO_P] (CHR): Likewise.
28589         (memset): Likewise.  Do not use BP_SYM.
28590         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28591         "bp-asm.h".
28592         (PARMS): Do not use macros from bp-asm.h.
28593         (STR2): Likewise.
28594         (strcmp): Do not use BP_SYM.
28595         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28596         "bp-asm.h".
28597         (PARMS): Do not use macros from bp-asm.h.
28598         (STR): Likewise.
28599         (DELIM): Likewise.
28600         [USE_AS_STRTOK_R] (SAVE): Likewise.
28601         (FUNCTION): Likewise.  Do not use BP_SYM.
28602         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28603         aliases.
28604         (strtok_r): Likewise.
28605         (__GI___strtok_r): Likewise.
28606         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28607         (PARMS): Do not use macros from bp-asm.h.
28608         (S): Likewise.
28609         (SIZE): Likewise.
28610         (__mpn_lshift): Do not use BP_SYM.
28611         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28612         (PARMS): Do not use macros from bp-asm.h.
28613         (STR): Likewise.
28614         (CHR): Likewise.
28615         (__memchr): Do not use BP_SYM.
28616         (memchr): Do not use BP_SYM in weak_alias.
28617         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28618         (PARMS): Do not use macros from bp-asm.h.
28619         (BLK2): Likewise.
28620         (LEN): Likewise.
28621         (memcmp): Do not use BP_SYM.
28622         (bcmp): Do not use BP_SYM in weak_alias.
28623         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28624         (PARMS): Do not use macros from bp-asm.h.
28625         (S1): Likewise.
28626         (SIZE): Likewise.
28627         (__mpn_mul_1): Do not use BP_SYM.
28628         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28629         "bp-asm.h".
28630         (PARMS): Do not use macros from bp-asm.h.
28631         (STR): Likewise.
28632         (CHR): Likewise.
28633         (__rawmemchr): Do not use BP_SYM.
28634         (rawmemchr): Do not use BP_SYM in weak_alias.
28635         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28636         (PARMS): Do not use macros from bp-asm.h.
28637         (S): Likewise.
28638         (SIZE): Likewise.
28639         (__mpn_rshift): Do not use BP_SYM.
28640         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28641         (PARMS): Do not use macros from bp-asm.h.
28642         (SIGMSK): Likewise.
28643         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28644         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28645         (_start): Do not use BP_SYM.
28646         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28647         (PARMS): Do not use macros from bp-asm.h.
28648         (DEST): Likewise.
28649         (SRC): Likewise.
28650         (__stpcpy): Likewise.  Do not use BP_SYM.
28651         (stpcpy): Do not use BP_SYM in weak_alias.
28652         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28653         "bp-asm.h".
28654         (PARMS): Do not use macros from bp-asm.h.
28655         (DEST): Likewise.
28656         (SRC): Likewise.
28657         (LEN): Likewise.
28658         (__stpncpy): Likewise.  Do not use BP_SYM.
28659         (stpncpy): Do not use BP_SYM in weak_alias.
28660         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28661         (PARMS): Do not use macros from bp-asm.h.
28662         (STR): Likewise.
28663         (CHR): Likewise.
28664         (strchr): Likewise.  Do not use BP_SYM.
28665         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28666         "bp-asm.h".
28667         (PARMS): Do not use macros from bp-asm.h.
28668         (STR): Likewise.
28669         (CHR): Likewise.
28670         (__strchrnul): Likewise.  Do not use BP_SYM.
28671         (strchrnul): Do not use BP_SYM in weak_alias.
28672         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28673         "bp-asm.h".
28674         (PARMS): Do not use macros from bp-asm.h.
28675         (STOP): Likewise.
28676         (strcspn): Do not use BP_SYM.
28677         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28678         "bp-asm.h".
28679         (PARMS): Do not use macros from bp-asm.h.
28680         (STR): Likewise.
28681         (STOP): Likewise.
28682         (strpbrk): Likewise.  Do not use BP_SYM.
28683         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28684         "bp-asm.h".
28685         (PARMS): Do not use macros from bp-asm.h.
28686         (STR): Likewise.
28687         (CHR): Likewise.
28688         (strrchr): Likewise.  Do not use BP_SYM.
28689         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28690         (PARMS): Do not use macros from bp-asm.h.
28691         (SKIP): Likewise.
28692         (strspn): Do not use BP_SYM.
28693         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28694         (PARMS): Do not use macros from bp-asm.h.
28695         (STR): Likewise.
28696         (DELIM): Likewise.
28697         (SAVE): Likewise.
28698         (FUNCTION): Likewise.  Do not use BP_SYM.
28699         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28700         aliases.
28701         (strtok_r): Likewise.
28702         (__GI___strtok_r): Likewise.
28703         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28704         (PARMS): Do not use macros from bp-asm.h.
28705         (S1): Likewise.
28706         (S2): Likewise.
28707         (SIZE): Likewise.
28708         (__mpn_sub_n): Do not use BP_SYM.
28709         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28710         "bp-asm.h".
28711         (PARMS): Do not use macros from bp-asm.h.
28712         (S1): Likewise.
28713         (SIZE): Likewise.
28714         (__mpn_submul_1): Do not use BP_SYM.
28715         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28716         <bp-sym.h>.
28717         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28718         and <bp-asm.h>.
28719         (PARMS): Do not use macros from bp-asm.h.
28720         (FLAGS): Likewise.
28721         (PTID): Likewise.
28722         (TLS): Likewise.
28723         (CTID): Likewise.
28724         (__clone): Do not use BP_SYM.
28725         (clone): Do not use BP_SYM in weak_alias.
28726         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28727         and <bp-asm.h>.
28728         (PARMS): Do not use macros from bp-asm.h.
28729         (LEN): Likewise.
28730         (__mmap64): Do not use BP_SYM.
28731         (mmap64): Do not use BP_SYM in weak_alias.
28732         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28733         <bp-sym.h> and <bp-asm.h>.
28734         (PARMS): Do not use macros from bp-asm.h.
28735         (__posix_fadvise64_l64): Do not use BP_SYM.
28736         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28737         (PARMS): Do not use macros from bp-asm.h.
28738         (NSOPS): Likewise.
28739         (semtimedop): Do not use BP_SYM.
28740         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28741         and <bp-asm.h>.
28742
28743 2013-02-21  Allan McRae  <allan@archlinux.org>
28744
28745         * manual/message.texi (Charset conversion in gettext):
28746         Move @end statement to beginning of line.
28747
28748 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28749
28750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28751         static.
28752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28753         Likewise.
28754
28755         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28756         (denorm): Likewise.
28757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28759
28760 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28761
28762         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28763         tail-call to the resolved function if pltexit isn't needed.
28764
28765 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28766
28767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28768         or Y being zero as being unlikely.
28769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28770         Likewise.
28771
28772 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28773
28774         * manual/nss.texi (System Databases and Name Service Switch):
28775         Remove frobnicate @pxref.
28776
28777 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28778
28779         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28780         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28781
28782 2013-02-20  Petr Machata  <pmachata@redhat.com>
28783
28784         * elf/elf.h (R_ARM_TARGET1): New macro.
28785         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28786         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28787         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28788         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28789         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28790         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28791         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28792         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28793         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28794         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28795         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28796         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28797         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28798         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28799         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28800         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28801         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28802         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28803         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28804         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28805         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28806         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28807         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28808         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28809         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28810         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28811         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28812         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28813         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28814         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28815         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28816         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28817         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28818         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28819         (R_ARM_THM_GOT_BREL12): Likewise.
28820         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28821         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28822         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28823         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28824         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28825         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28826         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28827         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28828         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28829
28830 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28831
28832         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28833         __attribute_used__ to __attribute__ ((unused)).
28834
28835 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836
28837         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28838         powerpc mpa.c.
28839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28840         comment formatting.
28841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28842
28843 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28844
28845         [BZ #13550]
28846         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28847         Remove macro.
28848         (ENTER): Remove both macro definitions.
28849         (LEAVE): Likewise.
28850         (CHECK_BOUNDS_LOW): Likewise.
28851         (CHECK_BOUNDS_HIGH): Likewise.
28852         (CHECK_BOUNDS_BOTH): Likewise.
28853         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28854         (RETURN_BOUNDED_POINTER): Likewise.
28855         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28856         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28857         (POP_ERRNO_LOCATION_RETURN): Likewise.
28858         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28859         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28860         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28861         macros.
28862         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28863         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28864         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28865         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28866         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28867         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28868         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28869         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28870         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28871         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28872         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28873         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28874         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28875         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28876         removed macros.
28877         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28878         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28879         macros.
28880         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28881         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28882         * sysdeps/i386/i586/memset.S (memset): Likewise.
28883         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28884         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28885         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28886         macros.
28887         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28888         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28889         Change uses of L(2) to L(out).
28890         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28891         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28892         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28893         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28894         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28895         removed macros.
28896         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28897         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28898         macros.
28899         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28900         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28901         (RETURN): Do not use macro LEAVE.
28902         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28903         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28904         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28905         * sysdeps/i386/i686/memset.S (memset): Likewise.
28906         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28907         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28908         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28909         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28910         Likewise.
28911         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28912         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28913         L(1_2) and L(1_3) into L(1).
28914         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28915         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28916         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28917         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28918         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28919         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28920         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28921         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28922         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28923         macros.
28924         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28925         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28926         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28927         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28928         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28929         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28930         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28931         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28932         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28933         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28934         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28935         * sysdeps/i386/strspn.S (strspn): Likewise.
28936         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28937         conditional code.
28938         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28939         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28940         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28941         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28942         L(1_3) into L(1_1).
28943         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28944         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28945         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28946         macros.
28947         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28948
28949 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28950
28951         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28952         macro.
28953
28954 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28955
28956         * math/atest-exp.c (exp_mpn): Remove ROUND.
28957         * math/atest-exp2.c (exp_mpn): Likewise.
28958         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28959
28960         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28961         * stdlib/tst-tls-atexit-lib.c: Likewise.
28962         * stdlib/tst-tls-atexit.c: Likewise.
28963
28964 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28965
28966         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28967         and __attribute_alloc_size__.
28968
28969 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28970
28971         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28972         __attribute_alloc_size__.
28973         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28974         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28975
28976 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28977
28978         * include/programs/xmalloc.h: New file.
28979         * catgets/gencat.c: Include it.
28980         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28981         * elf/pldd.c: Likewise.
28982         * iconv/iconv_charmap.c: Likewise.
28983         * iconv/iconvconfig.c: Likewise.
28984         * iconv/strtab.c: Likewise.
28985         * locale/programs/locale.c: Likewise.
28986         * locale/programs/localedef.h: Likewise.
28987         * locale/programs/simple-hash.c: Likewise.
28988         * nscd/nscd.h: Likewise.
28989         * nss/makedb.c: Likewise.
28990         * sysdeps/generic/ldconfig.h: Likewise.
28991
28992 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28993
28994         * Versions.def: Add GLIBC_2.18.
28995         * include/link.h (struct link_map): New member l_tls_dtor_count.
28996         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28997         (__call_tls_dtors): Likewise.
28998         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28999         __cxa_thread_atexit_impl.
29000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29001         Likewise.
29002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29003         Likewise.
29004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29005         Likewise.
29006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29007         Likewise.
29008         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29010         Likewise.
29011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29012         Likewise.
29013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29015         Likewise.
29016         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29017         (tests): Add test case tst-tls-atexit.
29018         (modules-names): Add shared library for tst-tls-atexit.
29019         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29020         (GLIBC_PRIVATE): Add __call_tls_dtors.
29021         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29022         for libstdc++.
29023         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29024         * stdlib/tst-tls-atexit.c: New test case.
29025         * stdlib/tst-tls-atexit-lib.c: New test case.
29026
29027         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29028
29029         * elf/Versions (ld): Add _dl_find_dso_for_object.
29030         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29031         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29032         (dl_open_worker): Use _dl_find_dso_for_object.
29033         * elf/dl-sym.c (do_sym): Likewise.
29034         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29035
29036 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29037
29038         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29039         Syntactic changes only.
29040         (_dl_runtime_profile): Do a tail-call to the resolved function.
29041
29042 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29043
29044         [BZ #13550]
29045         * sysdeps/x86_64/bp-asm.h: Remove file.
29046         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29047         <bp-sym.h> and <bp-asm.h>.
29048         (__clone): Do not use BP_SYM.
29049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29050         <bp-sym.h> and <bp-asm.h>.
29051         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29052         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29053         "bp-asm.h".
29054         (_setjmp): Do not use BP_SYM.
29055         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29056         "bp-asm.h".
29057         (setjmp): Do not use BP_SYM.
29058         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29059         libc_hidden_def.
29060         (mempcpy): Do not use BP_SYM in weak_alias.
29061         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29062         "bp-asm.h".
29063         (strchr): Do not use BP_SYM.
29064         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29065         "bp-asm.h".
29066         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29067         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29068         (_start): Do not use BP_SYM.
29069         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29070         "bp-asm.h".
29071         (strcat): Do not use BP_SYM.
29072         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29073         "bp-asm.h".
29074         (STRCMP): Do not use BP_SYM.
29075         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29076         "bp-asm.h".
29077         (STRCPY): Do not use BP_SYM.
29078         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29079         "bp-asm.h".
29080         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29081         "bp-asm.h".
29082         (FUNCTION): Do not use BP_SYM.
29083         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29084         weak_alias.
29085         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29086
29087 2013-02-17  Andreas Jaeger  <aj@suse.de>
29088
29089         * time/Versions: Sort entries.
29090         * string/Versions: Likewise.
29091         * resolv/Versions: Likewise.
29092         * posix/Versions: Likewise.
29093         * iconv/Versions: Likewise.
29094         * elf/Versions: Likewise.
29095         * wcsmbs/Versions: Likewise.
29096
29097 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29098
29099         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29100         loop termination condition.
29101
29102         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29103         variable to calculate EZ.
29104         (__sqr): Likewise.
29105
29106         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29107         the lower precision input.
29108
29109 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29110
29111         [BZ #13550]
29112         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29113         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29114         (run-via-rtld-prefix): Do not handle %-bp tests.
29115         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29116         (all-object-suffixes): Remove .ob.
29117         (bppfx): Remove variable.
29118         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29119         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29120         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29121         [$(build-bounded) = yes] (libtype.ob): Likewise.
29122         * Makerules (elide-routines.ob): Remove variable.
29123         (do-tests-clean): Do not handle *-bp.out.
29124         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29125         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29126         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29127         (tests): Do not include $(tests-bp.out).
29128         (xtests): Do not include $(xtests-bp.out).
29129         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29130         [$(build-bounded) = yes] ($(addprefix
29131         $(objpfx),$(binaries-bounded))): Remove rule.
29132         ($(objpfx)%-bp.out): Remove rule.
29133         * config.make.in (build-bounded): Remove variable.
29134         * crypt/Makefile [$(build-bounded) = yes]
29135         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29136         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29137         append to variable.
29138         [$(build-bounded) = yes] (install-lib): Likewise.
29139         [$(build-bounded) = yes] (generated): Likewise.
29140         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29141         Remove rule.
29142         * intl/Makefile [$(build-bounded) = yes]
29143         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29144         * math/Makefile [$(build-bounded) = yes]
29145         ($(tests:%=$(objpfx)%-bp): Likewise.
29146         * misc/Makefile [$(build-bounded) = yes]
29147         ($(objpfx)tst-tsearch-bp): Likewise.
29148         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29149         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29150         Remove dependency.
29151         * string/Makefile (o-objects.ob): Remove variable.
29152         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29153         (CFLAGS-.ob): Remove variable.
29154         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29155         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29156         both definitions of variable.
29157         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29158         (ASFLAGS-.ob): Remove variable.
29159
29160 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29161
29162         [BZ #13550]
29163         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29164         Remove __BOUNDED_POINTERS__ from condition.
29165         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29166         * string/bits/string2.h [!__NO_STRING_INLINES &&
29167         !__BOUNDED_POINTERS__]: Likewise.
29168         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29169         Likewise.
29170         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29171         Remove conditional code.
29172         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29173         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29174         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29175         condition.
29176
29177         [BZ #13550]
29178         * csu/libc-start.c: Do not include <bp-sym.h>.
29179         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29180         * elf/dl-open.c: Do not include <bp-sym.h>.
29181         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29182         * math/fegetenv.c: Do not include <bp-sym.h>.
29183         (fegetenv): Do not use BP_SYM in versioned symbols.
29184         * nptl/sysdeps/pthread/bits/libc-lockP.h
29185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29186         <bp-sym.h>.
29187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29188         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29190         (__pthread_mutex_destroy): Likewise.
29191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29192         (__pthread_mutex_lock): Likewise.
29193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29194         (__pthread_mutex_trylock): Likewise.
29195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29196         (__pthread_mutex_unlock): Likewise.
29197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29198         (__pthread_mutexattr_init): Likewise.
29199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29200         (__pthread_mutexattr_destroy): Likewise.
29201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29202         (__pthread_mutexattr_settype): Likewise.
29203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29204         (__pthread_rwlock_init): Likewise.
29205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29206         (__pthread_rwlock_destroy): Likewise.
29207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29208         (__pthread_rwlock_rdlock): Likewise.
29209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29210         (__pthread_rwlock_tryrdlock): Likewise.
29211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29212         (__pthread_rwlock_wrlock): Likewise.
29213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29214         (__pthread_rwlock_trywrlock): Likewise.
29215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29216         (__pthread_rwlock_unlock): Likewise.
29217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29218         (__pthread_key_create): Likewise.
29219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29220         (__pthread_setspecific): Likewise.
29221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29222         (__pthread_getspecific): Likewise.
29223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29224         Likewise.
29225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29226         (_pthread_cleanup_push_defer): Likewise.
29227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29228         (_pthread_cleanup_pop_restore): Likewise.
29229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29230         (pthread_setcancelstate): Likewise.
29231         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29232         <bp-sym.h>.
29233         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29234         (memchr): Do not use BP_SYM in weak_alias.
29235         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29236         (fegetenv): Do not use BP_SYM in versioned symbols.
29237         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29238         (fesetenv): Do not use BP_SYM in versioned symbols.
29239         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29240         (feupdateenv): Do not use BP_SYM in versioned symbols.
29241         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29242         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29243         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29244         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29245         (open64): Do not use BP_SYM in weak_alias.
29246         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29247         (fegetenv): Do not use BP_SYM in versioned symbols.
29248         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29249         (fesetenv): Do not use BP_SYM in versioned symbols.
29250         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29251         (feupdateenv): Do not use BP_SYM in versioned symbols.
29252         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29253         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29254         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29255         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29256         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29257         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29258         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29259         <bp-sym.h>.
29260         (__libc_start_main): Do not use BP_SYM.
29261
29262 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29263
29264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29265         redundant return line.
29266         (norm): Likewise.
29267         (denorm): Likewise.
29268         (dbl_mp): Likewise.
29269         (sub_magnitudes): Likewise.
29270         (__add): Likewise.
29271         (__sub): Likewise.
29272         (__mul): Likewise.
29273         (__inv): Likewise.
29274         (__dvd): Likewise.
29275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29276         (norm): Likewise.
29277         (denorm): Likewise.
29278         (dbl_mp): Likewise.
29279         (sub_magnitudes): Likewise.
29280         (__add): Likewise.
29281         (__sub): Likewise.
29282         (__mul): Likewise.
29283         (__inv): Likewise.
29284         (__dvd): Likewise.
29285
29286         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29287         instead of __mul.
29288         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29289         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29290         (cc32): Likewise.
29291
29292         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29293         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29295         of __mul for squares.
29296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29297         function
29298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29299         Likewise.
29300         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29301         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29302
29303 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29304
29305         [BZ #13550]
29306         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29307         code.
29308         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29309         prototype or function definition.  Rename ubp_* variables and
29310         parameters.  Remove argv definitions conditional on
29311         [__BOUNDED_POINTERS__].
29312         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29313         * elf/dl-runtime.c (_dl_fixup): Likewise.
29314         * include/set-hooks.h (RUN_HOOK): Likewise.
29315         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29316         definition.
29317         * string/strcpy.c (strcpy): Do not use __unbounded.
29318         * sysdeps/generic/frame.h (struct layout): Likewise.
29319         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29320         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29321         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29322         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29323         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29324         (__backtrace): Likewise.
29325         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29326         use __ptrvalue.
29327         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29328         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29329         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29330         Likewise.
29331         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29332         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29333         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29334         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29335         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29336         Do not use __unbounded.
29337         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29338         Rename __unboundedrlimits parameter to rlimits in prototype.
29339         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29340         Do not use __unbounded.
29341         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29342         not use __ptrvalue.
29343         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29344         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29345         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29346         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29347         __ptrvalue or __unbounded.
29348         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29349         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29350         use __unbounded.
29351         (__new_msgctl): Do not use __ptrvalue.
29352         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29353         __unbounded.
29354         (__libc_msgrcv): Do not use __ptrvalue.
29355         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29356         startup_info): Do not use __unbounded.
29357         (__libc_start_main): Likewise.  Rename ubp_* variables and
29358         parameters.  Remove argv definitions conditional on
29359         [__BOUNDED_POINTERS__].
29360         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29361         __ptrvalue.
29362         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29363         use __unbounded.
29364         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29365         or __ptrvalue.
29366         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29367         use __unbounded.
29368         (__new_shmctl): Do not use __ptrvalue.
29369         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29370         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29371         Likewise.
29372         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29373         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29374         (__libc_sigaction): Likewise.
29375         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29376         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29377         Likewise.
29378         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29379
29380 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29381
29382         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29383
29384         * string/mempcpy.c: Implement by calling memcpy.
29385
29386 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29387
29388         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29389
29390         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29391         evaluation.
29392
29393         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29394         values in the mantissa.
29395
29396         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29397         minimize writes to Z.
29398         (sub_magnitudes): Simplify code a bit.
29399
29400 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29401
29402         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29403         from the message.  The linker prefixes all warnings with that already.
29404
29405 2013-02-12  Andreas Schwab  <schwab@suse.de>
29406
29407         [BZ #15078]
29408         * posix/regexec.c (extend_buffers): Add parameter min_len.
29409         (check_matching): Pass minimum needed length.
29410         (clean_state_log_if_needed): Likewise.
29411         (get_subexp): Likewise.
29412         * posix/Makefile (tests): Add bug-regex34.
29413         (bug-regex34-ENV): Define.
29414         * posix/bug-regex34.c: New file.
29415
29416         [BZ #11561]
29417         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29418         elements compare against the byte sequence of it, not its name.
29419         * posix/Makefile (tests): Add bug-regex35.
29420         (bug-regex35-ENV): Define.
29421         * posix/bug-regex35.c: New file.
29422
29423 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29424
29425         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29426         comment.
29427         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29428         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29429         (CHECK_EOL): Add undef.
29430
29431 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29432
29433         * bits/stdlib-bsearch.h: New file.
29434         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29435         * stdlib/stdlib.h: Likewise.
29436
29437 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29438
29439         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29440         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29441         declaration.
29442         * manual/search.texi (Array Search Function): Add missing const in
29443         lfind prototype.
29444         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29445         declaration to use rlim_t.
29446         (Basic Scheduling Functions): Remove erroneous const from
29447         sched_getparam prototype.  Remove erroneous * from
29448         sched_get_priority_max and sched_get_priority_min prototypes.
29449         (Resource Usage): Fix summary @comment on vtimes to refer to
29450         sys/vtimes.h rather than vtimes.h.
29451         Add missing *s in vtimes prototype.
29452         (Limits on Resources): Fix ulimit prototype to return long int.
29453         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29454         prototypes to use long int rather than double.
29455         (BSD Random): Fix initstate and setstate to use char *, not void *.
29456         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29457         prototype to make second argument 'struct aiocb64 *const[]'.
29458         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29459         (Status of AIO Operations): Remove erroneous const in aio_return and
29460         aio_return64 prototypes.
29461         (Synchronizing I/O): Fix sync prototype to return void.
29462         * manual/startup.texi (Suboptions): Remove an erroneous const in
29463         getsubopt prototype.
29464         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29465         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29466         use size_t rather than int.
29467         (Scanning All Users): Likewise for getpwent_r.
29468         (Setting Groups): Add missing const to setgroups prototype.
29469         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29470         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29471         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29472         'const void *' rather than 'const char *'.
29473         (Host Address Functions): Likewise for inet_ntop.
29474         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29475         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29476         ssize_t for return value.
29477         (Sending Data): Likewise for send, sendto, sendmsg.
29478         (Socket Option Functions): Add a missing const in setsockopt prototype.
29479         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29480         use wchar_t for the argument.
29481         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29482         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29483         take no arguments.
29484         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29485         double/float/long double for second argument.
29486         Fix return types of significand, significandf, significandl.
29487         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29488         argument in fchmod prototype.
29489         (File Owner): Use uid_t and gid_t in fchown prototype.
29490         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29491         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29492         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29493         use 'const struct dirent **' as argument types to CMP function pointer
29494         argument.
29495         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29496         (File Times): Fix summary magic @comment for struct utimbuf and utime
29497         to refer to utime.h, not time.h.
29498         * manual/string.texi (Argz Functions): Add missing const in
29499         argz_extract and argz_next prototypes.
29500         (Finding Tokens in a String): Likewise for basename.
29501         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29502         (Copying and Concatenation): Fix typo in wmemmove prototype.
29503         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29504         (Signal Stack): Remove erroneous const in sigstack prototype.
29505         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29506         prototype.
29507         (Simple Calendar Time): Likewise for stime.
29508         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29509         prototype.
29510         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29511         say sys/sysctl.h instead.
29512         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29513         and vsyslog prototypes.
29514
29515 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29516
29517         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29518         Remove.
29519
29520 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29521
29522         * misc/sys/mman.h: Fix typo in mremap comment.
29523
29524 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29525
29526         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29527         the '\0' terminator.
29528
29529 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29530
29531         [BZ #13550]
29532         * debug/segfault.c: Don't include <bp-checks.h>.
29533         * sysdeps/generic/bp-checks.h: Remove file.
29534         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29535         (__GETDENTS): Don't use CHECK_N.
29536         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29537         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29538         (__getgroups): Don't use CHECK_N.
29539         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29540         (setgroups): Don't use CHECK_N.
29541         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29542         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29543         (__libc_msgrcv): Don't use CHECK_N.
29544         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29545         (__libc_msgsnd): Don't use CHECK_N.
29546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29547         <bp-checks.h>.
29548         (__libc_pread): Don't use CHECK_N.
29549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29550         include <bp-checks.h>.
29551         (__libc_pread64): Don't use CHECK_N.
29552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29553         include <bp-checks.h>.
29554         (__libc_pwrite): Don't use CHECK_N.
29555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29556         include <bp-checks.h>.
29557         (__libc_pwrite64): Don't use CHECK_N.
29558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29559         <bp-checks.h>.
29560         (__libc_pread): Don't use CHECK_N.
29561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29562         include <bp-checks.h>.
29563         (__libc_pread64): Don't use CHECK_N.
29564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29565         include <bp-checks.h>.
29566         (__libc_pwrite): Don't use CHECK_N.
29567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29568         include <bp-checks.h>.
29569         (__libc_pwrite64): Don't use CHECK_N.
29570         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29571         (do_pread): Don't use CHECK_N.
29572         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29573         (do_pread64): Don't use CHECK_N.
29574         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29575         (do_pwrite): Don't use CHECK_N.
29576         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29577         (do_pwrite64): Don't use CHECK_N.
29578         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29579         (__libc_readv): Don't use CHECK_N.
29580         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29581         (semop): Don't use CHECK_N.
29582         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29583         <bp-checks.h>.
29584         (semtimedop): Don't use CHECK_N.
29585         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29586         (__libc_pread): Don't use CHECK_N.
29587         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29588         <bp-checks.h>.
29589         (__libc_pread64): Don't use CHECK_N.
29590         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29591         <bp-checks.h>.
29592         (__libc_pwrite): Don't use CHECK_N.
29593         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29594         <bp-checks.h>.
29595         (__libc_pwrite64): Don't use CHECK_N.
29596         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29597         <bp-checks.h>.
29598         (__libc_msgrcv): Don't use CHECK_N.
29599         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29600         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29601         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29602         (__libc_writev): Don't use CHECK_N.
29603
29604 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29605
29606         * string/strcpy.c: Removed unused variable.
29607
29608         * Makeconfig (+sysdep-includes): Define with := rather than =.
29609         Use an existing include/ subdir of each sysdeps dir before it.
29610
29611 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29612
29613         * nscd/connection.c (register_traced_file): Comment function.
29614         [HAVE_INOTIFY] (union __inev): Define.
29615         [HAVE_INOTIFY] (inotify_check_files): New function.
29616         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29617         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29618         clear_db_cache.
29619         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29620
29621 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29622
29623         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29624         loaded if not already and that a failure is permanent.
29625
29626 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29627
29628         [BZ #15006]
29629         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29630         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29631
29632 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29633
29634         [BZ #13550]
29635         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29636         (CHECK_1_NULL_OK): Likewise.
29637         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29638         (__fxstat): Do not use CHECK_1.
29639         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29640         <bp-checks.h>.
29641         (___fxstat64): Do not use CHECK_1.
29642         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29643         <bp-checks.h>.
29644         (__fxstatat): Do not use CHECK_1.
29645         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29646         <bp-checks.h>.
29647         (__fxstatat64): Do not use CHECK_1.
29648         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29649         <bp-checks.h>.
29650         (__fxstat): Do not use CHECK_1.
29651         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29652         <bp-checks.h>.
29653         (__fxstatat): Do not use CHECK_1.
29654         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29655         <bp-checks.h>.
29656         (__getresgid): Do not use CHECK_1.
29657         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29658         <bp-checks.h>.
29659         (__getresuid): Do not use CHECK_1.
29660         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29661         <bp-checks.h>.
29662         (__lxstat): Do not use CHECK_1.
29663         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29664         <bp-checks.h>.
29665         (__old_msgctl): Do not use CHECK_1.
29666         (__new_msgctl): Likewise.
29667         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29668         <bp-checks.h>.
29669         (__new_setrlimit): Do not use CHECK_1.
29670         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29671         <bp-checks.h>.
29672         (__old_shmctl): Do not use CHECK_1.
29673         (__new_shmctl): Likewise.
29674         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29675         <bp-checks.h>.
29676         (__xstat): Do not use CHECK_1.
29677         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29678         (__lxstat): Do not use CHECK_1.
29679         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29680         <bp-checks.h>.
29681         (___lxstat64): Do not use CHECK_1.
29682         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29683         (__old_msgctl): Do not use CHECK_1.
29684         (__new_msgctl): Likewise.
29685         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29686         <bp-checks.h>.
29687         (__gettimeofday): Do not use CHECK_1.
29688         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29689         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29690         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29691         <bp-checks.h>.
29692         (__gettimeofday): Do not use CHECK_1.
29693         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29694         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29695         (__new_shmctl): Do not use CHECK_1.
29696         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29697         <bp-checks.h>.
29698         (do_sigtimedwait): Do not use CHECK_1.
29699         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29700         <bp-checks.h>.
29701         (do_sigwaitinfo): Do not use CHECK_1.
29702         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29703         <bp-checks.h>.
29704         (msgctl): Do not use CHECK_1.
29705         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29706         <bp-checks.h>.
29707         (shmctl): Do not use CHECK_1.
29708         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29709         (ustat): Do not use CHECK_1.
29710         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29711         <bp-checks.h>.
29712         (__fxstat): Do not use CHECK_1.
29713         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29714         <bp-checks.h>.
29715         (__fxstatat): Do not use CHECK_1.
29716         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29717         <bp-checks.h>.
29718         (__lxstat): Do not use CHECK_1.
29719         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29720         <bp-checks.h>.
29721         (__xstat): Do not use CHECK_1.
29722         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29723         (__xstat): Do not use CHECK_1.
29724         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29725         (___xstat64): Do not use CHECK_1.
29726
29727         [BZ #13550]
29728         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29729         definitions.
29730         (CHECK_BOUNDS_HIGH): Likewise.
29731         * string/strcpy.c: Do not include <bp-checks.h>.
29732         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29733
29734 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29735
29736         * nscd/nscd-client.h (__nscd_drop_map_ref):
29737         Add __attribute__ ((unused)).
29738         * nis/nss-nisplus.h (niserr2nss): Likewise.
29739
29740         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29741         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29742
29743         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29744         Remove inline keyword.
29745         * include/rounding-mode.h (round_away): Likewise.
29746         * libio/wfileops.c (adjust_wide_data): Likewise.
29747         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29748         (__m128i_strloadu_tolower): Likewise.
29749         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29750         (__m128i_strloadu_tolower): Likewise.
29751         * time/mktime.c (ydhms_diff): Likewise.
29752         * locale/elem-hash.h (elem_hash): Likewise.
29753         * locale/setlocale.c (setdata): Likewise.
29754         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29755         (re_string_wchar_at): Likewise.
29756         (bitset_not, bitset_merge, bitset_mask): Likewise.
29757         [!(__GNUC__ > 3)] (inline): Remove macro.
29758         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29759         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29760         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29761         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29762         * string/memcmp.c (memcmp_bytes): Likewise.
29763         * locale/programs/locarchive.c (compute_hashval): Likewise.
29764         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29765         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29766         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29767         * nss/getent.c (print_rpc, print_protocols): Likewise.
29768         (print_passwd, print_group, print_aliases): Likewise.
29769         * nis/nss-nisplus.h (niserr2nss): Likewise.
29770         * nscd/connections.c (restart_p): Likewise.
29771         Change return type to bool.
29772
29773 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29774
29775         * Makeconfig (all-Depend-files): Add existing
29776         $(sorted-subdirs:=/Depend) files.
29777         (all-subdirs): Remove nss.
29778         * sysdeps/unix/inet/Subdirs: Add it here instead.
29779         * hesiod/Depend: New file.
29780
29781         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29782         instead of calling alloca.
29783
29784         * io/lseek.c (__lseek): Rename to __libc_lseek.
29785         Define __lseek as an alias.
29786
29787         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29788
29789 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29790
29791         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29792         else clause and remove check for non-standard endianness.
29793
29794 2013-02-04  David S. Miller  <davem@davemloft.net>
29795
29796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29797
29798 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29799
29800         [BZ #13550]
29801         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29802         (__ubp_memchr): Remove prototype.
29803         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29804         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29805         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29806         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29807         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29808         Remove alias.
29809         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29810         (__ubp_memchr): Likewise.
29811         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29812         (__ubp_memchr): Likewise.
29813         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29814         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29815         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29816         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29817         CHECK_STRING.
29818         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29819         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29820         (__getcwd): Do not use CHECK_STRING.
29821         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29822         <bp-checks.h>.
29823         (__real_chown): Do not use CHECK_STRING.
29824         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29825         <bp-checks.h>.
29826         (fchownat): Do not use CHECK_STRING.
29827         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29828         CHECK_STRING.
29829         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29830         <bp-checks.h>.
29831         (__lchown): Do not use CHECK_STRING.
29832         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29833         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29834         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29835         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29837         include <bp-checks.h>.
29838         (truncate64): Do not use CHECK_STRING.
29839         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29840         <bp-checks.h>.
29841         (__real_chown): Do not use CHECK_STRING.
29842         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29843         <bp-checks.h>.
29844         (__lchown): Do not use CHECK_STRING.
29845         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29846         <bp-checks.h>.
29847         (__chown): Do not use CHECK_STRING.
29848         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29849         <bp-checks.h>.
29850         (truncate64): Do not use CHECK_STRING.
29851         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29852         Likewise.
29853         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29854         (__xmknod): Do not use CHECK_STRING.
29855         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29856         <bp-checks.h>.
29857         (__xmknodat): Do not use CHECK_STRING.
29858         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29859         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29860
29861 2013-02-04  Andreas Schwab  <schwab@suse.de>
29862
29863         [BZ #14142]
29864         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29865         * include/netdb.h: Likewise for h_errno.
29866         * elf/tst-stackguard1.c: Include <tls.h>.
29867
29868 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29869
29870         * elf/link.h (struct link_map): Extend the l_addr comment.
29871         * include/link.h (struct link_map): Likewise.
29872
29873 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29874
29875         [BZ #13550]
29876         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29877         (BOUNDED_1): Remove macro.
29878         * debug/backtrace.c: Don't include <bp-checks.h>.
29879         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29880         (__backtrace): Likewise.
29881         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29882         <bp-checks.h>.
29883         (__backtrace): Don't use BOUNDED_1.
29884         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29885         <bp-checks.h>.
29886         (__backtrace): Don't use BOUNDED_1.
29887         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29888         (__backtrace): Don't use BOUNDED_1.
29889         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29890         (shmat): Don't use BOUNDED_N.
29891
29892 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29893
29894         [BZ #13550]
29895         * sysdeps/generic/bp-start.h: Remove file.
29896         * csu/libc-start.c: Don't include <bp-start.h>.
29897         (LIBC_START_MAIN): Set up __environ directly instead of using
29898         INIT_ARGV_and_ENVIRON.
29899         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29900         <bp-start.h>.
29901
29902         [BZ #13550]
29903         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29904         definitions.
29905         (CHECK_FCNTL): Likewise.
29906         (CHECK_N_PAGES): Likewise.
29907
29908         [BZ #13550]
29909         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29910         definitions.
29911         (CHECK_SIGSET_NULL_OK): Likewise.
29912         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29913         <bp-checks.h>.
29914         (sigpending): Don't use CHECK_SIGSET.
29915         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29916         <bp-checks.h>.
29917         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29918         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29919         <bp-checks.h>.
29920         (do_sigsuspend): Don't use CHECK_SIGSET.
29921         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29922         use CHECK_SIGSET.
29923         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29924         (do_sigwait): Don't use CHECK_SIGSET.
29925         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29926         use CHECK_SIGSET.
29927         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29928         include <bp-checks.h>.
29929         (sigpending): Don't use CHECK_SIGSET.
29930         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29931         include <bp-checks.h>.
29932         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29933         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29934         <bp-checks.h>.
29935         (sigpending): Don't use CHECK_SIGSET.
29936         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29937         <bp-checks.h>.
29938         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29939
29940         [BZ #13550]
29941         * sysdeps/generic/bp-semctl.h: Remove file.
29942         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29943         <bp-checks.h> and <bp-semctl.h>.
29944         (__old_semctl): Don't use CHECK_SEMCTL.
29945         (__new_semctl): Likewise.
29946         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29947         and <bp-semctl.h>.
29948         (__old_semctl): Don't use CHECK_SEMCTL.
29949         (__new_semctl): Likewise.
29950         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29951         <bp-checks.h> and <bp-semctl.h>.
29952         (__old_semctl): Don't use CHECK_SEMCTL.
29953         (__new_semctl): Likewise.
29954         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29955         <bp-checks.h> and <bp-semctl.h>.
29956         (semctl): Don't use CHECK_SEMCTL.
29957
29958         [BZ #13550]
29959         * Makerules (elide-bp-thunks): Remove variable.
29960         (elide-routines.oS): Don't use $(elide-bp-thunks).
29961         (elide-routines.os): Likewise.
29962         (elide-routines.o): Likewise.
29963         (elide-routines.op): Likewise.
29964         (elide-routines.og): Likewise.
29965         (objects): Don't use $(bp-thunks).
29966         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29967         include.
29968         (common-generated): Do not add s-proto-bp.d.
29969         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29970         (int): Likewise.
29971         (typ): Likewise.
29972         Do not generate makefile rules for bounded-pointer thunks.
29973         * sysdeps/generic/bp-thunks.h: Remove file.
29974         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29975         * sysdeps/unix/s-proto-bp.S: Likewise.
29976
29977         [BZ #15062]
29978         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29979         parts of result separately when argument is not close to line from
29980         -i to i and one part of argument is small.
29981         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29982         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29983         * math/libm-test.inc (cacos_test): Add more tests.
29984         (casin_test): Likewise.
29985         (casinh_test): Likewise.
29986         * sysdeps/i386/fpu/libm-test-ulps: Update.
29987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29988
29989 2013-01-31  David S. Miller  <davem@davemloft.net>
29990
29991         * po/de.po: Update from translation team.
29992
29993 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29994
29995         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29996
29997 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29998
29999         * configure.in (_AC_PROG_CC_C89): New definition.
30000         * configure: Regenerate.
30001
30002         * configure.in (AC_PROG_CPP): New definition.
30003         * configure: Regenerate.
30004
30005 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30006
30007         * debug/tst-backtrace.h: New file.
30008         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30009         (ret): Remove variable.
30010         (x): Likewise.
30011         (FAIL): Remove macro.
30012         (NO_INLINE): Likewise.
30013         (fn1): Use match function instead of strstr.
30014         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30015         (ret): Remove variable.
30016         (x): Likewise.
30017         (FAIL): Remove macro.
30018         (NO_INLINE): Likewise.
30019         (fn): Use match function instead of strstr.
30020         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30021         (ret): Remove variable.
30022         (x): Likewise.
30023         (FAIL): Remove macro.
30024         (NO_INLINE): Likewise.
30025         (handle_signal): Use match function instead of strstr.
30026         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30027         (ret): Remove variable.
30028         (x): Likewise.
30029         (FAIL): Remove macro.
30030         (NO_INLINE): Likewise.
30031         (handle_signal): Use match function instead of strstr.
30032
30033 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30034
30035         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30036
30037 2013-01-23  David S. Miller  <davem@davemloft.net>
30038
30039         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30040         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30041         argument of CAS if possible.
30042         * sysdeps/sparc/sparc64/bits/atomic.h
30043         (__arch_compare_and_exchange_val_32_acq): Likewise.
30044         (__arch_compare_and_exchange_val_64_acq): Likewise.
30045
30046 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30047
30048         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30049         * sysdeps/posix/ulimit.c: ... this.
30050         Include <limits.h>.
30051         * sysdeps/unix/bsd/ulimit.c: Remove file.
30052
30053 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30054
30055         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30056         (LDFLAGS-tst-array5): Likewise.
30057
30058 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30059
30060         [BZ #15036]
30061         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30062         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30063         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30064         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30065
30066 2013-01-21  David S. Miller  <davem@davemloft.net>
30067
30068         * sysdeps/sparc/backtrace.c: New file.
30069         * sysdeps/sparc/sparc32/backtrace.h: New file.
30070         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30071         * sysdeps/sparc/sparc64/backtrace.h: New file.
30072         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30073         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30074         -funwind-tables.
30075
30076 2013-01-21  Andreas Schwab  <schwab@suse.de>
30077
30078         [BZ #15020]
30079         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30080         closed its stdout.
30081
30082 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30083
30084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30085         "mpa2.h".
30086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30087
30088 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30089             Mark Mitchell  <mark@codesourcery.com>
30090             Tom de Vries  <tom@codesourcery.com>
30091             Paul Pluzhnikov  <ppluzhnikov@google.com>
30092
30093         * debug/tst-backtrace2.c: New file.
30094         * debug/tst-backtrace3.c: Likewise.
30095         * debug/tst-backtrace4.c: Likewise.
30096         * debug/tst-backtrace5.c: Likewise.
30097         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30098         (CFLAGS-tst-backtrace3.c): Likewise.
30099         (CFLAGS-tst-backtrace4.c): Likewise.
30100         (CFLAGS-tst-backtrace5.c): Likewise.
30101         (LDFLAGS-tst-backtrace2): Likewise.
30102         (LDFLAGS-tst-backtrace3): Likewise.
30103         (LDFLAGS-tst-backtrace4): Likewise.
30104         (LDFLAGS-tst-backtrace5): Likewise.
30105         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30106         tst-backtrace4 and tst-backtrace5.
30107
30108 2013-01-18  Anton Blanchard  <anton@samba.org>
30109             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30110
30111         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30112         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30113         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30114         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30116         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30117         "+r" and remove output regs list as redundant.  Add explicit inline
30118         asm to specify register of return val to work around compiler codegen
30119         bug.  Remove (int) cast on return value.  Add return type parameter to
30120         use in macro so that this macro does not truncate return value for
30121         64-bit values.
30122         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30123         pass to INTERNAL_VSYSCALL_NCS.
30124         (INLINE_VSYSCALL): Add 'long int' as return type to
30125         INTERNAL_VSYSCALL_NCS macro invocation.
30126         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30127         INTERNAL_VSYSCALL_NCS macro invocation.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30129
30130 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30131
30132         [BZ #14496]
30133         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30134         Fix application of SIMD FP exception mask.
30135
30136         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30137         mp_no from a power of two.
30138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30139         __mpexp_twomm1.  Use __pow_mp.
30140
30141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30142         multiplication.
30143
30144 2013-01-17  David S. Miller  <davem@davemloft.net>
30145
30146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30147
30148 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30149
30150         [BZ #15023]
30151         * include/complex.h: Condition contents on [!_COMPLEX_H].
30152         (__kernel_casinhf): New prototype.
30153         (__kernel_casinh): Likewise.
30154         (__kernel_casinhl): Likewise.
30155         * math/Makefile (libm_calls): Add k_casinh.
30156         * math/k_casinh.c: New file.
30157         * math/k_casinhf.c: Likewise.
30158         * math/k_casinhl.c: Likewise.
30159         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30160         finite nonzero arguments.
30161         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30162         finite nonzero arguments.
30163         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30164         finite nonzero arguments.
30165         * math/s_casinh.c: Do not include <float.h>.
30166         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30167         * math/s_casinhf.c: Do not include <float.h>.
30168         (__casinhf): Move code for finite nonzero arguments to
30169         k_casinhf.c.
30170         * math/s_casinhl.c: Do not include <float.h>.
30171         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30172         redefine.
30173         (__casinhl): Move code for finite nonzero arguments to
30174         k_casinhl.c.
30175         * math/libm-test.inc (cacos_test): Add more tests.
30176         * sysdeps/i386/fpu/libm-test-ulps: Update.
30177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30178
30179 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30180
30181         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30182         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30183         [!HAVE_MREMAP]: Remove [defined linux] case.
30184         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30185
30186 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30187
30188         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30189
30190 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30191
30192         * elf/elf.h (R_386_SIZE32): New relocation.
30193         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30194         R_386_SIZE32.
30195         (elf_machine_rela): Likewise.
30196         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30197         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30198
30199 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30200
30201         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30202         (FP_FAST_FMA): Do not define.
30203         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30204         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30205         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30206         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30207         !_SOFT_FLOAT]: Likewise.
30208         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30209         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30210         value.
30211         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30212         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30213         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30214         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30215         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30216         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30217         file.
30218
30219 2013-01-16  Andreas Schwab  <schwab@suse.de>
30220
30221         [BZ #14327]
30222         * include/stdlib.h (__mktemp): Add declaration.
30223         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30224         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30225
30226 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30227
30228         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30229         definitions.
30230         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30231         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30232         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30233         definitions here.
30234         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30235         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30236         definitions.
30237         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30238         and ONE.
30239         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30240         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30241         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30242         definitions.
30243         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30244         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30245         definitions.
30246         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30247
30248         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30249
30250 2013-01-15  David S. Miller  <davem@davemloft.net>
30251
30252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30253         trunc{,f} to libm-sysdep_routes.
30254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30256         file.
30257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30259         file.
30260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30261         file.
30262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30264         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30265         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30266         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30267         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30268         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30269         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30270
30271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30272         nearbyint{,f} to libm-sysdep_routes.
30273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30275         New file.
30276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30277         file.
30278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30279         New file.
30280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30281         file.
30282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30284         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30285         file.
30286         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30287         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30288         file.
30289         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30290         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30291         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30292
30293         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30294         libc_feholdexcept and libc_fesetenv.
30295
30296 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30297
30298         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30299
30300 2013-01-14  David S. Miller  <davem@davemloft.net>
30301
30302         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30303         (SPARC_ASM_VIS2_IFUNC): Likewise.
30304         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30306         use of 'siam' instruction.
30307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30308         Likewise.
30309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30310         Likewise.
30311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30312         Likewise.
30313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30318         file.
30319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30320         file.
30321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30322         file.
30323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30324         file.
30325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30326         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30330         new VIS2 routines.
30331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30334         Likewise.
30335         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30336         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30340         routines to libm-sysdep_routines.
30341         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30342
30343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30344         fdim/fdimf to libm-sysdep_routines.
30345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30346         file.
30347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30349         file.
30350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30353         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30354         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30355         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30356         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30357
30358 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359
30360         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30361         to optimize copies.
30362
30363         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30366
30367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30368         local variable MPTWO.
30369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30370         Likewise.
30371
30372 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30373
30374         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30375         GLOB_NOESCAPE.
30376
30377 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30378
30379         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30380
30381 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30382
30383         * manual/pattern.texi (glob_t): Document gl_flags.
30384         (glob64_t): Likewise.
30385
30386 2013-01-11  David S. Miller  <davem@davemloft.net>
30387
30388         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30389         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30390         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30391         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30392         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30393         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30394         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30395         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30396         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30397         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30398         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30399         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30400         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30401
30402         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30403         sparc V9 rather than using V8 code.
30404         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30405         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30406
30407         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30408         Move to...
30409         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30410         Here.
30411
30412 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30413
30414         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30415         not in the main loop.
30416         * configure: Regenerated.
30417
30418 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30419
30420         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30421         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30422         to just #else.
30423         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30424         [!__GLIBC_HAVE_LONG_LONG] case.
30425         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30426         condition to just #else.
30427         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30428         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30429         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30430         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30431         unconditional.
30432         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30433         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30434         #elif condition to just #else.
30435         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30436         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30437         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30438         #elif condition to just #else.
30439
30440 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30441
30442         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30443         (EF_MIPS_ARCH_64): Fix value.
30444         (EF_MIPS_ARCH_32R2): New.
30445         (EF_MIPS_ARCH_64R2): New.
30446
30447 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30448
30449         * Makeconfig (+link-pie-before-libc): New.
30450         (+link-pie-after-libc): Likewise.
30451         (+link-pie-tests): Likewise.
30452         (+link-pie): Rewritten.
30453         (link-before-libc): Remove $(config-LDFLAGS).
30454         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30455         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30456         (config-LDFLAGS): Renamed to ...
30457         (rtld-LDFLAGS): This.
30458         (rtld-tests-LDFLAGS): New macro.
30459         (link-libc-rpath-link): Likewise.
30460         (link-libc-tests-rpath-link): Likewise.
30461         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30462         (link-libc): Prepand $(link-libc-rpath-link).
30463         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30464         (test-program-prefix): New macro.
30465         (test-via-rtld-prefix): Likewise.
30466         (test-program-cmd): Likewise.
30467         (host-test-program-cmd): Likewise.
30468         * Makefile ($(common-objpfx)testrun.sh): Replace
30469         $(run-program-prefix) with $(test-program-prefix).
30470         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30471         $(rtld-LDFLAGS).
30472         ($(common-objpfx)shlib.lds): Likewise.
30473         (build-module-helper): Likewise.
30474         ($(common-objpfx)format.lds): Likewise.
30475         * Rules (binaries-pie-tests): New.
30476         (binaries-pie-notests): Likewise.
30477         (binaries-pie): Rewritten.
30478         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30479         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30480         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30481         (make-test-out): Replace $(host-built-program-cmd) with
30482         $(host-test-program-cmd).
30483         * config.make.in (build-hardcoded-path-in-tests): New variable.
30484         * configure.in (--enable-hardcoded-path-in-tests): New configure
30485         option.
30486         (hardcoded_path_in_tests): New AC_SUBST.
30487         * configure: Regenerated.
30488         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30489         $(built-program-cmd) with $(test-program-cmd).
30490         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30491         (test_program_cmd): This.
30492         * elf/Makefile ($(objpfx)order.out): Run test with
30493         $(test-program-prefix).
30494         ($(objpfx)order2.out): Likewise.
30495         ($(objpfx)tst-initorder.out): Likewise.
30496         ($(objpfx)tst-initorder2.out): Likewise.
30497         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30498         $(test-program-cmd).
30499         ($(objpfx)tst-array1-static.out): Likewise.
30500         ($(objpfx)tst-array2.out): Likewise.
30501         ($(objpfx)tst-array3.out): Likewise.
30502         ($(objpfx)tst-array4.out): Likewise.
30503         ($(objpfx)tst-array5.out): Likewise.
30504         ($(objpfx)tst-array5-static.out): Likewise.
30505         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30506         $(test-program-cmd).
30507         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30508         $(run-program-prefix) with $(test-program-prefix).
30509         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30510         (test_program_prefix): This.
30511         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30512         $(run-program-prefix) with $(test-program-prefix).
30513         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30514         (test_program_prefix): This.
30515         * iconvdata/tst-tables.sh: Likewise.
30516         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30517         $(run-program-prefix) with $(test-program-prefix).
30518         ($(objpfx)tst-translit.out): Likewise.
30519         ($(objpfx)tst-gettext2.out): Likewise.
30520         ($(objpfx)tst-gettext4.out): Likewise.
30521         ($(objpfx)tst-gettext6.out): Likewise.
30522         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30523         (test_program_prefix): This.
30524         * intl/tst-gettext2.sh: Likewise.
30525         * intl/tst-gettext4.sh  Likewise.
30526         * intl/tst-gettext6.sh: Likewise.
30527         * intl/tst-translit.sh: Likewise.
30528         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30529         with $(test-program-cmd).
30530         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30531         $(run-program-prefix) with $(test-program-prefix).
30532         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30533         (test_program_prefix): This.
30534         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30535         $(run-program-prefix) with $(test-program-prefix).
30536         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30537         (test_program_prefix): This.
30538         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30539         * posix/Makefile ($(objpfx)globtest.out): Replace
30540         $(run-via-rtld-prefix) and $(test-wrapper) with
30541         $(test-program-prefix) and $(test-via-rtld-prefix).
30542         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30543         $(test-program-prefix).
30544         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30545         $(host-test-program-cmd).
30546         (tst-spawn-ARGS): Likewise.
30547         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30548         $(test-program-prefix).
30549         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30550         (test_via_rtld_prefix): This.
30551         (test_wrapper): Renamed to ...
30552         (test_program_prefix): This.
30553         (run_program_prefix): Replaced by test_program_prefix.
30554         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30555         (test_program_prefix): This.
30556         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30557         with $(host-test-program-cmd).
30558         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30559         $(run-program-prefix) with $(test-program-prefix).
30560         ($(objpfx)tst-printf.out): Likewise.
30561         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30562         $(test-program-cmd).
30563         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30564         (test_program_prefix): This.
30565         * stdio-common/tst-unbputc.sh: Likewise.
30566         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30567         $(run-program-prefix) with $(test-program-prefix).
30568         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30569         (test_program_prefix): This.
30570         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30571         $(built-program-cmd) with $(test-program-cmd).
30572
30573 2013-01-11  Andreas Jaeger  <aj@suse.de>
30574
30575         [BZ #15003]
30576         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30577         value. Sync with Linux 3.7.
30578
30579 2013-01-10  David S. Miller  <davem@davemloft.net>
30580
30581         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30582         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30583         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30584
30585 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30586
30587         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30588         never set.
30589         * configure: Regenerated.
30590
30591 2013-01-10  David S. Miller  <davem@davemloft.net>
30592
30593         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30594         sparc V9 rather than using V8 code.
30595         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30596         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30597
30598 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30599
30600         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30601         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30602         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30603         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30604         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30605         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30606         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30607         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30608         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30609         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30610         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30611         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30612         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30613         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30614         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30615         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30616         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30617         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30618         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30619         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30620         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30621         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30622         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30623         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30624         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30625         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30626         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30627
30628 2013-01-10  David S. Miller  <davem@davemloft.net>
30629
30630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30631
30632 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30633
30634         * posix/Makefile (tests-static): New variable.
30635         (tests): Add $(tests-static).
30636         (tst-exec-static-ARGS): New variable.
30637         (tst-spawn-static-ARGS): Likewise.
30638         * posix/tst-exec-static.c: New file.
30639         * posix/tst-spawn-static.c: Likewise.
30640         * posix/tst-exec.c: Support run directly.
30641         * posix/tst-spawn.c: Likewise.
30642
30643 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30644
30645         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30646         long.
30647         * math/bits/mathcalls.h (llrint): Likewise.
30648         (llround): Likewise.
30649         * stdlib/stdlib.h (struct drand48_data): Likewise.
30650         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30651         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30652         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30653         Likewise.
30654         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30655         Likewise.
30656         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30657         (elf_greg_t): Likewise.
30658         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30659         (__jmp_buf): Likewise.
30660         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30661         definitions.
30662         (llrint): Likewise, for all definitions.
30663         (llrintl): Likewise.
30664
30665         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30666         Remove [__GNUC__] condition.
30667         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30668         condition to just [__USE_ISOC99].
30669         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30670
30671 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30672
30673         [BZ #14200]
30674         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30675         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30676         defined.
30677         (_POSIX_V6_ILP32_OFF32): Likewise.
30678         (_XBS5_ILP32_OFF32): Likewise.
30679         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30680         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30681
30682 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30683
30684         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30685
30686         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30687         doubles __mpexp_twomm1.  Adjust usage.
30688         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30689         Remove.
30690
30691 2013-01-10  Andreas Schwab  <schwab@suse.de>
30692
30693         [BZ #14964]
30694         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30695         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30696
30697 2013-01-09  David S. Miller  <davem@davemloft.net>
30698
30699         [BZ #15003]
30700         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30701         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30702         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30703         (TCP_FASTOPEN): Define.
30704         (tcp_repair_opt): New structure.
30705         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30706         enum values.
30707         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30708         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30709         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30710         (tcp_cookie_transactions): New structure.
30711
30712 2013-01-09  Anton Blanchard  <anton@samba.org>
30713
30714         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30715         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30716         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30717         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30718
30719 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30720
30721         * include/features.h (__USE_ANSI): Remove.
30722
30723 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30724
30725         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30726
30727         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30728
30729 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30730
30731         * sysdeps/s390/fpu/libm-test-ulps: Update.
30732
30733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30734
30735         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30736         (__acr): Likewise.
30737         (__cpy): Likewise.
30738         (norm): Likewise.
30739         (denorm): Likewise.
30740         (__mp_dbl): Likewise.
30741         (__dbl_mp): Likewise.
30742         (add_magnitudes): Likewise.
30743         (sub_magnitudes): Likewise.
30744         (__add): Likewise.
30745         (__sub): Likewise.
30746         (__mul): Likewise.
30747         (__inv): Likewise.
30748         (__dvd): Likewise.
30749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30750         (__acr): Likewise.
30751         (__cpy): Likewise.
30752         (norm): Likewise.
30753         (denorm): Likewise.
30754         (__mp_dbl): Likewise.
30755         (__dbl_mp): Likewise.
30756         (add_magnitudes): Likewise.
30757         (sub_magnitudes): Likewise.
30758         (__add): Likewise.
30759         (__sub): Likewise.
30760         (__mul): Likewise.
30761         (__inv): Likewise.
30762         (__dvd): Likewise.
30763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30764         (__acr): Likewise.
30765         (__cpy): Likewise.
30766         (norm): Likewise.
30767         (denorm): Likewise.
30768         (__mp_dbl): Likewise.
30769         (__dbl_mp): Likewise.
30770         (add_magnitudes): Likewise.
30771         (sub_magnitudes): Likewise.
30772         (__add): Likewise.
30773         (__sub): Likewise.
30774         (__mul): Likewise.
30775         (__inv): Likewise.
30776         (__dvd): Likewise.
30777
30778 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30779
30780         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30781         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30782         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30783         2 && __USE_EXTERN_INLINES]: Likewise.
30784
30785 2013-01-08  Andreas Jaeger  <aj@suse.de>
30786
30787         [BZ# 14985]
30788         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30789         Remove.
30790         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30791         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30792
30793 2013-01-07  Anton Blanchard  <anton@samba.org>
30794
30795         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30796         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30797         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30798         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30799         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30800         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30801         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30802         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30804         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30805         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30806         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30808         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30809         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30810         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30811         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30812         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30813         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30814         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30815         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30816         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30817         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30818         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30819         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30820         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30821         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30822         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30823         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30824         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30825         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30827         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30828         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30829         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30830         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30831         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30832         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30833         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30834         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30835         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30836         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30837         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30838
30839 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30840
30841         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30842         (__MALLOC_PMT): Likewise.
30843         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30844         [__GNUC__], only on [_LIBC].
30845         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30846         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30847         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30848         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30849         forward declaration.
30850         (realloc_hook_ini): Likewise.
30851         (memalign_hook_ini): Likewise.
30852         (__libc_memalign): Do not use __MALLOC_PMT in variable
30853         declaration.
30854         (__libc_valloc): Likewise.
30855         (__libc_pvalloc): Likewise.
30856         (__libc_calloc): Likewise.
30857         (__posix_memalign): Likewise.
30858
30859         [BZ #14996]
30860         * math/s_casinh.c: Include <float.h>.
30861         (__casinh): Do not do computation with squaring and square root
30862         for large arguments.
30863         * math/s_casinhf.c: Include <float.h>.
30864         (__casinhf): Do not do computation with squaring and square root
30865         for large arguments.
30866         * math/s_casinhl.c: Include <float.h>.
30867         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30868         (__casinhl): Do not do computation with squaring and square root
30869         for large arguments.
30870         * math/libm-test.inc (casin_test): Add more tests.
30871         (casinh_test): Likewise.
30872         * sysdeps/i386/fpu/libm-test-ulps: Update.
30873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30874
30875 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30876
30877         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30878         (__x86_64_raw_data_cache_size): Likewise.
30879         (__x86_64_data_cache_size_half): Likewise.
30880         (__x86_64_raw_data_cache_size_half): Likewise.
30881         (__x86_64_shared_cache_size): Likewise.
30882         (__x86_64_raw_shared_cache_size): Likewise.
30883         (__x86_64_shared_cache_size_half): Likewise.
30884         (__x86_64_raw_shared_cache_size_half): Likewise.
30885         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30886         to ...
30887         (__x86_data_cache_size): This.
30888         (__x86_64_raw_data_cache_size): Renamed to ...
30889         (__x86_raw_data_cache_size): This.
30890         (__x86_64_data_cache_size_half): Renamed to ...
30891         (__x86_data_cache_size_half): This.
30892         (__x86_64_raw_data_cache_size_half): Renamed to ...
30893         (__x86_raw_data_cache_size_half): This.
30894         (__x86_64_shared_cache_size): Renamed to ...
30895         (__x86_shared_cache_size): This.
30896         (__x86_64_raw_shared_cache_size): Renamed to ...
30897         (__x86_raw_shared_cache_size): This.
30898         (__x86_64_shared_cache_size_half): Renamed to ...
30899         (__x86_shared_cache_size_half): This.
30900         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30901         (__x86_raw_shared_cache_size_half): This.
30902         * sysdeps/x86_64/memcpy.S: Updated.
30903         * sysdeps/x86_64/memset.S: Likewise.
30904         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30905         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30906         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30907
30908 2013-01-04  David S. Miller  <davem@davemloft.net>
30909
30910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30911
30912 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30913
30914         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30915         1 to avoid redefinition warning.
30916         (__USE_GNU): Don't define.
30917         (init_signaling_nan): Protoize.
30918
30919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30920
30921 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30922
30923         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30925         (__cpymn): Likewise.
30926         (norm): Remove commented code.
30927         (denorm): Likewise.
30928         (__mp_dbl): Likewise.
30929         (__inv): Likewise.
30930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30931         (__cpymn): Likewise.
30932         (norm): Remove commented code.
30933         (denorm): Likewise.
30934         (__mp_dbl): Likewise.
30935         (__inv): Likewise.
30936
30937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30938         mp_no value for 1.0 and 2.0.
30939         (norm): Use RADIXI instead of radixi.d.
30940         (denorm): Likewise.
30941         (__mul): Use 0.0 instead of zero.d.
30942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30943         mp_no value for 1.0 and 2.0.
30944         (norm): Use RADIXI instead of radixi.d.
30945         (denorm): Likewise.
30946         (__mul): Use 0.0 instead of zero.d.
30947
30948 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30949
30950         [BZ #14994]
30951         * math/s_casinh.c (__casinh): Reduce finite argument to first
30952         quadrant then set signs of results at the end.
30953         * math/s_casinhf.c (__casinhf): Likewise.
30954         * math/s_casinhl.c (__casinhl): Likewise.
30955         * math/libm-test.inc (casin_test): Add more tests.
30956         (casinh_test): Likewise.
30957         * sysdeps/i386/fpu/libm-test-ulps: Update.
30958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30959
30960 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30961
30962         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30963
30964         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30965
30966         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30967         declarations.
30968         (denorm): Likewise.
30969         (__mp_dbl): Likewise.
30970         (__inv): Likewise.
30971
30972         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30973         and adjust the header comment.
30974
30975         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30976         variable name from declaration.
30977
30978 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30979
30980         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30981         Initialize COMMON_CPUID_INDEX_7 element.
30982         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30983         (CPUID_RTM): Likewise.
30984         (HAS_RTM): Likewise.
30985         (COMMON_CPUID_INDEX_7): New enum.
30986
30987 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30988
30989         [BZ #14981]
30990         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30991         size is zero, record memory as freed.
30992
30993 2013-01-03  Andreas Jaeger  <aj@suse.de>
30994
30995         * po/ia.po: Add new Interlingua translation.
30996
30997 2012-01-03  Allan McRae  <allan@archlinux.org>
30998
30999         * locale/programs/localedef.c: Fix description of '--posix' flag.
31000
31001 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31002
31003         * NEWS: Update dates in second copyright notice.
31004         * README: Update copyright dates in example.
31005         * manual/libc.texinfo: Update copyright dates.
31006         * scripts/test-installation.pl: Update copyright date in --version
31007         output.
31008
31009         * hurd/ctty-input.c: Fix copyright notice formatting.
31010         * hurd/ctty-output.c: Likewise.
31011         * hurd/dtable.c: Likewise.
31012         * hurd/hurd-raise.c: Likewise.
31013         * hurd/hurdprio.c: Likewise.
31014         * hurd/msgportdemux.c: Likewise.
31015         * misc/sys/file.h: Likewise.
31016         * misc/sys/ioctl.h: Likewise.
31017         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31018         * sysdeps/mach/hurd/chdir.c: Likewise.
31019         * sysdeps/mach/hurd/fchdir.c: Likewise.
31020         * sysdeps/mach/hurd/rename.c: Likewise.
31021         * sysdeps/mach/hurd/rmdir.c: Likewise.
31022         * sysdeps/mach/hurd/seekdir.c: Likewise.
31023         * sysdeps/mach/hurd/setsid.c: Likewise.
31024         * sysdeps/posix/wait3.c: Likewise.
31025
31026         * All files with FSF copyright notices: Update copyright dates
31027         using scripts/update-copyrights.
31028         * intl/plural.c: Regenerated.
31029         * locale/programs/charmap-kw.h: Likewise.
31030         * locale/programs/locfile-kw.h: Likewise.
31031
31032 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31033
31034         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31035         four values.
31036
31037         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31038         calculation loop and add branch prediction.
31039
31040         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31041         check access beyond bounds of m1np.
31042
31043         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31044         MPTWO.
31045         (__inv): Remove local variable MPTWO to use the global
31046         constant.
31047         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31048         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31049         variable MPTWO.
31050         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31051         MP3HALFS static const.
31052
31053 2013-01-01  David S. Miller  <davem@davemloft.net>
31054
31055         * po/ca.po: Update from translation team.
31056
31057 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31058
31059         * scripts/update-copyrights: New file.
31060         * Makeconfig: Reformat copyright notice.
31061         * ctype/ctype.h: Likewise.
31062         * debug/swprintf_chk.c: Likewise.
31063         * elf/dl-cache.c: Likewise.
31064         * elf/dl-debug.c: Likewise.
31065         * elf/dl-object.c: Likewise.
31066         * grp/initgroups.c: Likewise.
31067         * hurd/Makefile: Likewise.
31068         * hurd/hurd/signal.h: Likewise.
31069         * hurd/hurdfault.c: Likewise.
31070         * hurd/hurdioctl.c: Likewise.
31071         * hurd/hurdlookup.c: Likewise.
31072         * hurd/intr-msg.c: Likewise.
31073         * iconv/gconv_open.c: Likewise.
31074         * libio/swprintf.c: Likewise.
31075         * locale/lc-ctype.c: Likewise.
31076         * locale/nl_langinfo.c: Likewise.
31077         * mach/Machrules: Likewise.
31078         * mach/Makefile: Likewise.
31079         * malloc/obstack.h: Likewise.
31080         * manual/Makefile: Likewise.
31081         * manual/tsort.awk: Likewise.
31082         * misc/bits/stab.def: Likewise.
31083         * nis/nis_print_group_entry.c: Likewise.
31084         * nis/nis_table.c: Likewise.
31085         * nis/nss_compat/compat-pwd.c: Likewise.
31086         * nis/nss_compat/compat-spwd.c: Likewise.
31087         * po/Makefile: Likewise.
31088         * posix/fnmatch.c: Likewise.
31089         * posix/regex.h: Likewise.
31090         * resolv/Makefile: Likewise.
31091         * resolv/nss_dns/dns-network.c: Likewise.
31092         * resolv/res_hconf.c: Likewise.
31093         * scripts/gen-sorted.awk: Likewise.
31094         * soft-fp/soft-fp.h: Likewise.
31095         * stdio-common/printf.h: Likewise.
31096         * stdlib/monetary.h: Likewise.
31097         * stdlib/random.c: Likewise.
31098         * stdlib/random_r.c: Likewise.
31099         * sysdeps/generic/Makefile: Likewise.
31100         * sysdeps/gnu/Makefile: Likewise.
31101         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31102         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31103         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31104         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31105         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31106         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31107         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31108         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31109         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31110         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31111         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31112         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31113         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31114         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31115         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31116         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31117         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31118         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31119         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31120         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31121         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31122         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31123         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31124         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31125         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31126         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31127         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31128         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31129         * sysdeps/mach/hurd/errnos.awk: Likewise.
31130         * sysdeps/mach/hurd/fork.c: Likewise.
31131         * sysdeps/mach/hurd/getcwd.c: Likewise.
31132         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31133         * sysdeps/mach/hurd/mmap.c: Likewise.
31134         * sysdeps/mach/hurd/utimes.c: Likewise.
31135         * sysdeps/mach/hurd/xmknod.c: Likewise.
31136         * sysdeps/posix/profil.c: Likewise.
31137         * sysdeps/posix/readdir_r.c: Likewise.
31138         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31139         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31140         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31141         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31142         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31143         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31144         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31145         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31147         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31148         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31149         * sysdeps/pthread/lio_listio.c: Likewise.
31150         * sysdeps/sparc/dl-procinfo.h: Likewise.
31151         * sysdeps/unix/i386/sysdep.S: Likewise.
31152         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31153         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31154         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31155         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31157         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31158         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31159         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31160         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31161         * sysdeps/wordsize-32/divdi3.c: Likewise.
31162         * time/sys/time.h: Likewise.
31163         * wcsmbs/Makefile: Likewise.
31164
31165 2013-01-01  David S. Miller  <davem@davemloft.net>
31166
31167         * po/fr.po: Update from translation team.
31168
31169         * catgets/gencat.c: Update copyright year.
31170         * csu/version.c: Likewise.
31171         * debug/catchsegv.sh: Likewise.
31172         * debug/pcprofiledump.c: Likewise.
31173         * debug/xtrace.sh: Likewise.
31174         * elf/ldconfig.c: Likewise.
31175         * elf/ldd.bash.in: Likewise.
31176         * elf/pldd.c: Likewise.
31177         * elf/sotruss.ksh: Likewise.
31178         * elf/sprof.c: Likewise.
31179         * iconv/iconv_prog.c: Likewise.
31180         * iconv/iconvconfig.c: Likewise.
31181         * locale/programs/locale.c: Likewise.
31182         * locale/programs/localedef.c: Likewise.
31183         * login/programs/pt_chown.c: Likewise.
31184         * malloc/memusage.sh: Likewise.
31185         * malloc/memusagestat.c: Likewise.
31186         * malloc/mtrace.pl: Likewise.
31187         * nscd/nscd.c: Likewise.
31188         * nss/getent.c: Likewise.
31189         * nss/makedb.c: Likewise.
31190         * posix/getconf.c: Likewise.
31191
31192 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31193
31194         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31195         numbers.
31196
31197 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31198
31199         * math/bits/mathcalls.h (modf): Use __nonnull.
31200
31201 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31202
31203         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31204         (split): Use macro CN instead of the bare value.
31205         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31206         could be used.
31207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31208         instead of the bare value.
31209         (power1): Likewise.
31210
31211 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31212
31213         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31214         __ATAN_TWOM.
31215         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31216
31217         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31218         their values.
31219         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31220         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31221         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31222         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31223
31224 2012-12-28  Andreas Jaeger  <aj@suse.de>
31225
31226         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31227         values are from Linux 3.7.
31228
31229         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31230         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31231
31232 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31233
31234         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31235         TRUE case.
31236
31237         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31238         (norm): Likewise.
31239         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31240         variables with preprocessor constants.
31241         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31242         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31243         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31244
31245 2012-12-27  Bruno Haible  <bruno@clisp.org>
31246
31247         [BZ #14317]
31248         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31249         only if needed.
31250
31251 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31252
31253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31254         and use variable directly.
31255         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31256
31257         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31258         MPONE.
31259         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31260         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31261         variable MPONE.
31262         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31263         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31264         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31265         include directive.  Remove local variable MPONE.
31266         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31267         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31268         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31269
31270 2012-12-25  David S. Miller  <davem@davemloft.net>
31271
31272         * version.h (RELEASE): Set to "development".
31273         (VERSION): Set to "2.17.90".
31274         * NEWS: Add 2.18 section.
31275
31276 2012-12-21  David S. Miller  <davem@davemloft.net>
31277
31278         * po/hr.po: Update from translation team.
31279
31280 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31281
31282         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31283
31284 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31285
31286         * NEWS:  Mention new memcpy for MIPS.
31287
31288 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31289
31290         * manual/contrib.texi (Contributors): Spelling correction.
31291
31292 2012-12-15  David S. Miller  <davem@davemloft.net>
31293
31294         * po/ru.po: Update from translation team.
31295
31296 2012-12-13  David S. Miller  <davem@davemloft.net>
31297
31298         * NEWS: Mention IFUNC testsuite enhancements.
31299
31300         * po/pl.po: Update from translation team.
31301         * po/bg.po: Likewise.
31302
31303         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31304         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31305
31306 2012-12-11  David S. Miller  <davem@davemloft.net>
31307
31308         * po/sv.po: Update from translation team.
31309
31310         * po/vi.po: Update from translation team.
31311
31312         * po/cs.po: Update from translation team.
31313
31314         * po/de.po: Update from translation team.
31315         * po/eo.po: Likewise.
31316         * po/nl.po: Likewise.
31317
31318 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31319
31320         [BZ #14246]
31321         * manual/argp.texi (Argp Helper Functions): Move node to follow
31322         Argp Parsing State.
31323
31324         [BZ #14872]
31325         * manual/conf.texi (Limits on File System Capacity): Mention if
31326         terminating null is included in the max size.
31327
31328 2012-12-10  Andreas Jaeger  <aj@suse.de>
31329
31330         * po/cs.po: Update from translation team.
31331
31332 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31333
31334         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31335         void pointer and cast to uintptr_t.
31336         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31337         path.
31338         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31339         * sysdeps/s390/s390-64/memset.S: Likewise.
31340
31341 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31342
31343         [BZ #14833]
31344         * menual/message.texi (Message Translation): Fix typos.
31345         (Helper programs for gettext): Likewise.
31346
31347 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31348
31349         [BZ #14898]
31350         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31351         Change to -1.
31352
31353 2012-12-07  David S. Miller  <davem@davemloft.net>
31354
31355         * po/libc.pot: Update.
31356
31357 2012-12-07  Richard Henderson  <rth@redhat.com>
31358
31359         [BZ #10114]
31360         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31361         normal/normal case to before the switch.
31362         (_FP_DIV): Likewise.
31363
31364 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31365             Mike Frysinger  <vapier@gentoo.org>
31366
31367         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31368         check for __NR_fadvise64_64.
31369
31370 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31371
31372         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31373         0, not just to plain "0" as a statement.
31374         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31375         with cw.
31376
31377 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31378
31379         * NEWS: Use sourceware.org in Bugzilla URL.
31380
31381 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31382
31383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31384         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31385
31386         * stdio-common/tst-put-error.c (do_test): Add newline to the
31387         padded test to ensure flush.
31388
31389 2012-12-05  Jeff Law  <law@redhat.com>
31390
31391         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31392
31393 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31394
31395         * README: Don't refer to ports add-on as distributed separately.
31396         Mention AArch64 in list of systems supported in the ports add-on.
31397
31398         * LICENSES: Add more non-FSF copyright and license notices.
31399
31400         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31401         ((unused)).
31402
31403         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31404
31405         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31406         10000 as width of padded output.
31407
31408 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31409
31410         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31411
31412         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31413         variable LX with __attribute__ ((unused)).
31414         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31415         Likewise.
31416         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31417         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31418         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31419         with __attribute__ ((unused)).
31420
31421 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31422
31423         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31424
31425 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31426
31427         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31428         (CFLAGS-nldbl-acos.c): New variable.
31429         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31430         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31431         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31432         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31433         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31434         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31435         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31436         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31437         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31438         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31439         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31440         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31441         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31442         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31443         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31444         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31445         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31446         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31447         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31448         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31449         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31450         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31451         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31452         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31453         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31454         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31455         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31456         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31457         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31458         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31459         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31460         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31461         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31462         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31463         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31464         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31465         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31466         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31467         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31468         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31469         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31470         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31471         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31472         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31473         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31474         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31475         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31476         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31477         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31478         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31479         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31480         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31481         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31482         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31483         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31484         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31485         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31486         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31487         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31488         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31489         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31490         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31491         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31492         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31493         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31494         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31495         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31496         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31497         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31498         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31499         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31500         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31501         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31502         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31503         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31504         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31505         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31506         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31507         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31508         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31509         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31510         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31511         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31512         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31513         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31514         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31515         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31516         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31517         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31518         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31519         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31520         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31521         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31522         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31523         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31524         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31525         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31526
31527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31528         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31529
31530         [BZ #14914]
31531         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31532         whole low double instead of just low 47 bits when splitting values
31533         into two parts.
31534
31535 2012-12-03  Allan McRae  <allan@archlinux.org>
31536
31537         * manual/stdio.texi (Predefined Printf Handlers): Remove
31538         @hsep and @vsep usage.
31539
31540 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31541
31542         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31543         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31544
31545 2012-12-03  Jeff Law  <law@redhat.com>
31546
31547         * time/sys/time.h (settimeofday): Do not mark TV argument
31548         as __nonnull.
31549
31550 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31551
31552         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31553         when currently writing and seek to current position when not.
31554         * libio/Makefile (tests): Remove bug-fclose1.
31555         * libio/bug-fclose1.c: Delete.
31556
31557 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31558
31559         * manual/arith.texi (feenableexcept): Fix typo.
31560         (fedisableexcept): Likewise.
31561
31562 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31563
31564         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31565         second, differently-typed declaration, rather than a cast.
31566
31567 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31568
31569         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31570         * include/rpc/svc.h: ... here.
31571
31572 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31573
31574         [BZ #13013]
31575         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31576         depending n and resplen2 to catch cases where answer
31577         equals answerp2.
31578
31579 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31580
31581         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31582         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31583
31584 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31585
31586         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31587
31588 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31589
31590         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31591
31592 2012-11-28  Jeff Law  <law@redhat.com>
31593
31594         [BZ #13761]
31595         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31596         dataset_temporary.  Track alloca usage into alloca_used.
31597         If dataset is large allocate and release it via malloc/free.
31598
31599 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31600
31601         [BZ #14197]
31602         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31603
31604 2012-11-28  David S. Miller  <davem@davemloft.net>
31605
31606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31607
31608 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31609
31610         [BZ #14803]
31611         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31612         of pi/2 rounded to nearest to 64 bits.
31613         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31614         nearest to 64 bits.
31615         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31616         bits.
31617
31618 2012-11-28  Jeff Law <law@redhat.com>
31619             Martin Osvald <mosvald@redhat.com>
31620
31621         [BZ #14889]
31622         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31623         * sunrpc/svc.c: Include time.h.
31624         (__svc_accept_failed): New function.
31625         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31626         any reason other than EINTR, call __svc_accept_failed.
31627         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31628         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31629
31630 2012-11-28  Andreas Schwab  <schwab@suse.de>
31631
31632         * scripts/abilist.awk: Also handle indirect functions in .opd
31633         section.
31634
31635 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31636
31637         [BZ #13881]
31638         * sysdeps/x86/fpu/powl_helper.c: New file.
31639         * sysdeps/x86/fpu/Makefile: Likewise.
31640         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31641         (p3): New object.
31642         (__ieee754_powl): Use __powl_helper for finite arguments except
31643         integer exponents below 8.
31644         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31645         (p3): New object.
31646         (__ieee754_powl): Use __powl_helper for finite arguments except
31647         integer exponents below 8.
31648         * math/libm-test.inc (pow_test): Add more tests and enable some
31649         previously disabled tests.
31650         * sysdeps/i386/fpu/libm-test-ulps: Update.
31651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31652
31653 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31654             Carlos O'Donell  <carlos_odonell@mentor.com>
31655
31656         * nss/makedb.c (is_prime): Assert that input is odd and greater
31657         than 4.  Note that fact in a comment too.
31658         (next_prime): Add 4 to input.
31659
31660 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31661
31662         [BZ #11741]
31663         * libio/Makefile (tests): Add test case tst-fwrite-error.
31664         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31665         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31666         * libio/tst-fwrite-error.c: New test case.
31667
31668 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31669
31670         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31671         before casting to void *.
31672         * include/libc-internal.h (__pointer_type): New macro.
31673         (__integer_if_pointer_type_sub): Likewise.
31674         (__integer_if_pointer_type): Likewise.
31675         (cast_to_integer): Likewise.
31676         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31677         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31678         before casting to atomic64_t.
31679         (atomic_exchange_acq): Likewise.
31680         (__arch_exchange_and_add_body): Likewise.
31681         (__arch_add_body): Likewise.
31682         (atomic_add_negative): Likewise.
31683         (atomic_add_zero): Likewise.
31684
31685 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31686
31687         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31688         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31689         (add_fdes): Likewise.
31690         (linear_search_fdes): Likewise.
31691         (binary_search_unencoded_fdes): Likewise.
31692
31693 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31694
31695         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31696
31697 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31698
31699         * configure.in: Autodetect C++ header directories.
31700         * configure: Regenerated.
31701
31702 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31703
31704         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31705
31706 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31707
31708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31709
31710 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31711
31712         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31713         LDBL_MANT_DIG == 106]: Disable some tests.
31714         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31715         Likewise.
31716         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31717         Likewise.
31718
31719         [BZ #14871]
31720         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31721         input for small inputs.  Return +/- pi/2 for large inputs.
31722         * math/libm-test.inc (atan_test): Add more tests.
31723
31724         * sysdeps/generic/unwind-dw2-fde-glibc.c
31725         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31726         __attribute__ ((unused)).
31727
31728         [BZ #14645]
31729         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31730         x * y if x and y are nonzero and z is zero.
31731
31732         [BZ #14811]
31733         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31734         nonzero exponents with absolute value below 0x1p-117 to +/-
31735         0x1p-117.
31736
31737         [BZ #14869]
31738         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31739         up arguments below 2**-450, not just those below 2**-500.
31740         * math/libm-test.inc (hypot_test): Add another test.
31741
31742         [BZ #14868]
31743         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31744         Return a+b for ratio over 2**120, not 2**60.
31745         * math/libm-test.inc (hypot_test): Add another test.
31746
31747         * math/libm-test.inc (clog_test): Use
31748         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31749         (clog10_test): Likewise.
31750
31751         [BZ #6778]
31752         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31753
31754 2012-11-22  Andreas Schwab  <schwab@suse.de>
31755
31756         * sysdeps/i386/fpu/libm-test-ulps: Update.
31757
31758 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31759
31760         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31761         printf output with newline.
31762
31763 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31764
31765         [BZ #14865]
31766         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31767         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31768         -z nodlopen, -z initfirst and -z execstack support.
31769         * configure: Regenerated.
31770
31771         * elf/elf.h (DF_1_NODIRECT): New macro.
31772         (DF_1_IGNMULDEF): Likewise.
31773         (DF_1_NOKSYMS): Likewise.
31774         (DF_1_NOHDR): Likewise.
31775         (DF_1_EDITED): Likewise.
31776         (DF_1_NORELOC): Likewise.
31777         (DF_1_SYMINTPOSE): Likewise.
31778         (DF_1_GLOBAUDIT): Likewise.
31779         (DF_1_SINGLETON): Likewise.
31780         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31781         DT_1_SUPPORTED_MASK bits.
31782         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31783
31784 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31785
31786         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31787
31788 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31789
31790         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31791         macro.
31792
31793         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31794         (sendmmsg): Move declarations...
31795         * socket/sys/socket.h: ... here.
31796         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31797         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31798         include it from...
31799         * socket/recvmmsg.c: ... this new file.
31800         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31801         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31802         definition of __sendmmsg hidden.
31803         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31804         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31805         Move ENOSYS stub into and include it from...
31806         * socket/sendmmsg.c: ... this new file.
31807         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31808         (sysdep_routines): Move recvmmsg and sendmmsg...
31809         * socket/Makefile (routines): ... here.
31810         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31811         (GLIBC_PRIVATE): Add __sendmmsg.
31812         * include/sys/socket.h (__sendmmsg): Add declarations.
31813         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31814         sendmmsg.
31815
31816 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31817
31818         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31819         variable I1 with __attribute__ ((unused)).
31820         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31821
31822 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31823
31824         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31825         DUMMY variables with __attribute__ ((unused)).
31826
31827         * bits/byteswap.h: Include <bits/types.h>.
31828         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31829
31830 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31831
31832         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31833         string_t.  Do not manually set errno.
31834         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31835         length with __strnlen.  Make sure to both set errno and return it on
31836         failure.
31837
31838 2012-11-19  David S. Miller  <davem@davemloft.net>
31839
31840         With help from Joseph Myers.
31841         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31842         very large arguments properly.
31843         * math/libm-test.inc (atan_test): New tests.
31844         (atan2_test): New tests.
31845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31847
31848 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31849
31850         [BZ #14856]
31851         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31852         Define to 3.
31853
31854         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31855         [POSIX] (EADDRNOTAVAIL): Likewise.
31856         [POSIX] (EAFNOSUPPORT): Likewise.
31857         [POSIX] (EALREADY): Likewise.
31858         [POSIX] (ECONNABORTED): Likewise.
31859         [POSIX] (ECONNREFUSED): Likewise.
31860         [POSIX] (ECONNRESET): Likewise.
31861         [POSIX] (EDESTADDRREQ): Likewise.
31862         [POSIX] (EDQUOT): Likewise.
31863         [POSIX] (EHOSTUNREACH): Likewise.
31864         [POSIX] (EIDRM): Likewise.
31865         [POSIX] (EISCONN): Likewise.
31866         [POSIX] (ELOOP): Likewise.
31867         [POSIX] (EMULTIHOP): Likewise.
31868         [POSIX] (ENETDOWN): Likewise.
31869         [POSIX] (ENETUNREACH): Likewise.
31870         [POSIX] (ENOBUFS): Likewise.
31871         [POSIX] (ENODATA): Likewise.
31872         [POSIX] (ENOLINK): Likewise.
31873         [POSIX] (ENOMSG): Likewise.
31874         [POSIX] (ENOPROTOOPT): Likewise.
31875         [POSIX] (ENOSR): Likewise.
31876         [POSIX] (ENOSTR): Likewise.
31877         [POSIX] (ENOTCONN): Likewise.
31878         [POSIX] (ENOTSOCK): Likewise.
31879         [POSIX] (EOPNOTSUPP): Likewise.
31880         [POSIX] (EOVERFLOW): Likewise.
31881         [POSIX] (EPROTO): Likewise.
31882         [POSIX] (EPROTONOSUPPORT): Likewise.
31883         [POSIX] (EPROTOTYPE): Likewise.
31884         [POSIX] (ESTALE): Likewise.
31885         [POSIX] (ETIME): Likewise.
31886         [POSIX] (ETXTBSY): Likewise.
31887         [POSIX] (EWOULDBLOCK): Likewise.
31888         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31889         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31890         [POSIX] (SEEK_CUR): Likewise.
31891         [POSIX] (SEEK_END): Likewise.
31892         [POSIX || UNIX98] (mode_t): Do not require.
31893         [POSIX] (off_t): Likewise.
31894         [POSIX] (pid_t): Likewise.
31895         [POSIX] (sys/stat.h): Do not allow header.
31896         [POSIX] (unistd.h): Likewise.
31897         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31898         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31899         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31900         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31901         require.
31902         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31903         sigevent): Specify elements.
31904         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31905         entry.
31906         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31907         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31908
31909         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31910         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31911         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31912         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31913         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31914         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31915         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31916         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31917         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31918         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31919         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31920         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31921         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31922         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31923         Likewise.
31924         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31925         Likewise.
31926         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31927         Likewise.
31928         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31929         Likewise.
31930         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31931         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31932         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31933         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31934         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31935         Specify lower bound on value.
31936         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31937         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31938         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31939         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31940         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31941         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31942         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31943         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31944         value.
31945         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31946         as optional.
31947         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31948         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31949         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31950         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31951         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31952         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31953         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31954         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31955         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31956         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31957         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31958         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31959         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31960         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31961         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31962         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31963         entry.
31964         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31965         optional.
31966         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31967         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31968         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31969         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31970         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31971         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31972         Likewise.
31973         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31974         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31975         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31976         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31977         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31978         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31979         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31980         as optional.
31981         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31982         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31983         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31984         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31985         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31986         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31987         specify as optional.
31988         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31989         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31990         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31991         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31992         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31993         [XPG3] (NL_LANGMAX): Likewise.
31994         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31995         [POSIX || XPG3] (NL_NMAX): Likewise.
31996         [POSIX || XPG3] (NL_SETMAX): Likewise.
31997         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31998         [XPG3] (NZERO): Likewise.
31999         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32000         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32001         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32002         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32003         (REG_ERANGE): Expect.
32004         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32005         optional-constant.
32006         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32007         Use (void) in prototype.
32008         [POSIX] (*_t): Allow.
32009         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32010         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32011         (WRDE_BADVAL): Expect.
32012
32013         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32014         expect.
32015         [XPG3 || XPG4] (O_RSYNC): Likewise.
32016         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32017         Likewise.
32018         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32019         [XPG3 || XPG4] (sigqueue): Likewise.
32020         [XPG3 || XPG4] (sigtimedwait): Likewise.
32021         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32022         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32023         [XPG3 || XPG4] (vsnprintf): Likewise.
32024         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32025         Likewise.
32026         [XPG3 || XPG4] (blksize_t): Likewise.
32027         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32028         Likewise.
32029         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32030         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32031         [XPG3 || XPG4] (struct itimerspec): Likewise.
32032         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32033         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32034         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32035         [XPG3 || XPG4] (clockid_t): Likewise.
32036         [XPG3 || XPG4] (timer_t): Likewise.
32037         [XPG3 || XPG4] (clock_getres): Likewise.
32038         [XPG3 || XPG4] (clock_gettime): Likewise.
32039         [XPG3 || XPG4] (clock_settime): Likewise.
32040         [XPG3 || XPG4] (nanosleep): Likewise.
32041         [XPG3 || XPG4] (timer_create): Likewise.
32042         [XPG3 || XPG4] (timer_delete): Likewise.
32043         [XPG3 || XPG4] (timer_gettime): Likewise.
32044         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32045         [XPG3 || XPG4] (timer_settime): Likewise.
32046         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32047         [XPG3 || XPG4] (getlogin_r): Likewise.
32048         [XPG3 || XPG4] (pread): Likewise.
32049         [XPG3 || XPG4] (pthread_atfork): Likewise.
32050         [XPG3 || XPG4] (pwrite): Likewise.
32051
32052         [BZ #14835]
32053         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32054         <bits/siginfo.h>.
32055
32056 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32057
32058         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32059         finalizing MALLSTREAM.
32060
32061         * sysdeps/mach/hurd/syncfs.c: New file.
32062
32063 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32064
32065         [BZ #14719]
32066         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32067         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32068         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32069         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32070         (_nss_dns_gethostbyname4_r): Likewise.
32071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32072         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32073
32074 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32075
32076         [BZ #13763]
32077         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32078
32079 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32080
32081         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32082         * elf/cache.c (print_entry): Print ",AArch64" for
32083         FLAG_AARCH64_LIB64
32084
32085         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32086         * elf/cache.c (print_entry): Print ",hard-float" for
32087         FLAG_ARM_LIBHF.
32088
32089 2012-11-18  David S. Miller  <davem@davemloft.net>
32090
32091         With help from Joseph Myers.
32092         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32093         cutoff to 2**-13.
32094         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32095         cutoff to 2**-25.
32096         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32097         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32098         small.
32099         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32100         * math/libm-test.inc (y0_test): New tests.
32101         (y1_test): New tests.
32102         * sysdeps/i386/fpu/libm-test-ulps: Update.
32103         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32105
32106 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32107
32108         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32109         64-bit targets.
32110         * configure: Regenerated.
32111
32112 2012-11-17  David S. Miller  <davem@davemloft.net>
32113
32114         [BZ #14811]
32115         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32116         nonzero exponents with absolute value below 0x1p-128 to +/-
32117         0x1p-128.
32118
32119 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32120
32121         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32122
32123         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32124
32125         * posix/getconf-speclist.c: New file.
32126         * posix/posix-envs.def: Likewise.
32127         * posix/confstr.c (START_ENV_GROUP): New macro.
32128         (END_ENV_GROUP): Likewise.
32129         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32130         (KNOWN_PRESENT_ENV_STRING): Likewise.
32131         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32132         (UNKNOWN_ENVIRONMENT): Likewise.
32133         (confstr): Include posix-envs.def instead of handling
32134         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32135         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32136         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32137         (END_ENV_GROUP): Likewise.
32138         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32139         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32140         (UNKNOWN_ENVIRONMENT): Likewise.
32141         (__sysconf): Include posix-envs.def instead of handling associated
32142         cases directly here.
32143         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32144         preprocessing getconf-speclist.c rather than running getconf or
32145         generating empty file.
32146
32147 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32148
32149         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32150
32151 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32152
32153         [BZ #14672]
32154         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32155
32156 2012-11-16  David S. Miller  <davem@davemloft.net>
32157
32158         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32159         smaller than LDBL_EPSILON/2.0L, just return xm1.
32160
32161 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32162
32163         * elf/tst-array1.c (init): Set constructor priority to 1000.
32164         (fini): Set destructor priority to 1000.
32165         * elf/tst-array2dep.c: Likewise.
32166
32167 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32168
32169         [BZ #11741]
32170         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32171         (_IO_new_file_xsputn): Also return EOF if none of the input
32172         data was written when overflow failed.
32173         * libio/iopadn.c (_IO_padn): Likewise.
32174         * libio/iowpadn.c (_IO_wpadn): Likewise.
32175         * stdio-common/tst-put-error.c: Add copyright notice.
32176         (do_test): Add case for printing padded string.
32177         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32178         _IO_padn returned error.
32179         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32180         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32181         return EOF.
32182
32183 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32184
32185         * libio/libioP.h: Add comment note that the references to C++
32186         bits are now obsolete.
32187
32188 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32189
32190         * math/libm-test.inc (check_complex): Use asprintf.
32191
32192 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32193
32194         * debug/pcprofiledump.c (print_version): Update copyright year.
32195         * malloc/memusagestat.c (print_version): Likewise.
32196
32197 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32198
32199         [BZ #14831]
32200         * elf/Makefile (tests): Add tst-audit8.
32201         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32202         ($(objpfx)tst-audit8.out): New target.
32203         (tst-audit8-ENV): New variable.
32204         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32205         audit if l_reloc_result is NULL.
32206         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32207         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32208         * elf/tst-audit8.c: New file.
32209
32210 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32211
32212         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32213         * misc/Makefile (CFLAGS-select.c): Define.
32214         * posix/Makefile (CFLAGS-pause.c): Define.
32215
32216 2012-11-13  David S. Miller  <davem@davemloft.net>
32217
32218         * crypt/Makefile: Move test targets after toplevel Rules
32219         inclusion.  Grab any necessary sysdep routines when linking.
32220         * crypt/md5.c (md5_process_block): Remove define, we will always
32221         name it __md5_process_block.
32222         (md5_finish_ctx): Update md5_process_block call.
32223         (md5_stream): Likewise.
32224         (md5_process_bytes): Likewise.
32225         (md5_process_block): Rename to __md5_process_block and move to ...
32226         * crypt/md5-block.c: ... here.
32227         * crypt/sha256.c (sha256_process_block): Move to ...
32228         * crypt/sha256-block.c: ... here.
32229         * crypt/sha512.c (sha512_process_block): Move to ...
32230         * crypt/sha512-block.c: ... here.
32231         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32232         path.
32233         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32234         * sysdeps/sparc/sparc64/multiarch/Makefile
32235         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32236         crypt subdir.
32237         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32238         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32239         multiarch changes.
32240         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32241         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32242         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32243         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32244         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32245         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32246         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32247         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32248         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32249         file.
32250         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32251         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32252         file.
32253         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32254
32255 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32256
32257         * timezone/tzselect.ksh: Update from tzcode git revision
32258         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32259         * timezone/zdump.c: Likewise.
32260         * timezone/zic.c: Likewise.
32261         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32262         in TZVERSION setting, not $(PKGVERSION).
32263         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32264         REPORT_BUGS_TO settings.
32265
32266         [BZ #14838]
32267         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32268         macro.
32269
32270 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32271
32272         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32273         detection to immediately after _FP_ROUND().
32274         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32275         bits are 0.
32276
32277 2012-11-11  David S. Miller  <davem@davemloft.net>
32278
32279         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32280         inttypes.h
32281         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32282         __close rather than their public counterparts.
32283
32284 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32285
32286         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32287         file.
32288         [UNIX98] (sem_timedwait): Do not expect.
32289         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32290         [XPG4 || UNIX98] (sockatmark): Do not expect.
32291         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32292         (clock_getcpuclockid): Do not expect.
32293         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32294         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32295         Do not expect.
32296         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32297         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32298         [UNIX98] (vwscanf): Likewise.
32299         [UNIX98] (vswscanf): Likewise.
32300
32301 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32302
32303         * timezone/version.h: Remove file.
32304         * timezone/README: Do not refer to version.h.
32305         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32306         $(objpfx)version.h.
32307         ($(objpfx)zdump.o): Likewise.
32308         ($(objpfx)version.h): New target.
32309
32310         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32311         2012i.
32312         * timezone/README: Don't mention modification to tzselect.ksh.
32313         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32314         work on unmodified tzselect.ksh.  Substitute version numbers in
32315         tzselect.ksh.
32316
32317         * Makefile (format-me): Remove.
32318         (INSTALL): Adjust indentation.  Use commands directly instead of
32319         using $(format-me).
32320
32321         * aclocal.m4 (ACX_PKGVERSION): New macro.
32322         (ACX_BUGURL): Likewise.
32323         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32324         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32325         (REPORT_BUGS_TO): Likewise.
32326         * configure: Regenerated.
32327         * config.h.in (PKGVERSION): New macro.
32328         (REPORT_BUGS_TO): Likewise.
32329         * config.make.in (PKGVERSION): New variable.
32330         (PKGVERSION_TEXI): Likewise.
32331         (REPORT_BUGS_TO): Likewise.
32332         (REPORT_BUGS_TEXI): Likewise.
32333         * Makefile (format-me): Use -I$(common-objpfx)manual.
32334         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32335         ($(common-objpfx)manual/%): New target.
32336         (manual/%): Remove target.
32337         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32338         (print_version): Use PKGVERSION.
32339         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32340         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32341         and REPORT_BUGS_TO.
32342         ($(objpfx)xtrace): Likewise.
32343         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32344         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32345         (print_version): Use PKGVERSION.
32346         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32347         (do_version): Use PKGVERSION.
32348         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32349         REPORT_BUGS_TO.
32350         (common-ldd-rewrite): Likewise.
32351         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32352         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32353         (print_version): Use PKGVERSION.
32354         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32355         * elf/pldd.c (argp_program_bug_address): Remove variable.
32356         (more_help): New function.
32357         (argp): Use more_help.
32358         (print_version): Use PKGVERSION.
32359         * elf/sln.c (main): Use PKGVERSION.
32360         (usage): Use REPORT_BUGS_TO.
32361         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32362         (top level): Use PKGVERSION.
32363         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32364         (print_version): Use PKGVERSION.
32365         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32366         (print_version): Use PKGVERSION.
32367         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32368         (print_version): Use PKGVERSION.
32369         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32370         (print_version): Use PKGVERSION.
32371         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32372         (print_version): Use PKGVERSION.
32373         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32374         (print_version): Use PKGVERSION.
32375         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32376         and BUGURL.
32377         ($(objpfx)memusage): Likewise.
32378         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32379         (do_version): Use PKGVERSION.
32380         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32381         (print_version): Use PKGVERSION.
32382         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32383         ($PKGVERSION): New variable.
32384         ($REPORT_BUGS_TO): Likewise.
32385         (usage): Use $REPORT_BUGS_TO.
32386         (top level): Use $PKGVERSION.
32387         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32388         ($(objpfx)pkgvers.texi): New rule.
32389         ($(objpfx)stamp-pkgvers): Likewise.
32390         * manual/install.texi: Include pkgvers.texi.
32391         (--with-pkgversion): Document new configure option.
32392         (--with-bugurl): Likewise.
32393         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32394         than necessarily for this particular distribution.  Use
32395         REPORT_BUGS_TO for where to report bugs.
32396         * INSTALL: Regenerated.
32397         * manual/libc.texinfo: Include pkgvers.texi.
32398         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32399         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32400         (print_version): Use PKGVERSION.
32401         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32402         (print_version): Use PKGVERSION.
32403         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32404         (print_version): Use PKGVERSION.
32405         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32406         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32407         macro.
32408         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32409         (print_version): Use PKGVERSION.
32410         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32411         (print_version): Use PKGVERSION.
32412         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32413         and PKGVERSION.
32414
32415         * timezone/checktab.awk: Update from tzcode 2012i.
32416         * timezone/ialloc.c: Likewise.
32417         * timezone/private.h: Likewise.
32418         * timezone/scheck.c: Likewise.
32419         * timezone/tzfile.h: Likewise.
32420         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32421         (TZVERSION): Hardcode tzcode version number.
32422         * timezone/zdump.c: Update from tzcode 2012i.
32423         * timezone/zic.c: Likewise.
32424         * timezone/version.h: New file.
32425         * timezone/README: Describe version.h.  Update upstream location.
32426
32427         [BZ #14824]
32428         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32429         (mktemp): Enable declaration.
32430         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32431         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32432         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32433         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32434         Likewise.
32435         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32436         Likewise.
32437         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32438         Likewise.
32439         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32440         Likewise.
32441         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32442         Likewise.
32443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32444         Likewise.
32445
32446         [BZ #14821]
32447         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32448         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32449         for copies of such integer values.
32450         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32451         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32452
32453 2012-11-09  Andreas Jaeger  <aj@suse.de>
32454
32455         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32456         definitions and declarations that are provided by
32457         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32458
32459 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32460
32461         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32462         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32463         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32464         definition.
32465
32466 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32467
32468         * elf/elf.h: Update comment before AArch64 relocations.
32469
32470 2012-11-07  David S. Miller  <davem@davemloft.net>
32471
32472         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32473         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32474         (__start_context): Declare.
32475         (__makecontext_ret): Delete.
32476         (__makecontext): Hook up __start_context instead of
32477         __makecontext_ret.
32478         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32479         (sysdep_routines): Add __start_context when in stdlib.
32480
32481 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32482
32483         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32484         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32485         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32486         hardcoded "nm".
32487         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32488         (READELF): New variable.  Use it instead of hardcoded "readelf".
32489
32490 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32491
32492         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32493         * sysdeps/x86/Makefile: Here.
32494         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32495         * sysdeps/x86/tst-xmmymm.sh: This.
32496
32497 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32498
32499         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32500         expectations.
32501         [UNIX98] (pthread_barrier_t): Do not expect.
32502         [UNIX98] (pthread_barrierattr_t): Likewise.
32503         [UNIX98] (pthread_spinlock_t): Likewise.
32504         [UNIX98] (pthread_barrier_destroy): Likewise.
32505         [UNIX98] (pthread_barrier_init): Likewise.
32506         [UNIX98] (pthread_barrier_wait): Likewise.
32507         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32508         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32509         [UNIX98] (pthread_barrierattr_init): Likewise.
32510         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32511         [UNIX98] (pthread_getcpuclockid): Likewise.
32512         [UNIX98] (pthread_mutex_timedlock): Likewise.
32513         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32514         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32515         [UNIX98] (pthread_sigmask): Likewise.
32516         [UNIX98] (pthread_spin_destroy): Likewise.
32517         [UNIX98] (pthread_spin_init): Likewise.
32518         [UNIX98] (pthread_spin_lock): Likewise.
32519         [UNIX98] (pthread_spin_trylock): Likewise.
32520         [UNIX98] (pthread_spin_unlock): Likewise.
32521         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32522         Do not expect.
32523         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32524         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32525         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32526         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32527         [XPG3 || XPG4] (pthread_key_t): Likewise.
32528         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32529         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32530         [XPG3 || XPG4] (pthread_once_t): Likewise.
32531         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32532         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32533         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32534         [XPG3 || XPG4] (pthread_t): Likewise.
32535
32536         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32537         not expect.
32538         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32539
32540         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32541         Change function return type to int.
32542
32543         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32544         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32545         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32546         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32547         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32548         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32549         [!POSIX] (posix_madvise): Likewise.
32550         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32551         && !UNIX98].
32552         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32553         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32554         (mode_t): Likewise.
32555         (posix_mem_offset): Likewise.
32556         (posix_typed_mem_get_info): Likewise.
32557         (posix_typed_mem_open): Likewise.
32558
32559         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32560         Change condition to [XOPEN2K8].
32561
32562         * conform/conformtest.pl: Preprocess allow-header data with -x c
32563         instead of from stdin.
32564         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32565         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32566         [C99-based standards] (cerfc): Likewise.
32567         [C99-based standards] (cexp2): Likewise.
32568         [C99-based standards] (cexpm1): Likewise.
32569         [C99-based standards] (clog10): Likewise.
32570         [C99-based standards] (clog1p): Likewise.
32571         [C99-based standards] (clog2): Likewise.
32572         [C99-based standards] (clgamma): Likewise.
32573         [C99-based standards] (ctgamma): Likewise.
32574         [C99-based standards] (cerff): Likewise.
32575         [C99-based standards] (cerfcf): Likewise.
32576         [C99-based standards] (cexp2f): Likewise.
32577         [C99-based standards] (cexpm1f): Likewise.
32578         [C99-based standards] (clog10f): Likewise.
32579         [C99-based standards] (clog1pf): Likewise.
32580         [C99-based standards] (clog2f): Likewise.
32581         [C99-based standards] (clgammaf): Likewise.
32582         [C99-based standards] (ctgammaf): Likewise.
32583         [C99-based standards] (cerfl): Likewise.
32584         [C99-based standards] (cerfcl): Likewise.
32585         [C99-based standards] (cexp2l): Likewise.
32586         [C99-based standards] (cexpm1l): Likewise.
32587         [C99-based standards] (clog10l): Likewise.
32588         [C99-based standards] (clog1pl): Likewise.
32589         [C99-based standards] (clog2l): Likewise.
32590         [C99-based standards] (clgammal): Likewise.
32591         [C99-based standards] (ctgammal): Likewise.
32592         * conform/data/inttypes.h-data [C99-based standards]: Include
32593         stdint.h-data.  Remove all expectations for stdint.h contents.
32594         [C99-based standards] (PRI*): Do not allow.
32595         [C99-based standards] (SCN*): Likewise.
32596         [C99-based standards] (*_t): Likewise.
32597         [C99-based-standards] (PRId8): Expect macro.
32598         [C99-based-standards] (PRIi8): Likewise.
32599         [C99-based-standards] (PRIo8): Likewise.
32600         [C99-based-standards] (PRIu8): Likewise.
32601         [C99-based-standards] (PRIx8): Likewise.
32602         [C99-based-standards] (PRIX8): Likewise.
32603         [C99-based-standards] (SCNd8): Likewise.
32604         [C99-based-standards] (SCNi8): Likewise.
32605         [C99-based-standards] (SCNo8): Likewise.
32606         [C99-based-standards] (SCNu8): Likewise.
32607         [C99-based-standards] (SCNx8): Likewise.
32608         [C99-based-standards] (PRIdLEAST8): Likewise.
32609         [C99-based-standards] (PRIiLEAST8): Likewise.
32610         [C99-based-standards] (PRIoLEAST8): Likewise.
32611         [C99-based-standards] (PRIuLEAST8): Likewise.
32612         [C99-based-standards] (PRIxLEAST8): Likewise.
32613         [C99-based-standards] (PRIXLEAST8): Likewise.
32614         [C99-based-standards] (SCNdLEAST8): Likewise.
32615         [C99-based-standards] (SCNiLEAST8): Likewise.
32616         [C99-based-standards] (SCNoLEAST8): Likewise.
32617         [C99-based-standards] (SCNuLEAST8): Likewise.
32618         [C99-based-standards] (SCNxLEAST8): Likewise.
32619         [C99-based-standards] (PRIdFAST8): Likewise.
32620         [C99-based-standards] (PRIiFAST8): Likewise.
32621         [C99-based-standards] (PRIoFAST8): Likewise.
32622         [C99-based-standards] (PRIuFAST8): Likewise.
32623         [C99-based-standards] (PRIxFAST8): Likewise.
32624         [C99-based-standards] (PRIXFAST8): Likewise.
32625         [C99-based-standards] (SCNdFAST8): Likewise.
32626         [C99-based-standards] (SCNiFAST8): Likewise.
32627         [C99-based-standards] (SCNoFAST8): Likewise.
32628         [C99-based-standards] (SCNuFAST8): Likewise.
32629         [C99-based-standards] (SCNxFAST8): Likewise.
32630         [C99-based-standards] (PRId16): Likewise.
32631         [C99-based-standards] (PRIi16): Likewise.
32632         [C99-based-standards] (PRIo16): Likewise.
32633         [C99-based-standards] (PRIu16): Likewise.
32634         [C99-based-standards] (PRIx16): Likewise.
32635         [C99-based-standards] (PRIX16): Likewise.
32636         [C99-based-standards] (SCNd16): Likewise.
32637         [C99-based-standards] (SCNi16): Likewise.
32638         [C99-based-standards] (SCNo16): Likewise.
32639         [C99-based-standards] (SCNu16): Likewise.
32640         [C99-based-standards] (SCNx16): Likewise.
32641         [C99-based-standards] (PRIdLEAST16): Likewise.
32642         [C99-based-standards] (PRIiLEAST16): Likewise.
32643         [C99-based-standards] (PRIoLEAST16): Likewise.
32644         [C99-based-standards] (PRIuLEAST16): Likewise.
32645         [C99-based-standards] (PRIxLEAST16): Likewise.
32646         [C99-based-standards] (PRIXLEAST16): Likewise.
32647         [C99-based-standards] (SCNdLEAST16): Likewise.
32648         [C99-based-standards] (SCNiLEAST16): Likewise.
32649         [C99-based-standards] (SCNoLEAST16): Likewise.
32650         [C99-based-standards] (SCNuLEAST16): Likewise.
32651         [C99-based-standards] (SCNxLEAST16): Likewise.
32652         [C99-based-standards] (PRIdFAST16): Likewise.
32653         [C99-based-standards] (PRIiFAST16): Likewise.
32654         [C99-based-standards] (PRIoFAST16): Likewise.
32655         [C99-based-standards] (PRIuFAST16): Likewise.
32656         [C99-based-standards] (PRIxFAST16): Likewise.
32657         [C99-based-standards] (PRIXFAST16): Likewise.
32658         [C99-based-standards] (SCNdFAST16): Likewise.
32659         [C99-based-standards] (SCNiFAST16): Likewise.
32660         [C99-based-standards] (SCNoFAST16): Likewise.
32661         [C99-based-standards] (SCNuFAST16): Likewise.
32662         [C99-based-standards] (SCNxFAST16): Likewise.
32663         [C99-based-standards] (PRId32): Likewise.
32664         [C99-based-standards] (PRIi32): Likewise.
32665         [C99-based-standards] (PRIo32): Likewise.
32666         [C99-based-standards] (PRIu32): Likewise.
32667         [C99-based-standards] (PRIx32): Likewise.
32668         [C99-based-standards] (PRIX32): Likewise.
32669         [C99-based-standards] (SCNd32): Likewise.
32670         [C99-based-standards] (SCNi32): Likewise.
32671         [C99-based-standards] (SCNo32): Likewise.
32672         [C99-based-standards] (SCNu32): Likewise.
32673         [C99-based-standards] (SCNx32): Likewise.
32674         [C99-based-standards] (PRIdLEAST32): Likewise.
32675         [C99-based-standards] (PRIiLEAST32): Likewise.
32676         [C99-based-standards] (PRIoLEAST32): Likewise.
32677         [C99-based-standards] (PRIuLEAST32): Likewise.
32678         [C99-based-standards] (PRIxLEAST32): Likewise.
32679         [C99-based-standards] (PRIXLEAST32): Likewise.
32680         [C99-based-standards] (SCNdLEAST32): Likewise.
32681         [C99-based-standards] (SCNiLEAST32): Likewise.
32682         [C99-based-standards] (SCNoLEAST32): Likewise.
32683         [C99-based-standards] (SCNuLEAST32): Likewise.
32684         [C99-based-standards] (SCNxLEAST32): Likewise.
32685         [C99-based-standards] (PRIdFAST32): Likewise.
32686         [C99-based-standards] (PRIiFAST32): Likewise.
32687         [C99-based-standards] (PRIoFAST32): Likewise.
32688         [C99-based-standards] (PRIuFAST32): Likewise.
32689         [C99-based-standards] (PRIxFAST32): Likewise.
32690         [C99-based-standards] (PRIXFAST32): Likewise.
32691         [C99-based-standards] (SCNdFAST32): Likewise.
32692         [C99-based-standards] (SCNiFAST32): Likewise.
32693         [C99-based-standards] (SCNoFAST32): Likewise.
32694         [C99-based-standards] (SCNuFAST32): Likewise.
32695         [C99-based-standards] (SCNxFAST32): Likewise.
32696         [C99-based-standards] (PRId64): Likewise.
32697         [C99-based-standards] (PRIi64): Likewise.
32698         [C99-based-standards] (PRIo64): Likewise.
32699         [C99-based-standards] (PRIu64): Likewise.
32700         [C99-based-standards] (PRIx64): Likewise.
32701         [C99-based-standards] (PRIX64): Likewise.
32702         [C99-based-standards] (SCNd64): Likewise.
32703         [C99-based-standards] (SCNi64): Likewise.
32704         [C99-based-standards] (SCNo64): Likewise.
32705         [C99-based-standards] (SCNu64): Likewise.
32706         [C99-based-standards] (SCNx64): Likewise.
32707         [C99-based-standards] (PRIdLEAST64): Likewise.
32708         [C99-based-standards] (PRIiLEAST64): Likewise.
32709         [C99-based-standards] (PRIoLEAST64): Likewise.
32710         [C99-based-standards] (PRIuLEAST64): Likewise.
32711         [C99-based-standards] (PRIxLEAST64): Likewise.
32712         [C99-based-standards] (PRIXLEAST64): Likewise.
32713         [C99-based-standards] (SCNdLEAST64): Likewise.
32714         [C99-based-standards] (SCNiLEAST64): Likewise.
32715         [C99-based-standards] (SCNoLEAST64): Likewise.
32716         [C99-based-standards] (SCNuLEAST64): Likewise.
32717         [C99-based-standards] (SCNxLEAST64): Likewise.
32718         [C99-based-standards] (PRIdFAST64): Likewise.
32719         [C99-based-standards] (PRIiFAST64): Likewise.
32720         [C99-based-standards] (PRIoFAST64): Likewise.
32721         [C99-based-standards] (PRIuFAST64): Likewise.
32722         [C99-based-standards] (PRIxFAST64): Likewise.
32723         [C99-based-standards] (PRIXFAST64): Likewise.
32724         [C99-based-standards] (SCNdFAST64): Likewise.
32725         [C99-based-standards] (SCNiFAST64): Likewise.
32726         [C99-based-standards] (SCNoFAST64): Likewise.
32727         [C99-based-standards] (SCNuFAST64): Likewise.
32728         [C99-based-standards] (SCNxFAST64): Likewise.
32729         [C99-based-standards] (PRIdMAX): Likewise.
32730         [C99-based-standards] (PRIiMAX): Likewise.
32731         [C99-based-standards] (PRIoMAX): Likewise.
32732         [C99-based-standards] (PRIuMAX): Likewise.
32733         [C99-based-standards] (PRIxMAX): Likewise.
32734         [C99-based-standards] (PRIXMAX): Likewise.
32735         [C99-based-standards] (SCNdMAX): Likewise.
32736         [C99-based-standards] (SCNiMAX): Likewise.
32737         [C99-based-standards] (SCNoMAX): Likewise.
32738         [C99-based-standards] (SCNuMAX): Likewise.
32739         [C99-based-standards] (SCNxMAX): Likewise.
32740         [C99-based-standards] (PRIdPTR): Likewise.
32741         [C99-based-standards] (PRIiPTR): Likewise.
32742         [C99-based-standards] (PRIoPTR): Likewise.
32743         [C99-based-standards] (PRIuPTR): Likewise.
32744         [C99-based-standards] (PRIxPTR): Likewise.
32745         [C99-based-standards] (PRIXPTR): Likewise.
32746         [C99-based-standards] (SCNdPTR): Likewise.
32747         [C99-based-standards] (SCNiPTR): Likewise.
32748         [C99-based-standards] (SCNoPTR): Likewise.
32749         [C99-based-standards] (SCNuPTR): Likewise.
32750         [C99-based-standards] (SCNxPTR): Likewise.
32751         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32752         allow.
32753         * conform/data/stdint.h-data: Update comments to clarify
32754         requirements.
32755         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32756         type.
32757         [C99-based standards] (INT8_MAX): Likewise.
32758         [C99-based standards] (INT16_MIN): Likewise.
32759         [C99-based standards] (INT16_MAX): Likewise.
32760         [C99-based standards] (INT32_MIN): Likewise.
32761         [C99-based standards] (INT32_MAX): Likewise.
32762         [C99-based standards] (INT64_MIN): Likewise.
32763         [C99-based standards] (INT64_MAX): Likewise.
32764         [C99-based standards] (UINT8_MAX): Likewise.
32765         [C99-based standards] (UINT16_MAX): Likewise.
32766         [C99-based standards] (UINT32_MAX): Likewise.
32767         [C99-based standards] (UINT64_MAX): Likewise.
32768         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32769         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32770         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32771         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32772         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32773         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32774         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32775         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32776         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32777         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32778         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32779         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32780         [C99-based standards] (INT_FAST8_MIN): Likewise.
32781         [C99-based standards] (INT_FAST8_MAX): Likewise.
32782         [C99-based standards] (INT_FAST16_MIN): Likewise.
32783         [C99-based standards] (INT_FAST16_MAX): Likewise.
32784         [C99-based standards] (INT_FAST32_MIN): Likewise.
32785         [C99-based standards] (INT_FAST32_MAX): Likewise.
32786         [C99-based standards] (INT_FAST64_MIN): Likewise.
32787         [C99-based standards] (INT_FAST64_MAX): Likewise.
32788         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32789         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32790         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32791         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32792         [C99-based standards] (INTPTR_MIN): Likewise.
32793         [C99-based standards] (INTPTR_MAX): Likewise.
32794         [C99-based standards] (UINTPTR_MAX): Likewise.
32795         [C99-based standards] (INTMAX_MIN): Likewise.
32796         [C99-based standards] (INTMAX_MAX): Likewise.
32797         [C99-based standards] (UINTMAX_MAX): Likewise.
32798         [C99-based standards] (PTRDIFF_MIN): Likewise.
32799         [C99-based standards] (PTRDIFF_MAX): Likewise.
32800         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32801         [C99-based standards] (SIZE_MAX): Likewise.
32802         [C99-based standards] (WCHAR_MAX): Likewise.
32803         [C99-based standards] (WINT_MAX): Likewise.
32804         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32805         constraint on value.
32806         [C99-based standards] (WCHAR_MIN): Likewise.
32807         [C99-based standards] (WINT_MIN): Likewise.
32808         [C99-based standards] (*_t): Allow.
32809         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32810         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32811         Include math.h-data and complex.h-data.  Remove all expectations
32812         of math.h and complex.h contents.
32813         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32814         at end of line.
32815         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32816         (struct tm): Expect tag.
32817         [C99-based-standards] (wcstof): Expect function.
32818         [C99-based-standards] (wcstold): Likewise.
32819         [C99-based-standards] (wcstoll): Likewise.
32820         [C99-based-standards] (wcstoull): Likewise.
32821         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32822         macro-int-constant.  Specify type.
32823         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32824         constraint on value.
32825         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32826         Specify type.
32827         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32828         Specify value.
32829         [ISO C standards]: Do not allow headers.
32830         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32831         wcs[abcdefghijklmnopqrstuvwxyz]*.
32832         [ISO C standards] (*_t): Do not allow.
32833         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32834         Expect function.
32835         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32836         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32837         Specify type.
32838         [ISO C standards]: Do not allow headers.
32839         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32840         is[abcdefghijklmnopqrstuvwxyz]*.
32841         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32842         to[abcdefghijklmnopqrstuvwxyz]*.
32843         [ISO C standards] (*_t): Do not allow.
32844         * conform/data/stdalign.h-data: New file.
32845         * conform/data/stdbool.h-data: Likewise.
32846         * conform/data/stdnoreturn.h-data: Likewise.
32847
32848 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32849
32850         [BZ #14815]
32851         * manual/filesys.texi (Directory Entries): Typo fix.
32852         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32853
32854 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32855
32856         * elf/elf.h (EM_AARCH64): New macro.
32857         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32858         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32859         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32860         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32861         (R_AARCH64_TLSDESC): Likewise.
32862         (NT_ARM_TLS): Likewise.
32863         (NT_ARM_HW_BREAK): Likewise.
32864         (NT_ARM_HW_WATCH): Likewise.
32865
32866 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32867
32868         [BZ #14811]
32869         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32870         (__ieee754_powl): Saturate nonzero exponents with absolute value
32871         below 0x1p-79 to +/- 0x1p-79.
32872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32873         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32874         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32875         nonzero exponents with absolute value below 0x1p-32 to +/-
32876         0x1p-32.
32877         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32878         (__ieee754_powl): Saturate nonzero exponents with absolute value
32879         below 0x1p-79 to +/- 0x1p-79.
32880         * math/libm-test.inc (pow_test): Add more tests.
32881
32882 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32883
32884         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32885         _dl_s390_cap_flags with kernel. Increase string length.
32886         (_dl_s390_platforms): Add z196 and zEC12.
32887
32888 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32889
32890         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32891         Change XOPEN21K to XOPEN2K.
32892
32893 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32894
32895         * string/memmove.c: Use memcpy when possible.
32896
32897 2012-11-06  Andreas Jaeger  <aj@suse.de>
32898
32899         * po/eo.po: Update from translation team.
32900
32901 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32902
32903         [BZ #14793]
32904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32905         exponent and small x and y exponents, scale x or y up.  Increase
32906         by 2 the exponent used in scaling up.
32907         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32908         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32909         * math/libm-test.inc (fma_test): Add more tests.
32910         (fma_test_towardzero): Likewise.
32911         (fma_test_downward): Likewise.
32912         (fma_test_upward): Likewise.
32913
32914 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32915
32916         [BZ #14805]
32917         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32918         fenv_t *.
32919
32920         [BZ #14801]
32921         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32922         namespace for names of struct fields.
32923         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32924         fenv_t fields.
32925         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32926         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32927
32928 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32929
32930         [BZ #3665]
32931         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32932
32933 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32934
32935         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32936         PTR_DEMANGLE.
32937
32938         [BZ #5246]
32939         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32940         PTR_DEMANGLE.
32941
32942 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32943
32944         [BZ #14797]
32945         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32946         definitely overflow as x * y not x * y + z.
32947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32949         * math/libm-test.inc (fma_test): Add more tests.
32950         (fma_test_towardzero): Likewise.
32951         (fma_test_downward): Likewise.
32952         (fma_test_upward): Likewise.
32953
32954 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32955
32956         [BZ #157]
32957
32958         * include/stub-tag.h: Remove file.
32959         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32960         '#include' of it.
32961         * manual/maint.texi (Porting): Don't reference it.
32962         * Makerules ($(objpfx)stubs): Likewise.
32963         * dirent/closedir.c: Don't include <stub-tag.h>.
32964         * dirent/dirfd.c: Likewise.
32965         * dirent/fdopendir.c: Likewise.
32966         * dirent/getdents.c: Likewise.
32967         * dirent/getdents64.c: Likewise.
32968         * dirent/opendir.c: Likewise.
32969         * dirent/readdir.c: Likewise.
32970         * dirent/readdir64.c: Likewise.
32971         * dirent/readdir64_r.c: Likewise.
32972         * dirent/readdir_r.c: Likewise.
32973         * dirent/rewinddir.c: Likewise.
32974         * dirent/seekdir.c: Likewise.
32975         * dirent/telldir.c: Likewise.
32976         * gmon/profil.c: Likewise.
32977         * grp/setgroups.c: Likewise.
32978         * inet/if_index.c: Likewise.
32979         * io/access.c: Likewise.
32980         * io/chdir.c: Likewise.
32981         * io/chmod.c: Likewise.
32982         * io/chown.c: Likewise.
32983         * io/close.c: Likewise.
32984         * io/dup.c: Likewise.
32985         * io/dup2.c: Likewise.
32986         * io/dup3.c: Likewise.
32987         * io/euidaccess.c: Likewise.
32988         * io/faccessat.c: Likewise.
32989         * io/fchdir.c: Likewise.
32990         * io/fchmod.c: Likewise.
32991         * io/fchmodat.c: Likewise.
32992         * io/fchown.c: Likewise.
32993         * io/fchownat.c: Likewise.
32994         * io/fcntl.c: Likewise.
32995         * io/flock.c: Likewise.
32996         * io/fstatfs.c: Likewise.
32997         * io/fstatfs64.c: Likewise.
32998         * io/fstatvfs.c: Likewise.
32999         * io/fstatvfs64.c: Likewise.
33000         * io/futimens.c: Likewise.
33001         * io/fxstat.c: Likewise.
33002         * io/fxstat64.c: Likewise.
33003         * io/fxstatat.c: Likewise.
33004         * io/fxstatat64.c: Likewise.
33005         * io/getcwd.c: Likewise.
33006         * io/isatty.c: Likewise.
33007         * io/lchmod.c: Likewise.
33008         * io/lchown.c: Likewise.
33009         * io/link.c: Likewise.
33010         * io/linkat.c: Likewise.
33011         * io/lseek.c: Likewise.
33012         * io/lseek64.c: Likewise.
33013         * io/lxstat64.c: Likewise.
33014         * io/mkdir.c: Likewise.
33015         * io/mkdirat.c: Likewise.
33016         * io/mkfifo.c: Likewise.
33017         * io/mkfifoat.c: Likewise.
33018         * io/open.c: Likewise.
33019         * io/open64.c: Likewise.
33020         * io/openat.c: Likewise.
33021         * io/openat64.c: Likewise.
33022         * io/pipe.c: Likewise.
33023         * io/pipe2.c: Likewise.
33024         * io/poll.c: Likewise.
33025         * io/posix_fadvise.c: Likewise.
33026         * io/posix_fadvise64.c: Likewise.
33027         * io/posix_fallocate.c: Likewise.
33028         * io/posix_fallocate64.c: Likewise.
33029         * io/read.c: Likewise.
33030         * io/readlink.c: Likewise.
33031         * io/readlinkat.c: Likewise.
33032         * io/rmdir.c: Likewise.
33033         * io/sendfile.c: Likewise.
33034         * io/sendfile64.c: Likewise.
33035         * io/statfs.c: Likewise.
33036         * io/statfs64.c: Likewise.
33037         * io/statvfs.c: Likewise.
33038         * io/statvfs64.c: Likewise.
33039         * io/symlink.c: Likewise.
33040         * io/symlinkat.c: Likewise.
33041         * io/ttyname.c: Likewise.
33042         * io/ttyname_r.c: Likewise.
33043         * io/umask.c: Likewise.
33044         * io/unlink.c: Likewise.
33045         * io/unlinkat.c: Likewise.
33046         * io/utime.c: Likewise.
33047         * io/utimensat.c: Likewise.
33048         * io/write.c: Likewise.
33049         * io/xmknod.c: Likewise.
33050         * io/xmknodat.c: Likewise.
33051         * io/xstat.c: Likewise.
33052         * io/xstat64.c: Likewise.
33053         * login/getpt.c: Likewise.
33054         * login/grantpt.c: Likewise.
33055         * login/unlockpt.c: Likewise.
33056         * math/e_acoshl.c: Likewise.
33057         * math/e_acosl.c: Likewise.
33058         * math/e_asinl.c: Likewise.
33059         * math/e_atan2l.c: Likewise.
33060         * math/e_atanhl.c: Likewise.
33061         * math/e_coshl.c: Likewise.
33062         * math/e_expl.c: Likewise.
33063         * math/e_fmodl.c: Likewise.
33064         * math/e_gammal_r.c: Likewise.
33065         * math/e_hypotl.c: Likewise.
33066         * math/e_j0l.c: Likewise.
33067         * math/e_j1l.c: Likewise.
33068         * math/e_jnl.c: Likewise.
33069         * math/e_lgammal_r.c: Likewise.
33070         * math/e_log10l.c: Likewise.
33071         * math/e_log2l.c: Likewise.
33072         * math/e_logl.c: Likewise.
33073         * math/e_powl.c: Likewise.
33074         * math/e_rem_pio2l.c: Likewise.
33075         * math/e_sinhl.c: Likewise.
33076         * math/e_sqrtl.c: Likewise.
33077         * math/fclrexcpt.c: Likewise.
33078         * math/fedisblxcpt.c: Likewise.
33079         * math/feenablxcpt.c: Likewise.
33080         * math/fegetenv.c: Likewise.
33081         * math/fegetexcept.c: Likewise.
33082         * math/fegetround.c: Likewise.
33083         * math/feholdexcpt.c: Likewise.
33084         * math/fesetenv.c: Likewise.
33085         * math/fesetround.c: Likewise.
33086         * math/feupdateenv.c: Likewise.
33087         * math/fgetexcptflg.c: Likewise.
33088         * math/fraiseexcpt.c: Likewise.
33089         * math/fsetexcptflg.c: Likewise.
33090         * math/ftestexcept.c: Likewise.
33091         * math/k_cosl.c: Likewise.
33092         * math/k_rem_pio2l.c: Likewise.
33093         * math/k_sinl.c: Likewise.
33094         * math/k_tanl.c: Likewise.
33095         * math/s_asinhl.c: Likewise.
33096         * math/s_atanl.c: Likewise.
33097         * math/s_cbrtl.c: Likewise.
33098         * math/s_erfl.c: Likewise.
33099         * math/s_expm1l.c: Likewise.
33100         * math/s_log1pl.c: Likewise.
33101         * math/s_tanhl.c: Likewise.
33102         * misc/acct.c: Likewise.
33103         * misc/brk.c: Likewise.
33104         * misc/chflags.c: Likewise.
33105         * misc/chroot.c: Likewise.
33106         * misc/fchflags.c: Likewise.
33107         * misc/fgetxattr.c: Likewise.
33108         * misc/flistxattr.c: Likewise.
33109         * misc/fremovexattr.c: Likewise.
33110         * misc/fsetxattr.c: Likewise.
33111         * misc/fsync.c: Likewise.
33112         * misc/ftruncate.c: Likewise.
33113         * misc/futimes.c: Likewise.
33114         * misc/futimesat.c: Likewise.
33115         * misc/getdomain.c: Likewise.
33116         * misc/getdtsz.c: Likewise.
33117         * misc/gethostid.c: Likewise.
33118         * misc/gethostname.c: Likewise.
33119         * misc/getloadavg.c: Likewise.
33120         * misc/getpagesize.c: Likewise.
33121         * misc/getsysstats.c: Likewise.
33122         * misc/getxattr.c: Likewise.
33123         * misc/gtty.c: Likewise.
33124         * misc/ioctl.c: Likewise.
33125         * misc/lgetxattr.c: Likewise.
33126         * misc/listxattr.c: Likewise.
33127         * misc/llistxattr.c: Likewise.
33128         * misc/lremovexattr.c: Likewise.
33129         * misc/lsetxattr.c: Likewise.
33130         * misc/lutimes.c: Likewise.
33131         * misc/madvise.c: Likewise.
33132         * misc/mincore.c: Likewise.
33133         * misc/mlock.c: Likewise.
33134         * misc/mlockall.c: Likewise.
33135         * misc/mmap.c: Likewise.
33136         * misc/mprotect.c: Likewise.
33137         * misc/msync.c: Likewise.
33138         * misc/munlock.c: Likewise.
33139         * misc/munlockall.c: Likewise.
33140         * misc/munmap.c: Likewise.
33141         * misc/preadv.c: Likewise.
33142         * misc/preadv64.c: Likewise.
33143         * misc/ptrace.c: Likewise.
33144         * misc/pwritev.c: Likewise.
33145         * misc/pwritev64.c: Likewise.
33146         * misc/readv.c: Likewise.
33147         * misc/reboot.c: Likewise.
33148         * misc/remap_file_pages.c: Likewise.
33149         * misc/removexattr.c: Likewise.
33150         * misc/revoke.c: Likewise.
33151         * misc/select.c: Likewise.
33152         * misc/setdomain.c: Likewise.
33153         * misc/setegid.c: Likewise.
33154         * misc/seteuid.c: Likewise.
33155         * misc/sethostid.c: Likewise.
33156         * misc/sethostname.c: Likewise.
33157         * misc/setregid.c: Likewise.
33158         * misc/setreuid.c: Likewise.
33159         * misc/setxattr.c: Likewise.
33160         * misc/sstk.c: Likewise.
33161         * misc/stty.c: Likewise.
33162         * misc/swapoff.c: Likewise.
33163         * misc/swapon.c: Likewise.
33164         * misc/sync.c: Likewise.
33165         * misc/syncfs.c: Likewise.
33166         * misc/syscall.c: Likewise.
33167         * misc/truncate.c: Likewise.
33168         * misc/ualarm.c: Likewise.
33169         * misc/usleep.c: Likewise.
33170         * misc/ustat.c: Likewise.
33171         * misc/utimes.c: Likewise.
33172         * misc/vhangup.c: Likewise.
33173         * misc/writev.c: Likewise.
33174         * posix/_exit.c: Likewise.
33175         * posix/alarm.c: Likewise.
33176         * posix/execve.c: Likewise.
33177         * posix/fexecve.c: Likewise.
33178         * posix/fork.c: Likewise.
33179         * posix/fpathconf.c: Likewise.
33180         * posix/getaddrinfo.c: Likewise.
33181         * posix/getegid.c: Likewise.
33182         * posix/geteuid.c: Likewise.
33183         * posix/getgid.c: Likewise.
33184         * posix/getgroups.c: Likewise.
33185         * posix/getlogin.c: Likewise.
33186         * posix/getlogin_r.c: Likewise.
33187         * posix/getpgid.c: Likewise.
33188         * posix/getpid.c: Likewise.
33189         * posix/getppid.c: Likewise.
33190         * posix/getresgid.c: Likewise.
33191         * posix/getresuid.c: Likewise.
33192         * posix/getsid.c: Likewise.
33193         * posix/getuid.c: Likewise.
33194         * posix/glob64.c: Likewise.
33195         * posix/nanosleep.c: Likewise.
33196         * posix/pathconf.c: Likewise.
33197         * posix/pause.c: Likewise.
33198         * posix/posix_madvise.c: Likewise.
33199         * posix/pread.c: Likewise.
33200         * posix/pread64.c: Likewise.
33201         * posix/pwrite.c: Likewise.
33202         * posix/pwrite64.c: Likewise.
33203         * posix/sched_getaffinity.c: Likewise.
33204         * posix/sched_getp.c: Likewise.
33205         * posix/sched_gets.c: Likewise.
33206         * posix/sched_primax.c: Likewise.
33207         * posix/sched_primin.c: Likewise.
33208         * posix/sched_rr_gi.c: Likewise.
33209         * posix/sched_setaffinity.c: Likewise.
33210         * posix/sched_setp.c: Likewise.
33211         * posix/sched_sets.c: Likewise.
33212         * posix/sched_yield.c: Likewise.
33213         * posix/setgid.c: Likewise.
33214         * posix/setlogin.c: Likewise.
33215         * posix/setpgid.c: Likewise.
33216         * posix/setresgid.c: Likewise.
33217         * posix/setresuid.c: Likewise.
33218         * posix/setsid.c: Likewise.
33219         * posix/setuid.c: Likewise.
33220         * posix/sleep.c: Likewise.
33221         * posix/spawni.c: Likewise.
33222         * posix/sysconf.c: Likewise.
33223         * posix/times.c: Likewise.
33224         * posix/wait.c: Likewise.
33225         * posix/wait3.c: Likewise.
33226         * posix/wait4.c: Likewise.
33227         * posix/waitpid.c: Likewise.
33228         * resolv/gai_sigqueue.c: Likewise.
33229         * resource/getpriority.c: Likewise.
33230         * resource/getrlimit.c: Likewise.
33231         * resource/getrusage.c: Likewise.
33232         * resource/nice.c: Likewise.
33233         * resource/setpriority.c: Likewise.
33234         * resource/setrlimit.c: Likewise.
33235         * resource/ulimit.c: Likewise.
33236         * rt/aio_cancel.c: Likewise.
33237         * rt/aio_fsync.c: Likewise.
33238         * rt/aio_read.c: Likewise.
33239         * rt/aio_sigqueue.c: Likewise.
33240         * rt/aio_suspend.c: Likewise.
33241         * rt/aio_write.c: Likewise.
33242         * rt/clock_getres.c: Likewise.
33243         * rt/clock_gettime.c: Likewise.
33244         * rt/clock_nanosleep.c: Likewise.
33245         * rt/clock_settime.c: Likewise.
33246         * rt/lio_listio.c: Likewise.
33247         * rt/mq_close.c: Likewise.
33248         * rt/mq_getattr.c: Likewise.
33249         * rt/mq_notify.c: Likewise.
33250         * rt/mq_open.c: Likewise.
33251         * rt/mq_receive.c: Likewise.
33252         * rt/mq_send.c: Likewise.
33253         * rt/mq_setattr.c: Likewise.
33254         * rt/mq_timedreceive.c: Likewise.
33255         * rt/mq_timedsend.c: Likewise.
33256         * rt/mq_unlink.c: Likewise.
33257         * rt/shm_open.c: Likewise.
33258         * rt/shm_unlink.c: Likewise.
33259         * rt/timer_create.c: Likewise.
33260         * rt/timer_delete.c: Likewise.
33261         * rt/timer_getoverr.c: Likewise.
33262         * rt/timer_gettime.c: Likewise.
33263         * rt/timer_settime.c: Likewise.
33264         * setjmp/__longjmp.c: Likewise.
33265         * setjmp/setjmp.c: Likewise.
33266         * signal/kill.c: Likewise.
33267         * signal/killpg.c: Likewise.
33268         * signal/raise.c: Likewise.
33269         * signal/sigaction.c: Likewise.
33270         * signal/sigaltstack.c: Likewise.
33271         * signal/sigblock.c: Likewise.
33272         * signal/sigignore.c: Likewise.
33273         * signal/sigintr.c: Likewise.
33274         * signal/signal.c: Likewise.
33275         * signal/sigpause.c: Likewise.
33276         * signal/sigpending.c: Likewise.
33277         * signal/sigqueue.c: Likewise.
33278         * signal/sigreturn.c: Likewise.
33279         * signal/sigset.c: Likewise.
33280         * signal/sigsetmask.c: Likewise.
33281         * signal/sigstack.c: Likewise.
33282         * signal/sigsuspend.c: Likewise.
33283         * signal/sigtimedwait.c: Likewise.
33284         * signal/sigvec.c: Likewise.
33285         * signal/sigwait.c: Likewise.
33286         * signal/sigwaitinfo.c: Likewise.
33287         * signal/sysv_signal.c: Likewise.
33288         * socket/accept.c: Likewise.
33289         * socket/accept4.c: Likewise.
33290         * socket/bind.c: Likewise.
33291         * socket/connect.c: Likewise.
33292         * socket/getpeername.c: Likewise.
33293         * socket/getsockname.c: Likewise.
33294         * socket/getsockopt.c: Likewise.
33295         * socket/isfdtype.c: Likewise.
33296         * socket/listen.c: Likewise.
33297         * socket/recv.c: Likewise.
33298         * socket/recvfrom.c: Likewise.
33299         * socket/recvmsg.c: Likewise.
33300         * socket/send.c: Likewise.
33301         * socket/sendmsg.c: Likewise.
33302         * socket/sendto.c: Likewise.
33303         * socket/setsockopt.c: Likewise.
33304         * socket/shutdown.c: Likewise.
33305         * socket/sockatmark.c: Likewise.
33306         * socket/socket.c: Likewise.
33307         * socket/socketpair.c: Likewise.
33308         * stdio-common/ctermid.c: Likewise.
33309         * stdio-common/cuserid.c: Likewise.
33310         * stdio-common/remove.c: Likewise.
33311         * stdio-common/rename.c: Likewise.
33312         * stdio-common/renameat.c: Likewise.
33313         * stdio-common/tempname.c: Likewise.
33314         * stdlib/getcontext.c: Likewise.
33315         * stdlib/makecontext.c: Likewise.
33316         * stdlib/setcontext.c: Likewise.
33317         * stdlib/swapcontext.c: Likewise.
33318         * stdlib/system.c: Likewise.
33319         * streams/fattach.c: Likewise.
33320         * streams/fdetach.c: Likewise.
33321         * streams/getmsg.c: Likewise.
33322         * streams/getpmsg.c: Likewise.
33323         * streams/putmsg.c: Likewise.
33324         * streams/putpmsg.c: Likewise.
33325         * sysdeps/unix/bsd/getpt.c: Likewise.
33326         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33327         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33328         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33330         Likewise.
33331         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33332         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33333         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33334         * sysvipc/msgctl.c: Likewise.
33335         * sysvipc/msgget.c: Likewise.
33336         * sysvipc/msgrcv.c: Likewise.
33337         * sysvipc/msgsnd.c: Likewise.
33338         * sysvipc/semctl.c: Likewise.
33339         * sysvipc/semget.c: Likewise.
33340         * sysvipc/semop.c: Likewise.
33341         * sysvipc/semtimedop.c: Likewise.
33342         * sysvipc/shmat.c: Likewise.
33343         * sysvipc/shmctl.c: Likewise.
33344         * sysvipc/shmdt.c: Likewise.
33345         * sysvipc/shmget.c: Likewise.
33346         * termios/tcdrain.c: Likewise.
33347         * termios/tcflow.c: Likewise.
33348         * termios/tcflush.c: Likewise.
33349         * termios/tcgetattr.c: Likewise.
33350         * termios/tcgetpgrp.c: Likewise.
33351         * termios/tcsendbrk.c: Likewise.
33352         * termios/tcsetattr.c: Likewise.
33353         * termios/tcsetpgrp.c: Likewise.
33354         * time/adjtime.c: Likewise.
33355         * time/clock.c: Likewise.
33356         * time/getitimer.c: Likewise.
33357         * time/gettimeofday.c: Likewise.
33358         * time/setitimer.c: Likewise.
33359         * time/settimeofday.c: Likewise.
33360         * time/stime.c: Likewise.
33361         * time/time.c: Likewise.
33362
33363 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33364
33365         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33366         /usr/old/bin.
33367
33368         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33369         instead of spaces.
33370         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33371
33372 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33373
33374         [BZ #14796]
33375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33376         FE_TONEAREST before applying Dekker multiplication and Knuth
33377         addition.  Clear inexact exceptions and check for exact zero
33378         results afterwards.
33379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33382         * math/libm-test.inc (fma_test): Add more tests.
33383         (fma_test_towardzero): Likewise.
33384         (fma_test_downward): Likewise.
33385         (fma_test_upward): Likewise.
33386         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33387         function.
33388         (libc_fesetround): New macro.
33389         (libc_fesetroundf): Likewise.
33390         (libc_fesetroundl): Likewise.
33391         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33392         function.
33393         (libc_fesetround_387): Likewise.
33394         (libc_fesetroundf): New macro.
33395         (libc_fesetround): Likewise.
33396         (libc_fesetroundl): Likewise.
33397         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33398         function.
33399         (libc_fesetroundf): New macro.
33400         (libc_fesetround): Likewise.
33401         (libc_fesetroundl): Likewise.
33402         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33403         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33404         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33405         libm_hidden_ver.
33406         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33407         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33408         libm_hidden_def.
33409         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33410         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33411         libm_hidden_ver.
33412         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33413         libm_hidden_def.
33414
33415         [BZ #3439]
33416         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33417         integer constant usable in #if and use that to give value to enum
33418         constant.
33419         (FE_DIVBYZERO): Likewise.
33420         (FE_UNDERFLOW): Likewise.
33421         (FE_OVERFLOW): Likewise.
33422         (FE_INVALID): Likewise.
33423         (FE_INVALID_SNAN): Likewise.
33424         (FE_INVALID_ISI): Likewise.
33425         (FE_INVALID_IDI): Likewise.
33426         (FE_INVALID_ZDZ): Likewise.
33427         (FE_INVALID_IMZ): Likewise.
33428         (FE_INVALID_COMPARE): Likewise.
33429         (FE_INVALID_SOFTWARE): Likewise.
33430         (FE_INVALID_SQRT): Likewise.
33431         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33432         (FE_TONEAREST): Likewise.
33433         (FE_TOWARDZERO): Likewise.
33434         (FE_UPWARD): Likewise.
33435         (FE_DOWNWARD): Likewise.
33436         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33437         (FE_DIVBYZERO): Likewise.
33438         (FE_OVERFLOW): Likewise.
33439         (FE_UNDERFLOW): Likewise.
33440         (FE_INEXACT): Likewise.
33441         (FE_TONEAREST): Likewise.
33442         (FE_DOWNWARD): Likewise.
33443         (FE_UPWARD): Likewise.
33444         (FE_TOWARDZERO): Likewise.
33445         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33446         (FE_UNDERFLOW): Likewise.
33447         (FE_OVERFLOW): Likewise.
33448         (FE_DIVBYZERO): Likewise.
33449         (FE_INVALID): Likewise.
33450         (FE_TONEAREST): Likewise.
33451         (FE_TOWARDZERO): Likewise.
33452         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33453         (FE_OVERFLOW): Likewise.
33454         (FE_UNDERFLOW): Likewise.
33455         (FE_DIVBYZERO): Likewise.
33456         (FE_INEXACT): Likewise.
33457         (FE_TONEAREST): Likewise.
33458         (FE_TOWARDZERO): Likewise.
33459         (FE_UPWARD): Likewise.
33460         (FE_DOWNWARD): Likewise.
33461         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33462         (FE_DIVBYZERO): Likewise.
33463         (FE_OVERFLOW): Likewise.
33464         (FE_UNDERFLOW): Likewise.
33465         (FE_INEXACT): Likewise.
33466         (FE_TONEAREST): Likewise.
33467         (FE_DOWNWARD): Likewise.
33468         (FE_UPWARD): Likewise.
33469         (FE_TOWARDZERO): Likewise.
33470
33471 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33472
33473         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33474
33475 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33476
33477         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33478         commands.  Quote $PWD.
33479         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33480         -x" by "export".
33481         (remove_newlines): Remove.
33482
33483 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33484
33485         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33486         * stdlib/stdlib.h (atof): Moved to ...
33487         * include/bits/stdlib-float.h: Here.  New file.
33488         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33489         * stdlib/bits/stdlib-float.h: New file.
33490         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33491         -mno-sse -mno-mmx.
33492         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33493         <xmmintrin.h>.
33494
33495 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33496
33497         * conform/conformtest.pl (@headers): Add fenv.h.
33498         * conform/data/fenv.h-data: New file.
33499         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33500         include of <math/fenv.h>.
33501
33502         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33503         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33504         && !UNIX98].  Enables tests for XOPEN2K8.
33505         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33506         POSIX2008]: Likewise.
33507
33508         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33509         (struct rusage): Do not expect type or its members.
33510
33511         [BZ #3439]
33512         * math/math.h (FP_NAN): Define macro to integer constant usable in
33513         #if and use that to give value to enum constant.
33514         (FP_INFINITE): Likewise.
33515         (FP_ZERO): Likewise.
33516         (FP_SUBNORMAL): Likewise.
33517         (FP_NORMAL): Likewise.
33518
33519 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33520
33521         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33522         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33523         arguments.
33524
33525 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33526
33527         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33528         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33529         autoconf-time if not.
33530         * configure.in: Remove AC_PREREQ.
33531
33532 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33533
33534         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33535         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33536         of the internal implementation.
33537
33538 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33539
33540         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33541         except include of <misc/sys/syslog.h>.
33542
33543 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33544
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33546         function returns with a NULL context exit with zero.
33547
33548 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33549
33550         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33551
33552 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33553
33554         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33555         (run_program_cmd): This.
33556         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33557         (tst_langinfo): New variable.  Use it.
33558
33559 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33560
33561         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33562         floating point opcodes.
33563
33564 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33565
33566         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33567         variable.
33568
33569         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33570
33571         * sysdeps/mach/hurd/powerpc: Remove directory.
33572         * sysdeps/mach/powerpc: Likewise.
33573
33574 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33575
33576         * scripts/check-local-headers.sh: Ignore c++ headers.
33577
33578 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33579
33580         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33581         __libc_cleanup_region_start argument.
33582
33583 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33584
33585         [BZ #14784]
33586         [BZ #14785]
33587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33588         x * y using scaling, not as x * y + z.
33589         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33590         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33591         * math/libm-test.inc (fma_test): Add more tests.
33592         (fma_test_towardzero): Likewise.
33593         (fma_test_downward): Likewise.
33594         (fma_test_upward): Likewise.
33595
33596 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33597
33598         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33599
33600 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33601
33602         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33603         New variable.
33604
33605 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33606
33607         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33608
33609 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33610
33611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33612         Fix sort order.
33613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33614         Likewise.
33615
33616 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33617
33618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33619         Fix the order of the list for glibc 2.17.
33620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33621         Likewise.
33622
33623 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33624
33625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33626
33627 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33628
33629         [BZ #14610]
33630         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33631         for low part of x being zero before using __atanl (y).
33632         * math/libm-test.inc (atan2_test): Add another test.
33633
33634         * manual/install.texi (Configuring and compiling): Document
33635         general use of test-wrapper and test-wrapper-env.
33636         * INSTALL: Regenerated.
33637
33638         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33639         (__fma): Do not extract and scale down low bits on after-rounding
33640         systems when result rounded to normal precision would have normal
33641         exponent.
33642         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33643         (__fmal): Do not extract and scale down low bits on after-rounding
33644         systems when result rounded to normal precision would have normal
33645         exponent.
33646         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33647         (__fmal): Do not extract and scale down low bits on after-rounding
33648         systems when result rounded to normal precision would have normal
33649         exponent.
33650         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33651         macro.
33652         (fma_test): Add more tests.
33653         (fma_test_towardzero): Likewise.
33654         (fma_test_downward): Likewise.
33655         (fma_test_upward): Likewise.
33656
33657 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33658
33659         * sysdeps/i386/tininess.h: Renamed to ...
33660         * sysdeps/x86/tininess.h: This.
33661         * sysdeps/x86_64/tininess.h: Removed.
33662
33663 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33664
33665         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33666         input.  Use $(build-program-cmd).
33667         ($(objpfx)tst-array1-static.out): Likewise.
33668         ($(objpfx)tst-array2.out): Likewise.
33669         ($(objpfx)tst-array3.out): Likewise.
33670         ($(objpfx)tst-array4.out): Likewise.
33671         ($(objpfx)tst-array5.out): Likewise.
33672         ($(objpfx)tst-array5-static.out): Likewise.
33673
33674 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33675
33676         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33677         if defined.
33678
33679         * nss/nsswitch.h (nss_interface_function): Provide new
33680         macro for use with NSS functions.
33681         * grp/initgroups.c: Use new macro.
33682         * nss/getXXbyYY.c: Likewise.
33683         * nss/getXXbyYY_r.c: Likewise.
33684         * nss/getXXent.c: Likewise.
33685         * nss/getXXent_r.c: Likewise.
33686         * sysdeps/posix/getaddrinfo.c: Likewise.
33687
33688 2012-10-30  Andreas Jaeger  <aj@suse.de>
33689
33690         * po/ru.po: Update Russion translation from translation project.
33691
33692 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33693
33694         [BZ #14152]
33695         [BZ #14783]
33696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33697         result and shift together with sticky bit instead of replicating
33698         round-to-nearest rounding.
33699         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33700         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33701         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33702         missing underflow exceptions.
33703         (fma_test_towardzero): Add more tests.
33704         (fma_test_downward): Likewise.
33705         (fma_test_upward): Likewise.
33706
33707         [BZ #14047]
33708         * sysdeps/generic/tininess.h: New file.
33709         * sysdeps/i386/tininess.h: Likewise.
33710         * sysdeps/sh/tininess.h: Likewise.
33711         * sysdeps/x86_64/tininess.h: Likewise.
33712         * stdlib/tst-strtod-underflow.c: Likewise.
33713         * stdlib/tst-tininess.c: Likewise.
33714         * stdlib/strtod_l.c: Include <tininess.h>.
33715         (round_and_return): Do not set errno for exact underflow cases.
33716         Force an underflow exception when setting errno for underflow.
33717         Determine underflow based on rounding to normal precision if
33718         TININESS_AFTER_ROUNDING.
33719         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33720         ERANGE for exact underflow cases.
33721         * stdlib/Makefile (tests): Add tst-tininess and
33722         tst-strtod-underflow.
33723         ($(objpfx)tst-tininess): Use $(link-libm).
33724         ($(objpfx)tst-strtod-underflow): Likewise.
33725
33726 2012-10-30  Andreas Jaeger  <aj@suse.de>
33727
33728         [BZ#14767]
33729         * elf/Makefile (tests): Remove conditional for have-initfini-array
33730         since this is now always required and the variable does not exist
33731         anymore.
33732         (tests-static): Likewise.
33733         (modules-names): Likewise.
33734
33735         * po/eo.po: Add Esperanto translation from translation project.
33736
33737         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33738         merged with constructor/destructor.
33739         (init_array): Likewise.
33740         * elf/tst-array2dep.c (fini_array): Likewise.
33741         (init_array): Likewise.
33742
33743 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33744
33745         * manual/message.texi: Delete @cartouche tags.
33746
33747 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33748
33749         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33750         EOPNOTSUPP.
33751         * sysdeps/mach/hurd/fsync.c: Likewise.
33752
33753         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33754         [_POSIX_REALTIME_SIGNALS]: Change condition to
33755         [_POSIX_REALTIME_SIGNALS > 0].
33756
33757 2012-10-27  Andreas Jaeger  <aj@suse.de>
33758
33759         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33760         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33762         [__WORDSIZE != 64]: Likewise.
33763
33764 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33765
33766         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33767         *  iconvdata/tst-tables.sh: Likewise.
33768
33769 2012-10-25  David S. Miller  <davem@davemloft.net>
33770
33771         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33772         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33773         of strtoull.
33774
33775         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33776         ifunc-impl-list.c
33777         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33778         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33779         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33780         file.
33781
33782 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33783
33784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33785         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33786         __getdirentries.
33787
33788 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33789             Jim Blandy  <jimb@codesourcery.com>
33790
33791         * scripts/cross-test-ssh.sh: New file.
33792         * manual/install.texi (Configuring and compiling): Document use of
33793         cross-test-ssh.sh.
33794         * INSTALL: Regenerated.
33795
33796 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33797
33798         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33799         EOPNOTSUPP.
33800
33801 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33802
33803         * Makeconfig (run-program-prefix): Fix comment.
33804
33805 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33806             Jim Blandy  <jimb@codesourcery.com>
33807
33808         * Makeconfig (test-wrapper): New variable,
33809         (test-wrapper-env): Likewise.
33810         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33811         (run-built-tests): Define to yes.
33812         (run-program-prefix): Use $(test-wrapper).
33813         (built-program-cmd): Likewise.
33814         * Rules (make-test-out): Use $(test-wrapper-env) and
33815         $(host-built-program-cmd).
33816         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33817         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33818         tst-pathopt.sh.
33819         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33820         $(test-wrapper-env) to tst-rtld-load-self.sh.
33821         ($(objpfx)order2.out): Use $(test-wrapper).
33822         ($(objpfx)tst-initorder.out): Likewise.
33823         ($(objpfx)tst-initorder2.out): Likewise.
33824         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33825         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33826         (test_wrapper_env): New variable.  Use it to run ld.so.
33827         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33828         Use it to run ld.so.
33829         (test_wrapper_env): Likewise.
33830         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33831         $(test-wrapper) to run-iconv-test.sh.
33832         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33833         (ICONV): Use $test_wrapper.
33834         * posix/Makefile ($(objpfx)globtest.out): Pass
33835         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33836         globtest.sh, not $(run-program-prefix).
33837         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33838         (test_wrapper): Likewise.
33839         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33840         set together with run_via_rtld_prefix.
33841         (run_program_prefix): Define in terms of test_wrapper and
33842         run_via_rtld_prefix.
33843
33844 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33845
33846         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33847         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33848         Targets removed.
33849
33850         [BZ #14743]
33851         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33852         Declare __clock_getres, __clock_gettime, __clock_settime,
33853         __clock_nanosleep, and __clock_getcpuclockid.
33854         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33855         Remove librt_hidden_def (clock_gettime).
33856         * sysdeps/unix/clock_gettime.c: Likewise.
33857         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33858         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33859         * rt/clock_getres.c: Define __clock_getres as an alias.
33860         * sysdeps/posix/clock_getres.c: Likewise.
33861         * rt/clock_settime.c: Define __clock_settime as an alias.
33862         * sysdeps/unix/clock_settime.c: Likewise.
33863         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33864         * sysdeps/unix/clock_nanosleep.c: Likewise.
33865         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33866         * rt/clock-compat.c: New file.
33867         * rt/Makefile (librt-routines): Add clock-compat and move
33868         $(clock-routines) to ...
33869         (routines): ... here, new variable.
33870         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33871         Don't add get_clockfreq here.
33872         * rt/Versions (libc: GLIBC_2.17): New version set.
33873         Add clock_* symbols here.
33874         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33875         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33876         (GLIBC_2.17): Add clock_* symbols.
33877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33879         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33881         Likewise.
33882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33883         Likewise.
33884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33888         * NEWS: Mention the move.
33889
33890         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33891         Use __open, __read, __close rather than their public counterparts.
33892         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33893         (__get_clockfreq_via_cpuinfo): Likewise.
33894         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33895         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33896
33897         * config.h.in (HAVE_IFUNC): New #undef.
33898         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33899         was successful.
33900         * configure: Regenerated.
33901
33902 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33903
33904         * configure.in: Move READELF check to start of file.
33905         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33906         libc_cv_asm_gnu_indirect_function in the process.
33907         * configure: Regenerated.
33908
33909 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33910
33911         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33912         send the output to /dev/null.
33913         (libc_cv_cc_with_libunwind): Likewise.
33914         (libc_cv_as_noexecstack): Likewise.
33915         * configure: Regenerate.
33916
33917 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33918
33919         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33920
33921         * posix/globtest.sh (TMPDIR): Do not set.
33922         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33923         (testout): Likewise.
33924
33925 2012-10-24  Andreas Jaeger  <aj@suse.de>
33926
33927         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33928         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33929         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33930         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33931         posix_fadvise64, posix_fallocate64.
33932
33933         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33934         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33935         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33936         Likewise.
33937         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33938         Likewise.
33939         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33940
33941         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33942         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33943         <bits/fcntl-linux.h>.
33944         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33945
33946         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33947         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33948         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33949         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33950         [__WORDSIZE != 64]: Likewise.
33951
33952 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33953
33954         * Makeconfig (run-built-tests): New variable.
33955         * Rules [$(cross-compiling) = yes]: Change condition to
33956         [$(run-built-tests) = no].
33957         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33958         to [$(run-built-tests) = yes].
33959         * elf/Makefile [$(cross-compiling) = no]: Likewise
33960         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33961         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33962         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33963         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33964         * io/Makefile [$(cross-compiling) = no]: Likewise.
33965         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33966         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33967         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33968         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33969         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33970         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33971         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33972         * string/Makefile [$(cross-compiling) = no]: Likewise.
33973
33974         * posix/Makefile ($(objpfx)globtest.out): Pass
33975         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33976         $(rtld-installed-name).
33977         * posix/globtest.sh (elf_objpfx): Remove variable.
33978         (rtld_installed_name): Likewise.
33979         (library_path): Likewise.
33980         (run_program_prefix): New variable.  Use for running globtest
33981         binary.
33982
33983 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33984             Joseph Myers  <joseph@codesourcery.com>
33985
33986         * Makeconfig (host-built-program-cmd): New variable.
33987         * elf/Makefile (tst-stackguard1-ARGS): Use
33988         $(host-built-program-cmd).
33989         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33990         (tst-spawn-ARGS): Likewise.
33991         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33992
33993 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33994             Jim Blandy  <jimb@codesourcery.com>
33995
33996         * Makeconfig (run-via-rtld-prefix): New variable.
33997         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33998         (built-program-cmd): Likewise.
33999
34000 2012-10-22  Andreas Jaeger  <aj@suse.de>
34001
34002         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34003         __O_RSYNC if it exists, otherwise to O_SYNC.
34004
34005 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34006             Joseph Myers  <joseph@codesourcery.com>
34007
34008         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34009         /dev/null.
34010         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34011         from /dev/null
34012         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34013         /dev/null.
34014
34015 2012-10-22  Andreas Jaeger  <aj@suse.de>
34016
34017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34018         Define always.
34019         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34020
34021         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34022         bits/fcntl-linux.h.
34023
34024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34025         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34026
34027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34028         to __O_LARGEFILE.
34029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34030         to __O_LARGEFILE.
34031
34032 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34033             Joseph Myers  <joseph@codesourcery.com>
34034
34035         * config.make.in (NM): New variable.
34036
34037 2012-10-21  Andreas Jaeger  <aj@suse.de>
34038
34039         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34040         definitions and declarations that are provided by
34041         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34042
34043 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34044
34045         [BZ #14683]
34046         * elf/Makefile (tests-static): Add tst-leaks1-static.
34047         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34048         ($(objpfx)tst-leaks1-static): New rule.
34049         ($(objpfx)tst-leaks1-static-mem): Likewise.
34050         (tst-leaks1-static-ENV): New macro.
34051         * elf/dl-open.c (dl_open_worker): Check the main application
34052         only if SHARED is defined.
34053         * elf/tst-leaks1-static.c: New file.
34054
34055 2012-10-20  Andreas Jaeger  <aj@suse.de>
34056
34057         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34058         generic values for Linux.
34059         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34060         and declarations that are provided by <bits/fcntl-linux.h> and
34061         include <bits/fcntl-linux.h>.
34062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34063         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34064
34065 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34066
34067         * io/fcntl.h: Move include of <bits/types.h> to the top and
34068         include it unconditionally.
34069
34070 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34071
34072         * wcsmbs/Makefile (tests-ifunc): New variable.
34073         (tests): Add $(tests-ifunc).
34074         * wcsmbs/test-wcschr-ifunc.c: New file.
34075         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34076         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34077         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34078         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34079         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34080
34081         * string/Makefile (tests-ifunc): New variable.
34082         (tests): Add $(tests-ifunc).
34083         * string/test-memccpy.c (TEST_NAME): New macro.
34084         * string/test-memchr.c (TEST_NAME): Likewise.
34085         * string/test-memcmp.c (TEST_NAME): Likewise.
34086         * string/test-memcpy.c (TEST_NAME): Likewise.
34087         * string/test-memmem.c (TEST_NAME): Likewise.
34088         * string/test-memmove.c (TEST_NAME): Likewise.
34089         * string/test-memset.c (TEST_NAME): Likewise.
34090         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34091         * string/test-stpcpy.c (TEST_NAME): Likewise.
34092         * string/test-stpncpy.c (TEST_NAME): Likewise.
34093         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34094         * string/test-strcasestr.c (TEST_NAME): Likewise.
34095         * string/test-strcat.c (TEST_NAME): Likewise.
34096         * string/test-strchr.c (TEST_NAME): Likewise.
34097         * string/test-strcmp.c(TEST_NAME): Likewise.
34098         * string/test-strcpy.c (TEST_NAME): Likewise.
34099         * string/test-strcspn.c (TEST_NAME): Likewise.
34100         * string/test-strlen.c (TEST_NAME): Likewise.
34101         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34102         * string/test-strncmp.c (TEST_NAME): Likewise.
34103         * string/test-strncpy.c (TEST_NAME): Likewise.
34104         * string/test-strnlen.c (TEST_NAME): Likewise.
34105         * string/test-strpbrk.c (TEST_NAME): Likewise.
34106         * string/test-strrchr.c (TEST_NAME): Likewise.
34107         * string/test-strspn.c (TEST_NAME): Likewise.
34108         * string/test-strstr.c (TEST_NAME): Likewise.
34109         * string/test-bcopy-ifunc.c: New file.
34110         * string/test-bzero-ifunc.c: Likewise.
34111         * string/test-memccpy-ifunc.c: Likewise.
34112         * string/test-memchr-ifunc.c: Likewise.
34113         * string/test-memcmp-ifunc.c: Likewise.
34114         * string/test-memcpy-ifunc.c: Likewise.
34115         * string/test-memmem-ifunc.c: Likewise.
34116         * string/test-memmove-ifunc.c: Likewise.
34117         * string/test-mempcpy-ifunc.c: Likewise.
34118         * string/test-memset-ifunc.c: Likewise.
34119         * string/test-rawmemchr-ifunc.c: Likewise.
34120         * string/test-stpcpy-ifunc.c: Likewise.
34121         * string/test-stpncpy-ifunc.c: Likewise.
34122         * string/test-strcasecmp-ifunc.c: Likewise.
34123         * string/test-strcasestr-ifunc.c: Likewise.
34124         * string/test-strcat-ifunc.c: Likewise.
34125         * string/test-strchr-ifunc.c: Likewise.
34126         * string/test-strchrnul-ifunc.c: Likewise.
34127         * string/test-strcmp-ifunc.c: Likewise.
34128         * string/test-strcpy-ifunc.c: Likewise.
34129         * string/test-strcspn-ifunc.c: Likewise.
34130         * string/test-strlen-ifunc.c: Likewise.
34131         * string/test-strncasecmp-ifunc.c: Likewise.
34132         * string/test-strncat-ifunc.c: Likewise.
34133         * string/test-strncmp-ifunc.c: Likewise.
34134         * string/test-strncpy-ifunc.c: Likewise.
34135         * string/test-strnlen-ifunc.c: Likewise.
34136         * string/test-strpbrk-ifunc.c: Likewise.
34137         * string/test-strrchr-ifunc.c: Likewise.
34138         * string/test-strspn-ifunc.c: Likewise.
34139         * string/test-strstr-ifunc.c: Likewise.
34140
34141         * debug/Makefile (tests-ifunc): New variable.
34142         (tests): Add $(tests-ifunc).
34143         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34144         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34145         * debug/test-stpcpy_chk-ifunc.c: New file.
34146         * debug/test-strcpy_chk-ifunc.c: Likewise.
34147
34148 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34149
34150         [BZ #13601]
34151         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34152         header is not read in.
34153
34154 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34155
34156         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34157         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34158         directly.  Pass built executable to script as
34159         $(built-program-cmd).
34160         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34161         $testprogram without using LD_LIBRARY_PATH and $ldso.
34162
34163         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34164         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34165         $(rtld-installed-name).
34166         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34167         (rtld_installed_name): Likewise.
34168         (library_path): Likewise.
34169         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34170         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34171         $(run-program-prefix) to tst-tables.sh.
34172         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34173         it to run tst-table-from and tst-table-to.
34174         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34175         Pass it to tst-table.sh.
34176         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34177         $(run-program-prefix) to tst-gettext.sh.
34178         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34179         tst-translit.sh.
34180         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34181         tst-gettext2.sh.
34182         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34183         to run tst-gettext.
34184         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34185         to run tst-gettext2.
34186         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34187         to run tst-translit.
34188         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34189         $(run-program-prefix) to tst-mtrace.sh.
34190         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34191         to run tst-mtrace.
34192         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34193         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34194         $(rtld-installed-name).
34195         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34196         (rtld_installed_name): Likewise.
34197         (run_program_prefix): New variable.  Use it to run wordexp-test.
34198
34199         * Makeconfig (ARCH): Remove all definitions.
34200         (machine): Likewise.
34201         [ARCH]: Remove conditional code.
34202         [!objdir]: Give error.
34203         [!objdir] (objpfx): Remove.
34204         [!objdir] (common-objpfx): Likewise.
34205         [!objdir] (common-objdir): Likewise.
34206         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34207         AC_CONFIG_FILES call.
34208         * configure: Regenerated.
34209
34210         [BZ #13888]
34211         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34212         or TMPDIR.
34213         (testout): Likewise.
34214
34215         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34216         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34217         $(rtld-installed-name).
34218         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34219         (rtld_installed_name): Likwise.
34220         (runit): Remove function.
34221         (run_getconf): New variable,  Use it for running getconf binary.
34222
34223 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34224
34225         [BZ #14716]
34226         * string/test-memmem.c (check_result): New function.
34227         (do_one_test): Use it.
34228         (check1): New function.
34229         (test_main): Use it.
34230
34231 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34232
34233         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34234
34235 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34236
34237         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34238         (_G_LSEEK64): Likewise.
34239         (_G_MMAP64): Likewise.
34240         (_G_FSTAT64): Likewise.
34241         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34242         (_G_LSEEK64): Likewise.
34243         (_G_MMAP64): Likewise.
34244         (_G_FSTAT64): Likewise.
34245         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34246         unconditional.  Call __mmap64 directly.
34247         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34248         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34249         __lseek64 directly.
34250         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34251         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34252         __mmap64 directly.
34253         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34254         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34255         __lseek64 directly.
34256         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34257         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34258         __lseek64 directly.
34259         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34260         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34261         __lseek64 directly.
34262         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34263         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34264         __fxstat64 directly.
34265         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34266         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34267         unconditional.
34268         (freopen64) [!_G_OPEN64]: Remove conditional code.
34269         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34270         unconditional.
34271         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34272         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34273         unconditional.
34274         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34275         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34276         unconditional.
34277         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34278         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34279         unconditional.
34280         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34281         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34282         unconditional.
34283         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34284         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34285         unconditional.
34286         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34287         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34288         unconditional.
34289         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34290
34291 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34292
34293         [BZ #12140]
34294         * manual/memory.texi (Malloc Tunable Parameters): Add note
34295         about free list pointers overwriting some perturb bytes.
34296         Wording suggested by Roland McGrath.
34297
34298 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34299
34300         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34301         (lgamma_test): Likewise.
34302         (tgamma_test): Likewise.
34303
34304 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34305
34306         [BZ #14700]
34307         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34308         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34309
34310 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34311
34312         * NEWS: Mention BZ #14716.
34313         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34314         when removing AVAILABLE1_USES_J macro.
34315
34316 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34317
34318         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34319         (__bswap_64): __uint64_t for unsigned 64-bit int.
34320
34321 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34322
34323         * include/string.h (memmem): Declare libc hidden alias.
34324         * string/memmem.c (memmem): Define libc hidden alias.
34325         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34326         __read, __close instead of open, read, close.
34327
34328 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34329
34330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34331         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34332         global and hidden.
34333         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34334         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34335         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34336         Likewise.
34337         (__rawmemchr_sse2): Likewise.
34338         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34339         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34340         (__strchr_sse2): Likewise.
34341         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34342         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34343         (__strcasecmp_sse2): Likewise.
34344         (__strncasecmp_sse2): Likewise.
34345         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34346         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34347         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34348         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34349         (__strrchr_sse2): Likewise.
34350         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34351         ifunc-impl-list.c.
34352         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34353         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34354         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34355         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34356         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34357         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34358         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34359         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34360         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34361         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34362         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34363         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34364         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34365         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34366         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34367         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34368         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34369         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34370         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34371         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34372         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34373         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34374         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34375         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34376         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34377         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34378         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34379         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34380         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34381         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34382
34383         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34384         global and hidden.
34385         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34386         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34387         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34388         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34389         Likewise.
34390         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34391         Likewise.
34392         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34393         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34394         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34395         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34396         ifunc-impl-list.c.
34397         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34398         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34399         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34400         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34401         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34402         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34403         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34404         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34405         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34406         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34407         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34408         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34409         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34410         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34411         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34412         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34413         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34414         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34415         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34416         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34417         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34418         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34419         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34420         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34421         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34422         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34423         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34424         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34425         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34426         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34427         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34428         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34429         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34430         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34431         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34432         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34433         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34434         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34435         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34436         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34437         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34438
34439         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34440         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34441         * include/ifunc-impl-list.h: New file.
34442         * misc/ifunc-impl-list.c: Likewise.
34443         * misc/Makefile (routines): Add ifunc-impl-list.
34444         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34445         * string/test-string.h: Include <ifunc-impl-list.h>.
34446         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34447         TEST_NAME]: New variables.
34448         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34449         are defined.
34450         (test_init): Call __libc_ifunc_impl_list to initialize
34451         func_list if TEST_IFUNC and TEST_NAME are defined.
34452
34453         * string/Makefile (strop-tests): Add bcopy and bzero.
34454         * string/test-bcopy.c: New file.
34455         * string/test-bzero.c: Likewise.
34456         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34457         defined.
34458         * string/test-memset.c: Support bzero test if TEST_BZERO is
34459         defined.
34460         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34461         __libc_memmove.
34462         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34463         __libc_memset.
34464         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34465         of memset.
34466
34467 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34468
34469         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34470         * configure: Regenerated.
34471
34472         * Makeconfig (+link-static-before-libc): Don't include
34473         $(link-static-libc).
34474
34475         * libio/libio.h (_IO_pos_t): Remove.
34476
34477 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34478
34479         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34480         McGrath.
34481
34482 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34483
34484         * crypt/crypt-entry.c: Include fips-private.h.
34485         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34486         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34487         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34488         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34489
34490 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34491
34492         * crypt/crypt-private.h: Include stdbool.h.
34493         (_ufc_setup_salt_r): Return bool.
34494         * crypt/crypt-entry.c: Include errno.h.
34495         (__crypt_r): Return NULL with EINVAL for bad salt.
34496         * crypt/crypt_util.c (bad_for_salt): New.
34497         (_ufc_setup_salt_r): Check that salt is long enough and within
34498         the specified alphabet.
34499         * crypt/badsalttest.c: New file.
34500         * crypt/Makefile (tests): Add it.
34501         ($(objpfx)badsalttest): New.
34502
34503 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34504
34505         * NEWS: Add entry for BZ #14602.
34506
34507 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34508
34509         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34510         type-generic.
34511         * math/libm-test.inc: Update comment listing what functions and
34512         macros are tested.
34513         (isgreater_test): New function.
34514         (isgreaterequal_test): Likewise.
34515         (isless_test): Likewise.
34516         (islessequal_test): Likewise.
34517         (islessgreater_test): Likewise.
34518         (isunordered_test): Likewise.
34519         (main): Call the new functions.
34520
34521 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34522
34523         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34524         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34525         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34526         * sysdeps/i386/configure: Regenerated.
34527         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34528         * sysdeps/mach/configure: Regenerated.
34529         * sysdeps/mach/hurd/configure: Regenerated.
34530         * sysdeps/powerpc/configure: Regenerated.
34531         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34532         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34533         * sysdeps/s390/s390-32/configure: Regenerated.
34534         * sysdeps/s390/s390-64/configure: Regenerated.
34535         * sysdeps/sh/configure: Regenerated.
34536         * sysdeps/sparc/configure: Regenerated.
34537         * sysdeps/unix/sysv/linux/configure: Regenerated.
34538         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34539         * sysdeps/x86_64/configure: Regenerated.
34540
34541         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34542         defined.  Don't check if MAP is NULL.
34543
34544 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34545
34546         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34547         (_G_stat64): Likewise.
34548         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34549         (_G_stat64): Likewise.
34550         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34551         instead of struct _G_stat64.
34552         * libio/fileops.c (mmap_remap_check): Likewise.
34553         (decide_maybe_mmap): Likewise.
34554         (_IO_new_file_seekoff): Likewise.
34555         (_IO_file_stat): Likewise.
34556         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34557         _G_off64_t.
34558         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34559         instead of struct _G_stat64.
34560         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34561
34562 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34563
34564         [BZ #14602]
34565         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34566         Replace with ...
34567         (CHECK_EOL): New macro.
34568         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34569         CHECK_EOL.
34570         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34571         Replace with CHECK_EOL.
34572         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34573         Replace with CHECK_EOL.
34574
34575 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34576
34577         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34578         type-generic.
34579         * math/libm-test.inc: Update comment listing what functions and
34580         macros are tested.
34581         (finite_test): New function.
34582         (isinf_test): Likewise.
34583         (isnan_test): Likewise.
34584         (fpclassify_test): Test subnormal input.
34585         (isfinite_test): Likewise.
34586         (isnormal_test): Likewise.
34587         (main): Call the new functions.
34588
34589 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34590
34591         [BZ #14660]
34592         * Makerules (%.dynsym): Force C locale when running
34593         $(OBJDUMP) --dynamic-syms.
34594
34595 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34596
34597         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34598         <stdint.h>.
34599
34600 2012-10-06  David S. Miller  <davem@davemloft.net>
34601
34602         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34603         upper 32-bits of the length value in %o2 since we use branch-on-register
34604         tests which consider the entire 64-bit register.
34605
34606 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34607
34608         * string/test-strstr.c (check2): Add a test for page boundary.
34609
34610 2012-10-05  David S. Miller  <davem@davemloft.net>
34611
34612         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34613         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34614         file.
34615         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34616         sysdep_routines.
34617         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34618         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34619         and bzero when HWCAP_SPARC_CRYPTO is present.
34620
34621 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34622
34623         [BZ #14602]
34624         * string/test-strstr.c (check2): New function.
34625         (test_main): Call check2.
34626
34627         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34628         and bug-strchr1.
34629         * string/bug-strcasestr1.c (do_test): Moved to ...
34630         * string/test-strcasestr.c (check1): Here.  New function.
34631         (do_one_test): Break out result checking code into ...
34632         (check_result): This.  New function.
34633         (do_one_test): Call check_result.
34634         (test_main): Call check1.
34635         * string/bug-strchr1.c (do_test): Moved to ...
34636         * string/test-strchr.c (check1): Here.  New function.
34637         (do_one_test): Break out result checking code into ...
34638         (check_result): This.  New function.
34639         (do_one_test): Call check_result.
34640         (test_main): Call check1.
34641         * string/bug-strstr1.c (main): Moved to ...
34642         * string/test-strstr.c (check1): Here.  New function.
34643         (do_one_test): Break out result checking code into ...
34644         (check_result): This.  New function.
34645         (do_one_test): Call check_result.
34646         (test_main): Call check1.
34647         * string/bug-strcasestr1.c: Removed.
34648         * string/bug-strchr1.c: Likewise.
34649         * string/bug-strstr1.c: Likewise.
34650
34651         * elf/Makefile (dl-routines): Add hwcaps.
34652         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34653         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34654         (_dl_important_hwcaps): Moved to ...
34655         * elf/dl-hwcaps.c: Here.  New file.
34656         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34657
34658         [BZ #14557]
34659         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34660         if IS_IN_rtld isn't defined.
34661
34662         * elf/dl-support.c (_dl_sysinfo_map): New.
34663         Include "get-dynamic-info.h" and "setup-vdso.h".
34664         (_dl_non_dynamic_init): Call setup_vdso.
34665         * elf/dynamic-link.h: Don't include <assert.h>.
34666         (elf_get_dynamic_info): Moved to ...
34667         * elf/get-dynamic-info.h: Here.  New file.
34668         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34669         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34670         * elf/setup-vdso.h: Here.  New file.
34671         * elf/rtld.c: Include "setup-vdso.h".
34672         (dl_main): Call setup_vdso.
34673
34674 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34675
34676         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34677         creal in comment listing functions tested.  List finite, isinf,
34678         isnan, isless, islessequal, isgreater, isgreaterequal,
34679         islessgreater, isunordered, lgamma_r and pow10 as functions and
34680         macros not tested.  Mention which functions not tested are aliases
34681         for other functions.  Fix typo.  Note that signs of NaNs are not
34682         tested.
34683
34684         * scripts/config.guess: Update from config.git.
34685         * scripts/config.sub: Likewise.
34686
34687 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34688
34689         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34690         * misc/madvise.c (madvise): Renamed to __madvise.
34691         Make madvise a weak alias.
34692         * include/sys/mman.h: Declare __madvise.
34693         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34694         * sysdeps/unix/syscalls.list
34695         (madvise): Make __madvise the strong name, and madvise a weak alias.
34696         * sysdeps/unix/sysv/linux/syscalls.list
34697         (madvise, mmap): Remove redundant entries.
34698         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34699         * malloc/malloc.c (mtrim): Likewise.
34700         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34701
34702 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34703
34704         * sysdeps/mach/hurd/dl-cache.c: File removed.
34705         * config.h.in (USE_LDCONFIG): New #undef.
34706         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34707         * configure: Regenerated.
34708         * elf/Makefile (dl-routines): Add dl-cache only under
34709         [$(use-ldconfig) = yes].
34710         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34711         cache on [USE_LDCONFIG].
34712         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34713         [USE_LDCONFIG].
34714         * elf/rtld.c (dl_main): Likewise.
34715
34716 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34717
34718         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34719         _SC_LEVEL4_CACHE_LINESIZE.
34720
34721 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34722
34723         * sysdeps/unix/bsd/confstr.h: File removed.
34724
34725 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34726
34727         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34728         sys/sdt-config.h.
34729
34730 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34731
34732         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34733         Make 'mapoff' field ElfW(Off) rather than off_t.
34734
34735 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34736
34737         * nscd/Makefile: Remove nscd-cflags and all its users.
34738         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34739         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34740
34741         [BZ #10631]
34742         * malloc.c (malloc_printerr): Clarify error message.
34743
34744 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34745
34746         [BZ #14648]
34747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34748         Set bit_FMA_Usable if FMA is supported.
34749         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34750         macro.
34751         (bit_FMA4_Usable): Updated.
34752         (index_FMA_Usable): New macro.
34753         (CPUID_FMA): Likewise
34754         (HAS_FMA): Defined with bit_FMA_Usable.
34755
34756 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34757
34758         * bits/types.h (__swblk_t): Type removed.
34759         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34760         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34761         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34762         (__SWBLK_T_TYPE): Likewise.
34763         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34764         (__SWBLK_T_TYPE): Likewise.
34765         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34766         (__SWBLK_T_TYPE): Likewise.
34767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34768         (__SWBLK_T_TYPE): Likewise.
34769
34770 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34771             Honza Horak <hhorak@redhat.com>
34772
34773         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34774         (xdr_mapname): Use YPMAXMAP as maxsize.
34775         (xdr_peername): Use YPMAXPEER as maxsize.
34776         (xdr_keydat): Use YPAXRECORD as maxsize.
34777         (xdr_valdat): Use YPMAXRECORD as maxsize.
34778
34779 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34780
34781         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34782
34783         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34784         * csu/init-first.c: ... here.
34785         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34786         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34787         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34788         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34789         * sysdeps/i386/init-first.c: File removed.
34790         * sysdeps/sh/init-first.c: File removed.
34791
34792 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34793
34794         [BZ #14645]
34795         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34796         if x * y might underflow to zero and z is zero.
34797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34798         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34799         * math/libm-test.inc (min_subnorm_value): New variable.
34800         (fma_test): Add more tests.
34801         (fma_test_towardzero): Likewise.
34802         (fma_test_downward): Likewise
34803         (fma_test_upward): Likewise.
34804         (initialize): Set min_subnorm_value.
34805
34806 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34807
34808         [BZ #14638]
34809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34810         0 + 0.
34811         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34812         mode for addition resulting in exact zero.
34813         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34815         exact 0 + 0.
34816         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34817         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34818         * math/libm-test.inc (fma_test): Add more tests.
34819         (fma_test_towardzero): New function.
34820         (fma_test_downward): Likewise.
34821         (fma_test_upward): Likewise.
34822         (main): Call the new functions.
34823
34824 2012-09-28  David S. Miller  <davem@davemloft.net>
34825
34826         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34827
34828 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34829
34830         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34831         instead of SIGALRM.
34832
34833         * sysdeps/gnu/_G_config.h: Moved to ...
34834         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34835         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34836         * sysdeps/generic/_G_config.h: ... here.
34837
34838         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34839
34840         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34841
34842         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34843         Conditionalize target on [libnss_test1.so-version].
34844
34845         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34846
34847         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34848         (elfobjdir): Move out of conditionals.
34849
34850         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34851         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34852         (__nss_lookup_function): Conditionalize label remove_from_tree on
34853         [!DO_STATIC_NSS || SHARED], matching its only use.
34854
34855 2012-09-28  David S. Miller  <davem@davemloft.net>
34856
34857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34858         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34859         file.
34860         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34861         sysdep_routines.
34862         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34863         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34864         when HWCAP_SPARC_CRYPTO is present.
34865
34866 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34867
34868         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34869
34870 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34871
34872         [BZ #6530]
34873         * stdio-common/vfprintf.c (process_string_arg): Revert
34874         2000-07-22 change.
34875
34876 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34877
34878         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34879         for testcase.
34880         * stdio-common/tst-sprintf.c: Include <locale.h>
34881         (main): Test sprintf's handling of incomplete multibyte
34882         characters.
34883
34884 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34885
34886         * elf/dl-runtime.c (VERSYMIDX): Removed.
34887         * elf/dl-version.c (VERSYMIDX): Likewise.
34888         * elf/do-rel.h (VERSYMIDX): Likewise.
34889         (VALIDX): Likewise.
34890         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34891         * elf/rtld.c (VALIDX): Likewise.
34892         (ADDRIDX): Likewise.
34893         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34894         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34895         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34896         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34897         (VALIDX): Likewise.
34898         (ADDRIDX): Likewise.
34899
34900 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34901
34902         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34903
34904 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34905
34906         [BZ #11438]
34907         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34908         to global scope.
34909         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34910         addresses are in the same scope as 192.0.2/24.
34911         * posix/gai.conf: Document new scope table defaults.
34912
34913 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34914
34915         [BZ #5298]
34916         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34917         for ftell.  Compute offsets from write pointers instead.
34918         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34919
34920 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34921
34922         [BZ #14543]
34923         * libio/Makefile (tests): New test case tst-fseek.
34924         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34925         combination works in wide mode.
34926         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34927         state when the external buffer state changes.
34928
34929 2012-09-27  David S. Miller  <davem@davemloft.net>
34930
34931         [BZ #14376]
34932         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34933         pass reloc->r_addend in as the 'high' argument to
34934         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34935
34936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34937
34938 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34939
34940         * rt/tst-aio2.c: Include <pthread.h>.
34941         * rt/tst-aio3.c: Likewise.
34942
34943 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34944
34945         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34946
34947 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34948
34949         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34950         contents on [SHARED].
34951
34952 2012-09-26  Marek Polacek  <polacek@redhat.com>
34953
34954         [BZ #14530]
34955         [BZ #13741]
34956         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34957         for C++ and GCC <4.3 as well as for non GCC compilers.
34958
34959 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34960
34961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34962
34963 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34964
34965         * Makefile.in (all, install): Declare with .PHONY.
34966         Reported by Michael Hope <michael.hope@linaro.org>.
34967
34968 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34969
34970         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34971         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34972         system header.
34973         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34974         Likewise.
34975         (sydep_routines): Add the new and the internal functions.
34976         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34977         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34979         (GLIBC_2.17): Add the new function.
34980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34981         (GLIBC_2.17): Likewise.
34982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34983         (GLIBC_2.17): Likewise.
34984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34985         (GLIBC_2.17): Likewise.
34986         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34987
34988 2012-09-25  Alan Modra  <amodra@gmail.com>
34989
34990         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34991         Add release barrier before setting once_control to say
34992         initialisation is done.  Add hints on lwarx.  Use macro in
34993         place of isync.
34994         (clear_once_control): Add release barrier.
34995
34996 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34997
34998         [BZ #13629]
34999         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35000         specially.
35001         * math/s_clog10.c (__clog10): Likewise.
35002         * math/s_clog10f.c (__clog10f): Likewise.
35003         * math/s_clog10l.c (__clog10l): Likewise.
35004         * math/s_clogf.c (__clogf): Likewise.
35005         * math/s_clogl.c (__clogl): Likewise.
35006         * math/Makefile (libm-calls): Add x2y2m1.
35007         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35008         (__x2y2m1): Likewise.
35009         (__x2y2m1l): Likewise.
35010         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35011         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35012         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35013         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35014         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35015         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35016         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35017         * sysdeps/i386/fpu/libm-test-ulps: Update.
35018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35019
35020         [BZ #14621]
35021         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35022         int as type of variable DEPTH.
35023         (glob): Use size_t instead of int as type of variables NEWCOUNT
35024         and OLD_PATHC.
35025
35026 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35027
35028         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35029         Add s_sincosf-sse2.
35030         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35031         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35032         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35033         macros for using routine as __sincosf_ia32.
35034         Use macro for function declaration and weak_alias.
35035         * sysdeps/i386/fpu/libm-test-ulps: Update.
35036
35037         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35039
35040         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35041         subnormal argument.
35042         * math/s_cexpf.c (__cexpf): Likewise.
35043         * math/s_csinf.c (__csinf): Likewise.
35044         * math/s_csinhf.c (__csinhf): Likewise.
35045         * math/s_ctanf.c (__ctanf): Likewise.
35046         * math/s_ctanhf.c (__ctanhf): Likewise.
35047         * math/s_ccosh.c (__ccoshf): Likewise.
35048         * math/s_cexp.c (__cexpl): Likewise.
35049         * math/s_csin.c (__csin): Likewise.
35050         * math/s_csinh.c (__csinh): Likewise.
35051         * math/s_ctan.c (__ctan): Likewise.
35052         * math/s_ctanh.c (ctanh): Likewise.
35053         * math/s_ccoshl.c (__ccoshl): Likewise.
35054         * math/s_cexpl.c (__cexpl): Likewise.
35055         * math/s_csinl.c (__csinl): Likewise.
35056         * math/s_csinhl.c (__csinhl): Likewise.
35057         * math/s_ctanl.c (__ctanl): Likewise.
35058         * math/s_ctanhl.c (__ctanhl): Likewise.
35059
35060 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35061
35062         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35063         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35064         (_IO_off_t): Define to __off_t, not _G_off_t.
35065         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35066         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35067         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35068         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35069         type of __dummy and __dummy2 fields.
35070         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35071         (_G_ssize_t): Likewise.
35072         (_G_off_t): Likewise.
35073         (_G_pid_t): Likewise.
35074         (_G_uid_t): Likewise.
35075         (_G_wchar_t): Likewise.
35076         (_G_wint_t): Likewise.
35077         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35078         (_G_ssize_t): Likewise.
35079         (_G_off_t): Likewise.
35080         (_G_pid_t): Likewise.
35081         (_G_uid_t): Likewise.
35082         (_G_wchar_t): Likewise.
35083         (_G_wint_t): Likewise.
35084         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35085         (_G_ssize_t): Likewise.
35086         (_G_off_t): Likewise.
35087         (_G_pid_t): Likewise.
35088         (_G_uid_t): Likewise.
35089         (_G_wchar_t): Likewise.
35090         (_G_wint_t): Likewise.
35091
35092 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35093
35094         * malloc/arena.c: Include malloc-sysdep.h.
35095         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35096         is sufficient to shrink the heap or an unmap is needed.
35097         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35098         new function check_may_shrink_heap.
35099         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35100         new function check_may_shrink_heap.
35101
35102 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35103
35104         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35105         comments.
35106
35107 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35108
35109         * catgets/test-gencat.sh: Add "set -e".
35110         * elf/tst-pathopt.sh: Likewise.
35111         * grp/tst_fgetgrent.sh: Likewise.
35112         * iconvdata/run-iconv-test.sh: Likewise.
35113         * intl/tst-gettext.sh: Likewise.
35114         * intl/tst-gettext2.sh: Likewise.
35115         * intl/tst-gettext4.sh: Likewise.
35116         * intl/tst-gettext6.sh: Likewise.
35117         * intl/tst-translit.sh: Likewise.
35118         * io/ftwtest-sh: Likewise.
35119         * libio/test-freopen.sh: Likewise.
35120         * malloc/tst-mtrace.sh: Likewise.
35121         * posix/globtest.sh: Likewise.
35122         * posix/tst-getconf.sh: Likewise.
35123         * posix/wordexp-tst.sh: Likewise.
35124         * stdio-common/tst-printf.sh: Likewise.
35125         * stdio-common/tst-unbputc.sh: Likewise.
35126         * stdlib/tst-fmtmsg.sh: Likewise.
35127         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35128         * catgets/Makefile: Do not specify -e option when running
35129         testsuite shell scripts.
35130         * elf/Makefile: Likewise.
35131         * grp/Makefile: Likewise.
35132         * iconvdata/Makefile: Likewise.
35133         * intl/Makefile: Likewise.
35134         * io/Makefile: Likewise.
35135         * libio/Makefile: Likewise.
35136         * malloc/Makefile: Likewise.
35137         * posix/Makefile: Likewise.
35138         * stdio-common/Makefile: Likewise.
35139         * stdlib/Makefile: Likewise.
35140         * sysdeps/x86_64/Makefile: Likewise.
35141
35142         * io/ftwtest-sh: Add copyright header.
35143         * posix/globtest.sh: Likewise.
35144         * posix/tst-getconf.sh: Likewise.
35145         * posix/wordexp-tst.sh: Likewise.
35146         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35147
35148 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35149
35150         [BZ #13679]
35151         * Makeconfig (+link): Defined as $(+link-static) if
35152         $(build-shared) isn't yes.
35153         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35154         isn't yes.
35155         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35156
35157         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35158
35159         [BZ #14562]
35160         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35161         new chunk size with MALLOC_ALIGN_MASK.
35162
35163 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35164
35165         [BZ #5044]
35166         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35167         <rounding-mode.h>.
35168         (__printf_fphex): Determine rounding using get_rounding_mode and
35169         round_away.
35170         * stdio-common/tst-printf-round.c (struct hex_test): New
35171         structure.
35172         (hex_tests): New variable.
35173         (test_hex_in_one_mode): New function.
35174         (do_test): Also run tests for hex float output.
35175
35176 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35177
35178         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35179         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35180         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35181         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35182         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35183         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35184         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35185         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35186
35187 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35188
35189         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35190         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35191         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35192         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35193
35194 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35195
35196         [BZ #14579]
35197         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35198         mode only.
35199         * elf/tst-rtld-load-self.sh: New test.
35200         * elf/Makefile: Run it.
35201
35202 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35203
35204         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35205         (tst-writev-ENV): Remove.
35206         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35207
35208 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35209
35210         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35211
35212 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35213
35214         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35215         unconditional.
35216         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35217         Likewise.
35218         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35219         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35220         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35221         Likewise.
35222
35223 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35224
35225         [BZ #14587]
35226         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35227         * config.make.in (have-cpp-asm-debuginfo): Removed.
35228         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35229         * configure: Regenerated.
35230
35231 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35232
35233         [BZ #5044]
35234         * stdio-common/printf_fp.c: Include <stdbool.h> and
35235         <rounding-mode.h>.
35236         (___printf_fp): Determine rounding using get_rounding_mode and
35237         round_away.
35238         * stdio-common/tst-printf-round.c: New file.
35239         * stdio-common/Makefile (tests): Add tst-printf-round.
35240         (link-libm): New variable.
35241         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35242
35243 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35244
35245         [BZ #14576]
35246         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35247         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35248         Likewise.
35249         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35250         Likewise.
35251
35252 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35253
35254         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35255         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35256         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35257         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35258
35259 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35260
35261         [BZ #14518]
35262         * include/rounding-mode.h: New file.
35263         * sysdeps/generic/get-rounding-mode.h: Likewise.
35264         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35265         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35266         (MAX_VALUE): New macro.
35267         (MIN_VALUE): Likewise.
35268         (overflow_value): New function.
35269         (underflow_value): Likewise.
35270         (round_and_return): Use overflow_value and underflow_value to
35271         determine return values in overflow and underflow cases.  Use
35272         round_away to determine rounding depending on rounding mode.
35273         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35274         determine return values in overflow and underflow cases.
35275         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35276         (struct test_results): New structure.
35277         (struct test): Use struct test_results to store expected results
35278         for all rounding modes.
35279         (TEST): Include expected results for all rounding modes.
35280         (test_in_one_mode): New function.
35281         (do_test): Use test_in_one_mode to compute and check results.
35282         Check results for all rounding modes.
35283         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35284         $(link-libm).
35285
35286 2012-12-09  Allan McRae  <allan@archlinux.org>
35287
35288         * sysdeps/i386/fpu/libm-test-ulps: Update
35289
35290 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35291
35292         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35293         (_G_int32_t): Likewise.
35294         (_G_uint16_t): Likewise.
35295         (_G_uint32_t): Likewise.
35296         (_G_HAVE_BOOL): Likewise.
35297         (_G_HAVE_ATEXIT): Likewise.
35298         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35299         (_G_HAVE_IO_FILE_OPEN): Likewise.
35300         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35301         (_G_int32_t): Likewise.
35302         (_G_uint16_t): Likewise.
35303         (_G_uint32_t): Likewise.
35304         (_G_HAVE_BOOL): Likewise.
35305         (_G_HAVE_ATEXIT): Likewise.
35306         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35307         (_G_HAVE_IO_FILE_OPEN): Likewise.
35308         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35309         (_G_int32_t): Likewise.
35310         (_G_uint16_t): Likewise.
35311         (_G_uint32_t): Likewise.
35312         (_G_HAVE_BOOL): Likewise.
35313         (_G_HAVE_ATEXIT): Likewise.
35314         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35315         (_G_HAVE_IO_FILE_OPEN): Likewise.
35316
35317 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35318
35319         * csu/libc-tls.c: Update copyright years.
35320
35321 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35322
35323         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35324         [!_G_USING_THUNKS]: Remove conditional code.
35325         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35326         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35327
35328         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35329         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35330         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35331         (_G_VTABLE_LABEL_PREFIX): Likewise.
35332         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35333         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35334         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35335         (_G_VTABLE_LABEL_PREFIX): Likewise.
35336         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35337         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35338         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35339         (_G_VTABLE_LABEL_PREFIX): Likewise.
35340         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35341
35342 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35343
35344         * libio/Makefile: Include ../Makeconfig before tests.
35345         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35346         only if $(build-shared) is yes.
35347
35348         * iconv/gconv_db.c: Update copyright years.
35349
35350 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35351
35352         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35353         unwind info if defined PIC. Fix special cases description.
35354         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35355
35356         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35357         DP_HI_MASK entry.
35358         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35359
35360 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35361
35362         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35363
35364         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35365         is NULL.
35366
35367         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35368         (LDLIBS-tst-chk4): This.
35369         (LDFLAGS-tst-chk5): Renamed to ...
35370         (LDLIBS-tst-chk5): This.
35371         (LDFLAGS-tst-chk6): Renamed to ...
35372         (LDLIBS-tst-chk6): This.
35373         (LDFLAGS-tst-lfschk4): Renamed to ...
35374         (LDLIBS-tst-lfschk4): This.
35375         (LDFLAGS-tst-lfschk5): Renamed to ...
35376         (LDLIBS-tst-lfschk5): This.
35377         (LDFLAGS-tst-lfschk6): Renamed to ...
35378         (LDLIBS-tst-lfschk6): This.
35379
35380         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35381         on $(common-objpfx)soversions.mk.
35382
35383 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35384
35385         [BZ #10014]
35386         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35387         example host name.
35388
35389 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35390
35391         * malloc/arena.c (arena_get_retry): New function that gets
35392         another arena for the caller to try its request on.
35393         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35394         current arena cannot fulfill the request.
35395         (__libc_memalign): Likewise.
35396         (__libc_memalign): Likewise.
35397         (__libc_pvalloc): Likewise.
35398         (__libc_calloc): Likewise.
35399
35400 2012-09-05  John Tobey  <john.tobey@gmail.com>
35401
35402         [BZ #13542]
35403         * manual/arith.texi (Operations on Complex): Fix description
35404         of carg branch cut.
35405
35406 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35407
35408         [BZ #10014]
35409         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35410         host name.
35411
35412         [BZ #10038]
35413         * manual/memory.texi (Memory): Make order of menu items match
35414         order of sections.
35415
35416 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35417
35418         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35419         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35420         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35421
35422 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35423
35424         * csu/libc-tls.c (static_dtv): Renamed to ...
35425         (_dl_static_dtv): This.  Make it global.
35426         (_dl_initial_dtv): Removed.
35427         (__libc_setup_tls): Updated.
35428         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35429         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35430         DL_INITIAL_DTV.
35431
35432 2012-09-06  Petr Machata  <pmachata@redhat.com>
35433
35434         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35435         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35436         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35437         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35438
35439 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35440
35441         [BZ #14545]
35442         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35443         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35444         freeing dtv[-1].
35445
35446 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35447
35448         [BZ #14544]
35449         * Makeconfig (link-static-before-libc): Replace $(+prector)
35450         with $(+prectorT).
35451         (link-static-after-libc): Replace $(+postctor) with
35452         $(+postctorT).
35453         (link-bounded): Replace $(+prector)/$(+postctor) with
35454         $(+prectorT)/$(+postctorT).
35455         (+prectorT): New macro.
35456         (+postctorT): Likewise.
35457
35458 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35459
35460         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35461         (round_str): Handle values above the maximum for IBM long double
35462         as inexact.
35463         * stdlib/tst-strtod-round.c (tests): Regenerated.
35464
35465 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35466
35467         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35468         assembler flag.
35469         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35470         zarch_nohighgprs around the zarch optimized routines.
35471         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35472         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35473         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35474         for zarch.
35475
35476 2012-09-05  David S. Miller  <davem@davemloft.net>
35477
35478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35479
35480         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35481         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35482         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35483         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35484         entries.
35485
35486 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35487
35488         * malloc/arena.c: Fold copyright years.
35489         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35490
35491 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35492
35493         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35494
35495 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35496
35497         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35498
35499 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35500
35501         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35502         change internal state upon failure.
35503
35504 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35505
35506         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35507         * malloc/memusage.c (mmap): Likewise.
35508         (mmap64, mremap): Likewise.  Adjust name in comment.
35509
35510 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35511
35512         * libio/fileops.c: Fix typos in comments.
35513         * libio/oldfileops.c: Likewise.
35514         * libio/wfileops.c: Likewise.
35515
35516 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35517
35518         [BZ #1349]
35519         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35520         (tst-malloc-usable-ENV): Set environment for test case.
35521         * malloc/hooks.c (malloc_check_get_size): New function to get
35522         requested size.
35523         * malloc/malloc.c (musable): Use malloc_check_get_size.
35524         * malloc/tst-malloc-usable.c: New test case.
35525
35526 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35527
35528         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35529
35530 2012-09-05  Allan McRae  <allan@archlinux.org>
35531
35532         [BZ #13966]
35533         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35534         determine header location.
35535         * configure: Regenerated.
35536
35537 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35538
35539         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35540         float format.
35541         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35542         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35543         format.
35544         (test): Regenerate.
35545
35546 2012-09-04  David S. Miller  <davem@davemloft.net>
35547
35548         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35549         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35550         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35551
35552 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35553
35554         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35555         failures.
35556
35557         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35558
35559 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35560
35561         [BZ #9914]
35562         * libio/iogetdelim.c: Include <limits.h>.
35563         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35564         + len + 1 would overflow.
35565
35566 2012-09-03  Andreas Jaeger  <aj@suse.de>
35567
35568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35569         * sysdeps/i386/fpu/libm-test-ulps: Update.
35570
35571 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35572
35573         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35574         Add s_sinf-sse2, s_conf-sse2.
35575
35576         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35577         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35578         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35579         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35580
35581         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35582         for using routine as __sinf_ia32.
35583         Use macro for function declaration and weak_alias.
35584         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35585         for using routine as __cosf_ia32.
35586         Use macro for function declaration and weak_alias.
35587
35588         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35589         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35590
35591         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35592         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35594
35595         * math/libm-test.inc (cos_test): Add more test cases.
35596         (sin_test): Likewise.
35597         (sincos_test): Likewise.
35598
35599 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35600
35601         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35602         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35603         hidden.
35604         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35605
35606 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35607
35608         [BZ #14538]
35609         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35610         first element of the GOT.
35611         (elf_machine_load_address): Return the difference between
35612         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35613
35614 2012-09-01  Allan McRae  <allan@archlinux.org>
35615
35616         [BZ #13412]
35617         * configure.in (AWK): Require gawk version 3.0 or later.
35618         * configure: Regenerated.
35619
35620 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35621
35622         * sysdeps/unix/sysv/linux/kernel-features.h
35623         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35624         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35625         [__NR_clock_getres]: Make code unconditional.
35626         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35627         (clock_getcpuclockid): Remove code left unreachable by removal of
35628         conditionals.
35629         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35630         code unconditional.
35631         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35632         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35633         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35634         Make code unconditional.
35635         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35636         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35637         * sysdeps/unix/sysv/linux/clock_settime.c
35638         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35639         conditional code.
35640         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35641         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35642
35643 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35644
35645         [BZ #14476]
35646         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35647         scripts/test-installation.pl.
35648
35649         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35650         and $ld_so_version if it is set.
35651
35652 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35653
35654         [BZ #14516]
35655         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35656         failure if reading from procfs failed.
35657         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35658
35659 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35660
35661         * sysdeps/unix/sysv/linux/kernel-features.h
35662         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35663         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35664         Remove conditional code.
35665         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35666         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35667         Remove conditional code.
35668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35669         * sysdeps/unix/sysv/linux/i386/fxstat.c
35670         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35671         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35672         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35673         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35674         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35675         * sysdeps/unix/sysv/linux/i386/lxstat.c
35676         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35677         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35678         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35679         Remove conditional code.
35680         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35681         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35682         Remove conditional code.
35683         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35684         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35685         <kernel-features.h>.
35686         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35687         Remove.
35688         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35689         Remove conditional code.
35690         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35691         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35692         Remove conditional.
35693
35694 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35695
35696         [BZ #5400]
35697         * NEWS: Add fixed bug number.
35698
35699 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35700
35701         [BZ #14519]
35702         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35703         underflowing exponent in case of negative sign.
35704         * stdlib/tst-strtod-round-data: Add more tests.
35705         * stdlib/tst-strtod-round.c (tests): Regenerated.
35706
35707         [BZ #3479]
35708         * stdlib/strtod_l.c (NDIG): Remove.
35709         (HEXNDIG): Likewise.
35710         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35711         smallest representable value.
35712         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35713         lie within an exact representation of 1/2 ulp of the result.
35714         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35715         unconditionally.
35716         (TENS_P9_IDX): Define unconditionally.
35717         (TENS_P9_SIZE): Likewise.
35718         (TENS_P10_IDX): Likewise.
35719         (TENS_P10_SIZE): Likewise.
35720         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35721         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35722         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35723         entries for 10^2^13 and 10^2^14.
35724         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35725         (TENS_P13_IDX): Define.
35726         (TENS_P13_SIZE): Likewise.
35727         (TENS_P14_IDX): Likewise.
35728         (TENS_P14_SIZE): Likewise.
35729         (_fpioconst_pow10): Change array size to
35730         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35731         unconditional.
35732         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35733         1024]: Add entries for 10^2^13 and 10^2^14.
35734         [LAST_POW10 > _LAST_POW10]: Remove #error.
35735         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35736         (_fpioconst_pow10): Change array size to
35737         FPIOCONST_POW10_ARRAY_SIZE.
35738         * stdlib/gen-fpioconst.c: New file.
35739         * stdlib/gen-tst-strtod-round.c: Likewise.
35740         * stdlib/tst-strtod-round-data: Likewise.
35741         * stdlib/tst-strtod-round.c: Likewise.
35742         * stdlib/Makefile (tests): Add tst-strtod-round.
35743
35744         [BZ #14459]
35745         * stdlib/strtod_l.c: Include <stdint.h>.
35746         (NDEBUG): Do not define.
35747         (round_and_return): Change EXPONENT parameter to type intmax_t.
35748         Rearrange calculations to avoid internal overflow possibilities.
35749         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35750         Rearrange calculations to avoid internal overflow possibilities.
35751         Assert that number fits inside MPNSIZE limbs.
35752         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35753         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35754         calculations and add assertions to avoid internal overflow
35755         possibilities.  Add casts to avoid signed/unsigned operations.
35756         * stdlib/tst-strtod-overflow.c: New file.
35757         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35758
35759 2012-08-25  Marek Polacek  <polacek@redhat.com>
35760
35761         * time/time.h: Fix some typos in comments.
35762
35763 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35764
35765         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35766         * posix/tst-rfc3484-2.c: Likewise.
35767         * posix/tst-rfc3484-3.c: Likewise.
35768
35769 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35770
35771         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35772         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35773
35774 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35775
35776         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35777         #include of fxstatat64.c.
35778
35779 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35780
35781         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35782         * shadow/getspent_r.c: Likewise.
35783         * shadow/getspnam.c: Likewise.
35784         * shadow/getspnam_r.c: Likewise.
35785         * gshadow/getsgent.c: Likewise.
35786         * gshadow/getsgent_r.c: Likewise.
35787         * gshadow/getsgnam.c: Likewise.
35788         * gshadow/getsgnam_r.c: Likewise.
35789         * inet/getnetbyad.c: Likewise.
35790         * inet/getnetbyad_r.c: Likewise.
35791         * inet/getnetbynm.c: Likewise.
35792         * inet/getnetbynm_r.c: Likewise.
35793         * inet/getnetent.c: Likewise.
35794         * inet/getnetent_r.c: Likewise.
35795         * inet/getproto.c: Likewise.
35796         * inet/getproto_r.c: Likewise.
35797         * inet/getprtent.c: Likewise.
35798         * inet/getprtent_r.c: Likewise.
35799         * inet/getprtname.c: Likewise.
35800         * inet/getprtname_r.c: Likewise.
35801         * inet/getrpcbyname.c: Likewise.
35802         * inet/getrpcbyname_r.c: Likewise.
35803         * inet/getrpcbynumber.c: Likewise.
35804         * inet/getrpcbynumber_r.c: Likewise.
35805         * inet/getrpcent.c: Likewise.
35806         * inet/getrpcent_r.c: Likewise.
35807         * inet/getaliasent.c: Likewise.
35808         * inet/getaliasent_r.c: Likewise.
35809         * inet/getaliasname.c: Likewise.
35810         * inet/getaliasname_r.c: Likewise.
35811         * nscd/getgrgid_r.c: Likewise.
35812         * nscd/getgrnam_r.c: Likewise.
35813         * nscd/gethstbyad_r.c: Likewise.
35814         * nscd/gethstbynm3_r.c: Likewise.
35815         * nscd/getpwnam_r.c: Likewise.
35816         * nscd/getpwuid_r.c: Likewise.
35817         * nscd/getsrvbynm_r.c: Likewise.
35818         * nscd/getsrvbypt_r.c: Likewise.
35819         * nscd/gai.c: Likewise.
35820
35821         * configure.in (build_nscd): New substituted variable, set
35822         by --disable-build-nscd and defaults to $use_nscd.
35823         * configure: Regenerated.
35824         * config.make.in (build-nscd): New substituted variable.
35825         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35826         Change conditional to require [$(build-nscd) = yes] as well.
35827         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35828
35829         [BZ# 13696]
35830         * configure.in (use_nscd): New substituted variable, set by
35831         --disable-nscd.  If enabled, define USE_NSCD.
35832         * configure: Regenerated.
35833         * config.h.in: Add USE_NSCD.
35834         * config.make.in (use-nscd): New substituted variable.
35835         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35836         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35837         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35838         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35839         (CFLAGS-getgrnam_r.c): Likewise.
35840         (CFLAGS-initgroups.c): Likewise.
35841         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35842         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35843         Variables removed.
35844         * inet/getnetgrent_r.c
35845         (nscd_setnetgrent): New function, broken out of ...
35846         (setnetgrent): ... here.  Call it.
35847         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35848         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35849         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35850         * nscd/Makefile (routines, aux): Move definitions after include of
35851         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35852         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35853         Conditionalize on [USE_NSCD].
35854         (is_nscd, nscd_init_cb): Likewise.
35855         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35856         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35857         * nss/nss_db/db-init.c: Likewise.
35858         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35859         [USE_NSCD].
35860         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35861         (make_request): Use it.
35862         (cache_valid_p): New function.
35863         (__check_pf): Use it.
35864         * NEWS: Add item for --disable-nscd.
35865
35866 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35867
35868         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35869         to support sed >= 4.2.1-20-ga9bf076.
35870         * configure: Regenerated.
35871
35872 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35873
35874         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35875         Conditionalize whole body on [IREL].
35876
35877 2012-08-22  Jeff Law <law@redhat.com>
35878
35879         [BZ #14505]
35880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35881         if the family is PF_UNSPEC.
35882
35883 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35884
35885         * Makerules (lib-version): Rename from V.
35886         (install-lib-nosubdir): Change V to lib-version.
35887
35888 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35889
35890         [BZ #14252]
35891         * powerpc32/power6/wcschr.c: New file.
35892         * powerpc32/power6/wcscpy.c: New file.
35893         * powerpc32/power6/wcsrchr.c: New file.
35894         * powerpc64/power6/wcschr.c: New file.
35895         * powerpc64/power6/wcscpy.c: New file.
35896         * powerpc64/power6/wcsrchr.c: New file.
35897
35898 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35899
35900         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35901         (two_way_short_needle): Use it.
35902         * string/strstr.c (AVAILABLE1_USES_J): Define.
35903         * string/strcasestr.c: Likewise.
35904
35905         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35906         array references.
35907         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35908
35909         [BZ #11607]
35910         * NEWS: Add an entry.
35911         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35912         define their defaults.
35913         (two_way_short_needle): Detect end-of-string on-the-fly.
35914         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35915         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35916         * string/bug-strcasestr1.c: New test.
35917         * string/Makefile: Run it.
35918
35919 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35920
35921         [BZ #11607]
35922         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35923         the first character.
35924
35925 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35926
35927         * csu/elf-init.c (__libc_csu_irel): Function removed.
35928         * csu/libc-start.c (apply_irel): New function.
35929         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35930
35931 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35932
35933         * sysdeps/unix/sysv/linux/kernel-features.h
35934         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35935         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35936         <kernel-features.h>.
35937         [__NR_fadvise64_64]: Make code unconditional.
35938         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35939         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35940         !__NR_fadvise64_64)]: Likewise.
35941         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35942         !__NR_fadvise64_64))]: Likewise.
35943         [__NR_fadvise64]: Make code unconditional.
35944         [!__NR_fadvise64]: Remove conditional code.
35945         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35946         <kernel-features.h>.
35947         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35948         unconditional.
35949         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35950         conditional code.
35951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35952         not include <kernel-features.h>.
35953         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35954         unconditional.
35955         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35956         conditional code.
35957         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35958         include <kernel-features.h>.
35959         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35960         unconditional.
35961         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35962         conditional code.
35963
35964 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35965
35966         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35967         slight instruction rearrangements per scrollpipe analysis.
35968         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35969
35970 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35971
35972         * manual/syslog.texi (syslog; vsyslog, closelog):
35973         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35974         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35975
35976         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35977         DSOCAPS to match condition on defining it.
35978
35979 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35980
35981         * sysdeps/unix/sysv/linux/kernel-features.h
35982         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35984         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35985         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35987         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35988         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35990         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35991         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35992
35993         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35994         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35995
35996         * sysdeps/unix/sysv/linux/kernel-features.h
35997         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35998         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35999         unconditional.
36000         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36001         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36002         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36003         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36004         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36005         Make code unconditional.
36006         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36007         (__mmap64) [!__NR_mmap2]: Likewise.
36008         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36009         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36010         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36011         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36012         [__NR_mmap2]: Make code unconditional.
36013         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36014         (__mmap64) [!__NR_mmap2]: Likewise.
36015
36016 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36017
36018         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36019
36020 2012-08-18  Andreas Jaeger  <aj@suse.de>
36021
36022         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36023
36024 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36025
36026         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36027         * include/unistd.h (__have_sock_cloexec): Likewise.
36028         (__have_pipe2): Likewise.
36029         (__have_dup3): Likewise.
36030
36031 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36032
36033         [BZ #9685]
36034         * include/unistd.h (__have_pipe2): Change define into an extern int.
36035         (__have_dup3): Likewise.
36036         * socket/have_sock_cloexec.c: Include fcntl.h.
36037         (__have_pipe2): New variable.
36038         (__have_dup3): Likewise.
36039
36040 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36041
36042         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36043
36044 2012-08-17  Marek Polacek  <polacek@redhat.com>
36045
36046         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36047         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36048
36049 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36050
36051         * configure.in: Add AC_SUBST for sysheaders.
36052         * configure: Regenerated.
36053         * config.make.in (sysheaders): New substituted variable.
36054
36055         * sysdeps/unix/mkfifo.c: Moved ...
36056         * sysdeps/posix/mkfifo.c: ... here.
36057         * sysdeps/unix/mkfifoat.c: Moved ...
36058         * sysdeps/posix/mkfifoat.c: ... here.
36059
36060         * sysdeps/unix/utime.c: Moved ...
36061         * sysdeps/posix/utime.c: ... here.
36062
36063         * sysdeps/unix/time.c: Moved ...
36064         * sysdeps/posix/time.c: ... here.
36065         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36066         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36067
36068         * sysdeps/unix/nice.c: Moved ...
36069         * sysdeps/posix/nice.c: ... here.
36070
36071         * sysdeps/unix/alarm.c: Moved ...
36072         * sysdeps/posix/alarm.c: ... here.
36073
36074         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36075
36076 2012-08-17  Jeff Law <law@redhat.com>
36077
36078         * intl/Makefile (codeset_mo): New variable.
36079         ($(codeset_mo)): New target.
36080         (tst-codeset.out): Depend on that.  Remove explicit rule.
36081         (tst-gettext3.out, tst-gettext5.out): Likewise.
36082         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36083         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36084         * intl/tst-codeset.sh: Remove.
36085         * intl/tst-gettext3.sh: Likewise.
36086         * intl/tst-gettext5.sh: Likewise.
36087
36088 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36089
36090         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36091         * sysdeps/unix/syscalls.list: ... here.
36092
36093         * sysdeps/posix/getaddrinfo.c
36094         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36095         (gaiconf_init, gaiconf_reload): Use them.
36096         [!_STATBUF_ST_NSEC]
36097         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36098         Define using time_t rather than struct timespec.
36099
36100         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36101         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36102         Macros removed.
36103         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36104         [!NO_THREADS].
36105         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36106         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36107         Likewise.
36108
36109         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36110         __libc_cleanup_push argument.
36111
36112         * bits/param.h: New file.
36113         * misc/sys/param.h: New file.
36114         * include/sys/param.h: New file.
36115         * misc/Makefile (headers): Add bits/param.h.
36116         * sysdeps/generic/sys/param.h: File removed.
36117         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36118         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36119         * sysdeps/mach/hurd/bits/param.h: New file.
36120         * sysdeps/mach/hurd/sys/param.h: File removed.
36121
36122         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36123         last change.
36124
36125         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36126         [_IO_MTSAFE_IO].
36127         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36128         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36129         New macros.
36130
36131         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36132         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36133         rather than -D_IO_MTSAFE_IO conditionally.
36134         * stdio-common/Makefile (CPPFLAGS): Likewise.
36135         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36136         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36137         Use $(libio-mtsafe).
36138         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36139         of -D_IO_MTSAFE_IO.
36140         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36141         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36142         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36143         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36144         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36145         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36146         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36147         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36148         (CFLAGS-fread_u_chk.c): Likewise.
36149         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36150         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36151         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36152         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36153         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36154         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36155         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36156         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36157         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36158
36159         * libio/Makefile: Test [$(libc-reentrant) = yes]
36160         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36161
36162         * Makeconfig
36163         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36164         * sysdeps/pthread/configure: File removed.
36165         * sysdeps/pthread/Makeconfig: New file.
36166         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36167         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36168
36169 2012-08-16  Gary Benson  <gbenson@redhat.com>
36170
36171         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36172         unmapping the first object in a namespace.
36173
36174 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36175
36176         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36177         (__internal_setnetgrent): ... this.  Add internal_function to
36178         definition.  Add libc_hidden_def.
36179         (setnetgrent): Update caller.
36180         (internal_endnetgrent): Renamed to ...
36181         (__internal_endnetgrent): ... this.  Add internal_function to
36182         definition.  Add libc_hidden_def.
36183         (endnetgrent): Update caller.
36184         (internal_getnetgrent_r): Renamed to ...
36185         (__internal_getnetgrent_r): ... this.  Add internal_function to
36186         definition.  Add libc_hidden_def.
36187         (__getnetgrent_r): Update caller.
36188         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36189
36190 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36191
36192         * stdlib/longlong.h: Update from GCC.
36193
36194 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36195
36196         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36197         on _QL, which is set by umul_ppmm but never used.
36198         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36199         variables, which are set by GMP macros but never used.
36200         * stdio-common/_itowa.c (_itowa): Likewise.
36201         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36202         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36203
36204 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36205
36206         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36207         struct La_sh_regs is not constant.
36208         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36209         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36210         and struct La_sparc64_regs are not constant.
36211
36212 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36213
36214         * sysdeps/unix/sysv/linux/kernel-features.h
36215         (__ASSUME_POSIX_TIMERS): Remove.
36216         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36217         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36218         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36219         Make code unconditional.
36220         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36221         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36222         Make code unconditional.
36223         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36224         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36225         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36226         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36227         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36228         Make code unconditional.
36229         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36230         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36231         (__libc_missing_posix_timers): Remove.
36232
36233 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36234
36235         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36236         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36237
36238         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36239
36240         * elf/dl-sym.c: Include <stdlib.h>.
36241
36242         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36243         constants, which avoids warnings in 32-bit builds.
36244
36245         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36246         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36247
36248         * misc/lseek.c: File moved to ...
36249         * io/lseek.c: ... here.
36250
36251         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36252
36253         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36254         shifting LEN more than 31 bits at once.
36255
36256 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36257
36258         [BZ #14195]
36259         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36260         segmentation fault for a case of two empty input strings.
36261         * string/test-strncasecmp.c (check1): Renamed to...
36262         (bz12205): ...this.
36263         (bz14195): Add new testcase for two empty input strings and N > 0.
36264         (test_main): Call new testcase, adapt for renamed function.
36265
36266 2012-08-15  Andreas Jaeger  <aj@suse.de>
36267
36268         [BZ #14090]
36269         * crypt/md5test2.c: New test, based on test supplied by Serge
36270         Belyshev <belyshev@depni.sinp.msu.ru>.
36271         * crypt/Makefile (xtests): Add md5test-giant..
36272         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36273
36274 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36275
36276         [BZ #14090]
36277         * crypt/md5.c (md5_process_block): Don't assume the buffer
36278         length is less than 2**32.
36279         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36280         length is less than 2**64.
36281
36282 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36283
36284         * string/str-two-way.h: Include <sys/param.h>.
36285         (MAX): Macro removed.
36286
36287         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36288         Move #define and #undef of memmove to just before and after
36289         including <string.h>.
36290
36291         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36292         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36293         and after including <string.h>.  Move declarations of
36294         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36295         to before #include "string/memmove.c".
36296
36297         * include/dirent.h: Declare __getdirentries.
36298
36299         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36300         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36301
36302 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36303
36304         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36305         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36306         * sysdeps/i386/configure: Regenerated.
36307         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36308         STABS_CURRENT_FILE, and STABS_FUN.
36309         (END): Remove call to STABS_FUN_END.
36310         (STABS_CURRENT_FILE1): Delete.
36311         (STABS_CURRENT_FILE): Likewise.
36312         (STABS_FUN): Likewise.
36313         (STABS_FUN_END): Likewise.
36314         (STABS_FUN2): Likewise.
36315         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36316         * sysdeps/x86_64/configure: Regenerated.
36317
36318 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36319
36320         * elf/dl-open.c: Include <atomic.h>.
36321         * elf/dl-lookup.c: Likewise.
36322
36323 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36324
36325         * sysdeps/unix/sysv/linux/kernel-features.h
36326         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36327         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36328         unconditionally.
36329         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36330         unconditionally.
36331         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36332         condition on __ASSUME_CLONE_THREAD_FLAGS.
36333
36334 2012-08-14  Andreas Jaeger  <aj@suse.de>
36335
36336         * sysdeps/i386/fpu/libm-test-ulps: Update.
36337
36338 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36339
36340         * include/atomic.h (atomic_exchange_and_add): Split into ...
36341         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36342         New atomic macros.
36343
36344 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36345
36346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36347
36348 2012-08-13  Jeff Law <law@redhat.com>
36349
36350         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36351         null byte in the output string.
36352
36353 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36354
36355         * sysdeps/unix/sysv/linux/kernel-features.h
36356         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36357         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36358         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36359         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36360         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36361         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36362         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36363
36364 2012-08-09  Jeff Law <law@redhat.com>
36365
36366         [BZ #13939]
36367         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36368         When avoid_arena is set, don't retry in the that arena.  Pick the
36369         next one, whatever it might be.
36370         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36371         (arena_lock): Pass in new parameter to arena_get2.
36372         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36373         arena_get2.
36374         (__libc_malloc): Unify retrying after main arena failure with
36375         __libc_memalign version.
36376         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36377
36378 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36379
36380         [BZ #14166]
36381         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36382         to __redirect_strstr.
36383         (__strstr_sse42): Use typeof __redirect_strstr.
36384         (__strstr_ia32): Likewise.
36385         (__libc_strstr): New prototype.
36386         (strstr): Renamed to ...
36387         (__libc_strstr): This.
36388         (strstr): New strong alias of __libc_strstr.
36389         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36390         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36391         __redirect_time.
36392         Include <time.h>.
36393         (__libc_time): New prototype.
36394         (time_ifunc): Replace time with __libc_time.
36395         (time): New strong alias and hidden definition of __libc_time.
36396         (__GI_time): Remove strong alias.
36397         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36398         Include <stddef.h>.
36399         (memmove): Redefined to __redirect_memmove.
36400         (__memmove_sse2): Use typeof __redirect_memmove.
36401         (__memmove_ssse3): Likewise.
36402         (__memmove_ssse3_back): Likewise.
36403         (__libc_memmove): New prototype.
36404         (memmove): Renamed to ...
36405         (__libc_memmove): This.
36406         (memmove): New strong alias of __libc_memmove.
36407
36408 2012-08-08  Mark Salter  <msalter@redhat.com>
36409
36410         * elf/elf.h
36411         (R_MN10300_TLS_GD): Define.
36412         (R_MN10300_TLS_LD): Likewise.
36413         (R_MN10300_TLS_LDO): Likewise.
36414         (R_MN10300_TLS_GOTIE): Likewise.
36415         (R_MN10300_TLS_IE): Likewise.
36416         (R_MN10300_TLS_LE): Likewise.
36417         (R_MN10300_TLS_DTPMOD): Likewise.
36418         (R_MN10300_TLS_DTPOFF): Likewise.
36419         (R_MN10300_TLS_TPOFF): Likewise.
36420         (R_MN10300_SYM_DIFF): Likewise.
36421         (R_MN10300_ALIGN): Likewise.
36422         (R_MN10300_NUM): Update.
36423
36424 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36425
36426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36427         Remove.
36428
36429 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36430
36431         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36432
36433         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36434         sysdeps/unix -> sysdeps/posix move.
36435         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36436
36437 2012-08-07      Allan McRae     <allan@archlinux.org>
36438
36439         [BZ #14303]
36440         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36441         (SUNOS_CPP): Likewise.
36442         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36443         not found.
36444         (open_input): Call CPP using execvp.
36445
36446 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36447
36448         * sysdeps/unix/sysv/linux/kernel-features.h
36449         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36450         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36451         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36452         (__ASSUME_WAITID_SYSCALL): Likewise.
36453         * sysdeps/unix/sysv/linux/dl-execstack.c
36454         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36455         code unconditional.
36456         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36457         conditional code.
36458         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36459         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36460         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36461         code.
36462         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36463         unconditional.
36464         [__ASSUME_WAITID_SYSCALL]: Likewise.
36465         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36466
36467 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36468
36469         * sysdeps/unix/closedir.c: Renamed to ...
36470         * sysdeps/posix/closedir.c: ... here.
36471         * sysdeps/unix/dirfd.c: Renamed to ...
36472         * sysdeps/posix/dirfd.c: ... here.
36473         * sysdeps/unix/dirstream.h: Renamed to ...
36474         * sysdeps/posix/dirstream.h: ... here.
36475         * sysdeps/unix/fdopendir.c: Renamed to ...
36476         * sysdeps/posix/fdopendir.c: ... here.
36477         * sysdeps/unix/opendir.c: Renamed to ...
36478         * sysdeps/posix/opendir.c: ... here.
36479         * sysdeps/unix/readdir.c: Renamed to ...
36480         * sysdeps/posix/readdir.c: ... here.
36481         * sysdeps/unix/readdir_r.c: Renamed to ...
36482         * sysdeps/posix/readdir_r.c: ... here.
36483         * sysdeps/unix/rewinddir.c: Renamed to ...
36484         * sysdeps/posix/rewinddir.c: ... here.
36485         * sysdeps/unix/seekdir.c: Renamed to ...
36486         * sysdeps/posix/seekdir.c: ... here.
36487         * sysdeps/unix/telldir.c: Renamed to ...
36488         * sysdeps/posix/telldir.c: ... here.
36489         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36490         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36491         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36492         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36493
36494         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36495         * bits/fcntl.h: ... here.
36496
36497         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36498         not 0.
36499         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36500         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36501         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36502         (struct flock): Move l_start, l_len to the beginning.
36503         Use __pid_t for l_pid.
36504         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36505         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36506         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36507         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36508         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36509         [__USE_LARGEFILE64] (struct flock64): New type.
36510         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36511
36512         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36513         * bits/dirent.h: ... here.
36514
36515         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36516         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36517
36518 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36519
36520         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36521         Change from 2.6.0 to 2.6.16.
36522         * sysdeps/unix/sysv/linux/configure: Regenerated.
36523         * sysdeps/unix/sysv/linux/kernel-features.h
36524         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36525         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36526         version.
36527         (__ASSUME_UTIMES): Likewise.
36528         (__ASSUME_CLONE_STOPPED): Remove.
36529         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36530         architectures, not kernel version.
36531         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36532         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36533         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36534         (__ASSUME_WAITID_SYSCALL): Likewise.
36535         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36536         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36537         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36538         refer to older versions.
36539
36540 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36541
36542         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36543         Define alphasort64 as an alias.
36544         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36545         Define versionsort64 as an alias.
36546         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36547         Define scandir64 as an alias.
36548         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36549         Define scandirat64 as an alias.
36550         * dirent/alphasort64.c (alphasort64):
36551         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36552         * dirent/versionsort64.c: Likewise.
36553         * dirent/scandir64.c: Likewise.
36554         * dirent/scandirat64.c: Likewise.
36555         * sysdeps/wordsize-64/alphasort.c: File removed.
36556         * sysdeps/wordsize-64/alphasort64.c: File removed.
36557         * sysdeps/wordsize-64/scandir.c: File removed.
36558         * sysdeps/wordsize-64/scandir64.c: File removed.
36559         * sysdeps/wordsize-64/scandirat.c: File removed.
36560         * sysdeps/wordsize-64/scandirat64.c: File removed.
36561         * sysdeps/wordsize-64/versionsort.c: File removed.
36562         * sysdeps/wordsize-64/versionsort64.c: File removed.
36563         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36564         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36565         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36566         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36567         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36568         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36569         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36570         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36571
36572         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36573         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36574         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36575         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36576         [defined __arch64__ || defined __sparcv9]
36577         (__INO_T_MATCHES_INO64_T): New macro.
36578         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36579         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36580         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36581         * sysdeps/unix/sysv/linux/bits/dirent.h
36582         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36583         (_DIRENT_MATCHES_DIRENT64): New macro.
36584
36585         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36586         Define lockf64 as an alias.
36587         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36588         Define fseeko64 as an alias.
36589         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36590         Define ftello64 as an alias.
36591         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36592         Define _IO_fgetpos64 and fgetpos64 as aliases.
36593         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36594         Define _IO_fsetpos64 and fsetpos64 as aliases.
36595         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36596         Conditionalize body on this.
36597         * libio/fseeko64.c: Likewise.
36598         * libio/ftello64.c: Likewise.
36599         * libio/iofgetpos64.c: Likewise.
36600         * libio/iofsetpos64.c: Likewise.
36601         * sysdeps/wordsize-64/lockf.c: File removed.
36602         * sysdeps/wordsize-64/lockf64.c: File removed.
36603         * sysdeps/wordsize-64/fseeko.c: File removed.
36604         * sysdeps/wordsize-64/fseeko64.c: File removed.
36605         * sysdeps/wordsize-64/ftello.c: File removed.
36606         * sysdeps/wordsize-64/ftello64.c: File removed.
36607         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36608         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36609         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36610         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36611         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36612         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36613         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36614         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36615         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36616         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36617         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36618         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36619         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36620         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36621
36622         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36623         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36624         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36625         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36626         [defined __arch64__ || defined __sparcv9]
36627         (__OFF_T_MATCHES_OFF64_T): New macro.
36628         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36629         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36631         (__OFF_T_MATCHES_OFF64_T): New macro.
36632
36633 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36634
36635         * stdlib/secure-getenv.c (__secure_getenv): Replace
36636         GLIBC_2_16 with GLIBC_2_17.
36637
36638 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36639
36640         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36641         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36642
36643 2012-08-03  David S. Miller  <davem@davemloft.net>
36644
36645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36646
36647 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36648
36649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36650         Remove.
36651         (__ASSUME_CORRECT_SI_PID): Likewise.
36652         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36653         (__ASSUME_TMPFS_NAME): Likewise.
36654         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36655         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36656         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36657         (HAVE_AUX_SECURE): Make definition unconditional.
36658         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36659         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36660
36661 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36662
36663         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36664         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36665         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36666         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36667         __eloop_threshold instead of SYMLOOP_MAX.
36668
36669         * sysdeps/generic/eloop-threshold.h: New file.
36670         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36671         of MAXSYMLINKS.
36672         * elf/chroot_canon.c (chroot_canon): Likewise.
36673
36674 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36675
36676         [BZ #13717]
36677         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36678         Change to 2.6.0 everywhere.
36679         * sysdeps/unix/sysv/linux/configure: Regenerated.
36680         * sysdeps/unix/sysv/linux/kernel-features.h
36681         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36682         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36683         kernel versions.
36684         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36685         (__ASSUME_FUTEX_REQUEUE): Remove.
36686         (__ASSUME_STATFS64): Define unconditionally.
36687         (__ASSUME_AT_SECURE): Likewise.
36688         (__ASSUME_CORRECT_SI_PID): Likewise.
36689         (__ASSUME_TGKILL): Define without depending on kernel version for
36690         i386.
36691         (__ASSUME_UTIMES): Likewise.
36692         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36693         kernel version.
36694         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36695         (__ASSUME_TMPFS_NAME): Likewise.
36696         * README: Update reference to Linux kernel versions.
36697
36698 2012-08-02  Marek Polacek  <polacek@redhat.com>
36699
36700         [BZ# 14150]
36701         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36702         libc_cv_asm_type_prefix with %.
36703         * configure: Regenerated.
36704         * include/libc-symbols.h: Remove comment about
36705         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36706         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36707         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36708         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36709         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36710         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36711         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36712         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36713         * elf/tst-unique2mod1.c: Likewise.
36714         * elf/tst-unique1mod2.c: Likewise.
36715         * elf/tst-unique1mod1.c: Likewise.
36716         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36717         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36718         Replace ASM_TYPE_DIRECTIVE with .type.
36719         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36720         * sysdeps/i386/sysdep.h: Likewise.
36721         * sysdeps/x86_64/sysdep.h: Likewise.
36722         * sysdeps/sh/sysdep.h: Likewise.
36723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36724         Do not define ASM_TYPE_DIRECTIVE.
36725         * sysdeps/powerpc/sysdep.h: Likewise.
36726         * sysdeps/powerpc/powerpc32/sysdep.h:
36727         Replace ASM_TYPE_DIRECTIVE with .type.
36728         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36729         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36730         * sysdeps/i386/fpu/e_powf.S: Likewise.
36731         * sysdeps/i386/fpu/e_expl.S: Likewise.
36732         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36733         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36734         * sysdeps/i386/fpu/e_pow.S: Likewise.
36735         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36736         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36737         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36738         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36739         * sysdeps/i386/fpu/e_log2.S: Likewise.
36740         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36741         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36742         * sysdeps/i386/fpu/e_powl.S: Likewise.
36743         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36744         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36745         * sysdeps/i386/fpu/e_logl.S: Likewise.
36746         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36747         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36748         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36749         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36750         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36751         * sysdeps/i386/fpu/e_log.S: Likewise.
36752         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36753         * sysdeps/i386/fpu/e_logf.S: Likewise.
36754         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36755         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36756         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36757         * sysdeps/i386/fpu/e_log10.S: Likewise.
36758         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36759         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36760         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36761         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36762         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36763         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36764         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36765         * sysdeps/i386/i686/strtok.S: Likewise.
36766         * sysdeps/i386/i386-mcount.S: Likewise.
36767         * sysdeps/i386/strtok.S: Likewise.
36768         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36769         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36770         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36771         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36772         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36773         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36774         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36775         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36776         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36777         * sysdeps/x86_64/_mcount.S: Likewise.
36778         * sysdeps/x86_64/strtok.S: Likewise.
36779         * sysdeps/sh/_mcount.S: Likewise.
36780
36781 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36782
36783         * libio/iofopen.c: Include <fcntl.h>.
36784         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36785         (_IO_fopen64, fopen64): Define as aliases.
36786         * libio/iofopen64.c: Include <fcntl.h>.
36787         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36788         Conditionalize body on this.
36789         * sysdeps/wordsize-64/iofopen.c: File removed.
36790         * sysdeps/wordsize-64/iofopen64.c: File removed.
36791
36792 2012-08-01  Marek Polacek  <polacek@redhat.com>
36793
36794         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36795         Use dlfcn directly instead of a variable.
36796         (binfmt-subdir): Do not define.
36797         (dlfcn): Likewise.
36798
36799 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36800
36801         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36802         Remove all definitions.
36803         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36804         <kernel-features.h>.
36805         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36806         (miss_F_GETOWN_EX): Remove all definitions.
36807         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36808         macro definition.
36809         [!__ASSUME_FCNTL64]: Remove conditional code.
36810         [__ASSUME_FCNTL64]: Make code unconditional.
36811         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36812         <kernel-features.h>.
36813         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36814         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36815         (lockf64) [__NR_fcntl64]: Make code unconditional.
36816         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36817
36818         * sysdeps/unix/sysv/linux/kernel-features.h
36819         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36820         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36821         Make code unconditional.
36822         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36823         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36825         [__NR_vfork]: Make code unconditional.
36826         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36827         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36829         [__NR_vfork]: Make code unconditional.
36830         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36831         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36832
36833 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36834
36835         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36836         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36837
36838         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36839         Define mkstemp64 as an alias.
36840         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36841         Define mkstemps64 as an alias.
36842         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36843         Define mkostemp64 as an alias.
36844         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36845         Define mkostemps64 as an alias.
36846         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36847         Conditionalize body on this.
36848         * misc/mkostemp64.c: Likewise.
36849         * misc/mkostemps64.c: Likewise.
36850         * misc/mkstemps64.c: Likewise.
36851         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36852         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36853         * sysdeps/wordsize-64/mkostemp.c: File removed.
36854         * sysdeps/wordsize-64/mkstemp.c: File removed.
36855         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36856         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36857         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36858         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36859
36860         [BZ #14138]
36861         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36862         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36863         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36864         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36865
36866         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36867         compat_symbol macros from <shlib-compat.h> rather than the underlying
36868         default_symbol_version and symbol_version macros, so that DEFAULT
36869         lines in shlib-versions are respected.
36870         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36871
36872 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36873
36874         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36875         Declare with warn_unused_result.
36876         (setgid, setregid, setegid, setresgid): Likewise.
36877         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36878         Likewise.
36879         * WUR-REPORT: Remove set*id functions.
36880
36881 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36882
36883         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36884
36885 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36886
36887         [BZ #10191]
36888         * include/sys/socket.h (__libc_accept, __libc_accept4):
36889         Add attribute_hidden.
36890         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36891
36892         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36893         use of PTR_MANGLE.
36894         * inet/getnetgrent_r.c (setup): Likewise.
36895
36896         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36897
36898 2012-07-31  David S. Miller  <davem@davemloft.net>
36899
36900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36901
36902 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36903
36904         [BZ #13629]
36905         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36906         value between 1.0 and 2.0 and smaller part has absolute value less
36907         than 1.0.
36908         * math/s_clog10.c (__clog10): Likewise.
36909         * math/s_clog10f.c (__clog10f): Likewise.
36910         * math/s_clog10l.c (__clog10l): Likewise.
36911         * math/s_clogf.c (__clogf): Likewise.
36912         * math/s_clogl.c (__clogl): Likewise.
36913         * math/libm-test.inc (clog_test): Add more tests.
36914         (clog10_test): Likewise.
36915         * sysdeps/i386/fpu/libm-test-ulps: Update.
36916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36917
36918 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36919
36920         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36921         Exit with zero in case no suitable GID is found, and write a
36922         message to standard error.
36923
36924 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36925
36926         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36927         rather than to 1.
36928         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36929         (MAXPATHLEN): Removed.
36930         (NOGROUP, NODEV): New macros.
36931         (setbit, clrbit, isset, isclr): New macros.
36932         (howmany, roundup, powerof2): New macros.
36933         (DEV_BSIZE): New macro.
36934
36935         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36936         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36937
36938         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36939         definition on [!__NO_LONG_DOUBLE_MATH].
36940
36941         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36942         PTR_MANGLE and PTR_DEMANGLE.
36943
36944         * socket/accept4.c (accept4): Rename to __libc_accept4.
36945         Define accept4 as a weak alias.
36946
36947         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36948         on [_DIRENT_HAVE_D_TYPE].
36949         * io/ftw.c (ftw_dir): Likewise.
36950
36951         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36952
36953         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36954
36955         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36956         Use the BSD numbers rather than the arbitrary ones we had.
36957         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36958         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36959         (SIGXCPU, SIGXFSZ): New macros.
36960         (_NSIG): Now 32.
36961
36962         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36963         initializer on [_LIBC_REENTRANT].
36964
36965         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36966         definitions inside [_POSIX_MAPPED_FILES].
36967
36968         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36969
36970         * dirent/opendir.c: Include <fcntl.h>.
36971
36972         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36973         (__libc_getspecific): Likewise.
36974         (__libc_key_create): Likewise.
36975
36976         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36977         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36978         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36979         (tmpfile64): Define as alias.
36980         * sysdeps/wordsize-64/tmpfile.c: File removed.
36981         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36983         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36984
36985         * stdio-common/vfscanf.c: Include <stdbool.h>.
36986         * nss/makedb.c: Likewise.
36987         * stdio-common/_i18n_number.h: Likewise.
36988         * argp/argp-help.c: Likewise.
36989         * posix/wordexp.c: Likewise.
36990         * sysdeps/posix/spawni.c: Likewise.
36991         * nss/nss_files/files-initgroups.c: Likewise.
36992         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36993         * nss/nss_files/files-initgroups.c: Likewise.
36994         * nss/nss_db/db-netgrp.c: Likewise.
36995         * nss/nss_db/db-initgroups.c: Likewise.
36996         * io/fchmodat.c: Include <sys/stat.h>.
36997
36998         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36999         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37000
37001         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37002         [HAVE_MMAP].
37003
37004         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37005         Add multiple inclusion protection.
37006
37007 2012-07-27  David S. Miller  <davem@davemloft.net>
37008
37009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37010
37011 2012-07-27  Gary Benson  <gbenson@redhat.com>
37012
37013         [BZ #14298]
37014         * elf/rtld.c: Include <stap-probe.h>.
37015         (dl_main): Added static probes "init_start" and "init_complete".
37016         * elf/dl-load.c: Include <stap-probe.h>.
37017         (lose): Take new parameter "nsid".
37018         Added static probe "map_failed".
37019         (_dl_map_object_from_fd): Pass namespace id to lose.
37020         Added static probe "map_start".
37021         (open_verify): Pass namespace id to lose.
37022         * elf/dl-open.c: Include <stap-probe.h>.
37023         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37024         and "reloc_complete".
37025         * elf/dl-close.c: Include <stap-probe.h>.
37026         (_dl_close_worker): Added static probes "unmap_start" and
37027         "unmap_complete".
37028         * elf/rtld-debugger-interface.txt: New file documenting the above.
37029
37030 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37031
37032         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37033         rather than a string variable.
37034         * sunrpc/rpc_main.c (h_output): Likewise.
37035         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37036
37037 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37038
37039         * inet/check_native.c: New file.
37040
37041 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37042
37043         [BZ #13629]
37044         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37045         if larger part has absolute value 1.0.
37046         * math/s_clog10.c (__clog10): Likewise.
37047         * math/s_clog10f.c (__clog10f): Likewise.
37048         * math/s_clog10l.c (__clog10l): Likewise.
37049         * math/s_clogf.c (__clogf): Likewise.
37050         * math/s_clogl.c (__clogl): Likewise.
37051         * math/libm-test.inc (clog_test): Add more tests.
37052         (clog10_test): Likewise.
37053         * sysdeps/i386/fpu/libm-test-ulps: Update.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37055
37056         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37057         (pltexit): Likewise.
37058         (La_regs): Likewise.
37059         (La_retval): Likewise.
37060         (int_retval): Likewise.
37061         Update #error for removed macros to refer only to definitions in
37062         tst-audit.h.
37063         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37064         macro.
37065         (pltexit): Likewise.
37066         (La_regs): Likewise.
37067         (La_retval): Likewise.
37068         (int_retval): Likewise.
37069         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37070         macro.
37071         (pltexit): Likewise.
37072         (La_regs): Likewise.
37073         (La_retval): Likewise.
37074         (int_retval): Likewise.
37075         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37076         macro.
37077         (pltexit): Likewise.
37078         (La_regs): Likewise.
37079         (La_retval): Likewise.
37080         (int_retval): Likewise.
37081         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37082         macro.
37083         (pltexit): Likewise.
37084         (La_regs): Likewise.
37085         (La_retval): Likewise.
37086         (int_retval): Likewise.
37087         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37088         macro.
37089         (pltexit): Likewise.
37090         (La_regs): Likewise.
37091         (La_retval): Likewise.
37092         (int_retval): Likewise.
37093         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37094         macro.
37095         (pltexit): Likewise.
37096         (La_regs): Likewise.
37097         (La_retval): Likewise.
37098         (int_retval): Likewise.
37099         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37100         macro definitions in tst-audit.h.
37101         * sysdeps/i386/tst-audit.h: New file.
37102         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37103         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37104         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37105         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37106         * sysdeps/sh/tst-audit.h: Likewise.
37107         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37108         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37109         * sysdeps/x86_64/tst-audit.h: Likewise.
37110
37111 2012-07-26  Andreas Jaeger  <aj@suse.de>
37112
37113         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37114         ptrace.
37115
37116         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37117         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37118         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37119         PTRACE_O_MASK.
37120         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37121         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37122         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37123
37124         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37125         value.
37126
37127         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37128         _sigsys.
37129         (si_call_addr, si_syscall, si_arch): Define new macro.
37130         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37131         _sigsys.
37132         (si_call_addr, si_syscall, si_arch): Define new marcro.
37133         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37134         _sigsys.
37135         (si_call_addr, si_syscall, si_arch): Define new macro.
37136         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37137         _sigsys.
37138         (si_call_addr, si_syscall, si_arch): Define new macro.
37139
37140 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37141
37142         [BZ #13717]
37143         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37144         Change to 2.4.21 where previously 2.4.1.
37145         * sysdeps/unix/sysv/linux/configure: Regenerated.
37146         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37147         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37148         Linux kernel version.
37149         (__ASSUME_STD_AUXV): Remove.
37150         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37151         kernel version.
37152         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37153         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37154         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37155         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37156         (__ASSUME_NETLINK_SUPPORT): Likewise.
37157         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37158         (__no_netlink_support): Remove conditional definition.
37159         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37160         Remove.
37161         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37162         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37163         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37164         (if_nameindex_ioctl): Remove.
37165         (if_nameindex_netlink): Do not handle __no_netlink_support.
37166         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37167         code.
37168         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37169         Remove conditional code.
37170         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37171         code.
37172         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37173         unconditional.
37174         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37175         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37176         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37177         Remove.
37178         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37179         [!__ASSUME_STD_AUXV]: Remove conditional code.
37180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37181         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37182         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37184         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37185         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37186         code.
37187         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37189         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37190         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37191         conditional code.
37192         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37194         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37195         code.
37196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37197         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37198         conditional code.
37199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37200         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37201         code unconditional.
37202         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37203         conditional code.
37204         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37205         unconditional.
37206         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37207         conditional code.
37208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37209         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37210         unconditional.
37211         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37212         conditional code.
37213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37214         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37215         code unconditional.
37216         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37217         conditional code.
37218         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37219         unconditional.
37220         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37221         conditional code.
37222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37223         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37224         code unconditional.
37225         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37226         conditional code.
37227         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37228         unconditional.
37229         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37230         conditional code.
37231
37232 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37233
37234         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37235         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37236         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37237         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37238         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37239         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37240         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37241         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37242         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37243         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37244         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37245         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37246         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37247         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37248         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37249         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37250         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37251         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37252         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37254         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37255         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37256         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37257
37258 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37259
37260         * Versions.def: Add GLIBC_2.17.
37261         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37262         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37263         Introduce __libc_secure_getenv.
37264         * stdlib/Versions (2.17): Add secure_getenv
37265         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37266         * stdlib/secure-getenv.c: Rename __secure_getenv to
37267         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37268         symbol __secure_getenv for GLIBC_2.0.
37269         * stdlib/tst-secure-getenv.c: New.
37270         * stdlib/Makefile (tests): Add testcase.
37271         * manual/startup.texi (Environment Access): Document
37272         secure_getenv.
37273         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37274         __libc_secure_getenv.
37275         * inet/ruserpass.c (ruserpass): Likewise.
37276         * malloc/mtrace.c (mtrace): Likewise.
37277         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37278         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37279         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37280         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37281         HAVE_SECURE_GETENV.
37282         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37283         __secure_getenv to __libc_secure_getenv.
37284         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37286         Likewise.
37287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37288         Likewise.
37289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37296
37297 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37298
37299         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37300         (struct La_i86_retval): Likewise.
37301         (struct La_x86_64_regs): Likewise.
37302         (struct La_x86_64_retval): Likewise.
37303         (struct La_x32_regs): Likewise.
37304         (struct La_x32_retval): Likewise.
37305         (struct La_ppc32_regs): Likewise.
37306         (struct La_ppc32_retval): Likewise.
37307         (struct La_ppc64_regs): Likewise.
37308         (struct La_ppc64_retval): Likewise.
37309         (struct La_sh_regs): Likewise.
37310         (struct La_sh_retval): Likewise.
37311         (struct La_s390_32_regs): Likewise.
37312         (struct La_s390_32_retval): Likewise.
37313         (struct La_s390_64_regs): Likewise.
37314         (struct La_s390_64_retval): Likewise.
37315         (struct La_sparc32_regs): Likewise.
37316         (struct La_sparc32_retval): Likewise.
37317         (struct La_sparc64_regs): Likewise.
37318         (struct La_sparc64_retval): Likewise.
37319         (struct audit_ifaces): Remove architecture-specific pltenter and
37320         pltexit members.
37321         * sysdeps/i386/ldsodefs.h: New file.
37322         * sysdeps/powerpc/ldsodefs.h: Likewise.
37323         * sysdeps/s390/ldsodefs.h: Likewise.
37324         * sysdeps/sh/ldsodefs.h: Likewise.
37325         * sysdeps/sparc/ldsodefs.h: Likewise.
37326         * sysdeps/x86_64/ldsodefs.h: Likewise.
37327
37328 2012-07-25  Marek Polacek  <polacek@redhat.com>
37329
37330         [BZ #6808]
37331         * math/libm-test.inc (yn_test): Add another test.
37332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37333         to ERANGE when the result is +-Inf.
37334         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37335         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37336         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37337         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37338
37339 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37340
37341         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37342         equal to 0.
37343         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37344         clock_t.
37345         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37346
37347 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37348
37349         * configure.in <sysdeps resolving>: Correct printing
37350         Implies_before.
37351         * configure: Regenerate.
37352
37353 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37354
37355         * math/w_ilogb.c: Include <limits.h>.
37356         * math/w_ilogbl.c: Likewise.
37357
37358 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37359
37360         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37361         va_copy.  Document allowing for unavailable va_copy only as
37362         pre-C99 compatibility.
37363         * manual/string.texi (Copying and Concatenation): Use va_copy
37364         instead of __va_copy in concat example.
37365
37366 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37367
37368         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37369         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37370         it if not null.
37371
37372         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37373         with O_NOLINK passed to __file_name_lookup.
37374
37375         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37376         with O_NOLINK passed to __file_name_lookup.
37377
37378         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37379         negative N or less than NGIDS.
37380
37381         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37382         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37383         enough.  Use memcpy instead of strncpy.
37384
37385 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37386
37387         * elf/Makefile (check-data): Remove.
37388         (localplt.data): New vpath directive.
37389         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37390         instead of $(check-data).
37391         * scripts/data/localplt-generic.data: Move to ...
37392         * sysdeps/generic/localplt.data: ... here.
37393         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37394         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37395         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37397         ... here.
37398         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37400         ... here.
37401         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37403         ... here.
37404         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37406         ... here.
37407         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37409         ... here.
37410         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37412         ... here.
37413
37414 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37415
37416         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37417         PPC32 and PPC64 files.
37418         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37419         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37420
37421 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37422
37423         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37424         __makecontext_ret to ...
37425         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37426         ... here and call exit if uc_link is NULL.  New file.
37427         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37428         __makecontext_ret.S.
37429         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37430         __makecontext_ret to ...
37431         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37432         ... here and call exit if uc_link is NULL.  New file.
37433         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37434         __makecontext_ret.S.
37435
37436 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37437
37438         * elf/elf.h (R_390_IRELATIVE): New definition.
37439         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37440         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37441         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37442         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37443         (elf_machine_lazy_rel): Likewise.
37444         * sysdeps/s390/dl-irel.h: New file.
37445         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37446         * sysdeps/s390/s390-64/memset.S: New asm code.
37447         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37448         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37449         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37450         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37451         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37452         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37453         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37454         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37455         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37456         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37457         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37458         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37459         * sysdeps/s390/s390-32/memset.S: New asm code.
37460         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37461
37462 2012-07-17  Marek Polacek  <polacek@redhat.com>
37463
37464         [BZ #14349]
37465         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37466         * sysdeps/s390/s390-64/configure.in: Likewise.
37467         * sysdeps/sparc/configure.in: Likewise.
37468         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37469         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37470         * sysdeps/i386/configure.in: Likewise.
37471         * sysdeps/x86_64/configure.in: Likewise.
37472         * sysdeps/sh/configure.in: Likewise.
37473         * sysdeps/s390/s390-32/configure: Regenerated.
37474         * sysdeps/s390/s390-64/configure: Likewise.
37475         * sysdeps/x86_64/configure: Likewise.
37476         * sysdeps/sh/configure: Likewise.
37477         * sysdeps/powerpc/powerpc64/configure: Likewise.
37478         * sysdeps/powerpc/powerpc32/configure: Likewise.
37479         * sysdeps/sparc/configure: Likwise.
37480         * sysdeps/i386/configure: Likewise.
37481
37482         * elf/dl-open.c: Comment fixes.
37483
37484 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37485
37486         * Makefile [CXX] (check-data): Remove.
37487         [CXX] (c++-types.data): New vpath directive.
37488         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37489         vpath.  Do not allow for C++ type data being missing.
37490         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37491         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37492         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37493         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37494         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37495         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37496         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37498         ... here.
37499         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37501         ... here.
37502         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37504         ... here.
37505         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37507         ... here.
37508         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37510         ... here.
37511         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37513         ... here.
37514         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37516         ... here.
37517         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37519
37520         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37521         definitions to architecture-specific files.
37522         (TLS_IE): Likewise.
37523         (TLS_LD): Likewise.
37524         (TLS_GD): Likewise.
37525         * sysdeps/i386/tls-macros.h: New file.
37526         * sysdeps/powerpc/tls-macros.h: Likewise.
37527         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37528         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37529         * sysdeps/sh/tls-macros.h: Likewise.
37530         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37531         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37532         * sysdeps/x86_64/tls-macros.h: Likewise.
37533
37534 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37535
37536         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37537         zero value for regular exit case.
37538
37539         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37540         (__start_context): Preserve zero value for regular exit case.
37541
37542 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37543             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37544
37545         * manual/setjmp.texi (setcontext): Clarify normal process
37546         termination when uc_link is the null pointer.
37547         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37548         exit call.
37549
37550 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37551
37552         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37553         preprocessor.  Test for each exception mask separately.
37554
37555 2012-07-16  Andreas Jaeger  <aj@suse.de>
37556
37557         * po/ru.po: Update from translation team.
37558
37559 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37560
37561         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37562         equal to 0.
37563         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37564         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37565         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37566         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37567         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37568
37569 2012-07-13  Andreas Jaeger  <aj@suse.de>
37570
37571         * po/fr.po: Update from translation team.
37572
37573 2012-07-12  Marek Polacek  <polacek@redhat.com>
37574
37575         [BZ #14173]
37576         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37577         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37578         loop condition.
37579
37580 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37581
37582         [BZ #13717]
37583         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37584         Change to 2.4.1 where previously 2.4.0.
37585         * sysdeps/unix/sysv/linux/configure: Regenerated.
37586         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37587         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37588         version.
37589         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37590         (__ASSUME_AT_CLKTCK): Remove.
37591         (__ASSUME_AT_PAGESIZE): Likewise.
37592         (__ASSUME_AT_XID): Likewise.
37593         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37594         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37595         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37596         unconditionally.
37597         (HAVE_AUX_PAGESIZE): Likewise.
37598         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37599         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37600         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37601
37602 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37603
37604         [BZ #14307]
37605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37606         the temporary buffer used to invoke __gethostbyname2_r,
37607         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37608         host_data / struct gaih_addrtuple.
37609         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37610         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37611         header file nss/nsswitch.h.
37612         * nss/nsswitch.h (global scope): Add definition of implementation
37613         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37614         resolv/nss_dns/dns-host.c).
37615
37616 2012-07-11  Andreas Jaeger  <aj@suse.de>
37617
37618         * po/fr.po: Update from translation team.
37619
37620         * po/sv.po: Update from translation team
37621         * po/fr.po: Another update from translation team.
37622
37623 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37624
37625         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37626         for subnormals or multiply small sinh result by itself.
37627         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37629
37630 2012-07-11  David S. Miller  <davem@davemloft.net>
37631
37632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37633
37634 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37635
37636         [BZ #14347]
37637         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37638         (INTERNAL_MARK): Shift it here.
37639
37640 2012-07-10  Marek Polacek  <polacek@redhat.com>
37641
37642         [BZ #14151]
37643         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37644         libc_cv_asm_global_directive with .globl.
37645         * configure: Regenerated.
37646         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37647         with .globl.
37648         * sysdeps/i386/configure: Regenerated.
37649         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37650         with .globl.
37651         * sysdeps/x86_64/configure: Regenerated.
37652         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37653         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37654         * elf/tst-unique2mod2.c: Likewise.
37655         * elf/tst-unique2mod1.c: Likewise.
37656         * elf/tst-unique1mod2.c: Likewise.
37657         * elf/tst-unique1mod1.c: Likewise.
37658         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37659         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37660         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37661         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37662         * sysdeps/mach/sysdep.h: Likewise.
37663         * sysdeps/i386/sysdep.h: Likewise.
37664         * sysdeps/i386/i386-mcount.S: Likewise.
37665         * sysdeps/x86_64/_mcount.S: Likewise.
37666         * sysdeps/x86_64/sysdep.h: Likewise.
37667         * sysdeps/sh/_mcount.S: Likewise.
37668         * sysdeps/sh/sysdep.h: Likewise.
37669         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37670         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37671         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37672         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37673         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37674         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37675         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37676         * locale/localeinfo.h: Likewise.
37677         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37678         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37679
37680 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37681
37682         [BZ #14336]
37683         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37684         system".
37685         * manual/message.texi (The Uniforum approach): Likewise.
37686         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37687         (glibc iconv Implementation): Likewise.
37688
37689 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37690
37691         [BZ #14337]
37692         * math/s_clog.c (__clog): Avoid scaling a value down where that
37693         could result in underflow.
37694         * math/s_clog10.c (__clog10): Likewise.
37695         * math/s_clog10f.c (__clog10f): Likewise.
37696         * math/s_clog10l.c (__clog10l): Likewise.
37697         * math/s_clogf.c (__clogf): Likewise.
37698         * math/s_clogl.c (__clogl): Likewise.
37699         * math/libm-test.inc (clog_test): Add more tests.
37700         (clog10_test): Likewise.
37701         * sysdeps/i386/fpu/libm-test-ulps: Update.
37702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37703
37704 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37705
37706         [BZ #14283]
37707         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37708         by 7 not 8 to examine high bit of fractional part.
37709
37710         [BZ #14042]
37711         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37712         for call to __mcount_internal.
37713         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37714         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37715         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37716
37717 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37718
37719         [BZ #14154]
37720         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37721         approximation for values within 0x1p-13f of an odd multiple of
37722         pi/4.
37723         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37724         exception.  Add more tests.
37725         * sysdeps/i386/fpu/libm-test-ulps: Update.
37726
37727         [BZ #6778]
37728         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37729         inputs and return -1 for them.  Do not check for +Inf in case not
37730         reachable for +Inf.
37731         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37732         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37733         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37734         and return -1 for them.  Do not check for +Inf in case not
37735         reachable for +Inf.
37736         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37737         define.
37738         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37739         and return -1 for them.  Do not check for +Inf in case not
37740         reachable for +Inf.
37741         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37742         spurious underflow.
37743         * sysdeps/i386/fpu/libm-test-ulps: Update.
37744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37745
37746 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37747
37748         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37749
37750 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37751
37752         [BZ #14157]
37753         [BZ #14331]
37754         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37755         could result in spurious underflow.  Scale down values above
37756         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37757         * math/s_csqrtf.c (__csqrtf): Likewise.
37758         * math/s_csqrtl.c (__csqrtl): Likewise.
37759         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37760         spurious underflow.
37761         * sysdeps/i386/fpu/libm-test-ulps: Update.
37762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37763
37764 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37765
37766         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37767         xopen-msg.sed.
37768         * catgets/xopen-msg.awk: New file.
37769         * catgets/xopen-msg.sed: Removed.
37770
37771         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37772         po2text.sed.
37773         * intl/po2test.awk: New file.
37774         * intl/po2test.sed: Removed.
37775
37776 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37777
37778         [BZ #14328]
37779         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37780         or multiply small sinh result by itself.
37781         * math/s_ctanf.c (__ctanf): Likewise.
37782         * math/s_ctanh.c (__ctanh): Likewise.
37783         * math/s_ctanhf.c (__ctanhf): Likewise.
37784         * math/s_ctanhl.c (__ctanhl): Likewise.
37785         * math/s_ctanl.c (__ctanl): Likewise.
37786         * math/libm-test.inc (ctan_test_tonearest): New function.
37787         (ctan_test_towardzero): Likewise.
37788         (ctan_test_downward): Likewise.
37789         (ctan_test_upward): Likewise.
37790         (ctanh_test_tonearest): Likewise.
37791         (ctanh_test_towardzero): Likewise.
37792         (ctanh_test_downward): Likewise.
37793         (ctanh_test_upward): Likewise.
37794         (main): Call these new functions.
37795         * sysdeps/i386/fpu/libm-test-ulps: Update.
37796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37797
37798 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37799
37800         * .gitignore: Delete /ports entry.
37801
37802 2012-07-03  Andreas Jaeger  <aj@suse.de>
37803
37804         * po/bg.po: Update from translation team.
37805         * po/cs.po: Likewise.
37806         * po/de.po: Likewise.
37807         * po/hr.po: Likewise.
37808         * po/nl.pl: Likewise.
37809         * po/pl.po: Likewise.
37810         * po/vi.po: Likewise.
37811
37812 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37813
37814         * Makeconfig [!+link] (+link-before-libc): New variable.
37815         [!+link] (+link-after-libc): Likewise.
37816         [!+link] (+link-tests): Likewise.
37817         [!+link] (+link): Define in terms of $(+link-before-libc) and
37818         $(+link-after-libc).
37819         [!+link-static] (+link-static-before-libc): New variable.
37820         [!+link-static] (+link-static-after-libc): Likewise.
37821         [!+link-static] (+link-static-tests): Likewise.
37822         [!+link-static] (+link-static): Define in terms of
37823         $(+link-static-before-libc) and $(+link-static-after-libc).
37824         [build-shared] (link-libc-before-gnulib): New variable.
37825         [build-shared] (link-libc-tests): Likewise.
37826         [build-shared] (link-libc): Define in terms of
37827         $(link-libc-before-gnulib).
37828         [!build-shared] (link-libc-tests): New variable.
37829         (link-libc-static-tests): New variable.
37830         [!gnulib] (gnulib-arch): New variable.
37831         [!gnulib] (gnulib-tests): Likewise.
37832         [!gnulib] (static-gnulib-arch): Likewise.
37833         [!gnulib] (static-gnulib-tests): Likewise.
37834         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37835         Define with "=" instead of ":=".
37836         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37837         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37838         * Rules (binaries-all-notests): New variable.
37839         (binaries-all-tests): Likewise.
37840         (binaries-static-notests): Likewise.
37841         (binaries-static-tests): Likewise.
37842         (binaries-all): Define using $(binaries-all-notests) and
37843         $(binaries-all-tests).
37844         (binaries-static): Define using $(binaries-static-notests) and
37845         $(binaries-static-tests).
37846         (binaries-shared-tests): New variable.
37847         (binaries-shared-notests): Likewise.
37848         (binaries-shared): Remove variable.
37849         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37850         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37851         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37852         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37853         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37854         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37855         * elf/Makefile (sln-modules): New variable.
37856         (extra-objs): Add $(sln-modules:=.o).
37857         (ldconfig-modules): Add static-stubs.
37858         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37859         * elf/static-stubs.c: New file.
37860
37861         [BZ #14283]
37862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37863         by 7 not 8 to examine high bit of fractional part.  Use volatile
37864         variables when splitting into final array of floats if
37865         __FLT_EVAL_METHOD__ != 0.
37866         * math/libm-test.inc (cos_test): Add another test.
37867         (sin_test): Likewise.
37868         * sysdeps/i386/fpu/libm-test-ulps: Update.
37869
37870         [BZ #14273]
37871         * math/libm-test.inc (cosh_test): Add more tests.
37872
37873         * version.h (RELEASE): Set to "development".
37874         (VERSION): Set to "2.16.90".
37875
37876 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37877
37878         * NEWS: Update copyright. Remove last-updated date.
37879         Mention math library bug fixes and timezone data changes.
37880         * README: Mention GNU/Hurd, x32, and HPPA support status.
37881
37882 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37883
37884         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37885
37886 2012-06-27  Andreas Jaeger  <aj@suse.de>
37887
37888         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37889
37890 2012-06-25  Andreas Jaeger  <aj@suse.de>
37891
37892         * sysdeps/s390/fpu/libm-test-ulps: Update.
37893
37894 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37895             Thomas Schwinge  <thomas@codesourcery.com>
37896
37897         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37898         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37899         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37900         fanotify_mark.
37901
37902 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37903
37904         * sysdeps/mach/start.c: Remove file.
37905         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37906         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37907         * sysdeps/sh/init-first.c: Likewise.
37908
37909         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37910         registers for frame unwinding purposes, add CFI directives.
37911         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37912         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37913         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37914         Likewise.
37915
37916         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37917         __fortify_fail returning.
37918         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37919
37920         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37921         sysdeps/sh/____longjmp_chk.S.
37922         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37923         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37924         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37925         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37926
37927         * sysdeps/sh/abort-instr.h: New file.
37928         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37929         process in case exit returns.
37930
37931         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37932         initialize the GOT register before use.
37933
37934         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37935         calculation of ARGC > 4.
37936
37937         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37938         meaningful names to some local labels.
37939
37940 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37941             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37942
37943         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37944         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37945         (__arch_compare_and_exchange_val_16_acq): Likewise.
37946         (__arch_compare_and_exchange_val_32_acq): Likewise.
37947         (atomic_exchange_and_add): Fix gUSA sequence.
37948         (atomic_add): Likewise.
37949         (atomic_add_negative): Likewise.
37950         (atomic_add_zero): Likewise.
37951         (atomic_bit_test_set): Likewise.
37952
37953 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37954
37955         [BZ #13579]
37956         * include/link.h (struct link_map): Add l_free_initfini.
37957         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37958         l_initfini.
37959         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37960         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37961         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37962         set.
37963
37964 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37965
37966         * configure.in: Use AC_LANG_SOURCE.
37967         * configure: Regenerate.
37968
37969 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37970
37971         * configure.in (libc_cv_localstatedir): New substituted variable.
37972         * configure: Regenerated.
37973         * config.make.in (localstatedir): New variable, substituted from
37974         libc_cv_localstatedir.
37975         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37976         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37977         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37978         * sysdeps/gnu/configure: Regenerated.
37979
37980 2012-06-21  Jeff Law  <law@redhat.com>
37981
37982         [BZ #14277]
37983         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37984         free.  Simplify list management for _LIBC case.
37985
37986 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37987
37988         [BZ #14273]
37989         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37990         Clear sign bit of 64-bit integer value before comparing against
37991         overflow value.
37992
37993         * sysdeps/mach/configure: Regenerated.
37994
37995 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37996
37997         [BZ #14278]
37998         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37999
38000 2012-06-21  Jeff Law  <law@redhat.com>
38001
38002         [BZ #13882]
38003         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38004         uint16_t for elements in the "seen" array to avoid char overflows.
38005         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38006         * elf/dl-open.c (dl_open_worker): Likewise.
38007
38008 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38009
38010         * scripts/list-sources.sh: Scan PORTS for translations.
38011         * po/libc.pot: Regenerated.
38012
38013 2012-06-21  Andreas Jaeger  <aj@suse.de>
38014
38015         [BZ #12194]
38016         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38017         warning.
38018         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38019         * bits/byteswap-16.h (__bswap_16): Likewise.
38020         * bits/byteswap.h (__bswap_constant_16): Likewise.
38021
38022 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38023
38024         [BZ #14117]
38025         * sysdeps/i386/fpu_control.h: Removed.
38026         * sysdeps/x86_64/fpu_control.h: Moved to ...
38027         * sysdeps/x86/fpu_control.h: Here.
38028
38029         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38030         (_FPU_SETCW): Likewise.
38031
38032 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38033
38034         [BZ #14117]
38035         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38036         * sysdeps/x86/fpu/bits/mathinline.h: This.
38037         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38038
38039         [BZ #14050]
38040         [BZ #14117]
38041         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38042         functions if __x86_64__ is defined.
38043
38044 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38045
38046         * string/endian.h: Add !__ASSEMBLER__ condition for including
38047         conversion interfaces.
38048
38049 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38050
38051         [BZ #14241]
38052         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38053         of ABS(x) in calculating zero to negative powers other than odd
38054         integers.
38055         * math/libm-test.inc (pow_test): Add more tests.
38056
38057 2012-06-15  Andreas Jaeger  <aj@suse.de>
38058
38059         * manual/contrib.texi (Contributors): Update entry of Liubov
38060         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38061         Machado Filho.
38062
38063 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38064
38065         * string/string.h: Add __wur to GNU version of strerror_r.
38066
38067 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38068
38069         [BZ #14229]
38070         * string/Makefile (tests): Add tst-strtok_r.
38071         * string/tst-strtok_r.c: New file.
38072         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38073         RAX_LP/RDX_LP on SAVE_PTR.
38074
38075 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38076
38077         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38078
38079 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38080
38081         * libm_test.inc (csqrt_test): Allow more spurious underflow
38082         exceptions.
38083         (j0_test): Likewise.
38084         (j1_test): Likewise.
38085         (y0_test): Likewise.
38086         (y1_test): Likewise.
38087
38088 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38089
38090         * po/Makefile (libc.pot): Use UTF-8 charset.
38091
38092 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38093
38094         [BZ #14210]
38095         Suppress sign-conversion warning from FD_SET.
38096         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38097         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38098         not unsigned long int.
38099         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38100
38101 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38102
38103         [BZ #14050]
38104         [BZ #14117]
38105         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38106         __extern_always_inline instead of __extern_inline.
38107         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38108         (__signbit): Likewise.
38109         (__signbitl): Support C++ namespace.
38110         (lrintf): New inline function.
38111         (lrint): Likewise.
38112         (llrintf): Likewise.
38113         (llrint): Likewise.
38114         (fmaxf): Likewise.
38115         (fmax): Likewise.
38116         (fminf): Likewise.
38117         (fmin): Likewise.
38118         (rint): Likewise.
38119         (rintf): Likewise.
38120         (ceil): Likewise.
38121         (ceilf): Likewise.
38122         (floor): Likewise.
38123         (floorf): Likewise.
38124         (nearbyint): Likewise.
38125         (nearbyintf): Likewise.
38126
38127 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38128
38129         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38130         non-default versions.
38131
38132 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38133
38134         [BZ #14218]
38135         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38136
38137 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38138
38139         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38140         (FE_UPWARD, FE_DOWNWARD): Don't define.
38141         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38142         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38143
38144         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38145         reading it.
38146         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38147         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38148
38149 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38150
38151         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38153         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38154         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38155
38156 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38157
38158         [BZ #14117]
38159         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38160         * sysdeps/i386/fpu/Implies: New file.
38161         * sysdeps/x86_64/fpu/Implies: Likewise.
38162         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38163         * sysdeps/x86/fpu/bits/fenv.h: This.
38164
38165         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38166         __SSE_MATH__.
38167
38168 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38169
38170         [BZ #14134]
38171         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38172         character 0xffff that matches the last element of the
38173         conversion table.
38174
38175 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38176
38177         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38178         fmodl commit.
38179
38180 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38181
38182         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38183         values higher than 25.6283.
38184
38185 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38186
38187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38188         subnormal exponent extraction and add some __builtin_expect.
38189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38190         Fix for subnormal mantissa calculation.
38191
38192 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38193
38194         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38195         cpu2 is -1 and errno is not ENOSYS.
38196
38197 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38198
38199         [BZ #14117]
38200         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38201         * sysdeps/x86/bits/string.h: This.
38202         * sysdeps/x86_64/bits/string.h: Removed.
38203
38204         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38205         if not compiling for x86-64, but compiling for >= i486.
38206
38207         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38208         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38209
38210         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38211         New macro from Linux kernel 3.4.0.
38212         (FP_XSTATE_MAGIC2): Likewise.
38213         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38214         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38215         (struct _fpx_sw_bytes): New struct.
38216         (struct _xsave_hdr): Likewise.
38217         (struct _ymmh_state): Likewise.
38218         (struct _xstate): Likewise.
38219
38220         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38221         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38222         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38223         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38224         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38225         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38226
38227         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38228         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38229         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38230         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38231         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38232         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38233
38234 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38235
38236         [BZ #13743]
38237         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38238         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38239         (sysdep_headers): Include sys/platform/ppc.h.
38240         * sysdeps/powerpc/test-gettimebase.c: Test for
38241         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38242         * manual/Makefile (appendices): Include platform.texi.
38243         * manual/contrib.texi (Contributors): Update @node pointers.
38244         * manual/maint.texi (Maintenance): Likewise.
38245         (Platform): New node.
38246         * manual/platform.texi: New file.  Document the new features.
38247
38248 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38249             Jakub Jelinek  <jakub@redhat.com>
38250
38251         [BZ #14188]
38252         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38253         where __builtin_expect is unavailable.
38254
38255 2012-06-03  David S. Miller  <davem@davemloft.net>
38256
38257         * stdlib/longlong.h: Updated from GCC.
38258
38259 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38260
38261         [BZ #14042]
38262         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38263         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38264         __mcount_internal.
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38266         (GLIBC_2.16): Likewise.
38267
38268 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38269
38270         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38271
38272 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38273
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38275         (default-abi): New variable.
38276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38277         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38278         variable.
38279         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38280         Likewise.
38281         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38282         Likewise.
38283         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38284         Likewise.
38285
38286         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38287         definition.  Document in comment.
38288
38289 2012-06-01  David S. Miller  <davem@davemloft.net>
38290
38291         * stdlib/longlong.h: Updated from GCC.
38292
38293 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38294
38295         [BZ #14117]
38296         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38297         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38298         sys/debugreg.h sys/io.h here.
38299         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38300         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38301         sys/io.h.
38302         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38303         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38304         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38305         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38306         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38307         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38308
38309         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38310         Define only if __x86_64__ is defined.
38311
38312 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38313
38314         [BZ #14048]
38315         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38316         Use int64_t for variable i.
38317         * math/libm-test.inc (fmod_test): Add more tests.
38318
38319         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38320         z computation is not scheduled after fetestexcept.
38321         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38322         Use math_force_eval instead of asm to ensure calculation scheduled
38323         before exception test.
38324         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38325         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38326
38327 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38328
38329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38330         computation is not scheduled after fetestexcept.
38331
38332 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38333
38334         [BZ #14117]
38335         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38336         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38337
38338 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38339
38340         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38341         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38342
38343 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38344
38345         [BZ #14117]
38346         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38347         <bits/wordsize.h>.
38348         (__WCHAR_MIN): Support __WORDSIZE == 64.
38349         (__WCHAR_MAX): Likewise.
38350
38351         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38352         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38353
38354         [BZ #14183]
38355         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38356         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38357
38358         [BZ #14117]
38359         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38360         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38361
38362         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38363         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38364
38365         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38366         Defined to 1 if __x86_64__ isn't defined.
38367         (_STAT_VER_LINUX_OLD): New.
38368         (st_atime): Remove duplicate.
38369         (st_mtime): Likewise.
38370         (st_ctime): Likewise.
38371
38372 2012-05-31  David S. Miller  <davem@davemloft.net>
38373
38374         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38375         entries.
38376
38377 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38378
38379         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38380         gen-libm-test.pl.
38381
38382         [BZ #14132]
38383         * elf/dl-reloc.c: Include <_itoa.h>.
38384         (_dl_reloc_bad_type): Remove use of INTUSE.
38385         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38386         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38387         * stdio-common/psiginfo.c (psiginfo): Likewise.
38388         * stdio-common/psignal.c (psignal): Likewise.
38389         * string/strsignal.c (strsignal): Likewise.
38390         * include/signal.h (_sys_siglist): Declare hidden proto.
38391         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38392         INTVARDEF with libc_hidden_data_def.
38393         * stdio-common/itoa-udigits.c: Likewise.
38394         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38395         (_itoa_lower_digits_internal): Remove declaration.
38396         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38397         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38398         (_sys_sigabbrev_internal): Remove aliases.
38399         (_sys_siglist): Define hidden alias.
38400
38401 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38402
38403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38404         bits/sysctl.h.
38405
38406 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38407
38408         [BZ #14117]
38409         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38410         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38411
38412         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38413         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38414         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38415         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38416         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38417         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38418
38419         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38420         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38421         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38422
38423         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38424         with __addr.
38425         (insw): Likewise.
38426         (insl): Likewise.
38427         (outsb): Likewise.
38428         (outsw): Likewise.
38429         (outsl): Likewise.
38430
38431         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38432         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38433         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38434
38435         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38436         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38437         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38438         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38439         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38440         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38441
38442         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38443         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38444
38445         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38446         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38447
38448         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38450         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38451
38452         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38453         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38454         to ...
38455         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38456
38457         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38458         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38459         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38460
38461         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38462         for x86-64.
38463         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38464
38465 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38466
38467         * math/math.h (M_El): Use two more decimal places.
38468         (M_LOG2El): Likewise.
38469         (M_LOG10El): Likewise.
38470         (M_LN2l): Likewise.
38471         (M_LN10l): Likewise.
38472         (M_PIl): Likewise.
38473         (M_PI_2l): Likewise.
38474         (M_PI_4l): Likewise.
38475         (M_1_PIl): Likewise.
38476         (M_2_PIl): Likewise.
38477         (M_2_SQRTPIl): Likewise.
38478         (M_SQRT2l): Likewise.
38479         (M_SQRT1_2l): Likewise.
38480
38481 2012-05-31  David S. Miller  <davem@davemloft.net>
38482
38483         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38484         values between float registers.
38485         * sysdeps/sparc/sparc64/memset.S: Likewise.
38486         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38487
38488 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38489
38490         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38491         -D_FORTIFY_SOURCE=1.
38492         (CPPFLAGS-tst-longjmp_chk.c): Define.
38493         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38494         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38495         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38496         CFLAGS-tst-wchar-h.c.
38497
38498 2012-05-31  Marek Polacek  <polacek@redhat.com>
38499
38500         [BZ #14132]
38501         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38502         __endmntent_internal): Remove declaration.
38503         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38504         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38505         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38506
38507 2012-05-30  David S. Miller  <davem@davemloft.net>
38508
38509         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38510         (___Q_simulate_exceptions): Use real FP ops rather than writing
38511         into the %fsr.
38512         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38513         Likewise.
38514
38515 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38516
38517         [BZ #14117]
38518         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38519         * sysdeps/x86/bits/xtitypes.h: This.
38520
38521         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38522         * sysdeps/x86/bits/wordsize.h: This.
38523
38524         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38525         * sysdeps/x86/bits/huge_vall.h: This.
38526
38527         * sysdeps/i386/bits/select.h: Removed.
38528         * sysdeps/x86_64/bits/select.h: Renamed to ...
38529         * sysdeps/x86/bits/select.h: This.
38530
38531         * sysdeps/i386/bits/setjmp.h: Removed.
38532         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38533         * sysdeps/x86/bits/setjmp.h: This.
38534
38535         * sysdeps/i386/bits/mathdef.h: Removed.
38536         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38537         * sysdeps/x86/bits/mathdef.h: This.
38538
38539 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38540
38541         [BZ #14132]
38542         * include/sys/socket.h (__connect_internal)
38543         (__libc_sa_len_internal): Remove declaration.
38544         (__connect, __libc_sa_len): Declare hidden_proto.
38545         (SA_LEN): Remove use of INTUSE.
38546         * socket/connect.c: Add libc_hidden_def.
38547         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38548         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38549         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38550         alias.
38551         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38552         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38553         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38554         of adding _internal alias.
38555
38556 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38557
38558         [BZ #14117]
38559         * sysdeps/i386/bits/link.h: Removed.
38560         * sysdeps/i386/bits/linkmap.h: Likewise.
38561         * sysdeps/x86_64/bits/link.h: Renamed to ...
38562         * sysdeps/x86/bits/link.h: This.
38563         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38564         * sysdeps/x86/bits/linkmap.h: This.
38565
38566         * sysdeps/i386/bits/endian.h: Removed.
38567         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38568         * sysdeps/x86/bits/endian.h: This.
38569
38570         * sysdeps/i386/bits/byteswap.h: Removed.
38571         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38572         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38573         * sysdeps/x86/bits/byteswap.h: This.
38574         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38575         * sysdeps/x86/bits/byteswap-16.h: This.
38576         * sysdeps/i386/Implies: Add x86.
38577         * sysdeps/x86_64/Implies: Likewise.
38578
38579 2012-05-30  David S. Miller  <davem@davemloft.net>
38580
38581         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38582         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38583         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38584         (FP_TRAPPING_EXCEPTIONS): Define.
38585         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38586         (FP_TRAPPING_EXCEPTIONS): Define.
38587         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38588         subnormals only when inexact has been signalled or underflow
38589         exceptions are enabled.
38590         (_FP_PACK_CANONICAL): Likewise.
38591
38592 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38593
38594         [BZ #14183]
38595         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38596         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38597
38598 2012-05-30  Richard Henderson  <rth@twiddle.net>
38599
38600         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38601         with #ifndef NOT_IN_libc.
38602
38603         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38604         marked to avoid plt entry.
38605
38606 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38607
38608         [BZ #14112]
38609         * Makeconfig (default-abi): New macro.
38610         (abi-includes): Likewise.
38611         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38612         $(abi-$(default-abi)-lib-soname) for soname if defined.
38613         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38614         abi-variants.
38615         * Makefile (installed-stubs): Likewise.
38616         * include/stubs-biarch.h: Removed.
38617         * scripts/lib-names.awk: Only handle one library at a time.
38618         * scripts/soversions.awk: Remove WORDSIZE support.
38619         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38620         entries.
38621         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38622         Removed.
38623         (syscall-list-default-condition): Likewise.
38624         (syscall-list-default-condition): Likewise.
38625         (syscall-list-includes): Likewise.
38626         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38627         syscall-list-* with abi-*.  Handle undefined abi-variants.
38628         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38629         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38630         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38631         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38632         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38633         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38634         Removed.
38635         (syscall-list-32-options): Likewise.
38636         (syscall-list-32-condition): Likewise.
38637         (syscall-list-64-options): Likewise.
38638         (syscall-list-64-condition): Likewise.
38639         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38640         macro.
38641         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38642         Renamed to ...
38643         (abi-*): This.
38644         (abi-64-ld-soname): New macro.
38645         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38646         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38647         Renamed to ...
38648         (abi-*): This.
38649         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38650         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38651
38652 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38653
38654         * sysdeps/unix/sysv/linux/kernel-features.h
38655         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38656         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38657         include <kernel-features.h>.
38658         [!__NR_ftruncate64]: Remove conditional code.
38659         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38660         [__NR_ftruncate64]: Make code unconditional.
38661         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38662         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38663         include <kernel-features.h>.
38664         [!__NR_ftruncate64]: Remove conditional code.
38665         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38666         [__NR_ftruncate64]: Make code unconditional.
38667         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38669         include <kernel-features.h>.
38670         [!__NR_ftruncate64]: Remove conditional code.
38671         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38672         [__NR_ftruncate64]: Make code unconditional.
38673         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38675         include <kernel-features.h>.
38676         [!__NR_ftruncate64]: Remove conditional code.
38677         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38678         [__NR_ftruncate64]: Make code unconditional.
38679         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38680
38681         * configure.in (libc_cv_fpie): Weaken to a compile test using
38682         LIBC_TRY_CC_OPTION.
38683         * configure: Regenerated.
38684
38685 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38686
38687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38691         Refreshed.
38692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38698         Refreshed.
38699
38700 2012-05-27  David S. Miller  <davem@davemloft.net>
38701
38702         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38703         (___Q_zero): New.
38704         (__Q_simulate_exceptions): Return void.  Change to simulate
38705         exceptions by writing into the %fsr.
38706         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38707         (__Qp_handle_exceptions): Likewise.
38708         (numbers): Delete.
38709         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38710         __Qp_handle_exceptions.
38711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38712         __Qp_handle_exceptions.
38713         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38714         as unused and give dummy FP_RND_NEAREST initializer.
38715         (FP_INHIBIT_RESULTS): Define.
38716         (___Q_simulate_exceptions): Update declaration.
38717         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38718         formatting.
38719         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38720         as unused and give dummy FP_RND_NEAREST initializer.
38721         (__Qp_handle_exceptions): Update declaration.
38722         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38723         formatting.
38724
38725 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38726
38727         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38728         the temporary FPU control word.
38729         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38730         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38731         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38732         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38733         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38734         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38735         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38736         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38737         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38738         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38739         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38740
38741 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38742
38743         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38744         fields.
38745
38746 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38747
38748         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38749         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38750         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38751         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38752         Likewise.
38753         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38754         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38755         Likewise.
38756
38757 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38758
38759         * po/h.po: Update from translation team.
38760
38761 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38762
38763         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38764
38765         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38766         handling of denormals.
38767         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38768         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38769         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38770         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38772         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38773         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38774         Likewise.
38775
38776 2012-05-26  Marek Polacek  <polacek@redhat.com>
38777
38778         [BZ #14152]
38779         * math/libm-test.inc (fma_test): Don't always expect underflow
38780         exception.
38781
38782 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38783
38784         [BZ #12416]
38785         * elf/tst-execstack.c: Include stackinfo.h.
38786         (do_test): Adjust test case to ensure that pthread_getattr_np
38787         behaviour remains the same after marking stack executable.
38788
38789 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38790
38791         * sysdeps/unix/sysv/linux/kernel-features.h
38792         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38793         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38794         kernel-features.h.
38795         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38796         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38797         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38798         kernel-features.h.
38799         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38800         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38801
38802 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38803
38804         * configure.in: Define the default includes to being none.
38805         * configure: Regenerated.
38806
38807 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38808
38809         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38810         * sysdeps/x86_64/setjmp.S: Likewise.
38811         * sysdeps/i386/bsd-setjmp.S: Likewise.
38812         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38813         * sysdeps/i386/setjmp.S: Likewise.
38814         * sysdeps/i386/__longjmp.S: Likewise.
38815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38816         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38817
38818         * include/stap-probe.h: New file.
38819         * configure.in: Handle --enable-systemtap.
38820         * configure: Regenerated.
38821         * config.h.in (USE_STAP_PROBE): New #undef.
38822         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38823         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38824         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38825
38826 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38827
38828         [BZ #13717]
38829         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38830         to 2.4.0 where earlier.
38831         * sysdeps/unix/sysv/linux/configure: Regenerated.
38832         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38833         <kernel-features.h>.
38834         [__ASSUME_32BITUIDS]: Make code unconditional.
38835         [!__ASSUME_32BITUIDS]: Remove conditional code.
38836         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38837         <kernel-features.h>.
38838         [__ASSUME_32BITUIDS]: Make code unconditional.
38839         [!__ASSUME_32BITUIDS]: Remove conditional code.
38840         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38841         [__ASSUME_32BITUIDS]: Make code unconditional.
38842         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38843         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38844         <kernel-features.h>.
38845         [__ASSUME_32BITUIDS]: Make code unconditional.
38846         [!__ASSUME_32BITUIDS]: Remove conditional code.
38847         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38848         <kernel-features.h>.
38849         [__ASSUME_32BITUIDS]: Make code unconditional.
38850         [!__ASSUME_32BITUIDS]: Remove conditional code.
38851         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38852         <kernel-features.h>.
38853         [__ASSUME_32BITUIDS]: Make code unconditional.
38854         [!__ASSUME_32BITUIDS]: Remove conditional code.
38855         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38856         <kernel-features.h>.
38857         [__ASSUME_32BITUIDS]: Make code unconditional.
38858         [!__ASSUME_32BITUIDS]: Remove conditional code.
38859         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38860         <kernel-features.h>.
38861         [__ASSUME_32BITUIDS]: Make code unconditional.
38862         [!__ASSUME_32BITUIDS]: Remove conditional code.
38863         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38864         <kernel-features.h>.
38865         [__ASSUME_32BITUIDS]: Make code unconditional.
38866         [!__ASSUME_32BITUIDS]: Remove conditional code.
38867         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38868         <kernel-features.h>.
38869         [__ASSUME_32BITUIDS]: Make code unconditional.
38870         [!__ASSUME_32BITUIDS]: Remove conditional code.
38871         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38872         <kernel-features.h>.
38873         [__ASSUME_32BITUIDS]: Make code unconditional.
38874         [!__ASSUME_32BITUIDS]: Remove conditional code.
38875         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38876         <kernel-features.h>.
38877         [__ASSUME_32BITUIDS]: Make code unconditional.
38878         [!__ASSUME_32BITUIDS]: Remove conditional code.
38879         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38880         <kernel-features.h>.
38881         [__ASSUME_32BITUIDS]: Make code unconditional.
38882         [!__ASSUME_32BITUIDS]: Remove conditional code.
38883         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38884         <kernel-features.h>.
38885         [__NR_setresgid] (__setresgid): Do not declare.
38886         [__ASSUME_32BITUIDS]: Make code unconditional.
38887         [!__ASSUME_32BITUIDS]: Remove conditional code.
38888         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38889         <kernel-features.h>.
38890         [__NR_setresuid] (__setresuid): Do not declare.
38891         [__ASSUME_32BITUIDS]: Make code unconditional.
38892         [!__ASSUME_32BITUIDS]: Remove conditional code.
38893         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38894         <kernel-features.h>.
38895         [__ASSUME_32BITUIDS]: Make code unconditional.
38896         [!__ASSUME_32BITUIDS]: Remove conditional code.
38897         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38898         <kernel-features.h>.
38899         [__ASSUME_32BITUIDS]: Make code unconditional.
38900         [!__ASSUME_32BITUIDS]: Remove conditional code.
38901         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38902         <kernel-features.h>.
38903         [__ASSUME_32BITUIDS]: Make code unconditional.
38904         [!__ASSUME_32BITUIDS]: Remove conditional code.
38905         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38906         <kernel-features.h>.
38907         [__ASSUME_32BITUIDS]: Make code unconditional.
38908         [!__ASSUME_32BITUIDS]: Remove conditional code.
38909         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38910         <kernel-features.h>.
38911         [__ASSUME_32BITUIDS]: Make code unconditional.
38912         [!__ASSUME_32BITUIDS]: Remove conditional code.
38913         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38914         <kernel-features.h>.
38915         [__ASSUME_32BITUIDS]: Make code unconditional.
38916         [!__ASSUME_32BITUIDS]: Remove conditional code.
38917         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38918         <kernel-features.h>.
38919         [__ASSUME_32BITUIDS]: Make code unconditional.
38920         [!__ASSUME_32BITUIDS]: Remove conditional code.
38921         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38922         <kernel-features.h>.
38923         [__ASSUME_32BITUIDS]: Make code unconditional.
38924         [!__ASSUME_32BITUIDS]: Remove conditional code.
38925         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38926         <kernel-features.h>.
38927         [__ASSUME_32BITUIDS]: Make code unconditional.
38928         [!__ASSUME_32BITUIDS]: Remove conditional code.
38929         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38930         <kernel-features.h>.
38931         [__ASSUME_32BITUIDS]: Make code unconditional.
38932         [!__ASSUME_32BITUIDS]: Remove conditional code.
38933         * sysdeps/unix/sysv/linux/kernel-features.h
38934         (__ASSUME_SETRESUID_SYSCALL): Remove.
38935         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38936         (__ASSUME_32BITUIDS): Likewise.
38937         (__ASSUME_LDT_WORKS): Likewise.
38938         (__ASSUME_O_DIRECTORY): Likewise.
38939         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38940         architecture but not kernel version.
38941         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38942         (__ASSUME_MMAP2_SYSCALL): Likewise.
38943         (__ASSUME_STAT64_SYSCALL): Likewise.
38944         (__ASSUME_IPC64): Likewise.
38945         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38946         <kernel-features.h>.
38947         [__ASSUME_32BITUIDS]: Make code unconditional.
38948         [!__ASSUME_32BITUIDS]: Remove conditional code.
38949         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38950         <kernel-features.h>.
38951         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38952         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38953         132096]: Remove conditional code.
38954         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38955         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38956         <kernel-features.h>.
38957         [__ASSUME_32BITUIDS]: Make code unconditional.
38958         [!__ASSUME_32BITUIDS]: Remove conditional code.
38959         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38960         <kernel-features.h>.
38961         [__ASSUME_32BITUIDS]: Make code unconditional.
38962         [!__ASSUME_32BITUIDS]: Remove conditional code.
38963         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38964         <kernel-features.h>.
38965         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38966         unconditional.
38967         (__setresgid): Do not declare.
38968         [__ASSUME_32BITUIDS]: Make code unconditional.
38969         [!__ASSUME_32BITUIDS]: Remove conditional code.
38970         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38971         <kernel-features.h>.
38972         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38973         unconditional.
38974         (__setresuid): Do not declare.
38975         [__ASSUME_32BITUIDS]: Make code unconditional.
38976         [!__ASSUME_32BITUIDS]: Remove conditional code.
38977         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38978         <kernel-features.h>.
38979         [__ASSUME_32BITUIDS]: Make code unconditional.
38980         [!__ASSUME_32BITUIDS]: Remove conditional code.
38981         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38982         <kernel-features.h>.
38983         [__ASSUME_32BITUIDS]: Make code unconditional.
38984         [!__ASSUME_32BITUIDS]: Remove conditional code.
38985
38986 2012-05-25  Richard Henderson  <rth@twiddle.net>
38987
38988         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38989         dl_hwcap to ifunc resolver.
38990         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38991         elf_ifunc_invoke.
38992         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38993         dl_hwcap to ifunc resolver.
38994         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38995
38996 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38997
38998         [BZ #14153]
38999         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39000         for |x| <= 2**-26, not 2**-57.
39001         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39002         exception.
39003
39004 2012-05-24  Jeff Law  <law@redhat.com>
39005
39006         * stdio-common/Makefile (tests): Add bug25.
39007         * stdio-common/bug25.c: New test.
39008
39009 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39010
39011         [BZ #13576]
39012         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39013         multiple of MALLOC_ALIGNMENT in size.
39014         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39015
39016 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39017
39018         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39019         Require >= 256.
39020         (FILENAME_MAX): Use macro-int-constant.
39021         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39022         (_IOFBF): Use macro-int-constant.
39023         (_IOLBF): Likewise.
39024         (_IONBF): Likewise.
39025         (SEEK_CUR): Likewise.
39026         (SEEK_END): Likewise.
39027         (SEEK_SET): Likewise.
39028         (TMP_MAX): Likewise.
39029         (EOF): Use macro-int-constant.  Require < 0.
39030         (NULL): Use macro-constant.  Require == 0.
39031         (stdin): Require type to be FILE *.
39032         (stdout): Likewise.
39033         (stderr): Likewise.
39034         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39035         macro-int-constant.
39036         (EXIT_SUCCESS): Likewise.
39037         (NULL): Use macro-constant.  Require == 0.
39038         (RAND_MAX): Use macro-int-constant.
39039         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39040         [C99-based standards] (strtof): Require function.
39041         [C99-based standards] (strtold): Likewise.
39042         [C99-based standards] (strtoll): Likewise.
39043         [C99-based standards] (strtoull): Likewise.
39044         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39045         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39046         [ISO || ISO99 || ISO11] (math.h): Likewise.
39047         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39048         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39049         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39050
39051 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39052
39053         [BZ #14132]
39054         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39055         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39056         * intl/dgettext.c (DCGETTEXT): Likewise.
39057         * intl/gettext.c (DCGETTEXT): Likewise.
39058         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39059         * posix/regex_internal.h (gettext): Likewise.
39060         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39061         Remove declaration.
39062         * include/argz.h (__argz_count_internal)
39063         (__argz_stringify_internal): Remove declaration.
39064         (__argz_count, __argz_stringify): Declare hidden proto.
39065         * intl/dcgettext.c: Remove use of INTDEF.
39066         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39067         * string/argz-stringify.c: Likewise.
39068         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39069         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39070         Declare hidden proto.
39071         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39072         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39073         Declare hidden proto.
39074         * include/stdio.h (__asprintf_internal): Don't declare.
39075         (__asprintf): Don't define as macro.  Declare hidden proto.
39076         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39077         (__fsetlocking): Declare hidden proto.
39078         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39079         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39080         hidden proto.
39081         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39082         (_IO_setlinebuf): Remove use of INTUSE.
39083         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39084         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39085         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39086         Remove declaration.
39087         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39088         (_IO_do_flush): Remove use of INTUSE.
39089         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39090         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39091         (_IO_adjust_column, _IO_least_wmarker)
39092         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39093         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39094         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39095         (_IO_default_doallocate, _IO_wdefault_doallocate)
39096         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39097         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39098         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39099         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39100         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39101         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39102         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39103         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39104         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39105         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39106         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39107         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39108         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39109         proto.
39110         (_IO_flush_all_internal, _IO_adjust_column_internal)
39111         (_IO_default_uflow_internal, _IO_default_finish_internal)
39112         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39113         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39114         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39115         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39116         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39117         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39118         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39119         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39120         (_IO_file_close_internal, _IO_file_close_it_internal)
39121         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39122         (_IO_file_init_internal, _IO_file_attach_internal)
39123         (_IO_file_fopen_internal, _IO_file_read_internal)
39124         (_IO_file_sync_internal, _IO_file_seek_internal)
39125         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39126         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39127         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39128         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39129         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39130         (_IO_list_all_internal, _IO_link_in_internal)
39131         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39132         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39133         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39134         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39135         (_IO_do_write_internal, _IO_padn_internal)
39136         (_IO_getline_info_internal, _IO_getline_internal)
39137         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39138         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39139         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39140         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39141         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39142         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39143         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39144         with libc_hidden_ver, remove use of INTUSE.
39145         * libio/genops.c: Likewise.
39146         * libio/freopen.c: Likewise.
39147         * libio/freopen64.c: Likewise.
39148         * libio/iofclose.c: Likewise.
39149         * libio/iofdopen.c: Likewise.
39150         * libio/iofflush.c: Likewise.
39151         * libio/iofflush_u.c: Likewise.
39152         * libio/iofgets.c: Likewise.
39153         * libio/iofgets_u.c: Likewise.
39154         * libio/iofopen.c: Likewise.
39155         * libio/iofopncook.c: Likewise.
39156         * libio/iofread.c: Likewise.
39157         * libio/iofread_u.c: Likewise.
39158         * libio/ioftell.c: Likewise.
39159         * libio/iofwrite.c: Likewise.
39160         * libio/iogetline.c: Likewise.
39161         * libio/iogets.c: Likewise.
39162         * libio/iogetwline.c: Likewise.
39163         * libio/iopadn.c: Likewise.
39164         * libio/iopopen.c: Likewise.
39165         * libio/ioseekoff.c: Likewise.
39166         * libio/ioseekpos.c: Likewise.
39167         * libio/iosetbuffer.c: Likewise.
39168         * libio/iosetvbuf.c: Likewise.
39169         * libio/ioungetc.c: Likewise.
39170         * libio/ioungetwc.c: Likewise.
39171         * libio/iovdprintf.c: Likewise.
39172         * libio/iovsprintf.c: Likewise.
39173         * libio/iovsscanf.c: Likewise.
39174         * libio/memstream.c: Likewise.
39175         * libio/obprintf.c: Likewise.
39176         * libio/oldfileops.c: Likewise.
39177         * libio/oldiofclose.c: Likewise.
39178         * libio/oldiofdopen.c: Likewise.
39179         * libio/oldiofopen.c: Likewise.
39180         * libio/oldiopopen.c: Likewise.
39181         * libio/oldstdfiles.c: Likewise.
39182         * libio/putc.c: Likewise.
39183         * libio/setbuf.c: Likewise.
39184         * libio/setlinebuf.c: Likewise.
39185         * libio/stdfiles.c: Likewise.
39186         * libio/strops.c: Likewise.
39187         * libio/vasprintf.c: Likewise.
39188         * libio/vscanf.c: Likewise.
39189         * libio/vsnprintf.c: Likewise.
39190         * libio/vswprintf.c: Likewise.
39191         * libio/wfiledoalloc.c: Likewise.
39192         * libio/wfileops.c: Likewise.
39193         * libio/wgenops.c: Likewise.
39194         * libio/wmemstream.c: Likewise.
39195         * libio/wstrops.c: Likewise.
39196         * libio/__fpurge.c: Likewise.
39197         * libio/__fsetlocking.c: Likewise.
39198         * assert/assert.c: Likewise.
39199         * debug/fgets_chk.c: Likewise.
39200         * debug/fgets_u_chk.c: Likewise.
39201         * debug/fread_chk.c: Likewise.
39202         * debug/fread_u_chk.c: Likewise.
39203         * debug/gets_chk.c: Likewise.
39204         * debug/obprintf_chk.c: Likewise.
39205         * debug/vasprintf_chk.c: Likewise.
39206         * debug/vdprintf_chk.c: Likewise.
39207         * debug/vsnprintf_chk.c: Likewise.
39208         * debug/vsprintf_chk.c: Likewise.
39209         * malloc/mtrace.c: Likewise.
39210         * misc/error.c: Likewise.
39211         * misc/syslog.c: Likewise.
39212         * stdio-common/asprintf.c: Likewise.
39213         * stdio-common/fxprintf.c: Likewise.
39214         * stdio-common/getw.c: Likewise.
39215         * stdio-common/isoc99_fscanf.c: Likewise.
39216         * stdio-common/isoc99_scanf.c: Likewise.
39217         * stdio-common/isoc99_vfscanf.c: Likewise.
39218         * stdio-common/isoc99_vscanf.c: Likewise.
39219         * stdio-common/isoc99_vsscanf.c: Likewise.
39220         * stdio-common/printf-prs.c: Likewise.
39221         * stdio-common/printf_fp.c: Likewise.
39222         * stdio-common/printf_fphex.c: Likewise.
39223         * stdio-common/printf_size.c: Likewise.
39224         * stdio-common/putw.c: Likewise.
39225         * stdio-common/scanf.c: Likewise.
39226         * stdio-common/sprintf.c: Likewise.
39227         * stdio-common/tmpfile.c: Likewise.
39228         * stdio-common/vfprintf.c: Likewise.
39229         * stdio-common/vfscanf.c: Likewise.
39230         * stdlib/strfmon_l.c: Likewise.
39231         * sunrpc/openchild.c: Likewise.
39232         * sunrpc/xdr_stdio.c: Likewise.
39233         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39234         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39235
39236 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39237
39238         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39239
39240         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39241         in the third column, to generate for the shared library an IFUNC
39242         that uses _dl_vdso_vsym.
39243         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39244         * Makeconfig (object-suffixes-noshared): New variable.
39245
39246         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39247         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39248         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39249         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39250
39251         [BZ #14132]
39252         * include/sys/time.h (__gettimeofday): Remove macro.
39253         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39254         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39255         Remove INTDEF.
39256         (__gettimeofday): Add libc_hidden_def.
39257         (gettimeofday): Add libc_hidden_weak.
39258         * sysdeps/mach/gettimeofday.c: Likewise.
39259         * sysdeps/posix/gettimeofday.c: Likewise.
39260         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39261         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39262         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39263         (__gettimeofday_internal): Remove strong_alias.
39264         (__gettimeofday): Add libc_hidden_def.
39265         (gettimeofday): Add libc_hidden_weak.
39266         * sysdeps/unix/syscalls.list (gettimeofday):
39267         Remove __gettimeofday_internal alias.
39268
39269 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39270             H.J. Lu  <hongjiu.lu@intel.com>
39271
39272         [BZ #12495]
39273         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39274         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39275         (largebin_index_32_big): New.
39276         (largebin_index): Use it for 16-byte alignment.
39277         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39278         correction with front_misalign.
39279
39280 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39281
39282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39284         Likewise.
39285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39286         Likewise.
39287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39288         Likewise.
39289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39290         Likewise.
39291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39292         Likewise.
39293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39294         Likewise.
39295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39296         Likewise.
39297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39298         Likewise.
39299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39300         Likewise.
39301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39302         Likewise.
39303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39304         Likewise.
39305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39306         Likewise.
39307
39308         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39309         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39310
39311 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39312
39313         [BZ #10846]
39314         [BZ #14036]
39315         * math/libm-test.inc (exp_test): Add test from bug 14036.
39316         (pow_test): Add test from bug 10846.
39317
39318         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39319         and other flags.
39320         (special_function): Do not include flags in test name.
39321         (parse_args): Likewise.
39322         * sysdeps/i386/fpu/libm-test-ulps: Update.
39323         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39324         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39325         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39327
39328         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39329         exceptions.
39330         * math/libm-test.inc ("Philosophy"): Update comment about
39331         exception testing.
39332         (UNDERFLOW_EXCEPTION): New macro.
39333         (UNDERFLOW_EXCEPTION_OK): Likewise.
39334         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39335         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39336         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39337         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39338         (INVALID_EXCEPTION_OK): Update value.
39339         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39340         (OVERFLOW_EXCEPTION_OK): Likewise.
39341         (IGNORE_ZERO_INF_SIGN): Likewise.
39342         (test_exceptions): Handle underflow exceptions.
39343         (acos_test): Update for underflow exception expectations.
39344         (cexp_test): Likewise.
39345         (clog_test): Likewise.
39346         (clog10_test): Likewise.
39347         (csqrt_test): Likewise.
39348         (ctan_test): Likewise.
39349         (ctanh_test): Likewise.
39350         (exp_test): Likewise.
39351         (exp10_test): Likewise.
39352         (exp2_test): Likewise.
39353         (expm1_test): Likewise.
39354         (fma_test): Likewise.
39355         (j0_test): Likewise.
39356         (jn_test): Likewise.
39357         (nexttoward_test): Likewise.
39358         (pow_test): Likewise.
39359         (scalbn_test): Likewise.
39360         (scalbln_test): Likewise.
39361         (tan_test): Likewise.
39362         (y1_test): Likewise.
39363         * sysdeps/i386/fpu/libm-test-ulps: Update.
39364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39365
39366 2012-05-23  David S. Miller  <davem@davemloft.net>
39367
39368         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39369         (__libc_sigaction): Remove unused local variables.
39370
39371 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39372
39373         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39374
39375 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39376
39377         mktime: avoid signed integer overflow
39378         * time/mktime.c (__mktime_internal): Do not mishandle the case
39379         where diff == INT_MIN.
39380
39381         mktime: simplify computation of average
39382         * time/mktime.c (ranged_convert): Use new time_t_avg function
39383         instead of rolling our own (probably-slower) code.
39384
39385         mktime: do not assume signed right shift propagates sign bit
39386         * time/mktime.c (isdst_differ): New static function.
39387         (__mktime_internal): No need to normalize tm_isdst now.
39388         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39389         tm_isdst values.
39390
39391         mktime: merge another wrapv change from gnulib
39392         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39393         from some compilers.
39394
39395         mktime: remove incorrect attempt at unusual arithmetics
39396         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39397         The code didn't really work on such machines anyway.
39398         (TYPE_MINIMUM): Assume two's complement.
39399         (twos_complement_arithmetic): Verify that long_int and time_t
39400         are two's complement (or unsigned, in the latter case).
39401
39402         mktime: check signed shifts on long_int and time_t, too
39403         * time/mktime.c (SHR): Check that shifts work as desired
39404         on the types long_int and time_t too, as SHR is used on
39405         such types.
39406
39407         mktime: do not assume 'long' is wide enough
39408         * time/mktime.c (verify): Move decl up.
39409         (long_int): New type.
39410         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39411         to remove assumption in the code that 'long' is wide enough to
39412         store year values.  This assumption is not true on x32 and on
39413         some non-glibc platforms.
39414
39415         mktime: merge wrapv change from gnulib
39416         * time/mktime.c (WRAPV): New macro.
39417         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39418         (guess_time_tm, __mktime_internal): Do not assume that signed
39419         integer overflow wraps around; modern compilers generate code
39420         where this assumption is no longer valid.
39421
39422 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39423
39424         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39425         Replace "jmp L(pseudo_end)" with "ret".
39426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39427         Likewise.
39428
39429 2012-05-23  Andreas Jaeger  <aj@suse.de>
39430
39431         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39432         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39433
39434 2012-05-23  Andreas Jaeger  <aj@suse.de>
39435             Maximilian Attems  <max@stro.at>
39436
39437         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39438         New macros.
39439
39440 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39441
39442         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39443         code so that pseudo_end is just ret and the stack pointer is
39444         correct also for static library in error case.
39445
39446 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39447
39448         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39449         move to syscalls.list.
39450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39454
39455         * manual/install.texi (Running make install): Do not mention Linux
39456         kernel version for which pt_chown is not needed.
39457         (Linux): Do not mention problems with nscd with 2.0 kernels.
39458         * INSTALL: Regenerated.
39459
39460 2012-05-23  Andreas Jaeger  <aj@suse.de>
39461
39462         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39463         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39464         macro.
39465         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39466         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39467         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39468         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39469         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39470         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39471         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39472         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39473         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39474         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39475         * sysdeps/unix/sysv/linux/bits/in.h
39476         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39477
39478 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39479
39480         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39481         (PREPARE_VERSION): Just use assert instead, it will be elided
39482         under [NDEBUG] anyway.
39483
39484 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39485
39486         * sysdeps/unix/sysv/linux/Makefile: Include
39487         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39488         (sysdep_routines): Remove sysctl.
39489         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39490         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39491         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39492         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39493         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39494
39495 2012-05-22  Andreas Jaeger  <aj@suse.de>
39496
39497         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39498         that pseudo_end is just ret and the stack pointer is correct also
39499         for static library in error case.
39500
39501 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39502
39503         [BZ #14122]
39504         * nss/nsswitch.c (defconfig_entries): New variable.
39505         (__nss_database_lookup): Don't leak defconfig entries.
39506         (nss_parse_service_list): Don't leak on error paths.
39507         (free_database_entries): New function.
39508         (free_defconfig): New function.
39509         (free_mem): Move common code to free_database_entries.
39510
39511 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39512
39513         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39514         Add arch_prctl.
39515         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39516
39517         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39518         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39520         New macro.
39521         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39522         (INTERNAL_SYSCALL_TYPES): Likewise.
39523         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39524         (LOAD_REGS_TYPES_[1-6]): Likewise.
39525         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39526         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39527
39528 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39529
39530         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39531         copysignl for GLIBC_2_0.
39532         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39533         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39534         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39535         logbl for GLIBC_2_0.
39536         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39537         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39538
39539 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39540
39541         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39542         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39543
39544         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39545         Use "neg %eax".
39546
39547         * time/mktime.c: Update copyright years.
39548
39549 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39550
39551         mktime: merge comment-quoting-style change from gnulib
39552         * time/mktime.c: Quote 'like this' in comments.
39553         The GNU coding standards suggest that we no longer quote `like this',
39554         as "`" and "'" are typically rendered asymmetrically nowadays.
39555         The typical gnulib style is to quote 'like this' when quoting
39556         code, and "like this" when quoting English.
39557
39558         * time/mktime.c (compile-command): Add "-I.".
39559
39560         mktime: merge mktime-internal.h change from gnulib
39561         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39562
39563         mktime: merge time_r change from gnulib
39564         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39565
39566         mktime: merge DEBUG change from gnulib
39567         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39568         case system <time.h> has a #define.
39569
39570         mktime: merge <sys/types.h> change from gnulib
39571         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39572         since <time.t> is now guaranteed to define time_t.
39573
39574         mktime: merge HAVE_CONFIG_H change from gnulib
39575         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39576
39577 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39578
39579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39580         Use "neg %eax".
39581
39582         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39583         __rlim_t cast.
39584         (struct rusage): Use anonymous union to pad each field to
39585         __syscall_slong_t.
39586
39587 2012-05-21  David S. Miller  <davem@davemloft.net>
39588
39589         * Makefules (o-iterator): Remove .s cases.
39590         (compile-command.s): Delete.
39591         (COMPILE.s): Delete.
39592         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39593
39594 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39595
39596         * configure.in (libc_cv_predef_stack_protector): Only consider
39597         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39598         * configure: Regenerated.
39599
39600 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39601
39602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39603         New macro.  Use R*LP on int and pointer.
39604         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39605         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39606         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39607         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39608
39609         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39610         [__WORDSIZE_TIME64_COMPAT32] instead of
39611         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39612         (struct utmp): Likewise.
39613         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39614         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39615         Renamed to ...
39616         (__WORDSIZE_TIME64_COMPAT32): This.
39617         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39618         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39619         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39620         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39621         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39622         (__WORDSIZE_TIME64_COMPAT32): New macro.
39623
39624 2012-05-21  Andreas Jaeger  <aj@suse.de>
39625
39626         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39627         only if [SHARED]. Add prototype for __wcschr_ia32.
39628
39629 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39630
39631         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39632         of %rbp unmolested in the jmp_buf while mangling the low bits.
39633         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39634         unmolested high bits of %rbp while demangling the low bits.
39635         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39636
39637 2012-05-21  Andreas Jaeger  <aj@suse.de>
39638
39639         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39640         * sunrpc/svc_simple.c: Use it for registerrpc.
39641         * sunrpc/xcrypt.c: Use it for passwd2des.
39642
39643         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39644
39645 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39646
39647         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39648         Don't define if [__SYSCALL_WORDSIZE != 32].
39649         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39650         New macro.
39651
39652 2012-05-21  Bruno Haible  <bruno@clisp.org>
39653             Andreas Jaeger  <aj@suse.de>
39654
39655         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39656         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39657         inptr and inend for must_buffer_ch.
39658         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39659         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39660         * stdio-common/Makefile (tests): Remove bug15.
39661         (bug15-ENV): Remove macro.
39662         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39663         anymore.
39664
39665 2012-05-19  Andreas Jaeger  <aj@suse.de>
39666             Roland McGrath  <roland@hack.frob.com>
39667
39668         * manual/contrib.texi: Completely rewritten. It contains now an
39669         alphabetical list of contributors and their contributions.
39670
39671 2012-05-21  Richard Henderson  <rth@twiddle.net>
39672
39673         * misc/getauxval.c (__getauxval): Use unsigned long int.
39674         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39675         (getauxval): Use unsigned long int.
39676
39677 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39678
39679         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39680
39681 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39682
39683         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39684         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39685         __alignof__ (long double).
39686
39687 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39688
39689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39690
39691 2012-05-20  Richard Henderson  <rth@twiddle.net>
39692
39693         * misc/getauxval.c: New file.
39694         * misc/sys/auxv.h: New file.
39695         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39696         (routines): Add getauxval.
39697         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39698         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39699         * elf/dl-sysdep.c (_dl_auxv): Remove.
39700         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39701         * elf/dl-support.c (_dl_auxv): New variable.
39702         (_dl_aux_init): Initialize it.
39703         * manual/startup.texi (Auxiliary Vector): New node.
39704         * sysdeps/generic/bits/hwcap.h: New file.
39705         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39706         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39707         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39708         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39709         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39710         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39712         Update.
39713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39714         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39716         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39721
39722 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39723
39724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39725
39726 2012-05-19  David S. Miller  <davem@davemloft.net>
39727
39728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39729
39730 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39731
39732         [BZ #14123]
39733         * math/s_ccosh.c: Include <float.h>
39734         (__ccosh): Avoid internal overflow calculating sinh and cosh
39735         values before multiplying by sin and cos values.
39736         * math/s_ccoshf.c: Likewise.
39737         * math/s_ccoshl.c: Likewise.
39738         * math/s_csin.c: Likewise.
39739         * math/s_csinf.c: Likewise.
39740         * math/s_csinl.c: Likewise.
39741         * math/s_csinh.c: Likewise.
39742         * math/s_csinhf.c: Likewise.
39743         * math/s_csinhl.c: Likewise.
39744         * math/libm-test.inc (ccos_test): Add more tests.
39745         (ccosh_test): Likewise.
39746         (csin_test): Likewise.
39747         (csinh_test): Likewise.
39748         * sysdeps/i386/fpu/libm-test-ulps: Update.
39749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39750
39751 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39752
39753         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39754         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39755
39756         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39757
39758 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39759
39760         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39761         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39762         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39763         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39764         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39765         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39766         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39767         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39768         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39769         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39770         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39771         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39772         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39773         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39774         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39775         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39776         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39777         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39778         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39779         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39780         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39781         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39782         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39783         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39784         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39785         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39786         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39787         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39788         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39789         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39790         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39791
39792 2012-05-18  Andreas Jaeger  <aj@suse.de>
39793
39794         * csu/.gitignore: Delete.
39795
39796 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39797
39798         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39799         (timex): Use __syscall_slong_t.
39800
39801 2012-05-18  Andreas Jaeger  <aj@suse.de>
39802             Carlos O'Donell  <carlos_odonell@mentor.com>
39803
39804         * manual/install.texi (Configuring and compiling): Update
39805         description about files modified in the source directory.
39806         * INSTALL: Regenerated.
39807
39808 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39809
39810         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39811         value.  Use "or" to set return value to -1.
39812         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39813         negate return value.
39814
39815 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39816
39817         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39818         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39819         failure if the compiler has Graphite support disabled.
39820         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39821         Likewise.
39822         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39823         (CFLAGS-memmove.c): Likewise.
39824         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39825         Likewise.
39826
39827 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39828
39829         * sysdeps/x86_64/x32/_itoa.h: New file.
39830
39831         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39832         getdents system call only if kernel and user dirents have the
39833         same d_ino and d_off.
39834
39835         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39836         LLONG_MAX != LONG_MAX.
39837         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39838         (_fitoa_word): Likewise.
39839
39840         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39841         years.
39842         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39843         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39844         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39845
39846         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39847         include <bits/wordsize.h>.  Check __x86_64__ instead of
39848         __WORDSIZE.
39849         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39850         if __x86_64__ is defined.  Use anonymous union on fpstate.
39851
39852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39853         anonymous union.
39854
39855 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39856
39857         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39858         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39859         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39860         Refer to _rtld_local_ro instead of _rtld_global_ro.
39861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39862         Likewise.
39863         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39864         Likewise.
39865         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39866         Likewise.
39867         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39868         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39869         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39870
39871         * sysdeps/powerpc/powerpc32/dl-machine.c
39872         (__elf_machine_runtime_setup) [PROF]: Don't reference
39873         _dl_prof_resolve.
39874
39875 2012-05-18  Andreas Jaeger  <aj@suse.de>
39876
39877         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39878         function only available for GCCs before 3.4 since GCC 3.4
39879         introduced a builtin.
39880         (lrint): Likewise.
39881         (llrintf): Likewise.
39882         (llrint): Likewise.
39883         (fmaxf): Likewise.
39884         (fmax): Likewise.
39885         (fminf): Likewise.
39886         (fmin): Likewise.
39887         (rint): Likewise.
39888         (rintf): Likewise.
39889         (nearbyint): Likewise.
39890         (nearbyintf): Likewise.
39891         (ceil): Likewise.
39892         (ceilf): Likewise.
39893         (floor): Likewise.
39894         (floorf): Likewise.
39895
39896 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39897
39898         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39899         on both fields and cast pointer to __syscall_ulong_t.
39900
39901         * bits/types.h (__fsword_t): New type.
39902         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39903         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39904         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39905         (__FSWORD_T_TYPE): Likewise.
39906         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39907         (__FSWORD_T_TYPE): Likewise.
39908         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39909         (__FSWORD_T_TYPE): Likewise.
39910         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39911         (__FSWORD_T_TYPE): Likewise.
39912         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39913         __SWORD_TYPE with __fsword_t.
39914         (statfs64): Likewise.
39915
39916 2012-05-17  David S. Miller  <davem@davemloft.net>
39917
39918         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39919
39920 2012-05-17  Andreas Jaeger  <aj@suse.de>
39921
39922         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39923         warning.
39924
39925 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39926
39927         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39928
39929 2012-05-17  Andreas Jaeger  <aj@suse.de>
39930
39931         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39932         when it is used.
39933
39934 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39935
39936         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39937
39938 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39939
39940         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39941         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39942
39943 2012-05-17  Andreas Jaeger  <aj@suse.de>
39944             Carlos O'Donell  <carlos_odonell@mentor.com>
39945
39946         [BZ #14059]
39947         * sysdeps/x86_64/multiarch/init-arch.h
39948         (bit_YMM_Usable): Rename to...
39949         (bit_AVX_Usable): ... this.
39950         (bit_FMA4_Usable): New macro.
39951         (bit_XMM_state): New macro.
39952         (bit_YMM_state): New macro.
39953         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39954         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39955         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39956         (CPUID_OSXSAVE): New macro.
39957         (CPUID_AVX): New macro.
39958         (CPUID_FMA4): New macro.
39959         (index_YMM_Usable): Rename to...
39960         (index_AVX_Usable): ... this.
39961         (HAS_AVX): Use HAS_ARCH_FEATURE.
39962         (HAS_FMA4): Likewise.
39963         (HAS_YMM_USABLE): Remove.
39964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39965         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39966         are present.
39967         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39968         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39969         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39970         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39971         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39972
39973 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39974
39975         * math/libm-test.c: Support platforms without multiple rounding modes.
39976         * math/bug-nextafter.c: Support platforms without FP exceptions.
39977         * math/bug-nexttoward.c: Likewise.
39978         * math/test-fenv.c: Likewise.
39979         * math/test-misc.c: Likewise.
39980         * stdlib/bug-getcontext.c: Likewise.
39981
39982 2012-05-17  Andreas Jaeger  <aj@suse.de>
39983
39984         * manual/examples/search.c (critter_cmp): Change signature to
39985         avoid warnings.
39986         * manual/string.texi (Collation Functions): Likewise.
39987
39988 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39989
39990         * bits/types.h: Fold copyright years.
39991         * bits/typesizes.h: Likewise.
39992         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39993         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39994         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39995         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39996         * time/time.h: Likewise.
39997
39998 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39999
40000         [BZ #208]
40001         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40002         in instead of returning them.  Return void.
40003         (__libc_mallinfo): Accumulate over all arenas.
40004         (__malloc_stats): Adjust for change in int_mallinfo interface.
40005
40006 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40007
40008         [BZ #10375]
40009         * configure.in (NM): Add AC_CHECK_TOOL for it.
40010         (libc_extra_cflags): New substituted variable.
40011         Check for -fstack-protector being used implicitly.
40012         * configure: Regenerated.
40013         * config.make.in (config-extra-cflags): New variable,
40014         gets @libc_extra_cflags@.
40015         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40016
40017         [BZ #10375]
40018         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40019         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40020         * configure: Regenerated.
40021         * config.make.in (CPPUNDEFS): New substituted variable.
40022         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40023         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40024         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40025
40026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40027
40028         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40029         (mq_attr): Use __syscall_slong_t.
40030
40031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40032
40033         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40034         Check __x86_64__ instead of __WORDSIZE.
40035         (_STAT_VER_LINUX): Likewise.
40036         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40037         __syscall_ulong_t and __syscall_slong_t.
40038         (stat64): Likewise.
40039
40040 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40041
40042         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40043
40044 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40045
40046         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40047
40048 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40049
40050         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40051         __syscall_ulong_t.
40052
40053         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40054         include <bits/wordsize.h>.  Check __x86_64__ instead of
40055         __WORDSIZE.
40056         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40057         defined.
40058         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40059
40060         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40061         include <bits/wordsize.h>.  Check __x86_64__ instead of
40062         __WORDSIZE.
40063         (user_regs_struct): Use "__extension__ unsigned long long"
40064         instead of "unsigned long" if __x86_64__ is defined.
40065         (user): Likewise.  Pad after pointer field if __ILP32__ is
40066         defined.
40067
40068 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40069
40070         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40071         versions 5 to 9.
40072         * configure: Regenerated.
40073         * manual/install.texi (texinfo): Increase version requirement to
40074         4.5 or later.
40075         * INSTALL: Regenerated.
40076
40077         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40078
40079 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40080
40081         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40082
40083         * sysdeps/x86_64/x32/ffs.c: New file.
40084
40085         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40086         __syscall_ulong_t.
40087         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40088         defined.  Use __syscall_ulong_t.
40089         (shminfo): Use __syscall_ulong_t.
40090         (shm_info): Likewise.
40091
40092         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40093         __syscall_ulong_t.
40094
40095         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40096         <bits/wordsize.h>.
40097         (msgqnum_t): Use __syscall_ulong_t.
40098         (msglen_t): Likewise.
40099         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40100         __syscall_ulong_t.
40101
40102         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40103         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40104
40105         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40106
40107         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40108         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40109
40110         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40111         __syscall_slong_t.
40112
40113         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40114         include <bits/wordsize.h>.  Check __x86_64__ instead of
40115         __WORDSIZE.
40116
40117         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40118         "unsigned long long int" if __x86_64__ is defined.
40119         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40120
40121         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40122         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40123         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40124
40125         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40126         <stdint.h>.
40127         (GET_PC): Cast to uintptr_t first.
40128         (GET_FRAME): Likewise.
40129         (GET_STACK): Likewise.
40130
40131         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40132         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40133         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40134         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40135         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40136         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40137         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40138         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40139         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40140         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40141         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40142         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40143         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40144         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40145         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40146         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40147         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40148         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40149         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40150         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40151         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40152         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40153         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40154         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40155         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40156         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40157         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40158         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40159         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40160
40161 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40162
40163         * Makerules (+depfiles): Also collect depfiles from .oS in
40164         $(extra-objs).
40165         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40166         .oS, $(libnldbl-routines)).
40167
40168         * Makerules (native-compile-mkdep-flags): Define.
40169         * sunrpc/Makefile (extra-objs): Add $(addprefix
40170         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40171         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40172         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40173         calling $(make-target-directory).
40174
40175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40176
40177         * bits/types.h (__snseconds_t): Removed.
40178         * time/time.h (struct timespec): Replace __snseconds_t with
40179         __syscall_slong_t.
40180         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40181         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40182         Likewise.
40183         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40184         (__SNSECONDS_T_TYPE): Likewise.
40185         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40186         (__SNSECONDS_T_TYPE): Likewise.
40187         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40188         (__SNSECONDS_T_TYPE): Likewise.
40189
40190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40191
40192         * sysdeps/mach/hurd/bits/typesizes.h
40193         (__SYSCALL_SLONG_TYPE): New macro.
40194         (__SYSCALL_ULONG_TYPE): Likewise.
40195
40196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40197
40198         * bits/types.h (__syscall_slong_t): New type.
40199         (__syscall_ulong_t): Likewise.
40200
40201         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40202         (__SYSCALL_ULONG_TYPE): Likewise.
40203         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40204         (__SYSCALL_SLONG_TYPE): Likewise.
40205         (__SYSCALL_ULONG_TYPE): Likewise.
40206         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40207         (__SYSCALL_SLONG_TYPE): Likewise.
40208         (__SYSCALL_ULONG_TYPE): Likewise.
40209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40210         (__SYSCALL_SLONG_TYPE): Likewise.
40211         (__SYSCALL_ULONG_TYPE): Likewise.
40212
40213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40214
40215         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40216         Add sigaltstack-offsets.sym.
40217         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40218         <sigaltstack-offsets.h>.
40219         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40220         longjmp_msg pointer.
40221         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40222         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40223         signal stack.
40224         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40225
40226 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40227
40228         * elf/stackguard-macros.h: Remove file.
40229         * sysdeps/generic/stackguard-macros.h: New file.
40230         * sysdeps/i386/stackguard-macros.h: Likewise.
40231         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40232         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40233         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40234         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40235         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40236         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40237         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40238         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40239         <elf/stackguard-macros.h>.
40240
40241         [BZ #14109]
40242         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40243         __aligned__ in attribute.
40244         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40245         (gregset_t): Likewise.
40246
40247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40248
40249         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40250         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40251         * sysdeps/x86_64/x32/Implies-after: New file.
40252
40253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40254
40255         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40256         and access return value for _dl_profile_fixup.  Use R10_LP to
40257         load frame size.
40258
40259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40260
40261         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40262
40263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40264
40265         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40266         * sysdeps/x86_64/x32/sysdep.h: New file.
40267
40268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40269
40270         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40271         * sysdeps/x86_64/setjmp.S: Likewise.
40272
40273 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40274
40275         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40276         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40277         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40278         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40279         remove unused global constant.
40280
40281 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40282
40283         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40284         include of <not-cancel.h>.
40285
40286 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40287
40288         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40289
40290 2012-05-15  Jeff Law  <law@redhat.com>
40291             Andreas Jaeger  <aj@suse.de>
40292
40293         [BZ #13594]
40294         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40295         out from...
40296         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40297         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40298         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40299         code changing __hst_map_handle.map.
40300
40301 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40302
40303         * configure.in (sysnames): Look for Implies-before and Implies-after
40304         files.
40305         * configure: Regenerated.
40306
40307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40308
40309         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40310         8-byte data alignment with LP_SIZE alignment.
40311
40312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40313
40314         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40315         into R10_LP.
40316
40317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40318
40319         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40320
40321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40322
40323         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40324         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40325         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40326         Likewise.
40327         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40328
40329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40330
40331         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40332         (stackinfo_sub_sp): Likewise.
40333
40334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40335
40336         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40337         RAX_LP.
40338
40339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40340
40341         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40342         into R*_LP.
40343
40344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40345
40346         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40347         sizes into R*_LP.
40348
40349 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40350
40351         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40352
40353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40354
40355         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40356         into R11_LP and load __x86_64_shared_cache_size_half into
40357         R8_LP.
40358
40359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40360
40361         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40362         R8_LP.
40363
40364 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40365
40366         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40367         logb for POWER7.
40368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40369         logbf for POWER7.
40370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40371         logbl for POWER7.
40372         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40373         powerpc32/power7/fpu/s_logb.c via #include.
40374         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40375         powerpc32/power7/fpu/s_logbf.c via #include.
40376         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40377         powerpc32/power7/fpu/s_logbl.c via #include.
40378
40379 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40380
40381         * README.libm: Remove file.
40382
40383 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40384
40385         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40386         count for x32.  Use R*_LP and omit operand-size suffix.
40387
40388 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40389
40390         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40391         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40392         * sysdeps/x86_64/x32/shlib-versions: New file.
40393
40394 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40395
40396         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40397         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40398         Use _dl_fatal_printf instead.
40399
40400 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40401
40402         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40403         set if not set by the user.  Do not allow for being unset.
40404         * sysdeps/unix/sysv/linux/configure: Regenerated.
40405
40406 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40407
40408         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40409         the `q' suffix from lea and replace .quad with ASM_ADDR.
40410
40411 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40412
40413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40414         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40415         instead of $17.
40416         (PTR_DEMANGLE): Likewise.
40417
40418 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40419
40420         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40421         (LP_OP): Likewise.
40422         (ASM_ADDR): Likewise.
40423         (RAX_LP): Likewise.
40424         (RBP_LP): Likewise.
40425         (RBX_LP): Likewise.
40426         (RCX_LP): Likewise.
40427         (RDI_LP): Likewise.
40428         (RSI_LP): Likewise.
40429         (RSP_LP): Likewise.
40430         (R8_LP): Likewise.
40431         (R9_LP): Likewise.
40432         (R10_LP): Likewise.
40433         (R10_LP): Likewise.
40434         (R11_LP): Likewise.
40435         (R12_LP): Likewise.
40436         (R13_LP): Likewise.
40437         (R14_LP): Likewise.
40438         (R15_LP): Likewise.
40439
40440 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40441
40442         * sysdeps/x86_64/x32/dl-machine.h: New file.
40443
40444 2012-05-14  Andreas Jaeger  <aj@suse.de>
40445
40446         * manual/Makefile (subdir): Remove export of subdir.
40447         (all): Remove target.
40448         (.PHONY): Remove all from list.
40449         (mkinstalldirs): Remove.
40450         (.PHONY): Remove installdirs from list.
40451         ($(inst_infodir)/libc.info): Use make-target-directory.
40452         (installdirs): Remove.
40453         (subdir_%): Remove.
40454         (glibc-targets): Remove.
40455         (lib): Remove.
40456         (stubs): Remove.
40457         ($(objpfx)stubs ../po/manual.pot): Remove.
40458         ($(objpfx)stamp%): Remove.
40459         (make-target-directory): Remove.
40460         (subdir_install): Remove.
40461         (routines): Remove.
40462         (aux): Remove.
40463         (sources): Remove.
40464         (objects): Remove.
40465         (headers): Remove.
40466
40467         [BZ #13750]
40468         * manual/.gitignore: Remove, it's not needed anymore.
40469         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40470         all files in it.
40471         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40472         directory.
40473         (texis): Renamed to $(objpfx)texis.
40474         (texis-path): New, contains path to generated files.
40475         (chapters.%): Use texis-path for complete path, add extra argument
40476         libc-texinfo.sh.
40477         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40478         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40479         (summary,texi, stamp-summary): Use complete path of
40480         files. Generate files in build dir.
40481         (dir-add.texi): Build in build dir.
40482         (libm-err.texi,stamp-libm-err): Likewise.
40483         (version.texi, stamp-version): Likewise.
40484         (.%c.texi): Likewise.
40485         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40486         (mostlyclean): Remove target.
40487         (realclean): Remove target.
40488         (generated): Add new variable with contents from mostlyclean and
40489         realclean, remove entries duplicated in common-mostlyclean, add
40490         stamp-libm-err and stamp-version.
40491         (generated-dirs): Add libc directory.
40492         ($(inst_infodir)/libc.info): Install files from build dir.
40493
40494         * manual/install.texi (Configuring and compiling): Adjust since
40495         the info files are not part of the tar ball anymore.
40496
40497 2012-05-14  Andreas Jaeger  <aj@suse.de>
40498
40499         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40500         variable.
40501
40502 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40503
40504         [BZ #13717]
40505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40506         to 2.2.0 where earlier.
40507         * sysdeps/unix/sysv/linux/configure: Regenerated.
40508         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40509         Remove conditional code.
40510         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40511         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40512         Remove conditional code.
40513         [!__NR_lchown]: Likewise.
40514         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40515         [__NR_lchown]: Likewise.
40516         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40517         comment referencing __ASSUME_LCHOWN_SYSCALL.
40518         * sysdeps/unix/sysv/linux/i386/sigaction.c
40519         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40520         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40521         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40522         Remove conditional code.
40523         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40524         (__protocol_available): Remove #if 0 code.
40525         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40526         conditional code.
40527         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40528         * sysdeps/unix/sysv/linux/kernel-features.h
40529         (__ASSUME_GETCWD_SYSCALL): Don't define.
40530         (__ASSUME_REALTIME_SIGNALS): Likewise.
40531         (__ASSUME_PREAD_SYSCALL): Likewise.
40532         (__ASSUME_PWRITE_SYSCALL): Likewise.
40533         (__ASSUME_POLL_SYSCALL): Likewise.
40534         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40535         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40536         non-SPARC.
40537         (__ASSUME_SIOCGIFNAME): Don't define.
40538         (__ASSUME_MSG_NOSIGNAL): Likewise.
40539         (__ASSUME_SENDFILE): Define unconditionally.
40540         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40541         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40542         conditional code.
40543         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40544         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40545         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40546         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40547         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40548         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40549         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40551         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40552         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40554         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40555         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40557         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40558         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40560         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40561         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40563         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40564         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40566         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40567         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40569         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40570         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40572         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40573         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40574         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40575         Remove conditional code.
40576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40577         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40578         Remove conditional code.
40579         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40580         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40581         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40582         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40583         Remove conditional code.
40584         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40585         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40586         Remove conditional code.
40587         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40588         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40589         Remove conditional code.
40590         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40591         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40592         Remove conditional code.
40593         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40594         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40595         Remove conditional code.
40596         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40597         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40598         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40599         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40600         * sysdeps/unix/sysv/linux/sigaction.c
40601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40603         * sysdeps/unix/sysv/linux/sigpending.c
40604         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40605         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40606         * sysdeps/unix/sysv/linux/sigprocmask.c
40607         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40608         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40609         * sysdeps/unix/sysv/linux/sigsuspend.c
40610         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40611         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40612         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40613         (__libc_missing_rt_sigs): Remove.
40614         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40615         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40616         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40617         Remove conditional code.
40618         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40619         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40620         return 1.
40621         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40622         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40623         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40624         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40625
40626 2012-05-14  Andreas Jaeger  <aj@suse.de>
40627
40628         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40629         it's not used in glibc.
40630         (__coshm1): Likewise.
40631         (__acosh1p): Likewise.
40632         (__sgn): Likewise.
40633
40634         * manual/string.texi (Copying and Concatenation): Add missing
40635         variable in concat example.
40636         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40637
40638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40639
40640         [BZ #14103]
40641         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40642         __builtin_clzl with __builtin_clzll.
40643
40644 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40645
40646         [BZ #14104]
40647         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40648         libc_freeres_ptr.
40649
40650 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40651
40652         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40653         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40654         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40655         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40656
40657 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40658
40659         * NEWS: Update ia64 info.
40660
40661 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40662
40663         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40664         used as bcopy.
40665
40666 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40667
40668         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40669         * sysdeps/unix/syscalls.list (dup3): Likewise.
40670         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40671         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40672
40673 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40674
40675         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40676         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40677
40678 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40679
40680         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40681         thread pointer.
40682         (TLS_IE): Use mov/add instead of movq/addq to load thread
40683         pointer.
40684         (TLS_GD_PREFIX): New.
40685         (TLS_GD): Use it.
40686
40687 2012-05-11  David S. Miller  <davem@davemloft.net>
40688
40689         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40690         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40691         (_FPU_SETCW): Likewise.
40692
40693 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40694
40695         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40696         is 32-byte aligned.
40697
40698 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40699
40700         [BZ #11837]
40701         * iconvdata/gb18030.c: Update tables.
40702         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40703         characters specially.
40704         (BODY for TO_LOOP): Add encoding of missing ranges.
40705
40706 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40707
40708         [BZ #13673]
40709         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40710         * sysdeps/mach/hurd/dup3.c: Likewise.
40711         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40712         * sysdeps/powerpc/memmove.c:: Likewise.
40713
40714 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40715
40716         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40717         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40718
40719 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40720
40721         * elf/elf.h (R_X86_64_RELATIVE64): New.
40722         (R_X86_64_NUM): Updated.
40723         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40724         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40725         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40726         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40727         tst-quad1pie tst-quad2pie
40728         (modules-names): Add tst-quadmod1 tst-quadmod2.
40729         ($(objpfx)tst-quad1): New dependency.
40730         ($(objpfx)tst-quad2): Likewise.
40731         ($(objpfx)tst-quad1pie): Likewise.
40732         ($(objpfx)tst-quad2pie): Likewise.
40733         * sysdeps/x86_64/tst-quad1.c: New file.
40734         * sysdeps/x86_64/tst-quad1pie.c: New file.
40735         * sysdeps/x86_64/tst-quad2.c: Likewise.
40736         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40737         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40738         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40739         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40740         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40741
40742 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40743
40744         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40745         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40746         * streams/stropts.h (t_scalar_t): Define type.
40747
40748         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40749         (_PATH_PRESERVE): Set to "/var/lib".
40750         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40751
40752         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40753         instead of int.
40754
40755         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40756         if __dir_mkfile succeeded.
40757
40758         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40759         checking for _hurd_dtablesize.  Unlock it right after having
40760         finished _hurd_dtable allocation.
40761
40762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40763
40764         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40765         * sysdeps/mach/hurd/configure: Regenerated.
40766         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40767         special-casing to...
40768         * sysdeps/gnu/configure.in: ... this new file.
40769         * sysdeps/unix/sysv/linux/configure: Regenerated.
40770         * sysdeps/gnu/configure: New generated file.
40771
40772         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40773         for Linux: use nsec instead of usec, as well as:
40774         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40775         members of type struct timespec.
40776         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40777         New macros.
40778         (struct stat64): Likewise.
40779         (_STATBUF_ST_NSEC): New macro.
40780         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40781
40782         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40783         __strtoul_internal rather than strtoul.
40784
40785 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40786
40787         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40788         and reject them.
40789
40790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40791
40792         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40793         which preserves existing values.
40794         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40795
40796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40797
40798         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40799         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40800         greater than FD_SETSIZE.
40801
40802 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40803
40804         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40805         allocated, call __vm_protect to finish enabling the existing space, and
40806         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40807         allocate the remainder.
40808
40809 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40810
40811         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40812         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40813
40814 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40815
40816         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40817         sysdeps/mach/hurd/readlink.c.
40818
40819         * posix/tst-sysconf.c (posix_options): Only use
40820         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40821         _POSIX_SYNCHRONIZED_IO when they are defined
40822         * sysdeps/mach/hurd/bits/posix_opt.h:
40823         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40824         (_XOPEN_REALTIME): Undefine macro.
40825         (_XOPEN_REALTIME_THREADS): Undefine macro.
40826         (_XOPEN_SHM): Undefine macro.
40827         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40828         macro to -1.
40829         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40830         macro to -1.
40831         (_POSIX_ASYNC_IO): Undefine macro.
40832         (_POSIX_PRIORITIZED_IO): Undefine macro.
40833         (_POSIX_SPIN_LOCKS): Define macro to -1.
40834
40835         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40836         SA_NODEFER, SA_RESETHAND.
40837         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40838         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40839         F_DUPFD_CLOEXEC.
40840
40841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40842
40843         * elf/Makefile (pldd-modules): Define unconditionally.
40844
40845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40846
40847         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40848
40849 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40850
40851         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40852         Return ENOENT when name is empty.
40853         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40854
40855 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40856
40857         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40858
40859         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40860
40861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40862
40863         Fix mlock in all cases except non-readable pages.
40864         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40865         instead of VM_PROT_ALL as parameter to __vm_wire function.
40866
40867         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40868         (__mkdir): When path is `/', just fail with EEXIST.
40869         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40870
40871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40872
40873         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40874         <sys/uio.h> (for writev).
40875         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40876         and <sys/param.h> (for MIN).
40877
40878 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40879
40880         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40881         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40882         if interrupted.
40883
40884 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40885
40886         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40887         Depend on against $(link-rpcuserlibs).
40888
40889 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40890
40891         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40892         (__libc_stack_end): Do not use attribute_relro.
40893         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40894         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40895         to libthread-provided value.
40896         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40897         attribute_relro.
40898
40899 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40900
40901         [BZ #3748]
40902         * bits/libc-lock.h (__libc_once_get): New macro.
40903         * sysdeps/mach/bits/libc-lock.h: Likewise.
40904         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40906         instead of using implementation details.
40907
40908         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40909         * libio/freopen.c: Likewise.
40910         * libio/freopen64.c: Likewise.
40911         * misc/syslog.c: Likewise.
40912         * nscd/connections.c: Likewise.
40913         * nscd/netgroupcache.c: Likewise.
40914         * sysdeps/posix/getcwd.c: Likewise.
40915
40916 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40917
40918         * math/w_ilogbf.c: Add #include <limits.h>.
40919
40920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40921
40922         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40923         path instead of returning without unlocking.
40924
40925         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40926         immediate-write ioctls.
40927         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40928
40929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40930
40931         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40932         __builtin_frame_address instead of making assumptions about the
40933         location of the return address relative to DATA.  Force early load of
40934         the return address.
40935         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40936         __builtin_frame_address.
40937
40938         dup3 for GNU Hurd.
40939         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40940         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40941         implement dup3 and do some further code clean-ups.
40942         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40943         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40944
40945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40946
40947         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40948
40949         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40950         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40951         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40952         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40953         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40954         d->port.lock.
40955
40956         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40957         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40958         when handler == SIG_ERR, not when handler != SIG_ERR.
40959
40960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40961
40962         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40963         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40964         definitions.
40965
40966         accept4 for GNU Hurd.
40967         * include/sys/socket.h (__libc_accept4): New prototype.
40968         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40969         to implement __libc_accept4.
40970         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40971         __libc_accept4.
40972         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40973
40974         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40975         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40976         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40977         signal-defines.sym.
40978
40979 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40980
40981         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40982
40983 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40984
40985         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40986         assertion on O_CLOEXEC flag.
40987         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40988         * hurd/intern-fd.c: Likewise.
40989         * hurd/port2fd.c: Likewise.
40990
40991 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40992
40993         [BZ #3906]
40994         * bits/in.h (IPV6_PKTINFO): Define new macro.
40995         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40996
40997 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40998
40999         [BZ #13954]
41000         [BZ #13955]
41001         [BZ #13956]
41002         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41004         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41005         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41006         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41007         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41008         * math/libm-test.inc (logb_test) : Additional logb tests.
41009
41010 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41011             Andreas Jaeger  <aj@suse.de>
41012
41013         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41014         * configure: Regenerated.
41015         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41016         * config.make.in (link-obsolete-rpc): New substituted variable.
41017         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41018         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41019         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41020         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41021         so that libc.a contains the symbols.
41022         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41023         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41024         * sunrpc/auth_none.c: Likewise.
41025         * sunrpc/auth_unix.c: Likewise.
41026         * sunrpc/authdes_prot.c: Likewise.
41027         * sunrpc/authuxprot.c: Likewise.
41028         * sunrpc/clnt_gen.c: Likewise.
41029         * sunrpc/clnt_perr.c: Likewise.
41030         * sunrpc/clnt_raw.c: Likewise.
41031         * sunrpc/clnt_simp.c: Likewise.
41032         * sunrpc/clnt_tcp.c: Likewise.
41033         * sunrpc/clnt_udp.c: Likewise.
41034         * sunrpc/clnt_unix.c: Likewise.
41035         * sunrpc/des_crypt.c: Likewise.
41036         * sunrpc/des_soft.c: Likewise.
41037         * sunrpc/get_myaddr.c: Likewise.
41038         * sunrpc/key_call.c: Likewise.
41039         * sunrpc/key_prot.c: Likewise.
41040         * sunrpc/netname.c: Likewise.
41041         * sunrpc/pm_getmaps.c: Likewise.
41042         * sunrpc/pm_getport.c: Likewise.
41043         * sunrpc/pmap_clnt.c: Likewise.
41044         * sunrpc/pmap_prot.c: Likewise.
41045         * sunrpc/pmap_prot2.c: Likewise.
41046         * sunrpc/pmap_rmt.c: Likewise.
41047         * sunrpc/publickey.c: Likewise.
41048         * sunrpc/rpc_cmsg.c: Likewise.
41049         * sunrpc/rpc_common.c: Likewise.
41050         * sunrpc/rpc_dtable.c: Likewise.
41051         * sunrpc/rpc_prot.c: Likewise.
41052         * sunrpc/rpc_thread.c: Likewise.
41053         * sunrpc/rtime.c: Likewise.
41054         * sunrpc/svc.c: Likewise.
41055         * sunrpc/svc_auth.c: Likewise.
41056         * sunrpc/svc_raw.c: Likewise.
41057         * sunrpc/svc_run.c: Likewise.
41058         * sunrpc/svc_tcp.c: Likewise.
41059         * sunrpc/svc_udp.c: Likewise.
41060         * sunrpc/svc_unix.c: Likewise.
41061         * sunrpc/svcauth_des.c: Likewise.
41062         * sunrpc/xcrypt.c: Likewise.
41063         * sunrpc/xdr.c: Likewise.
41064         * sunrpc/xdr_array.c: Likewise.
41065         * sunrpc/xdr_float.c: Likewise.
41066         * sunrpc/xdr_intXX_t.c: Likewise.
41067         * sunrpc/xdr_mem.c: Likewise.
41068         * sunrpc/xdr_rec.c: Likewise.
41069         * sunrpc/xdr_ref.c: Likewise.
41070         * sunrpc/xdr_sizeof.c: Likewise.
41071         * sunrpc/xdr_stdio.c: Likewise.
41072
41073 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41074
41075         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41076         change.  Update copyright years.
41077
41078 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41079
41080         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41081
41082 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41083             Joseph Myers  <joseph@codesourcery.com>
41084             Paul Pluzhnikov  <ppluzhnikov@google.com>
41085
41086         [BZ #14012]
41087         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41088         requiring rpcgen.
41089         [cross-compiling] (extra-libs): Likewise.
41090         [cross-compiling] (extra-libs-others): Likewise.
41091         [cross-compiling] (librpcsvc-routines): Likewise.
41092         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41093         [cross-compiling] (omit-deps): Likewise.
41094         (sunrpc-CPPFLAGS): New variable.
41095         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41096         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41097         (cross-rpcgen-objs): New variable.
41098         (extra-objs): Append $(cross-rpcgen-objs).
41099         ($(cross-rpcgen-objs)): New rule.
41100         ($(objpfx)cross-rpcgen): Likewise.
41101         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41102         comment.
41103         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41104         ($(objpfx)x%.stmp): Likewise.
41105         * sunrpc/proto.h [IS_IN_build] (_): Define.
41106         [IS_IN_build] (_libc_intl_domainname): Likewise.
41107
41108 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41109
41110         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41111         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41112         and R_X86_64_TPOFF64.
41113
41114 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41115
41116         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41117         sysdeps/unix/sysv/syscalls.list.
41118         (stime): Likewise.
41119         (utime): Likewise.
41120         * sysdeps/unix/sysv/syscalls.list: Remove file.
41121
41122 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41123
41124         [BZ #3440]
41125         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41126         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41127         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41128         (__LC_IDENTIFICATION): Make these macros useful in #if
41129         expressions, as required by C99.
41130
41131 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41132
41133         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41134         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41135         after this.
41136
41137 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41138
41139         * stdlib/longlong.h: Updated from GCC.
41140
41141 2012-05-09  Andreas Jaeger  <aj@suse.de>
41142
41143         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41144         default is first entry.
41145         (run_mode): Set type.
41146         (main): Remove informal message about syslog.
41147         (options): Fix typo.
41148
41149         [BZ #14053]
41150         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41151         to asm.
41152         (lrint): Likewise.
41153         (llrintf): Likewise.
41154         (llrint): Likewise.
41155         (rint): Likewise.
41156         (rintf): Likewise.
41157         (nearbyint): Likewise.
41158         (nearbyintf): Likewise.
41159
41160 2012-05-09  Andreas Jaeger  <aj@suse.de>
41161             Pedro Alves  <palves@redhat.com>
41162
41163         * nscd/nscd.c (run_mode): Use enum.
41164         (main): Cleanup coding style issue.
41165
41166 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41167             Andreas Jaeger  <aj@suse.de>
41168
41169         * nscd/nscd.c (go_background): Replaced with...
41170         (run_mode): ... this.
41171         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41172         (options): Add -F --foreground.
41173         (main): Implement it.
41174         (parse_opt): Parse it.
41175
41176 2012-05-09  Andreas Jaeger  <aj@suse.de>
41177
41178         [BZ #14083]
41179         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41180         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41181         -Wconversion warning.
41182         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41183         Likewise.
41184
41185 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41186
41187         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41188         == 0.
41189         (LC_ALL): Use macro-int-constant.
41190         (LC_COLLATE): Likewise.
41191         (LC_CTYPE): Likewise.
41192         (LC_MESSAGES): Likewise.
41193         (LC_MONETARY): Likewise.
41194         (LC_NUMERIC): Likewise.
41195         (LC_TIME): Likewise.
41196         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41197         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41199         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41200         Specify type.
41201         [C99-based standards] (float_t): Expect type.
41202         [C99-based standards] (double_t): Expect type.
41203         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41204         type.
41205         [C99-based standards] (HUGE_VALL): Likewise.
41206         [C99-based standards] (INFINITY): Likewise.
41207         [C99-based standards] (NAN): Likewise.
41208         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41209         [C99-based standards] (FP_NAN): Likewise.
41210         [C99-based standards] (FP_NORMAL): Likewise.
41211         [C99-based standards] (FP_SUBNORMAL): Likewise.
41212         [C99-based standards] (FP_ZERO): Likewise.
41213         [C99-based standards] (FP_FAST_FMA): Use
41214         optional-macro-int-constant.  Specify type.  Require == 1.
41215         [C99-based standards] (FP_FAST_FMAF): Likewise.
41216         [C99-based standards] (FP_FAST_FMAL): Likewise.
41217         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41218         [C99-based standards] (FP_ILOGBNAN): Likewise.
41219         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41220         Specify type.
41221         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41222         [C99-based standards] (math_errhandling): Specify type.
41223         [ISO99 || ISO11] (signgam): Do not allow.
41224         [non-C99-based standards] (copysignf): Do not allow.
41225         [non-C99-based standards] (exp2f): Likewise.
41226         [non-C99-based standards] (log2f): Likewise.
41227         [non-C99-based standards] (modff): Allow.
41228         [non-C99-based standards] (erff): Do not allow.
41229         [non-C99-based standards] (erfcf): Likewise.
41230         [non-C99-based standards] (gammaf): Likewise.
41231         [non-C99-based standards] (hypotf): Likewise.
41232         [non-C99-based standards] (j0f): Likewise.
41233         [non-C99-based standards] (j1f): Likewise.
41234         [non-C99-based standards] (jnf): Likewise.
41235         [non-C99-based standards] (lgammaf): Likewise.
41236         [non-C99-based standards] (tgammaf): Likewise.
41237         [non-C99-based standards] (y0f): Likewise.
41238         [non-C99-based standards] (y1f): Likewise.
41239         [non-C99-based standards] (ynf): Likewise.
41240         [non-C99-based standards] (isnanf): Likewise.
41241         [non-C99-based standards] (acoshf): Likewise.
41242         [non-C99-based standards] (asinhf): Likewise.
41243         [non-C99-based standards] (atanhf): Likewise.
41244         [non-C99-based standards] (cbrtf): Likewise.
41245         [non-C99-based standards] (expm1f): Likewise.
41246         [non-C99-based standards] (ilogbf): Likewise.
41247         [non-C99-based standards] (log1pf): Likewise.
41248         [non-C99-based standards] (logbf): Likewise.
41249         [non-C99-based standards] (nextafterf): Likewise.
41250         [non-C99-based standards] (remainderf): Likewise.
41251         [non-C99-based standards] (rintf): Likewise.
41252         [non-C99-based standards] (scalbf): Likewise.
41253         [non-C99-based standards] (copysignl): Likewise.
41254         [non-C99-based standards] (exp2l): Likewise.
41255         [non-C99-based standards] (log2l): Likewise.
41256         [non-C99-based standards] (modfl): Allow.
41257         [non-C99-based standards] (erfl): Do not allow.
41258         [non-C99-based standards] (erfcl): Likewise.
41259         [non-C99-based standards] (gammal): Likewise.
41260         [non-C99-based standards] (hypotl): Likewise.
41261         [non-C99-based standards] (j0l): Likewise.
41262         [non-C99-based standards] (j1l): Likewise.
41263         [non-C99-based standards] (jnl): Likewise.
41264         [non-C99-based standards] (lgammal): Likewise.
41265         [non-C99-based standards] (tgammal): Likewise.
41266         [non-C99-based standards] (y0l): Likewise.
41267         [non-C99-based standards] (y1l): Likewise.
41268         [non-C99-based standards] (ynl): Likewise.
41269         [non-C99-based standards] (isnanl): Likewise.
41270         [non-C99-based standards] (acoshl): Likewise.
41271         [non-C99-based standards] (asinhl): Likewise.
41272         [non-C99-based standards] (atanhl): Likewise.
41273         [non-C99-based standards] (cbrtl): Likewise.
41274         [non-C99-based standards] (expm1l): Likewise.
41275         [non-C99-based standards] (ilogbl): Likewise.
41276         [non-C99-based standards] (log1pl): Likewise.
41277         [non-C99-based standards] (logbl): Likewise.
41278         [non-C99-based standards] (nextafterl): Likewise.
41279         [non-C99-based standards] (remainderl): Likewise.
41280         [non-C99-based standards] (rintl): Likewise.
41281         [non-C99-based standards] (scalbl): Likewise.
41282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41283         [non-C99-based standards] (FP_*): Do not allow.
41284         [C99-based standards] (FP_*): Change to
41285         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41286         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41287         allow.
41288         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41289         (SIG_ERR): Likewise.
41290         [X/Open-based standards] (SIG_HOLD): Likewise.
41291         (SIG_IGN): Likewise.
41292         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41293         positive value.
41294         (SIGFPE): Likewise.
41295         (SIGILL): Likewise.
41296         (SIGINT): Likewise.
41297         (SIGSEGV): Likewise.
41298         (SIGTER): Likewise.
41299         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41300         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41301         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41302         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41303         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41304         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41305         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41306         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41307         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41308         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41309         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41310         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41311         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41312         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41313         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41314         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41315         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41316         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41317         [X/Open-based standards] (SIGTRAP): Likewise.
41318         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41319         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41320         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41321         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41322         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41323         allow.
41324
41325 2012-05-08  Ian Wienand  <ianw@vmware.com>
41326
41327         [BZ #14080]
41328         * time/tzset.c (__tzset_parse_tz): Update default rules for
41329         daylight time changes in the Energy Policy Act of 2005.
41330
41331 2012-05-09  Andreas Jaeger  <aj@suse.de>
41332
41333         [BZ #13983]
41334         * elf/ldconfig.c (parse_conf): Change string to make clear that
41335         ldconfig only issued a warning if ld.so.conf does not exist.
41336
41337 2012-05-08  David S. Miller  <davem@davemloft.net>
41338
41339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41340         movxtod instead of popping the value on the stack.
41341
41342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41343
41344 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41345
41346         * config.h.in: Add HAVE_ARM_PCS_VFP.
41347
41348 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41349
41350         [BZ #13979]
41351         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41352         checking but the checks are disabled for any reason.
41353
41354 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41355
41356         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41357         and ELF64_R_TYPE with ELFW(R_TYPE).
41358
41359 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41360
41361         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41362         (ulimit): Likewise.
41363
41364         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41365         (settimeofday): Likewise.
41366
41367 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41368
41369         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41370         a struct th_u2 inside the union, and move tu_block/tu_code into
41371         a new th_u3 union of tu_block/tu_code inside of that.  Move
41372         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41373         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41374         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41375         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41376         (th_stuff): Change to th_u1.tu_stuff.
41377         (th_data): Define.
41378         (th_msg): Change to th_u1.th_u2.tu_data.
41379
41380 2012-05-07  David S. Miller  <davem@davemloft.net>
41381
41382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41383
41384         [BZ #14074]
41385         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41386         (SETUP_PIC_REG): Use it.
41387         (SETUP_PIC_REG_LEAF): Use it.
41388
41389 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41390
41391         [BZ #13885]
41392         [BZ #13923]
41393         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41394         USE_AS_EXPM1L.
41395         (EXPL_FINITE): Likewise.
41396         (FLDLOG): Likewise.
41397         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41398         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41399         e_expl.S.
41400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41401         USE_AS_EXPM1L.
41402         (EXPL_FINITE): Likewise.
41403         (FLDLOG): Likewise.
41404         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41405         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41406         e_expl.S.
41407         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41408         test of -max_value argument for long double.
41409         * sysdeps/i386/fpu/libm-test-ulps: Update.
41410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41411
41412 2012-05-06  David S. Miller  <davem@davemloft.net>
41413
41414         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41415         quad soft-float symbols whose references which are compiler
41416         generated.
41417         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41418
41419 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41420
41421         [BZ #13884]
41422         [BZ #13914]
41423         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41424         USE_AS_EXP10L.
41425         (EXPL_FINITE): Likewise.
41426         (FLDLOG): Likewise.
41427         (c0): Likewise.
41428         (c1): Likewise.
41429         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41430         Adjust comments for base varying.
41431         (__expl_finite): Change alias to EXPL_FINITE.
41432         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41433         e_expl.S.
41434         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41435         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41436         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41437         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41438         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41439         USE_AS_EXP10L.
41440         (EXPL_FINITE): Likewise.
41441         (FLDLOG): Likewise.
41442         (c0): Likewise.
41443         (c1): Likewise.
41444         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41445         Adjust comments for base varying.
41446         (__expl_finite): Change alias to EXPL_FINITE.
41447         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41448         tests for bugs.
41449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41450
41451         [BZ #14064]
41452         * math/libm-test.inc (check_float_internal): Correct ulp
41453         calculation for subnormal expected results.
41454
41455 2012-05-06  Andreas Jaeger  <aj@suse.de>
41456
41457         * Makeconfig (+math-flags): New, set to -frounding-math.
41458         (+cflags): Add +math-flags so that all of glibc gets compiled with
41459         it.
41460
41461         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41462
41463 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41464
41465         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41466         Disable one test.
41467
41468         [BZ #13787]
41469         [BZ #13922]
41470         [BZ #14036]
41471         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41472         (__ieee754_expl): Allow for and saturate large arguments.
41473         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41474         (u_threshold): Likewise.
41475         (__exp): Call __ieee754_exp before checking for overflow and
41476         underflow.
41477         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41478         (u_threshold): Likewise.
41479         (__expf): Call __ieee754_expf before checking for overflow and
41480         underflow.
41481         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41482         (u_threshold): Likewise.
41483         (__expl): Call __ieee754_expl before checking for overflow and
41484         underflow.
41485         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41486         (__ieee754_expl): Allow for and saturate large arguments.
41487         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41488         missing overflow exception on overflow.
41489         (expm1_test): Do not allow missing overflow exception on overflow.
41490
41491         * sysdeps/i386/fpu/e_expl.c: Move to ...
41492         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41493         rather than using inline asm.
41494         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41495         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41496         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41497
41498         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41499         (nice): Likewise.
41500         (poll): Likewise.
41501         (signal): Likewise.
41502         (time): Likewise.
41503         (times): Likewise.
41504
41505 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41506
41507         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41508         sysdeps/unix/common/syscalls.list.
41509         (fchmod): Likewise.
41510         (fchown): Likewise.
41511         (ftruncate): Likewise.
41512         (getrusage): Likewise.
41513         (gettimeofday): Likewise.
41514         (setpgid): Likewise.
41515         (setregid): Likewise.
41516         (setreuid): Likewise.
41517         (sigaction): Likewise.
41518         (truncate): Likewise.
41519         (vhangup): Likewise.
41520         * sysdeps/unix/common/syscalls.list: Remove file.
41521         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41522         * sysdeps/unix/sysv/linux/Implies: Likewise.
41523
41524 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41525
41526         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41528         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41529         Moved to ...
41530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41531         Here.
41532         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41533         to ...
41534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41535         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41536         to ...
41537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41538         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41539         to ...
41540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41541         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41542         to ...
41543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41544         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41545         to ...
41546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41547         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41548         to ...
41549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41550         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41551         to ...
41552         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41553         Here.
41554         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41555         to ...
41556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41557         Here.
41558         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41559         to ...
41560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41561         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41562         Moved to ...
41563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41564         Here.
41565         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41566         to ...
41567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41568
41569 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41570
41571         * sysdeps/unix/common/bits/dirent.h: Remove file.
41572         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41573
41574         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41575         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41576         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41577         * sysdeps/unix/bsd/isatty.c: Likewise.
41578         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41579         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41580         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41581
41582 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41583
41584         [BZ #13563]
41585         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41586         long double comparison inaccuracies.
41587         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41589
41590 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41591
41592         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41593         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41594
41595 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41596
41597         [BZ #14049]
41598         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41599         nonzero digits before rounding a hex value.
41600         * stdlib/tst-strtod.c (tests): Add another test.
41601
41602 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41603
41604         * sysdeps/s390/fpu/libm-test-ulps: Update.
41605
41606 2012-05-03  Andreas Jaeger  <aj@suse.de>
41607
41608         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41609         does not get optimized out.
41610         (malloc_opt_barrier): New.
41611
41612 2012-05-03  Andreas Jaeger  <aj@suse.de>
41613             Roland McGrath  <roland@hack.frob.com>
41614
41615         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41616         intermediate file deletion.
41617         (generated): Add .symlist files.
41618
41619 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41620
41621         [BZ #13775]
41622         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41623         Redirect under this condition.
41624         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41625         [__USE_GNU] (__dprintf_chk): Not under this condition.
41626         [__USE_GNU] (__vdprintf_chk): Likewise.
41627         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41628         under this condition.
41629         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41630         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41631         [__USE_XOPEN2K8] (vdprintf): Likewise.
41632         [__USE_GNU] (__dprintf_chk): Not under this condition.
41633         [__USE_GNU] (__vdprintf_chk): Likewise.
41634         [__USE_GNU] (dprintf): Likewise.
41635         [__USE_GNU] (vdprintf): Likewise.
41636
41637 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41638
41639         * elf/Makefile (common-generated): Set this instead of generated for
41640         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41641         $(all-built-dso)-derived lists.
41642
41643 2012-05-03  Andreas Jaeger  <aj@suse.de>
41644
41645         * sysdeps/i386/fpu/libm-test-ulps: Update.
41646
41647         * FAQ: Removed.
41648         * FAQ.in: Likewise.
41649         * scripts/gen-FAQ.pl: Likewise.
41650         * manual/install.texi (Installation): Point to online location of
41651         FAQ.
41652         * Makefile (files-for-dist): Remove FAQ.
41653         (FAQ): Remove.
41654
41655 2012-05-02  Allan McRae  <allan@archlinux.org>
41656
41657         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41658         (LDFLAGS-reldepmod5.so): Likewise.
41659         (LDFLAGS-reldep6mod1.so): Likewise.
41660         (LDFLAGS-reldep6mod4.so): Likewise.
41661         (LDFLAGS-reldep8mod3.so): Likewise.
41662         (LDFLAGS-unload4mod1.so): Likewise.
41663         (LDFLAGS-unload4mod2.so): Likewise.
41664         (LDFLAGS-tst-initorder): Likewise.
41665         (LDFLAGS-tst-initordera2.so): Likewise.
41666         (LDFLAGS-tst-initordera3.so): Likewise.
41667         (LDFLAGS-tst-initordera4.so): Likewise.
41668         (LDFLAGS-tst-initorderb2.so): Likewise.
41669         (LDFLAGS-noload): Likewise.
41670         (LDFLAGS-next): Likewise.
41671         (LDFLAGS-order2mod1.so): Likewise.
41672         (LDFLAGS-order2mod2.so): Likewise.
41673         (LDFLAGS-tst-initorder2): Likewise.
41674         (LDFLAGS-tst-initorder2a.so): Likewise.
41675         (LDFLAGS-tst-initorder2b.so): Likewise.
41676         (LDFLAGS-tst-initorder2c.so): Likewise.
41677         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41678
41679 2012-05-02  David S. Miller  <davem@davemloft.net>
41680
41681         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41682
41683 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41684
41685         [BZ #14055]
41686         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41687
41688 2012-05-02  Andreas Jaeger  <aj@suse.de>
41689
41690         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41691         since we manipulate rounding mode.
41692         (CPPFLAGS-test-idouble.c): Likewise.
41693         (CPPFLAGS-test-ifloat.c): Likewise.
41694         (CFLAGS-test-ldouble.c): Likewise.
41695         (CFLAGS-test-double.c): Likewise.
41696         (CFLAGS-test-float.c): Likewise.
41697         (CFLAGS-test-misc.c): Likewise.
41698         (CFLAGS-test-test-fenv.c): Likewise.
41699
41700 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41701
41702         [BZ #2550]
41703         [BZ #2570]
41704         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41705         comparisons to determine direction to adjust input.
41706
41707 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41708
41709         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41710         output to the target.
41711
41712         * scripts/localplt.awk: New file.
41713         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41714         (check-localplt-CFLAGS): Variable removed.
41715         ($(all-built-dso:=.jmprel)): New static pattern rule.
41716         (generated): Add those targets.
41717         (localplt-built-dso): New variable.
41718         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41719
41720         * elf/check-localplt.c: File removed.
41721
41722         * scripts/check-execstack.awk: New file.
41723         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41724         (check-execstack-CFLAGS): Variable removed.
41725         ($(objpfx)check-execstack.h): Target removed.
41726         ($(objpfx)execstack-default): New target.
41727         (generated): Add that instead of check-execstack.h.
41728         ($(all-built-dso:=.phdr)): New static pattern rule.
41729         (generated): Add those targets.
41730         * elf/check-execstack.c: File removed.
41731
41732         * scripts/check-textrel.awk: New file.
41733         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41734         (check-textrel-CFLAGS): Variable removed.
41735         (all-built-dso): Use := to define.o
41736         ($(all-built-dso:=.dyn)): New static pattern rule.
41737         (generated): Add those targets.
41738         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41739         * config.make.in (READELF): New substituted variable.
41740         * elf/check-textrel.c: File removed.
41741
41742 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41743
41744         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41745         allow.
41746         * conform/data/ctype.h-data [C99-based standards] (isblank):
41747         Expect function.
41748         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41749         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41750         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41751         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41752         Specify type.  Require positive value.
41753         (EILSEQ): Likewise.
41754         (ERANGE): Likewise.
41755         [ISO || POSIX] (EILSEQ): Do not expect.
41756         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41757         Specify type.  Require positive value.
41758         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41759         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41760         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41761         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41762         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41763         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41764         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41765         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41766         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41767         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41768         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41769         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41770         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41771         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41772         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41773         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41774         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41775         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41776         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41777         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41778         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41779         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41780         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41781         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41782         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41783         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41784         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41785         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41786         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41787         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41788         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41789         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41790         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41791         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41792         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41793         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41794         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41795         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41796         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41797         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41798         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41799         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41800         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41801         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41802         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41803         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41804         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41805         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41806         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41807         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41808         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41809         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41810         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41811         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41812         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41813         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41814         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41815         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41816         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41817         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41818         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41819         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41820         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41821         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41822         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41823         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41824         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41825         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41826         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41827         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41828         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41829         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41830         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41831         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41832         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41833         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41834         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41835         Require >= 2.
41836         (FLT_ROUNDS): Expect as macro, not constant.
41837         (FLT_MANT_DIG): Use macro-int-constant.
41838         (DBL_MANT_DIG): Likewise.
41839         (LDBL_MANT_DIG): Likewise.
41840         (FLT_DIG): Likewise.
41841         (DBL_DIG): Likewise.
41842         (LDBL_DIG): Likewise.
41843         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41844         (DBL_MIN_EXP): Likewise.
41845         (LDBL_MIN_EXP): Likewise.
41846         (FLT_MAX_EXP): Use macro-int-constant.
41847         (DBL_MAX_EXP): Likewise.
41848         (LDBL_MAX_EXP): Likewise.
41849         (FLT_MAX_10_EXP): Likewise.
41850         (DBL_MAX_10_EXP): Likewise.
41851         (LDBL_MAX_10_EXP): Likewise.
41852         (FLT_MAX): Use macro-constant.
41853         (DBL_MAX): Likewise.
41854         (LDBL_MAX): Likewise.
41855         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41856         (DBL_EPSILON): Likewise.
41857         (LDBL_EPSILON): Likewise.
41858         (FLT_MIN): Likewise.
41859         (DBL_MIN): Likewise.
41860         (LDBL_MIN): Likewise.
41861         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41862         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41863         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41864         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41865         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41866         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41867         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41868         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41869         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41870         [ISO11] (FLT_TRUE_MIN): Likewise.
41871         [ISO11] (LDBL_TRUE_MIN): Likewise.
41872         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41873         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41874         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41875         (SCHAR_MAX): Likewise.
41876         (UCHAR_MAX): Likewise.
41877         (CHAR_MIN): Likewise.
41878         (CHAR_MAX): Likewise.
41879         (MB_LEN_MAX): Use macro-int-constant.
41880         (SHRT_MIN): Use macro-int-constant.  Specify type.
41881         (SHRT_MAX): Likewise.
41882         (USHRT_MAX): Likewise.
41883         (INT_MAX): Likewise.
41884         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41885         bound negative.
41886         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41887         bound with "U".
41888         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41889         bound with "L".
41890         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41891         bound negative.  Suffix upper bound with "L".
41892         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41893         bound with "UL".
41894         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41895         Specify type.
41896         [C99-based standards] (LLONG_MAX): Likewise.
41897         [C99-based standards] (ULLONG_MAX): Likewise.
41898         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41899         == 0.
41900         [ISO11] (max_align_t): Require type.
41901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41902
41903         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41904         from $CFLAGS, without defining away __attribute__ calls.
41905         (checknamespace): Use $CFLAGS_namespace.
41906
41907         * conform/conformtest.pl (@keywords): Only include C99 keywords
41908         for standards based on C99 or C11.
41909
41910         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41911         Disable tests.
41912         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41913         UNIX98]: Likewise.
41914
41915         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41916         usability of symbols in #if.
41917
41918         * conform/conformtest.pl: If macro or constant types start
41919         "promoted:", expect the symbol to be of the following type
41920         promoted by the integer promotions.
41921
41922         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41923         in one place.  Also handle "macro-constant".
41924
41925         * conform/conformtest.pl: Only accept expected macro values with
41926         "==".  Parse all "macro" lines in one place.
41927         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41928
41929         * conform/conformtest.pl: Handle braced types on "constant" lines
41930         instead of handling "typed-constant".
41931         * conform/data/signal.h-data: Use "constant" instead of
41932         "typed-constant".
41933
41934         * conform/conformtest.pl: Handle "optional-" at start of lines in
41935         one place rather than duplicating several cases.  Handle each
41936         format of "macro" line with initial "optional-".
41937
41938         * conform/conformtest.pl: Only accept expected constant or
41939         optional-constant values with "==".  Parse all "constant" lines in
41940         one place.  Parse all "optional-constant" lines in one place.
41941         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41942         * conform/data/fmtmsg.h-data: Likewise.
41943         * conform/data/netinet/in.h-data: Likewise.
41944         * conform/data/tar.h-data: Likewise.
41945         * conform/data/limits.h-data: Use "==" form on "constant" and
41946         "optional-constant" lines.
41947
41948         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41949         Use -std=c99 for XOPEN2K.
41950         (@knownproblems): Remove.
41951         (newtoken): Don't check %isknown.
41952
41953         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41954         Do not expect macro.
41955         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41956         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41957         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41958         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41959         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41960         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41961         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41962         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41963         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41964         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41965         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41966         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41967         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41968         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41969         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41970         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41971         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41972         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41973         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41974         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41975         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41976         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41977         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41978         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41979         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41980         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41981         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41982         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41983         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41984         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41985         [XPG3] (acosh): Likewise.
41986         [XPG3] (asinh): Likewise.
41987         [XPG3] (atanh): Likewise.
41988         [XPG3] (cbrt): Likewise.
41989         [XPG3] (expm1): Likewise.
41990         [XPG3] (ilogb): Likewise.
41991         [XPG3] (log1p): Likewise.
41992         [XPG3] (logb): Likewise.
41993         [XPG3] (nextafter): Likewise.
41994         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41995         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41996         [XPG3] (remainder): Likewise.
41997         [XPG3] (rint): Likewise.
41998         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41999         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42000         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42001         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42002         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42003         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42004         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42005         [UNIX98 || XOPEN2K] (scalb): Expect.
42006         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42007         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42008         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42009         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42010         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42011         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42012         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42013         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42014         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42015         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42016         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42017         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42018         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42019         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42020         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42021         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42022         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42023         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42024         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42025         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42026         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42027         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42028         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42029         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42030         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42031         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42032         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42033         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42034         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42035         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42036         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42037         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42038         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42039         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42040         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42041         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42042         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42043         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42044         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42045         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42046         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42047         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42048         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42049         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42050         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42051         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42052         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42053         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42054         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42055         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42056         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42057         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42058         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42059         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42060         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42061         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42062         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42063         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42064         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42065         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42066         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42067         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42068         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42069         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42070         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42071         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42072         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42073         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42074         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42075         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42076         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42077         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42078         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42079         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42080         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42081         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42082         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42083         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42084         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42085         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42086         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42087         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42088         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42089         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42090         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42091         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42092         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42093         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42094         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42095         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42096         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42097         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42098         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42099         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42100         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42101         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42102         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42103         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42104         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42105         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42106         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42107         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42108         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42109         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42110         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42111         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42112         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42113         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42114         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42115         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42116         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42117         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42118         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42119         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42120         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42121         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42122         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42123         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42124         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42125         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42126         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42127         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42128         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42129         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42130         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42131         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42132         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42133         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42134         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42135         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42136         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42137         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42138         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42139         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42140         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42141         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42142         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42143
42144         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42145         _XOPEN_SOURCE_EXTENDED for XPG4.
42146
42147         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42148
42149         * Makeconfig (localtime): Remove variable.
42150         (inst_localtime-file): Likewise.
42151
42152 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42153
42154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42155         Update.
42156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42157         Update.
42158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42159         Update.
42160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42161         Update.
42162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42163         Update.
42164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42165         Update.
42166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42167         Update.
42168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42169         Update.
42170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42171         Update.
42172
42173 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42174
42175         [BZ #2550]
42176         [BZ #2570]
42177         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42178         comparisons to determine direction to adjust input.
42179         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42180         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42181         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42182         Likewise.
42183         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42184         Likewise.
42185         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42186         Likewise.
42187         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42188         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42189         Likewise.
42190         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42191         Likewise.
42192         * math/libm-test.inc (nexttoward_test): Add more tests.
42193
42194 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42195
42196         [BZ #14040]
42197         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42198         in version GLIBC_2.1, not GLIBC_2.0.
42199         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42200         Likewise.
42201
42202 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42203
42204         [BZ #13942]
42205         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42206         (1 - x) * (1 + x).
42207         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42208         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42209         * math/libm-test.inc (acos_test): Add more tests.
42210         (asin_test): Likewise.
42211         * sysdeps/i386/fpu/libm-test-ulps: Update.
42212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42213
42214         [BZ #14034]
42215         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42216         of square root.
42217         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42218         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42219         * math/libm-test.inc (acos_test_tonearest): New function.
42220         (acos_test_towardzero): Likewise.
42221         (acos_test_downward): Likewise.
42222         (acos_test_upward): Likewise.
42223         (asin_test_tonearest): Likewise.
42224         (asin_test_towardzero): Likewise.
42225         (asin_test_downward): Likewise.
42226         (asin_test_upward): Likewise.
42227         (main): Call the new functions.
42228         * sysdeps/i386/fpu/libm-test-ulps: Update.
42229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42230
42231         [BZ #13884]
42232         [BZ #13924]
42233         * math/e_exp10.c: Include <float.h>.
42234         (__ieee754_exp10): Handle underflow here rather than multiplying
42235         large negative argument by M_LN10.
42236         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42237         of __ieee754_expf.
42238         * math/e_exp10l.c: Include <float.h>.
42239         (__ieee754_exp10l): Handle underflow here rather than multiplying
42240         large negative argument by M_LN10l.
42241         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42242         spurious overflow exception on underflow.
42243
42244 2012-04-29  Marek Polacek  <polacek@redhat.com>
42245
42246         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42247         (__fortify_function): New macro.
42248         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42249         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42250         __extern_always_inline.
42251         * libio/bits/stdio2.h: Likewise.
42252         * libio/bits/stdio.h: Likewise.
42253         * string/string.h: Likewise.
42254         * string/bits/string3.h: Likewise.
42255         * include/stdio.h: Likewise.
42256         * stdlib/bits/stdlib.h: Likewise.
42257         * stdlib/stdlib.h: Likewise.
42258         * rt/bits/mqueue2.h: Likewise.
42259         * rt/mqueue.h: Likewise.
42260         * posix/bits/unistd.h: Likewise.
42261         * posix/unistd.h: Likewise.
42262         * io/bits/poll2.h: Likewise.
42263         * io/bits/fcntl2.h: Likewise.
42264         * io/fcntl.h: Likewise.
42265         * io/sys/poll.h: Likewise.
42266         * misc/bits/syslog.h: Likewise.
42267         * misc/bits/syslog-ldbl.h: Likewise.
42268         * misc/sys/syslog.h: Likewise.
42269         * socket/bits/socket2.h: Likewise.
42270         * socket/sys/socket.h: Likewise.
42271         * debug/tst-chk1.c: Likewise.
42272         * wcsmbs/bits/wchar2.h: Likewise.
42273         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42274         * wcsmbs/wchar.h: Likewise.
42275
42276 2012-04-29  Andreas Jaeger  <aj@suse.de>
42277
42278         * Makerules (tests): Remove enable-check-abi protection.
42279         (check-abi-warn): Remove.
42280         (check-abi-%): Remove check-abi-warn usage.
42281
42282         * configure.in: Remove check-abi configure option.
42283         * configure: Regenerated.
42284         * config.make.in (enable-check-abi): Remove.
42285
42286 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42287
42288         [BZ #14033]
42289         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42290         double functions to double *_finite functions.
42291
42292         [BZ #13941]
42293         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42294         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42295         LDBL_MIN_EXP.
42296         * stdio-common/Makefile (tests): Add tst-sprintf3.
42297         * stdio-common/tst-sprintf3.c: New file.
42298
42299         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42300         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42301
42302 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42303
42304         * conform/conformtest.pl: Remove duplicate typed-constant
42305         handling.
42306
42307 2012-04-28  David S. Miller  <davem@davemloft.net>
42308
42309         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42310         (check-abi-%): Remove AWK script prerequisite and explicit
42311         abilist directory.
42312         (check-abi): Rewrite to just diff the symlist with the abilist.
42313         (config-tls, config-abi-config): Delete, no longer used.
42314         (update-abi-%): Remove AWK script and explicit abilist directory.
42315         (update-abi): Rewrite to simply compare and conditionally copy the
42316         symlist and the sysdep abilist file.  Remove update-abi-config
42317         checks.
42318         * abilist/ld.abilist: Remove.
42319         * abilist/libBrokenLocale.abilist: Remove.
42320         * abilist/libanl.abilist: Remove.
42321         * abilist/libcrypt.abilist: Remove.
42322         * abilist/libdl.abilist: Remove.
42323         * abilist/librt.abilist: Remove.
42324         * abilist/libthread_db.abilist: Remove.
42325         * abilist/libutil.abilist: Remove.
42326         * scripts/extract-abilist.awk: Remove.
42327         * scripts/merge-abilist.awk: Remove.
42328         * sysdeps/generic/libcidn.abilist: New file.
42329         * sysdeps/generic/libnss_compat.abilist: New file.
42330         * sysdeps/generic/libnss_db.abilist: New file.
42331         * sysdeps/generic/libnss_dns.abilist: New file.
42332         * sysdeps/generic/libnss_files.abilist: New file.
42333         * sysdeps/generic/libnss_hesiod.abilist: New file.
42334         * sysdeps/generic/libnss_nis.abilist: New file.
42335         * sysdeps/generic/libnss_nisplus.abilist: New file.
42336         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42337         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42338         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42339         file.
42340         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42341         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42342         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42343         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42344         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42345         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42346         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42347         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42348         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42349         file.
42350         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42351         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42352         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42353         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42354         file.
42355         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42356         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42357         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42358         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42359         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42360         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42361         file.
42362         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42363         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42364         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42365         file.
42366         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42368         New file.
42369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42370         New file.
42371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42372         New file.
42373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42374         New file.
42375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42376         New file.
42377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42378         New file.
42379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42380         New file.
42381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42382         New file.
42383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42384         New file.
42385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42386         New file.
42387         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42388         New file.
42389         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42390         New file.
42391         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42392         New file.
42393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42394         file.
42395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42396         New file.
42397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42398         New file.
42399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42400         file.
42401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42402         New file.
42403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42404         New file.
42405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42406         file.
42407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42408         New file.
42409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42410         New file.
42411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42412         New file.
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42414         New file.
42415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42416         New file.
42417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42418         New file.
42419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42421         file.
42422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42423         New file.
42424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42425         file.
42426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42427         file.
42428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42429         file.
42430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42431         file.
42432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42433         file.
42434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42435         New file.
42436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42437         file.
42438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42439         file.
42440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42441         New file.
42442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42443         file.
42444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42446         file.
42447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42448         New file.
42449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42450         file.
42451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42452         file.
42453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42454         file.
42455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42456         file.
42457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42458         file.
42459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42460         New file.
42461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42462         file.
42463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42464         file.
42465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42466         New file.
42467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42468         file.
42469         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42470         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42471         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42472         file.
42473         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42474         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42475         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42476         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42477         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42478         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42479         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42480         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42481         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42482         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42485         file.
42486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42487         New file.
42488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42489         file.
42490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42491         file.
42492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42493         file.
42494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42495         file.
42496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42497         file.
42498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42499         New file.
42500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42501         New file.
42502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42503         file.
42504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42505         New file.
42506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42507         file.
42508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42510         file.
42511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42512         New file.
42513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42514         file.
42515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42516         file.
42517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42518         file.
42519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42520         file.
42521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42522         file.
42523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42524         New file.
42525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42526         New file.
42527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42528         file.
42529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42530         New file.
42531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42532         file.
42533
42534 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42535
42536         * conform/conformtest.pl: Fix typo in handling typed-constant from
42537         allow-header.
42538
42539 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42540
42541         * README: Cut down references to pre-2.6 Linux kernels and
42542         Linuxthreads.  Update lists of configurations in libc and ports
42543         and sort alphabetically.  Say "or newer" with Linux kernel version
42544         requirements.
42545
42546         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42547
42548 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42549
42550         [BZ #887]
42551         * math/libm-test.inc (logb_test_downward): New test to expose
42552         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42553         rounding mode.
42554
42555 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42556
42557         [BZ #14027]
42558         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42559         to be done.
42560         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42561         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42562
42563 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42564
42565         * sysdeps/unix/i386/brk.S: Remove file.
42566         * sysdeps/unix/i386/dl-brk.S: Likewise.
42567         * sysdeps/unix/i386/pipe.S: Likewise.
42568         * sysdeps/unix/i386/sigreturn.S: Likewise.
42569         * sysdeps/unix/i386/syscall.S: Likewise.
42570         * sysdeps/unix/i386/vfork.S: Likewise.
42571         * sysdeps/unix/i386/wait.S: Likewise.
42572
42573         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42574         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42575
42576         * configure.in (arm*-none*): Do not allow without
42577         --enable-hacker-mode.
42578         (netbsd*): Remove case setting base_os.
42579         (386bsd*): Likewise.
42580         (freebsd*): Likewise.
42581         (bsdi*): Likewise.
42582         (osf*): Likewise.
42583         (sunos*): Likewise.
42584         (ultrix*): Likewise.
42585         (newsos*): Likewise.
42586         (dynix*): Likewise.
42587         (*bsd*): Likewise.
42588         (sysv*): Likewise.
42589         (isc*): Likewise.
42590         (esix*): Likewise.
42591         (sco*): Likewise.
42592         (minix*): Likewise.
42593         (irix4*): Likewise.
42594         (irix6*): Likewise.
42595         (solaris[2-9]*): Likewise.
42596         (none): Likewise.
42597         * configure: Regenerated.
42598
42599 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42600
42601         [BZ #11521]
42602         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42603         overflow or cancellation in calculating denominator.
42604         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42605         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42606         down expression to avoid unexpected rounding in newer GCCs.
42607         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42608
42609 2012-04-26  David S. Miller  <davem@davemloft.net>
42610
42611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42612         long-double compat symbols.
42613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42626
42627 2012-04-25  David S. Miller  <davem@davemloft.net>
42628
42629         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42630         HWCAP_* values only after the memory barriers have been defined.
42631         (atomic_full_barrier): Define.
42632         (atomic_read_barrier): Define.
42633         (atomic_write_barrier): Define.
42634
42635 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42636
42637         * shlib-versions: Add libgcc_s version information.
42638         * sysdeps/generic/libgcc_s.h: Remove.
42639         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42640         libgcc_s.h.
42641         * sysdeps/gnu/unwind-resume.c: Likewise.
42642         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42643
42644 2012-04-25  David S. Miller  <davem@davemloft.net>
42645
42646         * sysdeps/unix/sparc/brk.S: Delete.
42647         * sysdeps/unix/sparc/dl-brk.S: Delete.
42648         * sysdeps/unix/sparc/pipe.S: Delete.
42649         * sysdeps/unix/sparc/sysdep.S: Delete.
42650         * sysdeps/unix/sparc/sysdep.h: Delete.
42651         * sysdeps/unix/sparc/vfork.S: Delete.
42652         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42653         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42654         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42655         (ret_ERRVAL, r0, r1, MOVE): Define.
42656         (JUMPTARGET): Remove.
42657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42658         sysdeps/unix/sparc/sysdep.h
42659         (ENTRY, END): Remove.
42660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42661
42662 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42663
42664         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42665         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42666         -DIS_IN_build.
42667
42668         * timezone/README: Update upstream location and email address for
42669         tzcode and tzdata.
42670         * timezone/zdump.c: Update from tzcode 2012b.
42671         * timezone/zic.c: Likewise.
42672
42673         * configure.in (libc_cv_as_needed): Remove test.
42674         * configure: Regenerated.
42675         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42676         conditional definition.
42677         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42678         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42679         * config.make.in (have-as-needed): Remove variable.
42680
42681 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42682             Paul Pluzhnikov  <ppluzhnikov@google.com>
42683
42684         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42685         strings correctly.
42686
42687 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42688
42689         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42690         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42691         * sysdeps/sh/strlen.S: Likewise.
42692
42693 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42694
42695         * sysdeps/unix/fork.S: Remove file.
42696         * sysdeps/unix/i386/fork.S: Likewise.
42697         * sysdeps/unix/sparc/fork.S: Likewise.
42698
42699         * sysdeps/unix/system.c: Remove file.
42700         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42701
42702         * sysdeps/unix/getegid.S: Remove file.
42703         * sysdeps/unix/geteuid.S: Likewise.
42704
42705 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42706
42707         * scripts/check-localplt.awk: New file.
42708         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42709         of diff.
42710         * scripts/data/localplt-generic.data: Add a comment.
42711
42712         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42713         NODE when __dir_mkfile failed.
42714         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42715         Reported by Ludovic Courtès <ludo@gnu.org>.
42716
42717 2012-04-24  Andreas Jaeger  <aj@suse.de>
42718
42719         * Makerules (common-clean): Also remove gen-as-const-headers
42720         files.
42721
42722 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42723
42724         * Makerules (native-compile): Do not change working directory for
42725         build.  Use $(OUTPUT_OPTION) in command.
42726         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42727
42728 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42729
42730         [BZ #13886]
42731         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42732         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42733         * math/libm-test.inc (floor_test): Add more tests.
42734         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42735
42736 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42737
42738         * sysdeps/unix/getdents.c: Remove file.
42739         * sysdeps/unix/sysv/getdents.c: Likewise.
42740         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42741
42742         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42743         sysdeps/unix/mman/syscalls.list.
42744         (mmap): Likewise.
42745         (mprotect): Likewise.
42746         (msync): Likewise.
42747         (munmap): Likewise.
42748         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42749         * sysdeps/unix/mman/syscalls.list: Remove.
42750         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42751
42752         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42753         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42754         * configure: Regenerated.
42755         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42756         $(libgcc_s_suffix).
42757         * config.make.in (libgcc_s_suffix): Remove variable.
42758
42759 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42760
42761         * sysdeps/unix/sysv/gethostname.c: Move to ...
42762         * sysdeps/posix/gethostname.c: ... here.
42763
42764         * sysdeps/unix/execve.S: Remove file.
42765
42766         * sysdeps/unix/_exit.S: Remove file.
42767
42768 2012-04-23  Andreas Jaeger  <aj@suse.de>
42769
42770         [BZ #13739]
42771         * manual/Makefile: Remove make dist support, there's no
42772         need for a stand-alone documentation tar ball.
42773         (TEXI2DVI): Define always, it's not in Makeconfig.
42774         (dist): Removed.
42775         (tar-it): Removed.
42776         (edition): Removed.
42777         (glibc-doc-$(edition).tar): Removed
42778         (%.Z): Removed.
42779         (%.gz): Removed.
42780         (%.uu): Removed.
42781         (ETAGS): Remove, it's in Makeconfig.
42782         (move-if-change): Remove, it's in Makeconfig.
42783
42784 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42785
42786         [BZ #13970]
42787         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42788         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42789         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42790         (strtod_l, strtof_l, strtold_l): Remove __wur.
42791         It is not necessarily an error to ignore strtol's return value.
42792         One can reliably look at the stored endptr to decide whether
42793         the number had valid syntax.
42794
42795 2012-04-21  Andreas Jaeger  <aj@suse.de>
42796
42797         [BZ #13739]
42798         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42799
42800 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42801
42802         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42803         * sysdeps/unix/sysv/Versions: Remove file.
42804
42805 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42806
42807         [BZ #13927]
42808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42809
42810 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42811
42812         [BZ #7064]
42813         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42814         version from __vm86.
42815
42816 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42817
42818         * sysdeps/unix/common/lxstat.c: Remove file.
42819         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42820
42821         * sysdeps/unix/sysv/Makefile: Remove file.
42822
42823         * sysdeps/unix/sysv/direct.h: Remove file.
42824
42825         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42826         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42827         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42828         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42829         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42830         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42831         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42832
42833         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42834
42835         * sysdeps/unix/xmknod.c: Remove file.
42836         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42837
42838         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42839
42840         * sysdeps/unix/sysv/i386/time.S: Remove file.
42841
42842         * sysdeps/unix/fxstat.c: Remove file.
42843         * sysdeps/unix/xstat.c: Likewise.
42844         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42845
42846         * sysdeps/unix/sysv/sigaction.c: Remove file.
42847
42848         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42849         (sysdep_headers): Remove variable.
42850         [termio.h not in sysdep_headers] (generated): Likewise.
42851         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42852         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42853         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42854         * sysdeps/unix/sysv/tcflow.c: Likewise.
42855         * sysdeps/unix/sysv/tcflush.c: Likewise.
42856         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42857         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42858         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42859         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42860         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42861
42862         * sysdeps/unix/siglist.c: Remove file.
42863
42864         * sysdeps/unix/getppid.S: Remove file.
42865
42866         * sysdeps/unix/mkdir.c: Remove file.
42867         * sysdeps/unix/rmdir.c: Likewise.
42868
42869 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42870
42871         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42872         ERR_MAX value.
42873         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42874         errlist-compat value.
42875
42876 2012-04-18  David S. Miller  <davem@davemloft.net>
42877
42878         * sysdeps/generic/memcopy.h (reg_char): Delete.
42879         * debug/strcat_chk.c: Use char, not reg_char.
42880         * debug/strcpy_chk.c: Likewise.
42881         * debug/strncat_chk.c: Likewise.
42882         * debug/strncpy_chk.c: Likewise.
42883         * string/memchr.c: Likewise.
42884         * string/memrchr.c: Likewise.
42885         * string/rawmemchr.c: Likewise.
42886         * string/strcat.c: Likewise.
42887         * string/strchr.c: Likewise.
42888         * string/strchrnul.c: Likewise.
42889         * string/strcmp.c: Likewise.
42890         * string/strcpy.c: Likewise.
42891         * string/strncat.c: Likewise.
42892         * string/strncmp.c: Likewise.
42893         * string/strncpy.c: Likewise.
42894
42895 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42896
42897         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42898         __builtin_memcopy is called when src and dest ranges are known to not
42899         overlap.
42900
42901 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42902
42903         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42904         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42905         fwd_align_merge macro call.
42906         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42907         bwd_align_merge macro call.
42908         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42909
42910 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42911
42912         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42913         bwd_align_merge macros.
42914         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42915         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42916         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42917
42918 2012-04-18  David S. Miller  <davem@davemloft.net>
42919
42920         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42921
42922 2012-04-18  Andreas Jaeger  <aj@suse.de>
42923
42924         [BZ# 6794]
42925         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42926         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42927         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42928
42929         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42930         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42931         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42932
42933         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42934         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42935         Adjust for changed ldbl-128 files.
42936
42937         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42938         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42939         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42940
42941 2012-04-17  David S. Miller  <davem@davemloft.net>
42942
42943         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42944
42945 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42946
42947         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42948         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42949         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42950         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42951         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42952         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42953
42954 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42955
42956         [BZ #6794]
42957         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42958         * math/libm-test.inc: Add ilogb errno and exception tests.
42959         * math/w_ilogb.c: New file: ilogb wrapper.
42960         * math/w_ilogbf.c: New file: ilogbf wrapper.
42961         * math/w_ilogbl.c: New file: ilogbl wrapper.
42962         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42963         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42964         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42965         exception being thrown with 0.0 as argument.
42966         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42967         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42968         exception being thrown with 0.0 as argument.
42969         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42970         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42971         exception being thrown with 0.0 as argument.
42972         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42973         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42974         exception being thrown with 0.0 as argument.
42975         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42976         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42977         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42978         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42979         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42980         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42981         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42982         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42983         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42984
42985 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42986
42987         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42988         with altivec.
42989
42990 2012-04-16  Marek Polacek  <polacek@redhat.com>
42991
42992         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42993
42994 2012-04-16  Marek Polacek  <polacek@redhat.com>
42995
42996         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42997         operands of fdivp instruction.
42998
42999 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43000
43001         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43002         * elf/tst-auditmod3b.c: Likewise.
43003         * elf/tst-auditmod4b.c: Likewise.
43004         * elf/tst-auditmod5b.c: Likewise.
43005         * elf/tst-auditmod6b.c: Likewise.
43006         * elf/tst-auditmod6c.c: Likewise.
43007         * elf/tst-auditmod7b.c: Likewise.
43008         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43009         * sysdeps/x86_64/preconfigure.in: Likewise.
43010         * sysdeps/x86_64/preconfigure: Regenerated.
43011
43012 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43013
43014         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43015         __ILP32__.
43016
43017 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43018
43019         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43020         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43021
43022 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43023
43024         [BZ #13973]
43025         * locale/iso-639.def: Fix gl language name. Spotted by
43026         Yaron Shahrabani.
43027
43028 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43029
43030         [BZ #2074]
43031         * libio/libio.h (__io_write_fn): Update comment.
43032
43033 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43034
43035         [BZ #2074]
43036         * stdio.texi (Hook Functions): The user provided writer function
43037         is not allowed to return -1.
43038
43039 2012-04-11  David S. Miller  <davem@davemloft.net>
43040
43041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43042
43043 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43044
43045         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43046         Add a leading slash to rtkaio.
43047
43048 2012-04-11  Jim Meyering  <meyering@redhat.com>
43049
43050         [BZ #11959]
43051         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43052         It is not necessarily an error to ignore fwrite's return
43053         value.  One can reliably use ferror to test for errors after
43054         the fact.
43055
43056 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43057
43058         * bits/types.h (__snseconds_t): New type.
43059         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43060
43061         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43063         (__SNSECONDS_T_TYPE): Likewise.
43064         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43065         (__SNSECONDS_T_TYPE): Likewise.
43066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43067         (__SNSECONDS_T_TYPE): Likewise.
43068
43069 2012-04-10  Andreas Jaeger  <aj@suse.de>
43070
43071         [BZ #2636]
43072         * manual/time.texi (Processor Time): Return type of times is
43073         elapsed real time since an arbitrary point in the past.
43074         (CPU Time): Move CLK_TCK from here...
43075         (Processor Time): ...to here.  Correct description.
43076         * manual/conf.texi (Constants for Sysconf): Correct description of
43077         _SC_CLK_TCK.
43078
43079 2012-04-10  David S. Miller  <davem@davemloft.net>
43080
43081         [BZ #13967]
43082         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43083         where the is a gap between DT_REL(A) and DT_JMPREL.
43084
43085 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43086
43087         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43088         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43089         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43090
43091 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43092
43093         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43094         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43095         (dl_main): Handle --inhibit-cache.
43096         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43097         _dl_inhibit_cache.
43098         * elf/dl-load.c (_dl_map_object): Use it.
43099         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43100
43101 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43102
43103         [BZ #13872]
43104         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43105         (__ieee754_powl): Saturate large exponents rather than testing for
43106         overflow of y*log2(x).
43107         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43108         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43109         exceptions.
43110
43111         [BZ #11521]
43112         * math/s_ctan.c: Include <float.h>.
43113         (__ctan): Avoid internal overflow or cancellation in calculating
43114         denominator.
43115         * math/s_ctanf.c: Likewise.
43116         * math/s_ctanl.c: Likewise.
43117         * math/s_ctanh.c: Likewise.
43118         * math/s_ctanhf.c: Likewise.
43119         * math/s_ctanhl.c: Likewise.
43120         * math/libm-test.inc (ctan_test): Add more tests.
43121         (ctanh_test): Likewise.
43122         * sysdeps/i386/fpu/libm-test-ulps: Update.
43123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43124
43125 2012-04-09  Andreas Jaeger  <aj@suse.de>
43126
43127         [BZ #6894]
43128         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43129         is an optional BSD extension.
43130
43131         [BZ #10254]
43132         * manual/stdio.texi (Opening Streams): Document additional fopen
43133         parameters.
43134
43135 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43136
43137         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43138         %eax without telling the compiler.
43139
43140 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43141
43142         [BZ # 13963]
43143         * manual/install.texi: Use sourceware.org.
43144
43145 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43146
43147         [BZ #13873]
43148         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43149         (__ieee754_pow): Generate overflow and underflow using huge*huge
43150         and tiny*tiny rather than just returning constant infinity or zero
43151         for large exponents.
43152         * math/libm-test.inc (pow_test): Require overflow exceptions for
43153         applicable cases of large exponents.
43154
43155         [BZ #706]
43156         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43157         (__ieee754_pow): Use iterative multiplication algorithm only for
43158         integer exponents with absolute value below 1024.  Check for odd
43159         integer exponents when using algorithm for real exponents.
43160         * math/libm-test.inc (pow_test): Add more tests.
43161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43162
43163 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43164
43165         [BZ #13705]
43166         * math/libm-test.inc (exp_test): Do not allow overflow exception
43167         on underflow test.
43168
43169 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43170
43171         [BZ #13705]
43172         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43173         instead of __kernel_standard_f.
43174
43175 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43176
43177         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43178         * sysdeps/x86_64/memset_chk.S: Likewise.
43179
43180 2012-04-08  Andreas Jaeger  <aj@suse.de>
43181
43182         [BZ #10153]
43183         * manual/startup.texi (Environment Access): Describe return value
43184         for putenv and setenv.
43185
43186         [BZ #6895]
43187         * manual/filesys.texi (Directory Entries): Add description for
43188         DT_LNK.
43189
43190         [BZ #6890]
43191         * manual/filesys.texi (Directory Entries): Clarify that it's file
43192         system not operating system in the description of DT_UNKNOWN.
43193
43194         [BZ #6578]
43195         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43196
43197 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43198
43199         [BZ #6649]
43200         * manual/llio.texi (Opening and Closing Files): Add cross
43201         reference to explain mode argument.
43202
43203 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43204
43205         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43206         * sysdeps/x86_64/memset_chk.S: Likewise.
43207
43208 2012-04-07  David S. Miller  <davem@davemloft.net>
43209
43210         * elf/elf.h (R_SPARC_WDISP10): Define.
43211         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43212         R_SPARC_SIZE32.
43213         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43214         R_SPARC_SIZE64 and R_SPARC_H34.
43215
43216 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43217
43218         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43219         conditions and remove no longer applicable assertion.
43220
43221 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43222
43223         * bits/byteswap.h: Include <features.h>.
43224         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43225         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43226
43227 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43228
43229         * bits/byteswap.h (__bswap_16): Removed.
43230         Include <bits/byteswap-16.h> to get __bswap_16.
43231         * sysdeps/i386/bits/byteswap.h: Likewise.
43232         * sysdeps/s390/bits/byteswap.h: Likewise.
43233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43234         * bits/byteswap-16.h: New file.
43235         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43236         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43237         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43238         * string/Makefile (headers): Add bits/byteswap-16.h.
43239
43240 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43241
43242         [BZ #13895]
43243         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43244         extra indirection.
43245         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43246         * nss/tst-nss-static.c: New.
43247
43248 2012-04-06  Robert Millan  <rmh@gnu.org>
43249
43250         [BZ #6486]
43251         * manual/llio.texi (File Position Primitive): lseek
43252         refers to WHENCE when it really means OFFSET.
43253
43254 2012-04-06  Andreas Jaeger  <aj@suse.de>
43255
43256         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43257         strncmp declarations.
43258
43259         * abilist/libc.abilist: Add __poll and __ppoll.
43260
43261 2012-04-05  David S. Miller  <davem@davemloft.net>
43262
43263         * scripts/check-local-headers.sh: Accept a host triplet in the
43264         path matched by the exclude regexp.
43265
43266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43267         definition.
43268         * sysdeps/powerpc/powerpc32/dl-machine.h
43269         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43270         * sysdeps/s390/s390-32/dl-machine.h
43271         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43272         * sysdeps/sparc/sparc32/dl-machine.h
43273         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43274         * sysdeps/sparc/sparc64/dl-machine.h
43275         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43276
43277         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43278         lazy binding.
43279         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43280         undefined symbol errors.
43281
43282         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43283         DT_NEEDED entries.
43284
43285 2012-04-05  Michael Matz  <matz@suse.de>
43286
43287         [BZ #13592]
43288         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43289
43290 2012-04-05  Andreas Jaeger  <aj@suse.de>
43291
43292         [BZ #13908]
43293         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43294         comment.
43295
43296 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43297
43298         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43299         which ROUND is no valid rounding mode.
43300
43301 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43302
43303         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43304         read again.
43305         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43306
43307 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43308
43309         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43310         an exception using FPU order intentionally.
43311
43312 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43313
43314         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43315         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43316         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43317         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43318
43319 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43320
43321         [BZ #12340]
43322         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43323         EINVAL when BUFLEN is too smal.
43324
43325 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43326
43327         [BZ #13553]
43328         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43329         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43330
43331 2012-04-03  Andreas Jaeger  <aj@suse.de>
43332
43333         [BZ #13938]
43334         * manual/setjmp.texi (System V contexts): Fix sentence.
43335
43336         [BZ #13926]
43337         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43338         New macro for this case.
43339         [!__GNUC__] (__bswap_64): New inline function for this case.
43340         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43341         * bits/byteswap.h: Likewise.
43342         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43343         ull, guard with __GLIBC_HAVE_LONG_LONG.
43344
43345         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43346         __GLIBC_HAVE_LONG_LONG.
43347
43348         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43349         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43350
43351 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43352
43353         [BZ #13691]
43354         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43355         inptr and inend, rather than using last_ch.
43356
43357 2012-04-02  David S. Miller  <davem@davemloft.net>
43358
43359         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43360         * stdio-common/printf-parse.h (read_int): Change return type to
43361         'int', return -1 on INT_MAX overflow.
43362         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43363         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43364         overflows INT_MAX.  Check for overflow of in-format-string precision
43365         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43366         SIZE_MAX not INT_MAX for integer overflow test.
43367         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43368         skip the construct in the format string but do not record anything.
43369         * stdio-common/bug22.c: Adjust to test both width/prevision
43370         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43371         explicitly for proper errno values.
43372
43373 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43374
43375         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43376         CHAR_MAX.
43377         * string/test-strcmp.c [! WIDE]: Likewise.
43378         * time/tst-mktime2.c: Likewise for INT_MAX.
43379         * string/test-string.h: #include <sys/param.h> for MIN.
43380
43381         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43382         * sysdeps/i386/init-first.c (init): Likewise.
43383         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43384         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43385         * sysdeps/sh/init-first.c (init): Likewise.
43386
43387 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43388
43389         * po/ru.po: Update from translation team.
43390         * po/vi.po: Likewise.
43391
43392 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43393
43394         * resolv/nss_dns/dns-host.c: Merge copyright years.
43395
43396 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43397
43398         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43399         Optimize memcpy with prefetch if
43400         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43401         src, dst pointers have unequal 16 byte alignments.
43402
43403 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43404
43405         [BZ #13928]
43406         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43407         from a CNAME entry and return the minimum ttl for the query.
43408         (gaih_getanswer_slice): Likewise.
43409
43410 2012-03-30  Jeff Law  <law@redhat.com>
43411
43412         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43413         due to long keys.
43414         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43415         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43416
43417         * resolv/nss_dns/dns-host.c: Update copyright year.
43418
43419 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43420
43421         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43422         requests to save a system call.  Fix check that all bytes are sent.
43423
43424         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43425         comments for sendmmsg.
43426
43427 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43428
43429         [BZ #13691]
43430         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43431         with only 1 character between 0x0041 and 0x01b0.
43432         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43433         * wcsmbs/tst-mbsnrtowcs.c: New file.
43434
43435 2012-03-29  David S. Miller  <davem@davemloft.net>
43436
43437         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43438         small copies by hand.
43439
43440 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43441
43442         [BZ #13761]
43443         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43444         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43445         group memberships.
43446
43447 2012-03-28  David S. Miller  <davem@davemloft.net>
43448
43449         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43450         that branches into memcpy.
43451         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43452         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43453         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43454         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43456         bits.
43457         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43458         implementation too.
43459         * sysdeps/sparc/mempcpy.S: New file.
43460
43461         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43462         the IFUNC routine in the libc case.
43463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43464
43465         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43466         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43467         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43468         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43469         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43470         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43471         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43472         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43473
43474         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43475         loop to 256 bytes instead of 64 bytes and fix test signedness.
43476
43477         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43478         * sysdeps/sparc/sparc32/Makefile: rather than here...
43479         * sysdeps/sparc/sparc64/Makefile: and here.
43480
43481 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43482
43483         * malloc/mallocbug.c: Avoid warnings about unused variables.
43484
43485 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43486
43487         [BZ #13760]
43488         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43489         in the right place. Discard and retry query if response is
43490         larger than input buffer size.
43491
43492 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43493
43494         [BZ #369]
43495         [BZ #2678]
43496         [BZ #3866]
43497         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43498         x for large integer exponent.
43499         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43500         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43501         sign of result as needed afterwards.
43502         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43503         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43504         result for underflowing pow the same as for overflow.
43505         (__kernel_standard_l): Handle powl overflow and underflow here
43506         rather than calling __kernel_standard.
43507         * math/libm-test.inc (pow_test): Add more tests.
43508
43509         [BZ #3868]
43510         [BZ #13879]
43511         [BZ #13910]
43512         [BZ #13911]
43513         [BZ #13912]
43514         [BZ #13913]
43515         [BZ #13915]
43516         [BZ #13916]
43517         [BZ #13917]
43518         [BZ #13918]
43519         [BZ #13919]
43520         [BZ #13920]
43521         [BZ #13921]
43522         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43523         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43524         (__kernel_standard_l): New function.
43525         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43526         __kernel_standard.
43527         * math/w_acosl.c (__acosl): Likewise.
43528         * math/w_asinl.c (__asinl): Likewise.
43529         * math/w_atan2l.c (__atan2l): Likewise.
43530         * math/w_atanhl.c (__atanhl): Likewise.
43531         * math/w_coshl.c (__coshl): Likewise.
43532         * math/w_exp10l.c (__exp10l): Likewise.
43533         * math/w_exp2l.c (__exp2l): Likewise.
43534         * math/w_fmodl.c (__fmodl): Likewise.
43535         * math/w_hypotl.c (__hypotl): Likewise.
43536         * math/w_j0l.c (__j0l, __y0l): Likewise.
43537         * math/w_j1l.c (__j1l, __y1l): Likewise.
43538         * math/w_jnl.c (__jnl, __ynl): Likewise.
43539         * math/w_lgammal.c (__lgammal): Likewise.
43540         * math/w_log10l.c (__log10l): Likewise.
43541         * math/w_log2l.c (__log2l): Likewise.
43542         * math/w_logl.c (__logl): Likewise.
43543         * math/w_powl.c (__powl): Likewise.
43544         * math/w_remainderl.c (__remainderl): Likewise.
43545         * math/w_scalbl.c (sysv_scalbl): Likewise.
43546         * math/w_sinhl.c (__sinhl): Likewise.
43547         * math/w_sqrtl.c (__sqrtl): Likewise.
43548         * math/w_tgammal.c (__tgammal): Likewise.
43549         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43550         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43551         * math/libm-test.inc (acos_test): Add more tests.
43552         (acosh_test): Likewise.
43553         (asin_test): Likewise.
43554         (atanh_test): Likewise.
43555         (exp_test): Likewise.
43556         (exp10_test): Likewise.
43557         (exp2_test): Likewise.
43558         (expm1_test): Likewise.
43559         (lgamma_test): Likewise.
43560         (log_test): Likewise.
43561         (log10_test): Likewise.
43562         (log1p_test): Likewise.
43563         (log2_test): Likewise.
43564         (pow_test): Do not allow some spurious overflow exceptions.
43565         (sqrt_test): Add more tests.
43566         (tgamma_test): Likewise.
43567         (y0_test): Likewise.
43568         (y1_test): Likewise.
43569         (yn_test): Likewise.
43570
43571 2012-03-27  Anton Blanchard  <anton@samba.org>
43572
43573         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43574         MAP_HUGETLB.
43575         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43576         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43577         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43578
43579 2012-03-27  David S. Miller  <davem@davemloft.net>
43580
43581         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43582
43583         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43584         have-as-vis3 check.
43585
43586 2012-03-27  Andreas Jaeger  <aj@suse.de>
43587
43588         * sysdeps/x86_64/elf/configure.in: Moved to ...
43589         * sysdeps/x86_64/configure.in: ... here.
43590         * sysdeps/x86_64/elf/start.S: Moved to ...
43591         * sysdeps/x86_64/start.S: ... here.
43592         * sysdeps/x86_64/elf/configure: Delete.
43593
43594         * sysdeps/x86_64/configure.in: Merge contents from
43595         sysdeps/i386/configure.in (without i686 check).
43596
43597         * sysdeps/i386/elf/Versions: Merge into ...
43598         * sysdeps/i386/Versions: ... this.
43599         * sysdeps/i386/elf/Versions: Delete file.
43600         * sysdeps/i386/elf/start.S: Moved to ...
43601         * sysdeps/i386/start.S: ...here.
43602         * sysdeps/i386/elf/configure.in: Merge into...
43603         * sysdeps/i386/configure.in: ...here.
43604         * sysdeps/i386/elf/configure.in: Delete file.
43605         * sysdeps/i386/elf/configure: Delete file.
43606
43607         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43608         * debug/backtracesyms.c: ... here.
43609         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43610         * debug/backtracesymsfd.c: ... here.
43611         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43612         * sysdeps/generic/ifunc-sel.h: ... here.
43613
43614         * sysdeps/unix/i386/start.c: Delete file.
43615         * sysdeps/unix/sparc/start.c: Delete file.
43616         * sysdeps/unix/start.c: Delete file.
43617
43618         * sysdeps/sh/elf/configure.in: Moved to ...
43619         * sysdeps/sh/configure.in: ... here.
43620         * sysdeps/sh/elf/start.S: Moved to ...
43621         * sysdeps/sh/start.S: ... here.
43622         * sysdeps/sh/elf/configure: Delete file.
43623
43624         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43625         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43626         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43627         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43628         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43629         * sysdeps/powerpc/powerpc64/start.S: here.
43630         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43631         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43632         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43633         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43634         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43635
43636         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43637         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43638         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43639         * sysdeps/powerpc/powerpc32/start.S: ... here.
43640         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43641         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43642         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43643
43644         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43645         * sysdeps/powerpc/ifunc-sel.h: ... here.
43646         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43647         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43648
43649         * sysdeps/sparc/elf/configure.in: Moved to ...
43650         * sysdeps/sparc/configure.in: ... here.
43651         * sysdeps/sparc/elf/configure: Delete file.
43652         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43653         * sysdeps/sparc/sparc32/start.S: ... here.
43654         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43655         * sysdeps/sparc/sparc64/start.S: ... here.
43656         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43657         * sysdeps/sparc/sparc32/Makefile: ... this.
43658         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43659         * sysdeps/sparc/sparc64/Makefile: ... this.
43660
43661         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43662         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43663         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43664         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43665         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43666         * sysdeps/s390/s390-32/setjmp.S: ... here.
43667         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43668         * sysdeps/s390/s390-32/configure.in: ... here.
43669         * sysdeps/s390/s390-32/elf/configure: Delete file.
43670         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43671         * sysdeps/s390/s390-32/start.S: ... here.
43672
43673         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43674         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43675         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43676         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43677         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43678         * sysdeps/s390/s390-64/setjmp.S: ... here.
43679         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43680         * sysdeps/s390/s390-64/configure.in: ... here
43681         * sysdeps/s390/s390-64/elf/configure: Delete file.
43682         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43683         * sysdeps/s390/s390-64/start.S: ... here.
43684         * sysdeps/s390/s390-64/elf/configure: Delete.
43685
43686         * configure.in: Remove support for elf directories in sysdeps.
43687
43688         * configure: Regenerated.
43689         * sysdeps/i386/configure: Regenerated.
43690         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43691         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43692         * sysdeps/s390/s390-32/configure: Regenerated.
43693         * sysdeps/s390/s390-64/configure: Regenerated.
43694         * sysdeps/sh/configure: Regenerated.
43695         * sysdeps/sparc/configure: Regenerated.
43696         * sysdeps/x86_64/configure: Regenerated.
43697
43698 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43699
43700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43701
43702         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43703         denormal result into account.
43704
43705 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43706
43707         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43708         Reported by Allan McRae <allan@archlinux.org>.
43709
43710 2012-03-23  Jeff Law  <law@redhat.com>
43711
43712         * nss/getnssent.c (__nss_getent): Fix typo.
43713
43714 2012-03-23  David S. Miller  <davem@davemloft.net>
43715
43716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43717
43718 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43719
43720         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43721         to pad to uint64_t for each field.
43722         (dl_tls_index): Replace unsigned long with uint64_t.
43723
43724 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43725         Paul Pluzhnikov  <ppluzhnikov@google.com>
43726
43727         [BZ #6528]
43728         * grp/Makefile (otherlibs): Don't set it.
43729         * inet/Makefile (otherlibs): Likewise.
43730         * login/Makefile (otherlibs): Likewise.
43731         * nscd/Makefile (otherlibs): Likewise.
43732         * posix/Makefile (otherlibs): Likewise.
43733         * pwd/Makefile (otherlibs): Likewise.
43734         * rt/Makefile (otherlibs): Likewise.
43735         * sunrpc/Makefile (otherlibs): Likewise.
43736         * nss/Makefile (otherlibs): Likewise.
43737         Add libnss_files to routines and static-only-routines.
43738         ($(objpfx)getent): Remove rule.
43739         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43740         static-only-routines.
43741
43742 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43743
43744         [BZ #13892]
43745         * math/s_cexp.c: Include <float.h>.
43746         (__cexp): Handle exp result overflowing not necessarily
43747         overflowing both real and imaginary parts of result.
43748         * math/s_cexpf.c: Likewise.
43749         * math/s_cexpl.c: Likewise.
43750         * math/libm-test.inc (cexp_test): Add more tests.
43751         * sysdeps/i386/fpu/libm-test-ulps: Update.
43752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43753
43754 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43755
43756         * include/link.h (ELFW): New macro.
43757         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43758         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43759
43760 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43761
43762         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43763         with uint64_t.
43764
43765 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43766
43767         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43768         declaration.
43769         (struct La_x32_retval): Likewise.
43770
43771 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43772
43773         * sysdeps/x86_64/preconfigure.in: New file.
43774         * sysdeps/x86_64/preconfigure: New generated file.
43775
43776 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43777
43778         [BZ #13824]
43779         * math/e_exp2l.c: Include <float.h>.
43780         (__ieee754_exp2l): Handle overflow and underflow cases
43781         separately.  Only pass fractional part of argument to
43782         __ieee754_expl.
43783         * math/libm-test.inc (exp2_test): Add more tests.
43784
43785         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43786         negating x to take absolute value.
43787         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43788         Likewise.
43789         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43790         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43791         Likewise.
43792         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43793         computing low part if x was negated.
43794         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43795
43796 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43797
43798         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43799         la_x32_gnu_pltexit.
43800         (pltexit): Cast int_retval to ptrdiff_t.
43801         * elf/tst-auditmod3b.c: Likewise.
43802         * elf/tst-auditmod4b.c: Likewise.
43803         * elf/tst-auditmod5b.c: Likewise.
43804         * elf/tst-auditmod6b.c: Likewise.
43805         * elf/tst-auditmod6c.c: Likewise.
43806         * elf/tst-auditmod7b.c: Likewise.
43807
43808         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43809         and x32_gnu_pltexit.
43810
43811         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43812         __ELF_NATIVE_CLASS.
43813         (La_x32_regs): New macro.
43814         (La_x32_retval): Likewise.
43815         (la_x32_gnu_pltenter): New function prototype.
43816         (la_x32_gnu_pltexit): Likewise.
43817
43818 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43819
43820         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43821         exponent.
43822
43823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43824
43825         * configure.in (libc_cv_cc_nofma): Check for option to disable
43826         generation of FMA instructions.
43827         * configure: Regenerate.
43828         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43829         * sysdeps/ieee754/dbl-64/Makefile: New file.
43830         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43831         Remove brandred-fma4.
43832         (CFLAGS-brandred-fma4.c): Remove.
43833         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43834         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43835         define.
43836         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43837         define.
43838
43839 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43840
43841         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43842         LLONG_MAX != LONG_MAX.
43843         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43844         (_fitoa_word): Likewise.
43845         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43846         LLONG_MAX != LONG_MAX.
43847         * stdio-common/_itowa.h: Include <_itoa.h>.
43848         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43849         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43850         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43851         only if not defined.
43852         (_ITOA_WORD_TYPE): Likewise.
43853         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43854         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43855
43856 2012-03-21  David S. Miller  <davem@davemloft.net>
43857
43858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43859
43860 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43861
43862         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43863         of x86_64 when setting libc_cv_slibdir, libdir and
43864         libc_cv_localedir.
43865         * sysdeps/unix/sysv/linux/configure: Regenerated.
43866
43867 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43868
43869         * manual/lang.texi (Old Varargs): Remove section.
43870         (How Variadic): Update menu.
43871         (va_start): Do not mention varargs.h.
43872
43873 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43874             Joseph Myers  <joseph@codesourcery.com>
43875
43876         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43877         link test.
43878         * configure: Regenerated.
43879
43880 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43881
43882         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43883         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43884         conformtest.pl
43885
43886 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43887
43888         * NOTES: Remove.
43889         * Makefile (files-for-dist): Remove NOTES.
43890         (NOTES): Remove rule.
43891         * README: Don't refer to NOTES.
43892         * manual/creature.texi: Don't include macros.texi.
43893         * manual/intro.texi (creature.texi): Remove comment referring to
43894         NOTES.
43895
43896         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43897         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43898         * configure: Regenerated.
43899         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43900         LIBC_TRY_CC_OPTION.
43901         (libc_cv_as_i686): Likewise.
43902         (libc_cv_cc_avx): Likewise.
43903         (libc_cv_cc_sse2avx): Likewise.
43904         (libc_cv_cc_fma4): Likewise.
43905         (libc_cv_cc_novzeroupper): Likewise.
43906         * sysdeps/i386/configure: Regenerated.
43907
43908         [BZ #13883]
43909         * sysdeps/i386/fpu/s_cexp.S: Remove.
43910         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43911         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43912         * math/libm-test.inc (cexp_test): Add more tests.
43913         * sysdeps/i386/fpu/libm-test-ulps: Update.
43914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43915
43916 2012-03-21  Allan McRae  <allan@archlinux.org>
43917
43918         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43919
43920 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43921
43922         [BZ #13871]
43923         * math/w_exp2.c: Do not include <float.h>.
43924         (o_threshold, u_threshold): Remove.
43925         (__exp2): Calculate result before checking finiteness and calling
43926         __kernel_standard.
43927         * math/w_exp2f.c: Likewise.
43928         * math/w_exp2l.c: Likewise.
43929         * math/libm-test.inc (exp2_test): Require overflow exception for
43930         1e6 input.
43931
43932         [BZ #3866]
43933         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43934         range of signed 64-bit integers before using fistpll.  Remove
43935         checks for whether integers fit in mantissa bits.
43936         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43937         the range of signed 32-bit integers before using fistpl.  Remove
43938         checks for whether integers fit in mantissa bits.
43939         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43940         (__ieee754_powl): Test for y outside the range of signed 64-bit
43941         integers before using fistpll.  Reduce 64-bit values to 63-bit
43942         ones as needed.
43943         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43944         divide-by-zero is raised for zero to large negative powers.
43945         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43946         (__ieee754_powl): Test for y outside the range of signed 64-bit
43947         integers before using fistpll.  Reduce 64-bit values to 63-bit
43948         ones as needed.
43949         * math/libm-test.inc (pow_test): Add more tests.
43950
43951 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43952
43953         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43954         <stdio-common/_itoa.h>.
43955         * debug/segfault.c: Likewise.
43956         * elf/dl-cache.c: Likewise.
43957         * elf/dl-minimal.c: Likewise.
43958         * elf/dl-misc.c: Likewise.
43959         * elf/dl-sysdep.c: Likewise.
43960         * elf/dl-version.c: Likewise.
43961         * elf/rtld.c: Likewise.
43962         * hurd/hurdsock.c: Likewise.
43963         * hurd/lookup-retry.c: Likewise.
43964         * malloc/malloc.c: Likewise.
43965         * malloc/mtrace.c: Likewise.
43966         * nscd/nscd_getgr_r.c: Likewise.
43967         * nscd/nscd_getpw_r.c: Likewise.
43968         * nscd/nscd_getserv_r.c: Likewise.
43969         * posix/getopt_init.c: Likewise.
43970         * posix/wordexp.c: Likewise.
43971         * stdio-common/_itoa.c: Likewise.
43972         * stdio-common/printf_fphex.c: Likewise.
43973         * stdio-common/vfprintf.c: Likewise.
43974         * string/_strerror.c: Likewise.
43975         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43976         * sysdeps/i386/i686/hp-timing.h: Likewise.
43977         * sysdeps/mach/_strerror.c: Likewise.
43978         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43979         * sysdeps/mach/hurd/sethostid.c: Likewise.
43980         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43981         * sysdeps/mach/xpg-strerror.c: Likewise.
43982         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43984         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43985         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43986         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43987         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43988         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43989         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43990         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43991         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43992         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43993         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43994         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43995         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43996         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43997         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43998         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43999         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44000         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44001         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44002         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44003
44004         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44005
44006         * stdio-common/_itoa.h: Moved to ...
44007         * sysdeps/generic/_itoa.h: Here.
44008
44009         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44010
44011         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44012         instead of "_itoa.h" and "_itowa.h".
44013         * stdio-common/vfprintf.: Likewise.
44014
44015 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44016
44017         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44018         <bits/wordsize.h>.
44019         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44020         (__signbit): Likwise.
44021         (llrintf): Likwise.
44022         (llrint): Likwise.
44023
44024 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44025
44026         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44027         __WORDSIZE != 64.
44028
44029 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44030
44031         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44032         OVERFLOW_EXCEPTION_OK.
44033         * math/libm-test.inc ("Philosophy"): Update comment about
44034         exception testing.
44035         (OVERFLOW_EXCEPTION): Define.
44036         (OVERFLOW_EXCEPTION_OK): Likewise.
44037         (INVALID_EXCEPTION_OK): Renumber.
44038         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44039         (IGNORE_ZERO_INF_SIGN): Likewise.
44040         (test_exceptions): Handle FE_OVERFLOW.
44041         (exp10_test): Expect overflow exceptions.
44042         (exp2_test): Likewise.
44043         (expm1_test): Likewise.
44044         (nextafter_test): Likewise.
44045         (pow_test): Likewise.
44046         (scalbn_test): Likewise.
44047         (scalbln_test): Likewise.
44048
44049 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44050
44051         * sysdeps/x86_64/bits/atomic.h
44052         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44053         64bit integer.
44054         (atomic_exchange_acq): Likewise.
44055         (__arch_exchange_and_add_body): Likewise.
44056         (__arch_add_body): Likewise.
44057         (atomic_add_negative): Likewise.
44058         (atomic_add_zero): Likewise.
44059
44060 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44061
44062         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44063         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44064
44065 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44066
44067         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44068         Check __x86_64__ instead of __WORDSIZE.
44069
44070 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44071
44072         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44073
44074 2012-03-19  David S. Miller  <davem@davemloft.net>
44075
44076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44077
44078         * sysdeps/sparc/fpu/fenv_private.h: New file.
44079         * sysdeps/sparc/fpu/math_private.h: Use it.
44080         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44081         Remove.
44082         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44083         (libc_feholdexcept_setroundl): Remove.
44084         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44085         Remove.
44086         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44087         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44088
44089 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44090
44091         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44092         int64_t instead of long int.
44093         (INSERT_WORDS64): Likwise.
44094
44095 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44096
44097         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44098         _Unwind_GetCFA return to _Unwind_Ptr first.
44099
44100 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44101
44102         [BZ #13629]
44103         * math/s_clog.c: Include <float.h>.
44104         (__clog): Scale large or subnormal inputs.
44105         * math/s_clogf.c: Likewise.
44106         * math/s_clogl.c: Likewise.
44107         * math/s_clog10.c: Include <float.h>.
44108         (M_LOG10_2): Define.
44109         (__clog10): Scale large or subnormal inputs.
44110         * math/s_clog10f.c: Likewise.
44111         * math/s_clog10l.c: Likewise.
44112         * math/libm-test.inc (clog_test): Add more tests.
44113         (clog10_test): Likewise.
44114         * sysdeps/i386/fpu/libm-test-ulps: Update.
44115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44116
44117         [BZ #11451]
44118         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44119         x and y.
44120         * math/libm-test.inc (atan2_test): Add another test.
44121
44122         * Makerules (common-objdir-compile): Remove.
44123         * sysdeps/unix/Makefile (config-generated): Do not add
44124         $(unix-generated) to variable.
44125         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44126         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44127         Remove rule.
44128         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44129         Likewise.
44130         [generic bits/local_lim.h] (before-compile): Do not append to
44131         variable.
44132         [generic bits/local_lim.h] (common-generated): Likewise.
44133         [generic sys/param.h] (before-compile): Do not append to variable.
44134         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44135         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44136         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44137         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44138         include.
44139         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44140         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44141         [generic sys/param.h] ($(addprefix
44142         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44143         [generic sys/param.h] (common-generated): Do not append to
44144         variable.
44145         [generic sys/param.h] (sysdep_headers): Likewise.
44146         [generic bits/errno.h] (before-compile): Do not append to
44147         variable.
44148         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44149         rule.
44150         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44151         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44152         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44153         [generic bits/errno.h] (common-generated): Do not append to
44154         variable.
44155         [generic bits/ioctls.h] (before-compile): Do not append to
44156         variable.
44157         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44158         rule.
44159         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44160         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44161         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44162         rule.
44163         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44164         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44165         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44166         [generic bits/ioctls.h] (common-generated): Do not append to
44167         variable.
44168         [generic sys/syscall.h] (syscall.h): Remove variable.
44169         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44170         rule.
44171         [generic sys/syscall.h] (before-compile): Do not append to
44172         variable.
44173         [generic sys/syscall.h] (common-generated): Likewise.
44174         * sysdeps/unix/errnos-tmpl.c: Remove file.
44175         * sysdeps/unix/errnos.awk: Likewise.
44176         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44177         * sysdeps/unix/ioctls.awk: Likewise.
44178         * sysdeps/unix/mk-local_lim.c: Likewise.
44179         * sysdeps/unix/snarf-ioctls: Likewise.
44180
44181 2012-03-19  Richard Henderson  <rth@twiddle.net>
44182
44183         * sysdeps/i386/fpu/fenv_private.h: New file.
44184         * sysdeps/i386/fpu/math_private.h: Use it.
44185         (math_opt_barrier, math_force_eval): Remove.
44186         (libc_feholdexcept_setround_53bit): Remove.
44187         (libc_feupdateenv_53bit): Remove.
44188         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44189         (math_opt_barrier, math_force_eval): Remove.
44190         (libc_feholdexcept): Remove.
44191         (libc_feholdexcept_setround): Remove.
44192         (libc_fetestexcept, libc_fesetenv): Remove.
44193         (libc_feupdateenv_test): Remove.
44194         (libc_feupdateenv, libc_feholdsetround): Remove.
44195         (libc_feresetround): Remove.
44196
44197         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44198         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44199
44200         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44201         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44202         (libc_feupdateenv_testl): New.
44203         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44204         (libc_feupdateenv_testf): New.
44205         (libc_feupdateenv): Use libc_feupdateenv_test.
44206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44207         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44208
44209         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44210         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44211         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44212         (libc_feresetround_noex): New.
44213         (libc_feresetround_noexf): New.
44214         (libc_feresetround_noexl): New.
44215         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44216         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44217         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44218         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44219         SET_RESTORE_ROUND.
44220         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44222         (__cos): Likewise.
44223         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44224         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44225         SET_RESTORE_ROUND_NOEX.
44226         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44227         SET_RESTORE_ROUND_NOEXF.
44228         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44229         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44230         (libc_feholdsetroundf): New.
44231         (libc_feresetround, libc_feresetroundf): New.
44232
44233         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44234         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44235         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44236
44237         * sysdeps/generic/math_private.h: Include <fenv.h>.
44238         (default_libc_feholdexcept): New.
44239         (default_libc_feholdexcept_setround): New.
44240         (default_libc_fesetenv, default_libc_feupdateenv): New.
44241         (libc_feholdexcept): Only define if undefined.
44242         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44243         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44244         (libc_feholdexcept_setroundl): Likewise.
44245         (libc_feholdexcept_setround_53bit): Likewise.
44246         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44247         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44248         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44249         (libc_feupdateenv_53bit): Likewise.
44250         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44251         (libc_feholdexcept): Convert from macro to inline function.
44252         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44253         (libc_fesetenv, libc_feupdateenv): Likewise.
44254
44255         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44256         not previously defined.
44257         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44258         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44259         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44260         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44261         * sysdeps/ieee754/flt-32/math_private.h: New file.
44262         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44263         math_private.h below SET_FLOAT_WORD.
44264         (__isnan, __isinf_ns, __finite): Remove.
44265         (__isnanf, __isinf_nsf, __finitef): Remove.
44266
44267 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44268
44269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44270
44271 2012-03-17  David S. Miller  <davem@davemloft.net>
44272
44273         [BZ #6471]
44274         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44275         for 2.16.
44276
44277 2012-03-16  David S. Miller  <davem@davemloft.net>
44278
44279         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44280         warnings.
44281
44282         [BZ #6471]
44283         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44284         properly.
44285         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44286         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44287         sysdep_routines when subdir is sysvipc.
44288         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44289         __getshmlba helper.
44290
44291         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44292
44293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44294
44295         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44296         [__LP64__].
44297
44298 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44299
44300         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44301         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44302         (__lround): Renamed to ...
44303         (__llround): This.  Replace long int with long long int.
44304         Define lround functions as aliases of llround functions.
44305         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44306
44307 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44308
44309         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44310         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44311         adresses to uintptr_t.  Replace "long int" and "unsigned long
44312         int" with "greg_t" on va_arg.
44313
44314 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44315
44316         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44317         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44318
44319         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44320         Move e_machine check before EI_CLASS check.  Handle x32
44321         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44322         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44323         SKIP_EM_IA_64 and include
44324         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44325
44326         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44327         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44328         (add_system_dir): New macro.
44329
44330         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44331         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44332
44333 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44334
44335         [BZ #2551]
44336         [BZ #2552]
44337         [BZ #2553]
44338         [BZ #2554]
44339         [BZ #2562]
44340         [BZ #2563]
44341         [BZ #2565]
44342         [BZ #2566]
44343         [BZ #2576]
44344         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44345         (y0): Likewise.
44346         * math/w_j0f.c (j0f): Likewise.
44347         (y0f): Likewise.
44348         * math/w_j0l.c (__j0l): Likewise.
44349         (__y0l): Likewise.
44350         * math/w_j1.c (j1): Likewise.
44351         (y1): Likewise.
44352         * math/w_j1f.c (j1f): Likewise.
44353         (y1f): Likewise.
44354         * math/w_j1l.c (__j1l): Likewise.
44355         (__y1l): Likewise.
44356         * math/w_jn.c (jn): Likewise.
44357         (yn): Likewise.
44358         * math/w_jnf.c (jnf): Likewise.
44359         (ynf): Likewise.
44360         * math/w_jnl.c (__jnl): Likewise.
44361         (__ynl): Likewise.
44362         * math/libm-test.inc (j0_test): Add more tests.
44363         (j1_test): Likewise.
44364         (jn_test): Likewise.  Add trailing semicolon to existing test.
44365         (y0_test): Likewise.
44366         (y1_test): Likewise.
44367         * sysdeps/i386/fpu/libm-test-ulps: Update.
44368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44369
44370         [BZ #13851]
44371         [BZ #13854]
44372         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44373         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44374         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44375         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44376         (__tanl): Set errno for infinite argument.
44377         * sysdeps/i386/fpu/mptan.c: Remove.
44378         * sysdeps/i386/fpu/s_tan.S: Likewise.
44379         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44380         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44381         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44382         * math/libm-test.inc (tan_test): Add more tests and enable more
44383         tests for double and long double.
44384         * sysdeps/i386/fpu/libm-test-ulps: Update.
44385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44386
44387 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44388
44389         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44390         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44391
44392 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44393
44394         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44395         * configure.in: Use it for both main tree and add-ons.
44396         * configure: Regenerated.
44397
44398 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44399
44400         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44401
44402 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44403
44404         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44405         in comment.
44406
44407         [BZ #13851]
44408         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44409         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44410         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44411         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44412         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44413         infinite argument.
44414         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44415         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44416         != 0 for prec == 2.
44417         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44418         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44419         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44420         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44421         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44422         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44423         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44424         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44425         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44426         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44427         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44428         * math/libm-test.inc (cos_test): Add more tests and enable more
44429         tests for long double.
44430         (sin_test): Likewise.
44431         (sincos_test): Likewise.
44432         * sysdeps/i386/fpu/libm-test-ulps: Update.
44433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44434
44435 2012-03-16  David S. Miller  <davem@davemloft.net>
44436
44437         * sysdeps/sparc/fpu/math_private.h: New file.
44438
44439 2012-03-15  David S. Miller  <davem@davemloft.net>
44440
44441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44442         file.
44443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44445         file.
44446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44452         sysdep routines.
44453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44454
44455         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44456         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44457
44458         * sysdeps/sparc/sparc-ifunc.h: New file.
44459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44460         sparc-ifunc.h
44461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44463         Likewise.
44464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44465         Likewise.
44466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44470         Likewise.
44471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44476         Likewise.
44477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44478         Likewise.
44479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44485         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44486         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44497         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44498         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44499         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44500         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44501         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44502         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44503
44504 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44505
44506         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44507         scaling.
44508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44509
44510 2012-03-15  Andreas Jaeger  <aj@suse.de>
44511
44512         [BZ #13852]
44513         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44514         ieee754/flt-32 implementation for sin, cos and sincos.
44515         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44516         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44517         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44518         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44519         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44520         ieee754/flt-32 implementation for tan.
44521
44522         * math/libm-test.inc (cos_test): Enable some large input tests for
44523         float as well
44524         (sin_test): Likewise.
44525         (sincos_test): Likewise.
44526         (tan_test): Add tests for large input.
44527
44528         * sysdeps/i386/fpu/libm-test-ulps: Update.
44529
44530 2012-03-15  Andreas Jaeger  <aj@suse.de>
44531
44532         [BZ #13658]
44533         * math/libm-test.inc (cos_test): Add more test cases.
44534         (sin_test): Likewise.
44535         (sincos_test): Likewise.
44536
44537 2012-03-15  Andreas Jaeger  <aj@suse.de>
44538
44539         [BZ #13837]
44540         * math/libm-test.inc (cos_test): Add a test case for large input
44541         value.
44542         (sin_test): Likewise.
44543         (sincos_test): Likewise.
44544
44545 2012-03-15  Andreas Jaeger  <aj@suse.de>
44546             Joseph Myers  <joseph@codesourcery.com>
44547
44548         [BZ #13658]
44549         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44550         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44551         * sysdeps/i386/fpu/branred.c: Likewise.
44552         * sysdeps/i386/fpu/dosincos.c: Likewise.
44553         * sysdeps/i386/fpu/mpa.c: Likewise.
44554         * sysdeps/i386/fpu/s_cos.S: Likewise.
44555         * sysdeps/i386/fpu/s_sin.S: Likewise.
44556         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44557         * sysdeps/i386/fpu/sincos32.c: Likewise.
44558
44559         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44560         Define.
44561         (libc_feupdateenv_53bit): Define.
44562         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44563         Define.
44564         (libc_feupdateenv_53bit): Define.
44565
44566         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44567         53 bit (without extend i386 double precision).
44568
44569         * math/libm-test.inc (sincos_test): Add tests for large input.
44570         (sin): Likewise.
44571         (cos): Likewise.
44572
44573         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44574
44575 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44576
44577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44578
44579 2012-03-15  David S. Miller  <davem@davemloft.net>
44580
44581         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44582         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44583         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44584         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44590         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44591         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44592         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44597         file.
44598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44600         file.
44601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44603         file.
44604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44606         file.
44607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44608         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44609         fmin/fmax sysdep routines.
44610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44611
44612 2012-03-14  David S. Miller  <davem@davemloft.net>
44613
44614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44615         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44618         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44619         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44620         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44621         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44622         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44628         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44629         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44630         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44631         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44632         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44633         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44634         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44635         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44636         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44637         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44638         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44639         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44640         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44641         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44642         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44643         routines.
44644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44645         file.
44646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44648         file.
44649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44651         file.
44652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44654         file.
44655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44657         file.
44658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44660         file.
44661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44662         file.
44663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44664         file.
44665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44666         file.
44667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44668         New file.
44669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44670         file.
44671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44672         file.
44673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44675         file.
44676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44678         file.
44679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44681         file.
44682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44684         VIS3 routines.
44685
44686         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44687         New file.
44688
44689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44690
44691         * sysdeps/sparc/configure.in: New file.
44692         * sysdeps/sparc/configure: Generate.
44693         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44694         * configure: Regenerate.
44695         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44696         * config.make.in (have-as-vis3): New.
44697         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44698         available use -Av9d instead of -Av9a.
44699         * sysdeps/sparc/sparc64/Makefile: Likewise.
44700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44702         New file.
44703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44704         file.
44705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44706         New file.
44707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44708         file.
44709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44710         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44711         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44712         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44713         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44714
44715         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44716         fzeros/fnegs to load 0x80000000 into a float register instead of
44717         using the stack.
44718         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44719
44720 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44721
44722         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44723         bits/syscall.h.
44724         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44725         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44726         ($(inst_includedir)/bits/syscall.h): Remove rule.
44727         ($(objpfx)bits/syscall.d): Include instead of
44728         $(objpfx)syscall-list.d.
44729         (generated): Change syscall-list.h and syscall-list.d to
44730         bits/syscall.h and bits/syscall.d.
44731
44732 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44733
44734         [BZ #13846]
44735         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44736
44737 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44738
44739         [BZ #13841]
44740         * math/s_csqrt.c: Include <float.h>.
44741         (__csqrt): Scale large or subnormal inputs.
44742         * math/s_csqrtf.c: Likewise.
44743         * math/s_csqrtl.c: Likewise.
44744         * math/libm-test.inc (csqrt_test): Add more tests.
44745         * sysdeps/i386/fpu/libm-test-ulps: Update.
44746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44747
44748         [BZ #13840]
44749         * math/libm-test.inc (hypot_test): Add more tests.
44750
44751 2012-03-13  David S. Miller  <davem@davemloft.net>
44752
44753         [BZ #13840]
44754         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44755         double-precision for the calculation instead of scaling.
44756
44757 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44758
44759         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44760         manipulate bits before adding and subtracting TWO52[sx].
44761         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44762         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44763         Likewise.
44764         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44765
44766 2012-03-13  David S. Miller  <davem@davemloft.net>
44767
44768         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44769         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44771         rtld-global-offsets.h
44772         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44773
44774         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44775         large parameters.
44776
44777         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44778
44779         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44780         'err' in the ifdef scope in which it is actually used.
44781
44782         * nss/nss_db/db-init.c: Include string.h
44783
44784 2012-03-12  David S. Miller  <davem@davemloft.net>
44785
44786         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44787         masking out of the most significant byte of random value used.
44788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44789         Fix coding style in previous change.
44790
44791         * sysdeps/unix/sysv/linux/kernel-features.h
44792         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44793         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44794         expression.
44795         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44796         later.
44797
44798 2012-03-11  David S. Miller  <davem@davemloft.net>
44799
44800         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44801         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44802         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44803         for 'resultvar' otherwise things get truncated on 64-bit.
44804
44805         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44806         Fix masking out of the most significant byte of random value used.
44807
44808         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44809
44810 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44811
44812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44813
44814 2012-03-09  David S. Miller  <davem@davemloft.net>
44815
44816         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44817         variables with appropriate CPP guards.
44818         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44819         from the frame pointer, not the stack pointer.  Correct layout
44820         comments.  Fix test on resulting framesize and the management of
44821         the outregs buffer for pltexit.  Preserve floating point return
44822         values across _dl_call_pltexit call.
44823         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44824         framesize and the management of the outregs buffer for pltexit.
44825         Preserve floating point return values across _dl_call_pltexit
44826         call.
44827         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44828         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44829         (la_sparc64_gnu_pltexit): New functions.
44830         (print_exit): Fix format string for return register value.
44831
44832 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44833
44834         * sunrpc/Makefile (others): Add rpcgen.
44835         ($(objpfx)rpcgen): Remove special build rule and dependency on
44836         libc.
44837         * sunrpc/rpcgen.c: New file.
44838
44839 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44840
44841         [BZ #13673]
44842         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44843         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44844         * sysdeps/i386/crti.S: Likewise.
44845         * sysdeps/i386/crtn.S: Likewise.
44846         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44847         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44848         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44849         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44850         * sysdeps/sh/crti.S: Likewise.
44851         * sysdeps/sh/crtn.S: Likewise.
44852         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44853
44854         [BZ #13673]
44855         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44856         with URL.
44857         * locale/programs/locfile-kw.gperf: Likewise.
44858         * locale/programs/charmap-kw.h: Regenerated.
44859         * locale/programs/locfile-kw.h: Likewise.
44860
44861         [BZ #13673]
44862         * intl/plural.y: Replace FSF snail mail address with URL.
44863         * intl/plural.c: Regenerated.
44864
44865 2012-03-09  Richard Henderson  <rth@twiddle.net>
44866
44867         * include/math_private.h: Remove file.
44868         * math/math_private.h: Move file ...
44869         * sysdeps/generic/math_private.h: ... here.
44870
44871         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44872         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44873         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44874
44875         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44876         and <math_private.h>.
44877         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44878         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44879         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44880         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44881         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44882         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44883         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44885         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44886         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44888         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44889         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44891         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44892         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44894         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44895         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44896         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44898         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44899         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44901         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44902         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44903         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44904         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44905         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44906         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44907         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44908         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44909         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44910         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44911         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44912         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44913         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44914         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44915         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44916         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44917         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44918         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44919         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44920         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44921         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44922         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44923         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44924         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44925         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44926         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44927         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44928         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44929         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44930         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44931         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44932         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44933         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44934         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44935         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44936         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44937         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44938         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44939         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44940         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44941         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44942         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44943         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44944         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44945         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44946         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44947         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44948         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44949         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44950         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44951         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44952         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44953         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44955         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44956         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44957         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44958         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44959         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44960         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44961         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44965         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44966         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44967         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44968         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44969         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44970         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44971         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44972         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44973         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44974         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44975         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44976         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44977         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44978         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44979         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44980         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44981         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44982         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44983         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44984         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44985         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44986         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44987         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44988         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44989         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44990         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44991         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44992         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44993         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44994         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44995         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44996         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44997         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44998         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44999         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45000         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45001         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45002         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45003         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45004         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45005         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45006         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45007         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45008         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45009         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45010         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45011         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45012         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45013         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45014         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45015         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45016         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45017         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45018         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45019         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45020         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45021         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45022         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45023         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45024         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45025         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45026         * sysdeps/ieee754/k_standard.c: Likewise.
45027         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45028         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45029         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45030         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45031         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45032         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45033         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45034         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45035         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45036         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45037         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45038         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45039         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45040         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45041         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45042         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45043         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45044         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45045         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45046         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45047         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45048         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45049         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45050         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45051         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45052         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45053         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45054         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45055         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45056         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45057         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45058         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45059         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45060         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45061         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45062         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45063         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45064         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45065         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45066         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45067         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45068         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45069         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45070         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45071         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45072         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45073         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45074         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45075         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45076         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45077         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45078         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45079         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45080         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45081         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45082         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45083         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45085         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45087         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45092         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45093         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45094         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45095         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45096         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45097         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45100         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45101         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45104         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45106         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45107         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45108         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45109         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45110         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45111         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45112         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45113         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45114         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45115         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45116         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45117         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45118         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45119         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45120         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45121         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45122         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45123         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45124         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45125         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45126         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45128         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45129         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45130         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45131         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45132         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45133         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45134         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45135         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45136         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45137         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45138         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45139         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45140         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45141         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45142         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45143         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45144         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45145         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45146         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45148         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45149         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45150         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45151         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45152         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45153         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45154         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45155         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45156         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45157         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45158         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45159         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45160         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45161         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45162         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45163         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45165         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45166         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45167         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45168         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45169         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45170         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45171         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45172         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45173         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45175         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45176         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45177         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45178         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45179         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45180         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45181         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45184         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45185         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45186         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45187         * sysdeps/ieee754/s_lib_version.c: Likewise.
45188         * sysdeps/ieee754/s_matherr.c: Likewise.
45189         * sysdeps/ieee754/s_signgam.c: Likewise.
45190         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45191         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45192         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45193         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45194         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45195         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45196         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45197         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45198         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45199         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45200         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45201         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45202         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45203         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45204         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45205         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45206         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45207         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45208         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45209         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45210         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45211
45212 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45213
45214         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45215         * sunrpc/rpc_main.c: Likewise.
45216         * sunrpc/rpc_svcout.c: Likewise.
45217
45218 2012-03-09  David S. Miller  <davem@davemloft.net>
45219
45220         * include/math_private.h: New file.
45221
45222 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45223
45224         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45225         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45226         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45227         from <bits/socket_type.h>.
45228         (enum __socket_type): Don't define here.
45229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45231         bits/socket_type.h.
45232
45233         [BZ #13566]
45234         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45235         checking __USE_GNU.
45236
45237         * Makerules ($(inst_includedir)/%.h): New rule.
45238         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45239         (install-others): Remove variable setting.
45240         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45241
45242 2012-03-08  Richard Henderson  <rth@twiddle.net>
45243
45244         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45245         from macro to inline function; merge with the
45246         !__LIBC_INTERNAL_MATH_INLINES version.
45247         (__ieee754_sqrtf): Likewise.
45248
45249         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45250         to inline function.
45251         (__rintf, __floor, __floorf): Likewise.
45252
45253         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45254         macro to inline function.
45255         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45256
45257         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45258         not <math/math_private.h>.
45259
45260 2012-03-08  David S. Miller  <davem@davemloft.net>
45261
45262         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45263         copyright year.
45264         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45265
45266 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45267
45268         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45269         normalization.
45270         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45271         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45272
45273 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45274
45275         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45276         be defined individually, they must be defined as a block.  Define
45277         S for printing a string instead of hidint the different by using a
45278         macro for adding the 'l'.
45279         * stdio-common/tst-fphex-wide.c: Adjust.
45280
45281 2012-03-07  Marek Polacek  <polacek@redhat.com>
45282
45283         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45284
45285 2012-03-08  Marek Polacek  <polacek@redhat.com>
45286
45287         [BZ #13806]
45288         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45289         * stdio-common/tst-fphex.c: Define a few macros to make the
45290         test reusable.  Use them.
45291         * stdio-common/tst-fphex-wide.c: New file.
45292
45293 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45294
45295         [BZ #6911]
45296         * manual/macros.texi (gnusystems): New macro.
45297         (nongnusystems): Likewise.
45298         (gnulinuxhurdsystems): Likewise.
45299         (gnuhurdsystems): Likewise..
45300         (gnulinuxsystems): Likewise.
45301         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45302         variants of the GNU system, not "GNU system".
45303         * manual/conf.texi: Likewise.
45304         * manual/errno.texi: Likewise.  Update example of errno macro
45305         expansion.
45306         * manual/filesys.texi: Likewise.
45307         (getumask): Document as specific to GNU/Hurd.
45308         * manual/install.texi: Likewise.  Reword some references to
45309         GNU/Linux.
45310         * manual/intro.texi: Likewise.
45311         * manual/io.texi: Likewise.
45312         (File Name Portability): Detail which constraints are inapplicable
45313         to all GNU systems and which are only inapplicable to GNU/Hurd.
45314         * manual/job.texi: Likewise.
45315         * manual/llio.texi: Likewise.
45316         (O_NOCTTY): Document as present on GNU/Linux.
45317         * manual/maint.texi: Likewise.
45318         * manual/memory.texi: Likewise.
45319         * manual/pattern.texi: Likewise.
45320         * manual/pipe.texi: Likewise.
45321         * manual/process.texi: Likewise.
45322         * manual/resource.texi: Likewise.
45323         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45324         child on GNU/Hurd.
45325         * manual/setjmp.texi: Likewise.
45326         * manual/signal.texi: Likewise.
45327         * manual/startup.texi: Likewise.
45328         * manual/stdio.texi: Likewise.
45329         * manual/terminal.texi: Likewise.
45330         (ONLCR): Document as POSIX.
45331         (OXTABS): Document availability on GNU/Linux as XTABS.
45332         (ONOEOT): Document availability separately from other bits.
45333         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45334         * manual/time.texi: Likewise.
45335         * manual/users.texi: Likewise.
45336         * INSTALL: Regenerated.
45337         * sysdeps/gnu/errlist.c: Regenerated.
45338
45339         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45340         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45341         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45342         puts.
45343         * configure: Regenerated.
45344
45345 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45346
45347         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45348         default includes instead of AC_HEADER_CHECK.
45349         * sysdeps/i386/configure: Regenerated.
45350
45351         [BZ #10716]
45352         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45353         * math/s_cacoshf.c (__cacoshf): Likewise.
45354         * math/s_cacoshl.c (__cacoshl): Likewise.
45355         * math/s_casinh.c (__casinh): Set signs of result from argument.
45356         * math/s_casinhf.c (__casinhf): Likewise.
45357         * math/s_casinhl.c (__casinhl): Likewise.
45358         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45359         (casinh_test): Add more tests.
45360         * sysdeps/i386/fpu/libm-test-ulps: Update.
45361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45362
45363 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45364
45365         * po/zh_TW.po: Update from translation team.
45366
45367         * login/Makefile (distribute): Remove variable.
45368         * catgets/Makefile: Likewise.
45369         * mach/Makefile: Likewise.
45370         * malloc/Makefile: Likewise.
45371         * misc/Makefile: Likewise.
45372         * iconv/Makefile: Likewise.
45373         * nscd/Makefile: Likewise.
45374         * hurd/Makefile: Likewise.
45375         * manual/Makefile: Likewise.
45376         * locale/Makefile: Likewise.
45377         * intl/Makefile: Likewise.
45378         * conform/Makefile: Likewise.
45379         * nss/Makefile: Likewise.
45380         * time/Makefile: Likewise.
45381         * soft-fp/Makefile: Likewise.
45382         * dirent/Makefile: Likewise.
45383         * gmon/Makefile: Likewise.
45384         * po/Makefile: Likewise.
45385         * rt/Makefile: Likewise.
45386         * socket/Makefile: Likewise.
45387         * math/Makefile: Likewise.
45388         * signal/Makefile: Likewise.
45389         * debug/Makefile: Likewise.
45390         * elf/Makefile: Likewise.
45391         * timezone/Makefile: Likewise.
45392         * stdlib/Makefile: Likewise.
45393         * iconvdata/Makefile: Likewise.
45394         * sunrpc/Makefile: Likewise.
45395         * io/Makefile: Likewise.
45396         * argp/Makefile: Likewise.
45397         * inet/Makefile: Likewise.
45398         * hesiod/Makefile: Likewise.
45399         * grp/Makefile: Likewise.
45400         * csu/Makefile: Likewise.
45401         * wctype/Makefile: Likewise.
45402         * crypt/Makefile: Likewise.
45403         * libio/Makefile: Likewise.
45404         * string/Makefile: Likewise.
45405         * nis/Makefile: Likewise.
45406         * resolv/Makefile: Likewise.
45407         * stdio-common/Makefile: Likewise.
45408         * wcsmbs/Makefile: Likewise.
45409         * dlfcn/Makefile: Likewise.
45410         * posix/Makefile: Likewise.
45411
45412         [BZ #6959]
45413         * timezone/Makefile: Don't install timezone files, just the programs
45414         and scripts.
45415
45416 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45417
45418         * nss/databases.def: Add missing gshadow entry.
45419
45420         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45421
45422 2012-03-06  Marek Polacek  <polacek@redhat.com>
45423
45424         [BZ #13726]
45425         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45426         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45427         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45428         * stdio-common/tst-long-dbl-fphex.c: New file.
45429
45430 2012-03-06  David S. Miller  <davem@davemloft.net>
45431
45432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45433         (set_obp_int): New function.
45434         (get_obp_int): New function.
45435         (__get_clockfreq_via_dev_openprom): Likewise.
45436         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45437         Avoid unused variable warnings on 'val' and use builtin_expect.
45438         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45439         __builtin_expect.
45440         (INLINE_CLONE_SYSCALL): Likewise.
45441
45442 2012-03-05  David S. Miller  <davem@davemloft.net>
45443
45444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45445
45446 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45447
45448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45449
45450         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45451         only for |x| >= 40.
45452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45453
45454 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45455
45456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45457         Replace gettimeofday with __vdso_gettimeofday.
45458
45459         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45460         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45461         __vdso_clock_gettime and __vdso_getcpu.
45462
45463         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45464         time with __vdso_time.
45465
45466 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45467
45468         * manual/lang.texi (size_t): Note types to which size_t may be
45469         equivalent with the GNU C Library, but do not describe when
45470         differences between them are significant.
45471
45472 2012-03-05  Andreas Jaeger  <aj@suse.de>
45473
45474         * sysdeps/i386/fpu/libm-test-ulps: Update.
45475
45476 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45477
45478         [BZ #3976]
45479         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45480         (__ieee754_pow): Save and restore rounding mode and use
45481         round-to-nearest for main computations.
45482         * math/libm-test.inc (pow_test_tonearest): New function.
45483         (pow_test_towardzero): Likewise.
45484         (pow_test_downward): Likewise.
45485         (pow_test_upward): Likewise.
45486         (main): Call the new functions.
45487         * sysdeps/i386/fpu/libm-test-ulps: Update.
45488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45489
45490         [BZ #3976]
45491         * math/libm-test.inc (cosh_test_tonearest): New function.
45492         (cosh_test_towardzero): Likewise.
45493         (cosh_test_downward): Likewise.
45494         (cosh_test_upward): Likewise.
45495         (sinh_test_tonearest): Likewise.
45496         (sinh_test_towardzero): Likewise.
45497         (sinh_test_downward): Likewise.
45498         (sinh_test_upward): Likewise.
45499         (main): Call the new functions.
45500         * sysdeps/i386/fpu/libm-test-ulps: Update.
45501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45502
45503 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45504
45505         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45506         default stack guard is set in last bytes.
45507         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45508
45509 2012-03-05  Kees Cook  <keescook@chromium.org>
45510
45511         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45512
45513         [BZ #13656]
45514         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45515         possibly allocate from heap instead of stack.
45516         * stdio-common/bug-vfprintf-nargs.c: New file.
45517         * stdio-common/Makefile (tests): Add nargs overflow test.
45518
45519 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45520
45521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45522
45523 2012-03-03  Marek Polacek  <polacek@redhat.com>
45524
45525         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45526         * math/math_private.h: Likewise.
45527         * stdlib/tst-strtod.c: Likewise.
45528         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45529         * sysdeps/x86_64/bits/atomic.h: Likewise.
45530
45531 2012-03-02  David S. Miller  <davem@davemloft.net>
45532
45533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45537         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45538         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45539         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45540         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45541
45542 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45543
45544         [BZ #13792]
45545         * manual/examples/README: New file, says the example source files
45546         can be used under GPL>=2.
45547         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45548         line containing just "*/".
45549         * manual/examples/add.c: Add copyright header (GPL>=2).
45550         * manual/examples/argp-ex1.c: Likewise.
45551         * manual/examples/argp-ex2.c: Likewise.
45552         * manual/examples/argp-ex3.c: Likewise.
45553         * manual/examples/argp-ex4.c: Likewise.
45554         * manual/examples/atexit.c: Likewise.
45555         * manual/examples/db.c: Likewise.
45556         * manual/examples/dir.c: Likewise.
45557         * manual/examples/dir2.c: Likewise.
45558         * manual/examples/execinfo.c: Likewise.
45559         * manual/examples/filecli.c: Likewise.
45560         * manual/examples/filesrv.c: Likewise.
45561         * manual/examples/fmtmsgexpl.c: Likewise.
45562         * manual/examples/genpass.c: Likewise.
45563         * manual/examples/inetcli.c: Likewise.
45564         * manual/examples/inetsrv.c: Likewise.
45565         * manual/examples/isockad.c: Likewise.
45566         * manual/examples/longopt.c: Likewise.
45567         * manual/examples/memopen.c: Likewise.
45568         * manual/examples/memstrm.c: Likewise.
45569         * manual/examples/mkfsock.c: Likewise.
45570         * manual/examples/mkisock.c: Likewise.
45571         * manual/examples/mygetpass.c: Likewise.
45572         * manual/examples/pipe.c: Likewise.
45573         * manual/examples/popen.c: Likewise.
45574         * manual/examples/rprintf.c: Likewise.
45575         * manual/examples/search.c: Likewise.
45576         * manual/examples/select.c: Likewise.
45577         * manual/examples/setjmp.c: Likewise.
45578         * manual/examples/sigh1.c: Likewise.
45579         * manual/examples/sigusr.c: Likewise.
45580         * manual/examples/stpcpy.c: Likewise.
45581         * manual/examples/strdupa.c: Likewise.
45582         * manual/examples/strftim.c: Likewise.
45583         * manual/examples/strncat.c: Likewise.
45584         * manual/examples/subopt.c: Likewise.
45585         * manual/examples/swapcontext.c: Likewise.
45586         * manual/examples/termios.c: Likewise.
45587         * manual/examples/testopt.c: Likewise.
45588         * manual/examples/testpass.c: Likewise.
45589         * manual/examples/timeval_subtract.c: Likewise.
45590
45591         [BZ #13792]
45592         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45593         function to ...
45594         * manual/timeval_subtract.c.texi: ... here, new file.
45595
45596 2012-03-02  David S. Miller  <davem@davemloft.net>
45597
45598         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45599
45600 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45601
45602         [BZ #3976]
45603         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45604         (__sin): Save and restore rounding mode and use round-to-nearest
45605         for all computations.
45606         (__cos): Save and restore rounding mode and use round-to-nearest
45607         for all computations.
45608         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45609         <fenv.h>.
45610         (tan): Save and restore rounding mode and use round-to-nearest for
45611         all computations.
45612         * math/libm-test.inc (cos_test_tonearest): New function.
45613         (cos_test_towardzero): Likewise.
45614         (cos_test_downward): Likewise.
45615         (cos_test_upward): Likewise.
45616         (sin_test_tonearest): Likewise.
45617         (sin_test_towardzero): Likewise.
45618         (sin_test_downward): Likewise.
45619         (sin_test_upward): Likewise.
45620         (tan_test_tonearest): Likewise.
45621         (tan_test_towardzero): Likewise.
45622         (tan_test_downward): Likewise.
45623         (tan_test_upward): Likewise.
45624         (main): Call the new functions.
45625         * sysdeps/i386/fpu/libm-test-ulps: Update.
45626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45627
45628         [BZ #10135]
45629         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45630         small n, then large n, before computing and testing k+n.
45631         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45632         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45633         Likewise.
45634         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45635         Likewise.
45636         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45637         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45638         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45639         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45640         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45641         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45642         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45643         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45644         * math/libm-test.inc (scalbn_test): Add more tests.
45645         (scalbln_test): Likewise.
45646
45647         * manual/filesys.texi (mode_t): Describe constraints on size and
45648         signedness, not exact equivalence to a particular type.
45649         (ino_t): Likewise.
45650         (ino64_t): Likewise.
45651         (dev_t): Likewise.
45652         (nlink_t): Likewise.
45653         (blkcnt_t): Likewise.
45654         (blkcnt64_t): Likewise.
45655         * manual/llio.texi (off_t): Likewise.
45656
45657         [BZ #3976]
45658         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45659         (__ieee754_exp): Save and restore rounding mode and use
45660         round-to-nearest for all computations.
45661         * math/libm-test.inc (exp_test_tonearest): New function.
45662         (exp_test_towardzero): Likewise.
45663         (exp_test_downward): Likewise.
45664         (exp_test_upward): Likewise.
45665         (main): Call the new functions.
45666         * sysdeps/i386/fpu/libm-test-ulps: Update.
45667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45668
45669 2012-03-01  Chris Demetriou  <cgd@google.com>
45670
45671         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45672         have predictable order.
45673
45674 2012-03-01  David S. Miller  <davem@davemloft.net>
45675
45676         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45677
45678         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45679         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45680         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45681         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45682
45683         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45684         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45685         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45687         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45688         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45689         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45690         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45691         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45692
45693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45694
45695         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45696         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45697         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45698
45699         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45700         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45701         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45702         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45703         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45704         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45705         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45706         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45707         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45708         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45709         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45710         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45711         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45712         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45713         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45715         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45716         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45717         * sysdeps/sparc/elf/configure: Regenerated.
45718
45719 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45720
45721         * configure.in (AS, LD): Require binutils 2.20 or later.
45722         * configure: Regenerated.
45723         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45724         as required minimum version.
45725         * INSTALL: Regenerated.
45726
45727         [BZ #2541]
45728         [BZ #4108]
45729         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45730         before squaring exponent.
45731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45732         bottom long double and 27 bits of top long double before squaring
45733         exponent.
45734         * math/libm-test.inc (erfc_test): Add more tests.
45735         * sysdeps/i386/fpu/libm-test-ulps: Update.
45736         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45738
45739 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45740
45741         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45742         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45743         containing bit-fields.
45744         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45745         * soft-fp/single.h (_FP_UNION_S): Likewise.
45746         * soft-fp/double.h (_FP_UNION_D): Likewise.
45747
45748 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45749
45750         [BZ #13786]
45751         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45752         not include ../strcmp.S.
45753         [USE_AS_STRNCASECMP_L]: Likewise.
45754         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45755         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45756         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45757         (__strncasecmp_l_ia32): Define as alias to
45758         __strncasecmp_l_nonascii.
45759
45760         [BZ #5794]
45761         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45762         * sysdeps/i386/fpu/libm-test-ulps: Update.
45763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45764
45765         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45767
45768 2012-02-29  Jeff Law  <law@redhat.com>
45769
45770         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45771         out of bounds read.
45772
45773 2012-02-29  Marek Polacek  <polacek@redhat.com>
45774
45775         [BZ #13706]
45776         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45777         * elf/Makefile: Add rules to run tst-unused-dep.out.
45778
45779 2012-02-28  David S. Miller  <davem@davemloft.net>
45780
45781         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45782         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45783         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45784         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45785         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45786         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45787
45788 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45789
45790         * math/libm-test.inc (llround_test): Move one test from
45791         lround_test.  Use TEST_f_L in moved test.
45792         (lround_test): Move misplaced test to llround_test.  Add testcase
45793         from bug 2561.
45794
45795 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45796
45797         * sysdeps/x86_64/fpu/e_expf.S: New file.
45798         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45799
45800 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45801
45802         [BZ #13637]
45803         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45804         of remain_len that may cause incomplete multi-byte character and
45805         false match.
45806         * posix/bug-regex33.c: New file.
45807         * posix/Makefile (tests): Add bug-regex33.
45808
45809 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45810
45811         * manual/macros.texi: New file.
45812         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45813         * manual/libc.texinfo: Include macros.texi.
45814         * manual/creatute.texi: Likewise.
45815         * manual/install.texi: Likewise.
45816         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45817         @glibcadj{} in references to the GNU C Library.
45818         * manual/charset.texi: Likewise.
45819         * manual/conf.texi: Likewise.
45820         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45821         when not using those macros.
45822         * manual/creature.texi: Likewise.
45823         * manual/crypt.texi: Likewise.
45824         * manual/errno.texi: Likewise.
45825         * manual/filesys.texi: Likewise.
45826         * manual/header.texi: Likewise.
45827         * manual/install.texi: Likewise.
45828         * manual/intro.texi: Likewise.
45829         * manual/io.texi: Likewise.
45830         * manual/job.texi: Likewise.
45831         * manual/lang.texi: Likewise.
45832         * manual/libc.texiinfo: Likewise.
45833         * manual/llio.texi: Likewise.
45834         * manual/locale.texi: Likewise.
45835         * manual/maint.texi: Likewise.
45836         * manual/math.texi: Likewise.
45837         * manual/memory.texi: Likewise.
45838         * manual/message.texi: Likewise.
45839         * manual/nss.texi: Likewise.
45840         * manual/pattern.texi: Likewise.
45841         * manual/process.texi: Likewise.
45842         * manual/resource.texi: Likewise.
45843         * manual/search.texi: Likewise.
45844         * manual/setjmp.texi: Likewise.
45845         * manual/signal.texi: Likewise.
45846         * manual/socket.texi: Likewise.
45847         * manual/startup.texi: Likewise.
45848         * manual/stdio.texi: Likewise.
45849         * manual/string.texi: Likewise.
45850         * manual/sysinfo.texi: Likewise.
45851         * manual/syslog.texi: Likewise.
45852         * manual/terminal.texi: Likewise.
45853         * manual/time.texi: Likewise.
45854         * manual/users.texi: Likewise.
45855         * INSTALL: Regenerated.
45856         * NOTES: Regenerated.
45857         * sysdeps/gnu/errlist.c: Regenerated.
45858
45859 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45860
45861         * include/dirent.h: Include <dirstream.h> before
45862         <dirent/dirent.h>.
45863
45864 2012-02-28  David S. Miller  <davem@davemloft.net>
45865
45866         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45867         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45868         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45869         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45870
45871 2012-02-27  David S. Miller  <davem@davemloft.net>
45872
45873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45875         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45876         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45877
45878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45879         frame pointer instead of stack pointer relative arg slot.
45880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45881         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45882         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45883
45884 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45885
45886         [BZ #3992]
45887         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45888
45889 2012-02-27  David S. Miller  <davem@davemloft.net>
45890
45891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45895         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45896         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45897         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45898         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45899
45900 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45901
45902         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45903         later.  Allow versions 5-9.
45904         * configure: Regenerated.
45905         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45906         required minimum version and 4.6 as recommended version.  Do not
45907         mention bugs in GCC 2.7 and 2.8.
45908         * INSTALL: Regenerated.
45909
45910 2012-02-27  David S. Miller  <davem@davemloft.net>
45911
45912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45916         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45917         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45918         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45919         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45920
45921         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45922         manipulate bits before adding and subtracting TWO112[sx].
45923         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45924
45925 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45926
45927         [BZ #13775]
45928         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45929         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45930         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45931         being in POSIX, because they are in 1003.1-2008.
45932
45933         * rt/tst-aio.c: Include <fcntl.h>.
45934         * rt/tst-aio7.c: Likewise.
45935         * rt/tst-aio64.c: Likewise.
45936
45937         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45938
45939 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45940
45941         * manual/install.texi (--with-headers): Describe headers as
45942         interface headers, not private headers.
45943         (Specific advice for GNU/Linux systems): Describe use of headers
45944         from "make headers_install", not private headers from older
45945         kernels.
45946         * INSTALL: Regenerated.
45947         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45948         Change to 2.6.19.
45949         * sysdeps/unix/sysv/linux/configure: Regenerated.
45950
45951         * manual/llio.texi (fclean): Remove documentation.
45952
45953         * manual/Makefile (libc-texi-generated): New variable.  Include
45954         version.texi.
45955         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45956         $(libc-texi-generated), not duplicated list of files.
45957         (version.texi, stamp-version): New rules.
45958         (realclean): Remove $(libc-texi-generated), not individual files
45959         from that list.  Do not remove dir-add.texinfo.
45960         * manual/libc.texinfo: Comment out uses of edition numbers and
45961         references to printed manual.  Remove last-updated dates.
45962         (EDITION): Comment out.
45963         (ISBN): Likewise.
45964         (VERSION, UPDATED): Remove.
45965         (version.texi): Include.
45966
45967 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45968
45969         * sysdeps/posix/spawni.c: Include <signal.h>.
45970         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45971         * sysdeps/pthread/aio_fsync.c: Likewise.
45972
45973 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45974
45975         * conform/Makefile (tests): Run only when not cross-compiling and
45976         when fast-check is not defined.
45977
45978         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45979         * conform/data/limits.h-data: Fixes for POSIX2008.
45980         * conform/run-conformtest.sh: Run all tests.
45981         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45982         headers.
45983         * include/bits/dlfcn.h: Likewise.
45984         * include/langinfo.h: Likewise.
45985         * include/monetary.h: Likewise.
45986         * include/sys/poll.h: Likewise.
45987
45988         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45989         for __USE_GNU.
45990         * posix/spawn.h: Define __need_sigset_t.
45991         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45992         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45993         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45994         to get sigevent_t only.
45995         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45996         only for __USE_GNU.
45997         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45998         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45999         process_vm_writev only for __USE_GNU.
46000         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46001
46002         * conform/Makefile: For now ignore errors from run-conformtest.
46003         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46004         POSIX to avoid namespace pollution.  Don't prepend headers.
46005         * conform/data/aio.h-data: Fixes for POSIX testing.
46006         * conform/data/fcntl.h-data: Likewise.
46007         * conform/data/glob.h-data: Likewise.
46008         * conform/data/grp.h-data: Likewise.
46009         * conform/data/pthread.h-data: Likewise.
46010         * conform/data/pwd.h-data: Likewise.
46011         * conform/data/signal.h-data: Likewise.
46012         * conform/data/spawn.h-data: Likewise.
46013         * conform/data/stdio.h-data: Likewise.
46014         * conform/data/stdlib.h-data: Likewise.
46015         * conform/data/stropts.h-data: Likewise.
46016         * conform/data/sys/mman.h-data: Likewise.
46017         * conform/data/sys/stat.h-data: Likewise.
46018         * conform/data/sys/types.h-data: Likewise.
46019         * conform/data/sys/wait.h-data: Likewise.
46020         * conform/data/time.h-data: Likewise.
46021         * conform/data/unistd.h-data: Likewise.
46022         * conform/data/utime.h-data: Likewise.
46023
46024         * io/sys/stat.h: fchmod was always in POSIX.
46025         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46026         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46027         * rt/aio.h: Define __need_timespec before including <time.h>.
46028         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46029         struct.  Add forward declaration of pthread_attr_t and use it in
46030         sigevent.
46031         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46033         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46034         always remove CLK_TCK definition.
46035
46036 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46037
46038         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46039
46040 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46041
46042         * conform/run-conformtest.sh: New file.
46043         * conform/Makefile: Run run-conformtest for tests.
46044         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46045         support.
46046
46047         * conform/data/uchar.h-data: New file.
46048         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46049         * conform/data/arpa/inet.h-data: Likewise.
46050         * conform/data/assert.h-data: Likewise.
46051         * conform/data/complex.h-data: Likewise.
46052         * conform/data/cpio.h-data: Likewise.
46053         * conform/data/ctype.h-data: Likewise.
46054         * conform/data/dirent.h-data: Likewise.
46055         * conform/data/dlfcn.h-data: Likewise.
46056         * conform/data/errno.h-data: Likewise.
46057         * conform/data/fcntl.h-data: Likewise.
46058         * conform/data/float.h-data: Likewise.
46059         * conform/data/fmtmsg.h-data: Likewise.
46060         * conform/data/fnmatch.h-data: Likewise.
46061         * conform/data/ftw.h-data: Likewise.
46062         * conform/data/glob.h-data: Likewise.
46063         * conform/data/grp.h-data: Likewise.
46064         * conform/data/iconv.h-data: Likewise.
46065         * conform/data/inttypes.h-data: Likewise.
46066         * conform/data/langinfo.h-data: Likewise.
46067         * conform/data/libgen.h-data: Likewise.
46068         * conform/data/limits.h-data: Likewise.
46069         * conform/data/locale.h-data: Likewise.
46070         * conform/data/math.h-data: Likewise.
46071         * conform/data/monetary.h-data: Likewise.
46072         * conform/data/mqueue.h-data: Likewise.
46073         * conform/data/ndbm.h-data: Likewise.
46074         * conform/data/net/if.h-data: Likewise.
46075         * conform/data/netdb.h-data: Likewise.
46076         * conform/data/netinet/in.h-data: Likewise.
46077         * conform/data/nl_types.h-data: Likewise.
46078         * conform/data/poll.h-data: Likewise.
46079         * conform/data/pthread.h-data: Likewise.
46080         * conform/data/pwd.h-data: Likewise.
46081         * conform/data/regex.h-data: Likewise.
46082         * conform/data/sched.h-data: Likewise.
46083         * conform/data/search.h-data: Likewise.
46084         * conform/data/semaphore.h-data: Likewise.
46085         * conform/data/setjmp.h-data: Likewise.
46086         * conform/data/signal.h-data: Likewise.
46087         * conform/data/spawn.h-data: Likewise.
46088         * conform/data/stdarg.h-data: Likewise.
46089         * conform/data/stdio.h-data: Likewise.
46090         * conform/data/stdlib.h-data: Likewise.
46091         * conform/data/string.h-data: Likewise.
46092         * conform/data/strings.h-data: Likewise.
46093         * conform/data/stropts.h-data: Likewise.
46094         * conform/data/sys/ipc.h-data: Likewise.
46095         * conform/data/sys/mman.h-data: Likewise.
46096         * conform/data/sys/msg.h-data: Likewise.
46097         * conform/data/sys/resource.h-data: Likewise.
46098         * conform/data/sys/select.h-data: Likewise.
46099         * conform/data/sys/sem.h-data: Likewise.
46100         * conform/data/sys/shm.h-data: Likewise.
46101         * conform/data/sys/socket.h-data: Likewise.
46102         * conform/data/sys/stat.h-data: Likewise.
46103         * conform/data/sys/statvfs.h-data: Likewise.
46104         * conform/data/sys/time.h-data: Likewise.
46105         * conform/data/sys/timeb.h-data: Likewise.
46106         * conform/data/sys/times.h-data: Likewise.
46107         * conform/data/sys/types.h-data: Likewise.
46108         * conform/data/sys/uio.h-data: Likewise.
46109         * conform/data/sys/un.h-data: Likewise.
46110         * conform/data/sys/utsname.h-data: Likewise.
46111         * conform/data/sys/wait.h-data: Likewise.
46112         * conform/data/syslog.h-data: Likewise.
46113         * conform/data/tar.h-data: Likewise.
46114         * conform/data/termios.h-data: Likewise.
46115         * conform/data/utime.h-data: Likewise.
46116         * conform/data/utmpx.h-data: Likewise.
46117         * conform/data/varargs.h-data: Likewise.
46118         * conform/data/wchar.h-data: Likewise.
46119         * conform/data/wctype.h-data: Likewise.
46120         * conform/data/wordexp.h-data: Likewise.
46121
46122         * include/stropts.h: New file.
46123         * include/uchar.h: New file.
46124         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46125         * include/assert.h: Likewise.
46126         * include/ctype.h: Likewise.
46127         * include/dirent.h: Likewise.
46128         * include/dlfcn.h: Likewise.
46129         * include/fcntl.h: Likewise.
46130         * include/fnmatch.h: Likewise.
46131         * include/glob.h: Likewise.
46132         * include/grp.h: Likewise.
46133         * include/libio.h: Likewise.
46134         * include/locale.h: Likewise.
46135         * include/math.h: Likewise.
46136         * include/net/if.h: Likewise.
46137         * include/netdb.h: Likewise.
46138         * include/netinet/in.h: Likewise.
46139         * include/pthread.h: Likewise.
46140         * include/pwd.h: Likewise.
46141         * include/regex.h: Likewise.
46142         * include/sched.h: Likewise.
46143         * include/search.h: Likewise.
46144         * include/setjmp.h: Likewise.
46145         * include/signal.h: Likewise.
46146         * include/stdio.h: Likewise.
46147         * include/stdlib.h: Likewise.
46148         * include/string.h: Likewise.
46149         * include/sys/cdefs.h: Likewise.
46150         * include/sys/mman.h: Likewise.
46151         * include/sys/msg.h: Likewise.
46152         * include/sys/resource.h: Likewise.
46153         * include/sys/select.h: Likewise.
46154         * include/sys/socket.h: Likewise.
46155         * include/sys/stat.h: Likewise.
46156         * include/sys/statvfs.h: Likewise.
46157         * include/sys/time.h: Likewise.
46158         * include/sys/times.h: Likewise.
46159         * include/sys/uio.h: Likewise.
46160         * include/sys/utsname.h: Likewise.
46161         * include/sys/wait.h: Likewise.
46162         * include/termios.h: Likewise.
46163         * include/time.h: Likewise.
46164         * include/ulimit.h: Likewise.
46165         * include/unistd.h: Likewise.
46166         * include/utime.h: Likewise.
46167         * include/wchar.h: Likewise.
46168         * include/wctype.h: Likewise.
46169         * include/wordexp.h: Likewise.
46170
46171         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46172
46173         * time/time.h: TIME_UTC must be a macro.
46174         Make timespec_get available for ISO C11 only as well.
46175
46176 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46177
46178         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46179         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46180
46181 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46182
46183         * configure.in: Use -o not -a in test for unsupported multi-arch.
46184
46185 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46186
46187         * manual/texinfo.tex: Update to version 2012-01-19.16.
46188
46189 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46190
46191         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46192
46193 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46194
46195         [BZ #13738]
46196         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46197         * manual/fdl-1.3.texi: New file.
46198         * manual/fdl-1.1.texi: File removed.
46199
46200         [BZ #13738]
46201         * manual/libc.texinfo (FDL_VERSION): New @set.
46202         Use it for mention of FDL in cover text.
46203         (Documentation License): Use it in @include file name.
46204
46205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46206             Roland McGrath  <roland@hack.frob.com>
46207
46208         [BZ #5461]
46209         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46210         (not LONG_LONG_MAX and LONG_LONG_MIN.
46211         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46212         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46213         name.
46214         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46215
46216 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46217
46218         [BZ #2547]
46219         [BZ #11365]
46220         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46221         manipulate bits before adding and subtracting TWO23[sx].
46222         * math/libm-test.inc (nearbyint_test): Add more tests.
46223
46224 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46225
46226         [BZ #2548]
46227         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46228         bits before adding and subtracting TWO23[sx].
46229         * math/libm-test.inc (rint_test): Add more tests.
46230         (rint_test_tonearest): Likewise.
46231         (rint_test_towardzero): Likewise.
46232         (rint_test_downward): Likewise.
46233         (rint_test_upward: Likewise.
46234
46235 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46236
46237         [BZ #10110]
46238         * include/stdc-predef.h: New file.  Extracted from features.h.
46239         * include/features.h: Include stdc-predef.h.
46240         * Makefile (headers): Add stdc-predef.h.
46241         * CONFORMANCE (Compiler limitations): Update.
46242
46243 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46244
46245         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46246
46247 2012-02-21  David S. Miller  <davem@davemloft.net>
46248
46249         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46250         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46251
46252 2012-02-20  David S. Miller  <davem@davemloft.net>
46253
46254         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46255         using a normal save/restore sequence, rather than allocating a
46256         dummy stack frame just to store a frame pointer and restore.
46257         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46258
46259 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46260
46261         * manual/install.texi: Fix stray word in line-wrapped comment.
46262
46263 2012-02-20  David S. Miller  <davem@davemloft.net>
46264
46265         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46266         both binutils and gcc support GOTDATA.
46267
46268         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46269         "rd %pc" in the PIC register setup sequences.
46270
46271         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46272         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46273         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46274         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46275         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46276         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46277         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46278         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46280         (SYSCALL_ERROR_HANDLER): Likewise.
46281         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46282         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46284         (SYSCALL_ERROR_HANDLER): Likewise.
46285
46286         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46287         (HAVE_GCC_GOTDATA): New.
46288         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46289         relocation support in both binutils and gcc.
46290         * sysdeps/sparc/elf/configure: Regenerate.
46291
46292         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46293         * sysdeps/sparc/sparc32/elf/configure: Delete.
46294         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46295         * sysdeps/sparc/sparc64/elf/configure: Delete.
46296         * sysdeps/sparc/elf/configure.in: New file.
46297         * sysdeps/sparc/elf/configure: Generate.
46298
46299         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46300         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46301         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46302         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46303         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46304
46305 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46306
46307         * manual/install.texi: Do not mention specific glibc version
46308         numbers.
46309         * manual/libc.texinfo (VERSION, UPDATED): Update.
46310         (@copying): Use @copyright{} and range of years.
46311
46312 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46313
46314         [BZ #13695]
46315         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46316         [crti.S not in sysdirs] (generated): Do not append.
46317         [crti.S not in sysdirs] (omit-deps): Likewise.
46318         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46319         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46320         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46321         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46322         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46323         Likewise.
46324         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46325         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46326         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46327         * csu/defs.awk: Remove file.
46328         * sysdeps/generic/initfini.c: Likewise.
46329         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46330         variable.
46331         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46332         Likewise.
46333
46334 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46335
46336         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46337         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46338         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46339         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46340         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46341         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46342         <bits/epoll.h>.
46343         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46344         (__EPOLL_PACKED): Define to empty if not defined by
46345         <bits/epoll.h>.
46346         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46348         bits/epoll.h.
46349
46350 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46351
46352         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46353         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46354         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46355         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46356         <bits/timerfd.h>.
46357         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46359         bits/timerfd.h.
46360
46361 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46362
46363         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46364         in C locale.
46365         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46366         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46367         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46369
46370 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46371
46372         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46373         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46374
46375 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46376
46377         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46378         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46379         defined.
46380         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46381         Likewise.
46382         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46383         entry for 2.16.
46384
46385 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46386
46387         * math/w_acos.c: Use non-signaling floating-point comparisons.
46388         * math/w_acosf.c: Likewise.
46389         * math/w_acosh.c: Likewise.
46390         * math/w_acoshf.c: Likewise.
46391         * math/w_acoshl.c: Likewise.
46392         * math/w_acosl.c: Likewise.
46393         * math/w_asin.c: Likewise.
46394         * math/w_asinf.c: Likewise.
46395         * math/w_asinl.c: Likewise.
46396         * math/w_atanh.c: Likewise.
46397         * math/w_atanhf.c: Likewise.
46398         * math/w_atanhl.c: Likewise.
46399         * math/w_exp2.c: Likewise.
46400         * math/w_exp2f.c: Likewise.
46401         * math/w_exp2l.c: Likewise.
46402         * math/w_j0.c: Likewise.
46403         * math/w_j0f.c: Likewise.
46404         * math/w_j0l.c: Likewise.
46405         * math/w_j1.c: Likewise.
46406         * math/w_j1f.c: Likewise.
46407         * math/w_j1l.c: Likewise.
46408         * math/w_jn.c: Likewise.
46409         * math/w_jnf.c: Likewise.
46410         * math/w_log.c: Likewise.
46411         * math/w_log10.c: Likewise.
46412         * math/w_log10f.c: Likewise.
46413         * math/w_log10l.c: Likewise.
46414         * math/w_log2.c: Likewise.
46415         * math/w_log2f.c: Likewise.
46416         * math/w_log2l.c: Likewise.
46417         * math/w_logf.c: Likewise.
46418         * math/w_logl.c: Likewise.
46419         * math/w_sqrt.c: Likewise.
46420         * math/w_sqrtf.c: Likewise.
46421         * math/w_sqrtl.c: Likewise.
46422         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46423         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46424         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46425         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46426         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46427
46428 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46429
46430         [BZ #9739]
46431         * manual/string.texi (strnlen): Use correct parameter name in
46432         equivalent expression.
46433
46434 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46435
46436         [BZ #11174]
46437         * manual/users.texi (seteuid): Consistently use neweuid for
46438         argument name.
46439
46440 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46441
46442         [BZ #13704]
46443         * manual/nss.texi (Services in the NSS configuration): Correct
46444         list of services in example configuration file.
46445
46446 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46447
46448         [BZ #11322]
46449         * manual/arith.texi: Remove statements about negative zero
46450         behaving identically to zero.
46451
46452 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46453
46454         [BZ #5993]
46455         * manual/install.texi: Do not document upgrading from libc5.
46456
46457 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46458
46459         [BZ #4596]
46460         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46461
46462 2012-02-18  David S. Miller  <davem@davemloft.net>
46463
46464         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46465         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46466         %o7 across the call.
46467         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46468         instead.
46469         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46470         SETUP_PIC_REG_LEAF.
46471         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46472         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46473         * sysdeps/sparc/crtn.S: Likewise.
46474
46475 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46476
46477         * aout/Makefile: Remove.
46478
46479 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46480
46481         [BZ #13058]
46482         * manual/examples/argp-ex1.c (main): Format definition in GNU
46483         style.
46484         * manual/examples/argp-ex2.c (main): Likewise.
46485         * manual/examples/argp-ex3.c (main): Likewise.
46486         * manual/examples/argp-ex4.c (main): Likewise.
46487         * manual/examples/longopt.c (main): Use new-style prototype
46488         definition.
46489         * manual/examples/strncat.c (main): Specify return type and use
46490         (void) for arguments.
46491         * manual/examples/subopt.c (main): Use char **argv argument.
46492
46493 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46494
46495         [BZ #5077]
46496         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46497         rounding modes.
46498
46499 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46500
46501         [BZ #6907]
46502         * manual/string.texi (strchr): Change when strchrnul is
46503         recommended.
46504
46505 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46506
46507         [BZ #174]
46508         * manual/locale.texi (setlocale): Document LOCPATH.
46509
46510 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46511
46512         [BZ #10210]
46513         * manual/process.texi (execle): Move @dots{} before last argument.
46514
46515 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46516
46517         [BZ #12047]
46518         * manual/charset.texi (Generic Charset Conversion): Fix typo
46519         (LC_TYPE -> LC_CTYPE).
46520
46521 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46522
46523         [BZ #5805]
46524         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46525         (scalbnf): Likewise.
46526         (scalbnl): Likewise.
46527         (scalbln): Likewise.
46528         (scalblnf): Likewise.
46529         (scalblnl): Likewise.
46530         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46531         (vwarnx): Likewise.
46532         (verr): Likewise.
46533         (verrx): Likewise.
46534         * manual/filesys.texi (telldir): Use braces around return type.
46535         * manual/llio.texi (mmap): Add space after comma.
46536         (mmap64): Likewise.
46537         * manual/math.texi (jn): Use @var{} on parameter names.
46538         (jnf): Likewise.
46539         (jnl): Likewise.
46540         (yn): Likewise.
46541         (ynf): Likewise.
46542         (ynl): Likewise.
46543         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46544         line.
46545         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46546         "...".
46547         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46548         (sched_get_priority_max): Likewise.
46549         * manual/signal.texi (sigvec): Add space after comma.
46550         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46551         names.
46552         (if_indextoname): Likewise.
46553         (if_freenameindex): Likewise.
46554         (sendto): Use ',' instead of '.' in prototype.
46555         * manual/startup.texi (syscall): Use @dots{} instead of literal
46556         "...".
46557         * manual/stdio.texi (__fpending): Separate initial words of
46558         paragraph from @deftypefun line.
46559         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46560         "...".
46561         (vsyslog): Use @var{} on parameter names.
46562         * manual/terminal.texi (stty): Use @var{} on parameter names.
46563         * manual/users.texi (getutmp): Use @var{} on parameter names.
46564         (getutmpx): Likewise.
46565
46566 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46567
46568         [BZ #6884]
46569         * manual/stdio.texi (fopen): Fix typos in description of
46570         ",ccs=STRING".
46571
46572 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46573
46574         [BZ #4026]
46575         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46576         get clock_id definition.
46577
46578 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46579
46580         [BZ #4822]
46581         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46582         (madvise): Cast every argument to void on its own.
46583
46584 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46585
46586         [BZ #9902]
46587         * manual/startup.texi (Exit Status): Fix typo.
46588
46589 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46590
46591         [BZ #10140]
46592         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46593         * manual/examples/argp-ex2.c: Likewise.
46594         * manual/examples/argp-ex3.c: Likewise.
46595
46596 2012-02-16  Richard Henderson  <rth@redhat.com>
46597
46598         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46599         * sysdeps/s390/s390-32/initfini.c: Remove.
46600         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46601         * sysdeps/s390/s390-64/initfini.c: Remove.
46602
46603 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46604
46605         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46606         compiler output for sysdeps/generic/initfini.c.
46607         * sysdeps/sh/elf/initfini.c: Remove file.
46608
46609 2012-02-16  David S. Miller  <davem@davemloft.net>
46610
46611         [BZ #11494]
46612         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46613
46614         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46615         * sysdeps/sparc/crti.S: New file.
46616         * sysdeps/sparc/crtn.S: New file.
46617         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46618         * sysdeps/sparc/sparc64/Makefile: Likewise.
46619
46620 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46621
46622         [BZ #3335]
46623         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46624
46625 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46626
46627         [BZ #4822]
46628         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46629
46630         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46631         (write, read, close): Likewise.
46632         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46633
46634 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46635
46636         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46637         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46638         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46639         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46640         <bits/signalfd.h>.
46641         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46643         bits/signalfd.h.
46644
46645 2012-02-14  Marek Polacek  <polacek@redhat.com>
46646
46647         * sysdeps/x86_64/crti.S: New file.
46648         * sysdeps/x86_64/crtn.S: New file.
46649         * sysdeps/x86_64/elf/initfini.c: Remove file.
46650
46651 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46652
46653         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46654         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46655         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46656         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46657         <bits/inotify.h>.
46658         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46660         bits/inotify.h.
46661
46662 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46663
46664         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46665         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46666         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46667         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46668         <bits/eventfd.h>.
46669         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46671         bits/eventfd.h.
46672
46673 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46674
46675         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46676         __feraiseexcept instead of feraiseexcept.
46677
46678         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46679         nanosleep invocations.
46680         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46681         strings, and add error checking for a nanosleep invocations.
46682
46683 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46684
46685         Replace FSF snail mail address with URLs, as per GNU coding standards.
46686         Most of the snail mail addresses were wrong anyway, and omitting
46687         them makes the source code easier to maintain.  Almost all of the
46688         changes are to license notices and to locale LC_IDENTIFICATION
46689         addresses, except for this one:
46690         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46691         not its snail mail address.
46692
46693 2012-02-09  Richard Henderson  <rth@twiddle.net>
46694
46695         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46696         of kernel-features.h.
46697
46698         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46699
46700 2012-02-08  Marek Polacek  <polacek@redhat.com>
46701
46702         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46703         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46704         * sysdeps/gnu/_G_config.h: Likewise.
46705         * sysdeps/generic/_G_config.h: Likewise.
46706
46707 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46708
46709         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46710         tests.
46711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46712
46713         * sysdeps/powerpc/powerpc32/crti.S: New file.
46714         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46715         * sysdeps/powerpc/powerpc64/crti.S: New file.
46716         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46717
46718         * Makeconfig (have-initfini): Don't set.
46719         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46720         * configure.in (nopic_initfini): Don't substitute.
46721         * config.h.in (HAVE_INITFINI): Don't #undef.
46722         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46723         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46724
46725 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46726
46727         Support crti.S and crtn.S provided directly by architectures.
46728         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46729         [crti.S in sysdirs] (omit-deps): Likewise.
46730         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46731         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46732         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46733         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46734         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46735         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46736         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46737         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46738         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46739         compiler output for sysdeps/generic/initfini.c.
46740         * sysdeps/i386/elf/Makefile: Remove file.
46741         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46742
46743 2012-02-07  Marek Polacek  <polacek@redhat.com>
46744
46745         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46746         * sysdeps/gnu/_G_config.h: Likewise.
46747         * sysdeps/mach/hurd/_G_config.h: Likewise.
46748
46749 2012-02-07  Marek Polacek  <polacek@redhat.com>
46750
46751         * math/Makefile (tests): Add tst-CMPLX2.
46752         * math/tst-CMPLX2.c: New file.
46753
46754 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46755
46756         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46757
46758         * math/libm-test.inc (jn_test): Add missing L suffix.
46759
46760 2012-02-06  Marek Polacek  <polacek@redhat.com>
46761
46762         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46763         * sysdeps/i386/fpu/e_powf.S: Likewise.
46764         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46765         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46766         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46767         * sysdeps/i386/fpu/e_pow.S: Likewise.
46768         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46769         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46770         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46771         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46772         * sysdeps/i386/fpu/e_log2.S: Likewise.
46773         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46774         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46775         * sysdeps/i386/fpu/e_powl.S: Likewise.
46776         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46777         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46778         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46779         * sysdeps/i386/fpu/e_logl.S: Likewise.
46780         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46781         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46782         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46783         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46784         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46785         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46786         * sysdeps/i386/fpu/e_log.S: Likewise.
46787         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46788         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46789         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46790         * sysdeps/i386/fpu/e_logf.S: Likewise.
46791         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46792         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46793         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46794         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46795         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46796         * sysdeps/i386/fpu/e_log10.S: Likewise.
46797         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46798         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46799         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46800         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46801         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46802         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46803         * sysdeps/i386/asm-syntax.h: Likewise.
46804         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46805         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46806         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46807         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46808         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46809         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46810         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46811         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46812         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46813         * sysdeps/powerpc/sysdep.h: Likewise.
46814         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46815         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46816
46817 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46818
46819         [BZ #411]
46820         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46821
46822 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46823
46824         * sysdeps/i386/sysdep.h: Include <features.h>.
46825         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46826         version.
46827
46828 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46829
46830         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46831         Define.
46832         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46833         LOAD_PIC_REG_STR.
46834
46835 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46836
46837         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46838         (SETUP_PIC_REG): Use GET_PC_THUNK.
46839         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46840         macro.
46841
46842 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46843
46844         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46845         for non-PIC compilation.
46846         (SETUP_PIC_REG): Add .p2align directive.
46847         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46848         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46849         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46850         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46851         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46852         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46853         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46854         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46855         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46856         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46857         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46858         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46859         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46860         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46861         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46862         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46863         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46864         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46865         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46866         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46867         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46868         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46869         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46870         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46871         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46872         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46873         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46874         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46875         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46876         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46877         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46878         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46879         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46880         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46881         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46882         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46883         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46884         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46885         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46886         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46887         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46888
46889 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46890
46891         * math/tst-CMPLX.c: Include <stdio.h>.
46892
46893 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46894
46895         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46896         float.
46897         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46898         * sysdeps/sparc/bits/mathdef.h: Likewise.
46899
46900 2012-01-31  Marek Polacek  <polacek@redhat.com>
46901
46902         * libio/libio.h: Don't define _PARAMS.
46903         * locale/programs/config.h: Don't define PARAMS.
46904         * stdlib/strtol_l.c: Likewise.
46905         (__strtol_l): Remove PARAMS from the prototype.
46906
46907 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46908
46909         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46910         names.  Just use the correct names.  Remove unnecessary wrapper
46911         functions.
46912         * malloc/arena.c: Likewise.
46913         * malloc/hooks.c: Likewise.
46914
46915         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46916         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46917         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46918
46919 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46920
46921         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46922         into tail calls.
46923         (update_get_addr): New function.
46924         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46925         GET_ADDR_MODULE parameter.
46926
46927 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46928
46929         * crypt/cert.c: Remove __STDC__ conditionals.
46930         * crypt/crypt-entry.c: Likewise.
46931         * crypt/crypt_util.c: Likewise.
46932         * libio/filedoalloc.c: Likewise.
46933         * libio/fileops.c: Likewise.
46934         * libio/genops.c: Likewise.
46935         * libio/iofclose.c: Likewise.
46936         * libio/iofdopen.c: Likewise.
46937         * libio/iofopen.c: Likewise.
46938         * libio/iofopen64.c: Likewise.
46939         * libio/iogetdelim.c: Likewise.
46940         * libio/iopopen.c: Likewise.
46941         * libio/obprintf.c: Likewise.
46942         * libio/oldfileops.c: Likewise.
46943         * libio/oldiofclose.c: Likewise.
46944         * libio/oldiofdopen.c: Likewise.
46945         * libio/oldiofopen.c: Likewise.
46946         * libio/oldiopopen.c: Likewise.
46947         * libio/wfiledoalloc.c: Likewise.
46948         * libio/wgenops.c: Likewise.
46949         * locale/programs/xmalloc.c: Likewise.
46950         * misc/syslog.c: Likewise.
46951         * stdio-common/xbug.c: Likewise.
46952         * string/memchr.c: Likewise.
46953         * string/memcmp.c: Likewise.
46954         * string/memrchr.c: Likewise.
46955         * string/rawmemchr.c: Likewise.
46956         * sysdeps/posix/getcwd.c: Likewise.
46957         * time/strftime_l.c: Likewise.
46958
46959 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46960
46961         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46962         * config.make.in (config-cflags-sse2avx): Define.
46963         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46964         Fix typo.
46965
46966 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46967
46968         * scripts/config.guess: Update from upstream config git repository.
46969         * scripts/config.sub: Likewise.
46970
46971 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46972
46973         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46974         (EM_NUM): Update.
46975         (R_TILEPRO_*, R_TILEGX_*): New macros.
46976
46977         * scripts/firstversions.awk: Fix bug in version range handling.
46978
46979         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46980
46981         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46982
46983         * include/sys/epoll.h: New file.
46984         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46985         libc_hidden_def.
46986
46987 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46988
46989         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46990         Avoid unnecessary __WORDSIZE == 64 test.
46991         (fmaxf): Use VEX format if possible.
46992         (fmax): Likewise.
46993         (fminf): Likewise.
46994         (fmin): Likewise.
46995
46996         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46997         * math/math_private.h: Remove libc_fegetround* and
46998         libc_fesetround*.
46999         * sysdeps/i386/configure.in: Check for -msse2avx.
47000         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47001         also if SSE2AVX is defined.
47002         Remove libc_fegetround* and libc_fesetround*.
47003         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47004         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47005         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47006         of HAS_YMM_USABLE.
47007         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47008         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47009         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47010         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47011         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47012
47013         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47014
47015 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47016
47017         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47018         size is not set.
47019         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47020
47021 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47022
47023         [BZ #13618]
47024         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47025         relocation.
47026         * Makeconfig (libm): Define.
47027         * elf/Makefile: Add rules to build and run tst-relsort1.
47028         * elf/tst-relsort1.c: New file.
47029         * elf/tst-relsort1mod1.c: New file.
47030         * elf/tst-relsort1mod2.c: New file.
47031
47032 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47033
47034         * math/s_ldexp.c: Remove __STDC__ conditionals.
47035         * math/s_ldexpf.c: Likewise.
47036         * math/s_ldexpl.c: Likewise.
47037         * math/s_nextafter.c: Likewise.
47038         * math/s_nexttowardf.c: Likewise.
47039         * math/s_significand.c: Likewise.
47040         * math/s_significandf.c: Likewise.
47041         * math/s_significandl.c: Likewise.
47042         * math/w_jnl.c: Likewise.
47043         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47044         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47045         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47046         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47047         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47048         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47049         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47050         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47051         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47052         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47053         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47054         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47055         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47056         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47057         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47058         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47059         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47060         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47061         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47062         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47063         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47064         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47065         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47066         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47067         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47068         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47069         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47070         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47071         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47072         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47073         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47074         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47075         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47076         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47077         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47078         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47079         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47080         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47081         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47082         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47083         * sysdeps/ieee754/k_standard.c: Likewise.
47084         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47085         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47086         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47087         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47088         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47089         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47090         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47091         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47092         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47093         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47094         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47095         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47096         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47097         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47098         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47100         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47101         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47102         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47103         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47104         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47105         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47106         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47107         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47108         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47109         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47110         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47111         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47112         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47113         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47114         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47115         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47116         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47117         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47119         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47120         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47121         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47122         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47123         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47124         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47125         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47126         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47127         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47128         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47129         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47130         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47131         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47132         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47134         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47135         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47136         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47137         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47138         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47139         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47141         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47145         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47146         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47147         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47149         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47150         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47151         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47153         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47154         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47155         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47156         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47157         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47158         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47159         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47163         * sysdeps/ieee754/s_matherr.c: Likewise.
47164         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47165         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47166         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47168
47169 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47170
47171         * crypt/md5.h: Remove __STDC__ conditionals.
47172         * libio/libioP.h: Likewise.
47173         * locale/programs/config.h: Likewise.
47174         * sysdeps/generic/sysdep.h: Likewise.
47175         * sysdeps/i386/asm-syntax.h: Likewise.
47176         * sysdeps/s390/asm-syntax.h: Likewise.
47177         * sysdeps/unix/sysdep.h: Likewise.
47178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47180
47181 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47182
47183         * libio/libio.h: Remove __STDC__ conditionals.
47184         * malloc/obstack.h: Likewise.
47185         * math/complex.h: Likewise.
47186         * math/math.h: Likewise.
47187         * sysdeps/generic/_G_config.h: Likewise.
47188         * sysdeps/gnu/_G_config.h: Likewise.
47189         * sysdeps/mach/hurd/_G_config.h: Likewise.
47190         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47191         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47192         * sysdeps/sparc/bits/mathdef.h: Likewise.
47193
47194 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47195
47196         [BZ #13583]
47197         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47198         Clean up HAS_* macros.
47199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47200         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47201         possible.
47202         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47203         HAS_AVX.
47204         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47205         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47206         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47207         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47208         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47209
47210 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47211
47212         * elf/tst-unique3.cc (gets): Remove declaration.
47213         * elf/tst-unique3lib.cc (gets): Likewise.
47214         * elf/tst-unique3lib2.cc (gets): Likewise.
47215         * elf/tst-unique4.cc (gets): Likewise.
47216
47217 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47218
47219         * include/stdio.h: Add C++ protection.  Add gets declarations and
47220         definitions.
47221         * debug/tst-chk1.c: Don't declare gets here.
47222         * stdio-common/tst-gets.c: Likewise.
47223
47224 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47225
47226         * posix/glob: Remove directory.
47227
47228 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47229
47230         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47231
47232 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47233
47234         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47235         of the non-standard EPFNOSUPPORT.
47236
47237 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47238
47239         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47240         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47241         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47242
47243 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47244
47245         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47246
47247 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47248
47249         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47250         transient errors.
47251         * nscd/grpcache.c (cache_addgr): Likewise.
47252         * nscd/hstcache.c (cache_addhst): Likewise.
47253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47254         * nscd/pwdcache.c (cache_addpw): Likewise.
47255         * nscd/servicescache.c (cache_addserv): Likewise.
47256
47257 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47258
47259         * malloc/malloc.c: Various cleanups.
47260         * malloc/hooks.c: Likewise.
47261
47262         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47263         * stdlib/bug-fmtmsg1.c: New file.
47264
47265         * stdlib/fmtmsg.c (init): Add missing unlock.
47266         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47267
47268 2012-01-12  Marek Polacek  <polacek@redhat.com>
47269
47270         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47271         and _GNU_SOURCE.
47272
47273 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47274
47275         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47276         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47277         macro to ensure uniqueness of label name.
47278         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47279         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47280
47281 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47282
47283         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47284
47285         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47286         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47287         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47289
47290 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47291
47292         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47293
47294         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47295         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47296         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47297
47298         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47299
47300         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47301         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47302         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47303         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47304
47305         * math/bits/math-finite.h: Add ldexp support.
47306
47307 2012-01-10  Marek Polacek  <polacek@redhat.com>
47308
47309         * locale/programs/localedef.h (show_archive_content): Add noreturn
47310         attribute.
47311
47312 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47313
47314         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47315
47316 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47317
47318         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47319
47320         * io/Makefile (headers): Add bits/poll2.h.
47321
47322 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47323
47324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47325         typo #include statement.
47326
47327 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47328
47329         * include/sys/cdefs.h: Define __attribute_alloc_size.
47330         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47331         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47332         * elf/pldd.c: Likewise.
47333         * iconv/iconv_charmap.c: Likewise.
47334         * iconv/iconvconfig.c: Likewise.
47335         * iconv/strtab.c: Likewise.
47336         * locale/programs/locale.c: Likewise.
47337         * locale/programs/localedef.h: Likewise.
47338         * locale/programs/simple-hash.c: Likewise.
47339         * nscd/nscd.h: Likewise.
47340         * nss/makedb.c: Likewise.
47341         * sysdeps/generic/ldconfig.h: Likewise.
47342         * locale/programs/localedef.c: Remove xmalloc prototype.
47343         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47344
47345 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47346
47347         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47348         appropriate.
47349
47350 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47351
47352         * math/Makefile (tests): Add tst-CMPLX.
47353         * math/tst-CMPLX.c: New file.
47354
47355         * math/complex.h (CMPLXL): Fix typo.
47356
47357         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47358         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47359         GLIBC_2.16.
47360         * debug/tst-chk1.c: Add poll and ppoll tests.
47361         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47362         * include/sys/poll.h: Add hidden proto for ppoll.
47363         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47364         * sysdeps/mach/hurd/ppoll.c: Likewise.
47365         * io/ppoll.c: Likewise.
47366         * debug/poll_chk.c: New file.
47367         * debug/ppoll_chk.c: New file.
47368         * include/bits/poll2.h: New file.
47369         * io/bits/poll2.h: New file.
47370
47371         [BZ #1350]
47372         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47373
47374         * configure.in: static is always set to yes.  Remove.
47375         * config.make.in: Don't set build-static.
47376         * Makeconfig: Remove use of build-static.
47377         * dlfcn/Makefile: Likewise.
47378         * elf/Makefile: Likewise.
47379         * math/Makefile: Likewise.
47380         * misc/Makefile: Likewise.
47381         * nptl/Makefile: Likewise.
47382         * sysdeps/mach/hurd/Makefile: Likewise.
47383
47384         * configure.in: PWD_P is not used anymore.
47385         * config.make.in: Remove PWD_P entry.
47386
47387         * configure.in: Remove last remnants of RANLIB.
47388         No need to check for signed size_t anymore.
47389         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47390         and IA-64.
47391         Remove __builtin_expect test because we require at least gcc 3.4.
47392         * aclocal.m4: Likewise.
47393
47394         * wcsmbs/mbrtoc16.c: Implement using towc function.
47395         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47396         * wcsmbs/wcsmbsload.c: Likewise.
47397         * iconv/gconv_simple.c: Likewise.
47398         * iconv/gconv_int.h: Likewise.
47399         * iconv/gconv_builtin.h: Likewise.
47400         * iconv/iconv_prog.c: Remove CHAR16 handling.
47401
47402         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47403
47404         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47405
47406         * configure.in: Remove --with-elf and --enable-bounded options.
47407         Dont set base_machine for ia64.  More non-ELF conditions removed.
47408         Remove testing and setting of leading underscore information.
47409         * config.make.in (build-bounded): Set to no.
47410         * config.h.in: Remove NO_UNDERSCORES entry.
47411         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47412         them.
47413         * csu/start.c: Remove !NO_UNDERSCORE code.
47414         * locale/localeinfo.h: Likewise.
47415         * sysdeps/generic/machine-gmon.h: Likewise.
47416         * sysdeps/generic/sysdep.h: Likewise.
47417         * sysdeps/i386/sysdep.h: Likewise.
47418         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47419         * sysdeps/mach/sysdep.h: Likewise.
47420         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47421         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47422         * sysdeps/sh/sysdep.h: Likewise.
47423         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47424         * sysdeps/unix/i386/sysdep.S: Likewise.
47425         * sysdeps/unix/sparc/start.c: Likewise.
47426         * sysdeps/unix/sparc/sysdep.S: Likewise.
47427         * sysdeps/unix/sparc/sysdep.h: Likewise.
47428         * sysdeps/unix/start.c: Likewise.
47429         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47430         * sysdeps/x86_64/sysdep.h: Likewise.
47431
47432 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47433
47434         [BZ #13553]
47435         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47436         for non-gcc.
47437         * argp/argp-fmtstream.h: Use const instead __const.
47438         * argp/argp.h: Likewise.
47439         * assert/assert.h: Likewise.
47440         * bits/fenv.h: Likewise.
47441         * bits/sched.h: Likewise.
47442         * bits/sigset.h: Likewise.
47443         * bits/sigthread.h: Likewise.
47444         * catgets/nl_types.h: Likewise.
47445         * conform/data/pthread.h-data: Likewise.
47446         * crypt/crypt-private.h: Likewise.
47447         * crypt/crypt.h: Likewise.
47448         * crypt/crypt_util.c: Likewise.
47449         * ctype/ctype.h: Likewise.
47450         * debug/execinfo.h: Likewise.
47451         * debug/mbsnrtowcs_chk.c: Likewise.
47452         * debug/mbsrtowcs_chk.c: Likewise.
47453         * debug/wcsnrtombs_chk.c: Likewise.
47454         * debug/wcsrtombs_chk.c: Likewise.
47455         * debug/wcstombs_chk.c: Likewise.
47456         * dirent/dirent.h: Likewise.
47457         * dlfcn/dlfcn.h: Likewise.
47458         * elf/neededtest4.c: Likewise.
47459         * grp/grp.h: Likewise.
47460         * gshadow/gshadow.h: Likewise.
47461         * iconv/gconv.h: Likewise.
47462         * iconv/gconv_int.h: Likewise.
47463         * iconv/gconv_simple.c: Likewise.
47464         * iconv/iconv.h: Likewise.
47465         * iconv/loop.c: Likewise.
47466         * iconv/skeleton.c: Likewise.
47467         * include/aio.h: Likewise.
47468         * include/aliases.h: Likewise.
47469         * include/argz.h: Likewise.
47470         * include/arpa/inet.h: Likewise.
47471         * include/assert.h: Likewise.
47472         * include/dirent.h: Likewise.
47473         * include/dlfcn.h: Likewise.
47474         * include/execinfo.h: Likewise.
47475         * include/fcntl.h: Likewise.
47476         * include/fenv.h: Likewise.
47477         * include/glob.h: Likewise.
47478         * include/grp.h: Likewise.
47479         * include/libintl.h: Likewise.
47480         * include/mntent.h: Likewise.
47481         * include/netdb.h: Likewise.
47482         * include/pwd.h: Likewise.
47483         * include/rpc/netdb.h: Likewise.
47484         * include/sched.h: Likewise.
47485         * include/search.h: Likewise.
47486         * include/shadow.h: Likewise.
47487         * include/signal.h: Likewise.
47488         * include/stdio.h: Likewise.
47489         * include/stdlib.h: Likewise.
47490         * include/string.h: Likewise.
47491         * include/sys/socket.h: Likewise.
47492         * include/sys/stat.h: Likewise.
47493         * include/sys/statfs.h: Likewise.
47494         * include/sys/statvfs.h: Likewise.
47495         * include/sys/syslog.h: Likewise.
47496         * include/sys/time.h: Likewise.
47497         * include/sys/uio.h: Likewise.
47498         * include/time.h: Likewise.
47499         * include/unistd.h: Likewise.
47500         * include/utmp.h: Likewise.
47501         * include/wchar.h: Likewise.
47502         * include/wctype.h: Likewise.
47503         * inet/aliases.h: Likewise.
47504         * inet/arpa/inet.h: Likewise.
47505         * inet/netinet/ether.h: Likewise.
47506         * inet/netinet/in.h: Likewise.
47507         * intl/libintl.h: Likewise.
47508         * io/bits/fcntl2.h: Likewise.
47509         * io/fcntl.h: Likewise.
47510         * io/ftw.h: Likewise.
47511         * io/sys/poll.h: Likewise.
47512         * io/sys/stat.h: Likewise.
47513         * io/sys/statfs.h: Likewise.
47514         * io/sys/statvfs.h: Likewise.
47515         * io/utime.h: Likewise.
47516         * libio/bits/stdio.h: Likewise.
47517         * libio/bits/stdio2.h: Likewise.
47518         * libio/libio.h: Likewise.
47519         * libio/libioP.h: Likewise.
47520         * libio/stdio.h: Likewise.
47521         * locale/lc-ctype.c: Likewise.
47522         * locale/locale.h: Likewise.
47523         * login/utmp.h: Likewise.
47524         * malloc/arena.c: Likewise.
47525         * malloc/malloc.c: Likewise.
47526         * malloc/malloc.h: Likewise.
47527         * malloc/mcheck.c: Likewise.
47528         * malloc/mtrace.c: Likewise.
47529         * math/bits/mathcalls.h: Likewise.
47530         * math/fenv.h: Likewise.
47531         * math/math_private.h: Likewise.
47532         * misc/bits/error.h: Likewise.
47533         * misc/bits/syslog.h: Likewise.
47534         * misc/err.h: Likewise.
47535         * misc/error.h: Likewise.
47536         * misc/fstab.h: Likewise.
47537         * misc/mntent.h: Likewise.
47538         * misc/regexp.h: Likewise.
47539         * misc/search.h: Likewise.
47540         * misc/sgtty.h: Likewise.
47541         * misc/sys/mman.h: Likewise.
47542         * misc/sys/syslog.h: Likewise.
47543         * misc/sys/uio.h: Likewise.
47544         * misc/sys/xattr.h: Likewise.
47545         * misc/ttyent.h: Likewise.
47546         * nis/rpcsvc/ypclnt.h: Likewise.
47547         * nss/nss.h: Likewise.
47548         * posix/bits/unistd.h: Likewise.
47549         * posix/fnmatch.h: Likewise.
47550         * posix/glob.h: Likewise.
47551         * posix/sched.h: Likewise.
47552         * posix/spawn.h: Likewise.
47553         * posix/sys/wait.h: Likewise.
47554         * posix/unistd.h: Likewise.
47555         * posix/wordexp.h: Likewise.
47556         * pwd/pwd.h: Likewise.
47557         * resolv/netdb.h: Likewise.
47558         * resource/sys/resource.h: Likewise.
47559         * rt/aio.h: Likewise.
47560         * rt/bits/mqueue2.h: Likewise.
47561         * rt/mqueue.h: Likewise.
47562         * shadow/shadow.h: Likewise.
47563         * signal/signal.h: Likewise.
47564         * socket/send.c: Likewise.
47565         * socket/sendto.c: Likewise.
47566         * socket/sys/socket.h: Likewise.
47567         * stdio-common/printf.h: Likewise.
47568         * stdlib/bits/stdlib.h: Likewise.
47569         * stdlib/fmtmsg.h: Likewise.
47570         * stdlib/monetary.h: Likewise.
47571         * stdlib/stdlib.h: Likewise.
47572         * stdlib/ucontext.h: Likewise.
47573         * streams/stropts.h: Likewise.
47574         * string/argz.h: Likewise.
47575         * string/bits/string2.h: Likewise.
47576         * string/string.h: Likewise.
47577         * string/strings.h: Likewise.
47578         * sunrpc/rpc/auth.h: Likewise.
47579         * sunrpc/rpc/auth_des.h: Likewise.
47580         * sunrpc/rpc/clnt.h: Likewise.
47581         * sunrpc/rpc/netdb.h: Likewise.
47582         * sunrpc/rpc/pmap_clnt.h: Likewise.
47583         * sunrpc/rpc/xdr.h: Likewise.
47584         * sysdeps/generic/inttypes.h: Likewise.
47585         * sysdeps/generic/net/if.h: Likewise.
47586         * sysdeps/generic/sys/swap.h: Likewise.
47587         * sysdeps/gnu/net/if.h: Likewise.
47588         * sysdeps/gnu/utmpx.h: Likewise.
47589         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47590         * sysdeps/i386/i486/bits/string.h: Likewise.
47591         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47592         * sysdeps/s390/bits/string.h: Likewise.
47593         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47594         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47595         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47596         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47597         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47598         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47599         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47600         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47601         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47602         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47603         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47604         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47605         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47606         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47607         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47608         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47609         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47611         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47612         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47613         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47614         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47615         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47616         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47617         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47618         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47619         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47620         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47621         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47622         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47623         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47624         * sysvipc/sys/ipc.h: Likewise.
47625         * sysvipc/sys/msg.h: Likewise.
47626         * sysvipc/sys/sem.h: Likewise.
47627         * sysvipc/sys/shm.h: Likewise.
47628         * termios/termios.h: Likewise.
47629         * time/sys/time.h: Likewise.
47630         * time/time.h: Likewise.
47631         * wcsmbs/bits/wchar2.h: Likewise.
47632         * wcsmbs/uchar.h: Likewise.
47633         * wcsmbs/wchar.h: Likewise.
47634         * wctype/wctype.h: Likewise.
47635
47636         [BZ #13551]
47637         * Makeconfig: Remove all but ELF support including AIX support.
47638         * Makerules: Likewise.
47639         * config.h.in: Likewise.
47640         * config.make.in: Likewise.
47641         * configure: Likewise.
47642         * configure.in: Likewise.
47643         * csu/Makefile: Likewise.
47644         * csu/version.c: Likewise.
47645         * debug/Makefile: Likewise.
47646         * dlfcn/Makefile: Likewise.
47647         * elf/Makefile: Likewise.
47648         * extra-lib.mk: Likewise.
47649         * iconv/Makefile: Likewise.
47650         * include/libc-symbols.h: Likewise.
47651         * include/shlib-compat.h: Likewise.
47652         * resolv/Makefile: Likewise.
47653         * resolv/res_libc.c: Likewise.
47654         * rt/Makefile: Likewise.
47655         * sysdeps/i386/asm-syntax.h: Likewise.
47656         * sysdeps/i386/sysdep.h: Likewise.
47657         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47658         * sysdeps/mach/sysdep.h: Likewise.
47659         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47660         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47661         * sysdeps/s390/asm-syntax.h: Likewise.
47662         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47663         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47664         * sysdeps/sh/sysdep.h: Likewise.
47665         * sysdeps/unix/sparc/sysdep.h: Likewise.
47666         * sysdeps/wordsize-32/divdi3.c: Likewise.
47667         * sysdeps/x86_64/sysdep.h: Likewise.
47668
47669         * argp/Versions: Remove _argp_unlock_xxx.
47670
47671         [BZ #13559]
47672         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47673         * abilist/libBrokenLocale.abilist: Likewise.
47674         * abilist/libanl.abilist: Likewise.
47675         * abilist/libc.abilist: Likewise.
47676         * abilist/libcrypt.abilist: Likewise.
47677         * abilist/libdl.abilist: Likewise.
47678         * abilist/libm.abilist: Likewise.
47679         * abilist/libnsl.abilist: Likewise.
47680         * abilist/libpthread.abilist: Likewise.
47681         * abilist/libresolv.abilist: Likewise.
47682         * abilist/librt.abilist: Likewise.
47683         * abilist/libthread_db.abilist: Likewise.
47684         * abilist/libutil.abilist: Likewise.
47685         * abilist/libnss_db.abilist: New file.
47686
47687         * scripts/abilist.awk: Add support for indirect functions.
47688
47689         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47690
47691         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47692
47693         * shlib-versions: Remove entries for ports architectures.
47694
47695         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47696         files in ports.
47697         * elf/stackguard-macros.h: Remove support for IA-64.
47698         * elf/tst-auditmod1.c: Likewise.
47699         * sysdeps/generic/ldsodefs.h: Likewise.
47700
47701         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47702         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47703         configure files.
47704
47705         [BZ #13552]
47706         * configure.in: Remove --enable-omitfp support.
47707         * FAQ.in: Adjust.
47708         * config.make.in: Likewise.
47709         * Makeconfig: Likewise.
47710         * manual/install.texi: Likewise.
47711
47712         In case anyone cares, the IA-64 architecture could move to ports.
47713         * sysdeps/ia64/*: Removed.
47714         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47715         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47716
47717         [BZ #13555]
47718         * configure.in: Remove entries for unsupported architectures.
47719
47720         [BZ #13533]
47721         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47722         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47723         routines.
47724         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47725         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47726         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47727         fall back to using wcrtomb.
47728         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47729         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47730         renaming.
47731         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47732         * wcsmbs/tst-c16c32-1.c: New file.
47733
47734         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47735         local variable.
47736
47737         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47738
47739         * elf/tst-unique3.cc: Add explicit declaration of gets.
47740         * elf/tst-unique3lib.cc: Likewise.
47741         * elf/tst-unique3lib2.cc: Likewise.
47742         * elf/tst-unique4.cc: Likewise.
47743
47744         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47745
47746 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47747
47748         [BZ #13566]
47749         * assert/assert.h (static_assert): Don't define for C++.
47750         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47751         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47752
47753 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47754
47755         * iconv/loop.c (single loop): Fix assertion in storing of
47756         remaining bytes.
47757
47758         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47759
47760 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47761
47762         * posix/getconf.c: Update copyright year.
47763         * nss/getent.c: Likewise.
47764         * nss/makedb.c: Likewise.
47765         * iconv/iconvconfig.c: Likewise.
47766         * iconv/iconv_prog.c: Likewise.
47767         * elf/ldconfig.c: Likewise.
47768         * elf/pldd.c: Likewise.
47769         * elf/sotruss.ksh: Likewise.
47770         * catgets/gencat.c: Likewise.
47771         * csu/version.c: Likewise.
47772         * elf/ldd.bash.in: Likewise.
47773         * elf/sprof.c (print_version): Likewise.
47774         * locale/programs/locale.c: Likewise.
47775         * locale/programs/localedef.c: Likewise.
47776         * login/programs/pt_chown.c: Likewise.
47777         * nscd/nscd.c (print_version): Likewise.
47778         * debug/xtrace.sh: Likewise.
47779         * malloc/memusage.sh: Likewise.
47780         * malloc/mtrace.pl: Likewise.
47781         * debug/catchsegv.sh: Likewise.
47782
47783 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47784
47785         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47786         pure attribute.
47787
47788 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47789
47790         [BZ #13533]
47791         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47792         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47793         transformations.
47794         * iconv/gconv_int.h: Likewise.
47795         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47796         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47797         from libc for GLIBC_2.16.
47798         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47799         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47800         * wcsmbs/uchar.h: Really define mbstate_t.
47801         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47802         * wcsmbs/c16rtomb.c: New file.
47803         * wcsmbs/mbrtoc16.c: New file.
47804         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47805         for C/POSIX locale.
47806         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47807         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47808
47809         * wcsmbs/wchar.h: Add missing __restrict.
47810
47811 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47812
47813         [BZ #13532]
47814         * time/Makefile (routines): Add timespec_get.
47815         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47816         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47817         timespec for ISO C11.
47818         * time/timespec_get.c: New file.
47819         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47820         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47821
47822         [BZ #13531]
47823         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47824         * stdlib/stdlib.h: Declare aligned_alloc.
47825         * Versions.def: Add GLIBC_2.16 for libc.
47826         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47827
47828         [BZ 13527]
47829         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47830         ISO C11.
47831
47832         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47833         code.
47834
47835         [BZ #13528]
47836         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47837
47838         [BZ #13529]
47839         * assert/assert.h (static_assert): Define.
47840
47841         * version.h: Update for 2.16 development version.
47842
47843         [BZ #13526]
47844         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47845         _ISOC11_SOURCE.
47846
47847         * version.h (RELEASE): Bump for 2.15 release.
47848         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47849
47850         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47851         Patch by Marek Polacek <mpolacek@redhat.com>.
47852
47853         * bits/byteswap.h: Protect long long constants with __extension__.
47854         * sysdeps/i386/bits/byteswap.h: Likewise.
47855         * sysdeps/ia64/bits/byteswap.h: Likewise.
47856         * sysdeps/s390/bits/byteswap.h: Likewise.
47857         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47858
47859 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47860
47861         [BZ #13540]
47862         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47863         destination buffer.
47864         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47865
47866 2011-12-23  Marek Polacek  <polacek@redhat.com>
47867
47868         * elf/dl-addr.c (determine_info): Add inline keyword.
47869         * elf/tst-auditmod4b.c (check_avx): Likewise.
47870         * elf/tst-auditmod6b.c (check_avx): Likewise.
47871         * elf/tst-auditmod6c.c (check_avx): Likewise.
47872         * elf/tst-auditmod7b.c (check_avx): Likewise.
47873
47874 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47875
47876         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47877         !__SSE_MATH__.
47878
47879 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47880
47881         [BZ #13540]
47882         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47883         processing for last bytes.
47884
47885 2011-08-06  Bruno Haible  <bruno@clisp.org>
47886
47887         [BZ #13061]
47888         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47889         U+0385, not to U+1FEE.
47890
47891         [BZ #13062]
47892         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47893         entry for U+00A5 U+0301.
47894
47895 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47896
47897         [BZ #13166]
47898         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47899         buffer for the output is too small.
47900
47901         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47902         optimization.
47903
47904         [BZ #13185]
47905         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47906         SSE flags if possible.
47907
47908 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47909
47910         [BZ #13540]
47911         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47912         processing for last bytes.
47913
47914 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47915
47916         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47917         (syscall-list-default-options, syscall-list-default-condition)
47918         (syscall-list-includes): Define.
47919         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47920         list of ABIs and options and #if conditions for each ABI.  Do not
47921         handle common syscalls between ABIs specially.
47922         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47923         Remove.
47924         (syscall-list-variants, syscall-list-32bit-options)
47925         (syscall-list-32bit-condition, syscall-list-64bit-options)
47926         (syscall-list-64bit-condition): Define.
47927         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47928         (syscall-list-variants, syscall-list-32bit-options)
47929         (syscall-list-32bit-condition, syscall-list-64bit-options)
47930         (syscall-list-64bit-condition): Define.
47931         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47932         Remove.
47933         (syscall-list-variants, syscall-list-32bit-options)
47934         (syscall-list-32bit-condition, syscall-list-64bit-options)
47935         (syscall-list-64bit-condition): Define.
47936         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47937         Remove.
47938         (syscall-list-variants, syscall-list-32bit-options)
47939         (syscall-list-32bit-condition, syscall-list-64bit-options)
47940         (syscall-list-64bit-condition): Define.
47941
47942 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47943
47944         * locale/iso-639.def: Add brx entry.
47945
47946         [BZ #13328]
47947         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47948         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47949
47950         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47951         __feraiseexcept_renamed.
47952
47953 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47954
47955         [BZ #13538]
47956         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47957         EPOLLET with unsigned values.
47958         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47959         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47960
47961         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47962         to large cancellation.
47963         * math/s_cacoshf.c: Likewise.
47964         * math/s_cacoshl.c: Likewise.
47965
47966 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47967
47968         [BZ #13305]
47969         [BZ #12786]
47970         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47971         * math/s_cacoshf.c: Likewise.
47972         * math/s_cacoshl.c: Likewise.
47973
47974 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47975
47976         [BZ #13439]
47977         * iconv/gconv.h: Define __GCONV_SWAP.
47978         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47979         * iconvdata/utf-16.c: Likewise.
47980         * iconvdata/utf-32.c: Likewise.
47981
47982 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47983
47984         [BZ #13524]
47985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47986         numerator after shifting it by one limb.
47987
47988 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47989
47990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47991         under [__USE_EXTERN_INLINES].
47992
47993 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47994
47995         [BZ #13446]
47996         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47997
47998 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47999
48000         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48001         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48002         optimized code.
48003         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48004         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48005         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48006         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48007         for strncasecmp/strncasecmp_l compilation.
48008         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48009         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48010
48011 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48012
48013         [BZ #13484]
48014         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48015         of __asm__.
48016
48017 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48018
48019         [BZ #13506]
48020         * time/tzfile.c (__tzfile_read): Check values from file header.
48021
48022 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48023
48024         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48025         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48026         * powerpc/powerpc32/dl-start.S: Likewise.
48027         * powerpc/powerpc32/elf/start.S: Likewise.
48028         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48029         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48030         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48031         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48032         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48033         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48034         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48035         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48036         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48037         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48038         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48039         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48040         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48041         * powerpc/powerpc32/memset.S: Likewise.
48042         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48043         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48044         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48045         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48046         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48047         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48048         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48049         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48050         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48051         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48052         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48053         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48054         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48055
48056 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48057
48058         * math/libm-test.inc: Added more nearbyint tests.
48059         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48060         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48061         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48063
48064 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48065
48066         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48067         FD_CLOEXEC.
48068
48069 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48070
48071         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48072         Add wcscpy-ssse3 wcscpy-c.
48073         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48074         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48075         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48076         * sysdeps/x86_64/wcschr.S: New file.
48077         * sysdeps/x86_64/wcsrchr.S: New file.
48078         * string/test-strcmp.c: Remove checking of wcscmp function for
48079         wrong alignments.
48080         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48081         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48082         wcsrchr-sse2 wcsrchr-c.
48083         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48084         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48085         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48086         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48087         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48088         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48089         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48090         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48091         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48092         * wcsmbc/wcschr.c (WCSCHR): New macro.
48093
48094 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48095
48096         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48097         * wcsmbs/test-wcsrchr.c: New file.
48098         * string/test-strrchr.c: Add wcsrchr support.
48099         (WIDE): New macro.
48100         * wcsmbs/test-wcscpy.c: New file.
48101         * string/test-strcpy.c: Add wcscpy support.
48102         (WIDE): New macro.
48103
48104 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48105
48106         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48107         the inner loop.
48108
48109 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48110
48111         [BZ #13472]
48112         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48113
48114 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48115
48116         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48117         Minor optimizations.
48118
48119         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48120         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48121         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48122
48123 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48124
48125         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48126         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48127         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48128         for gcc to avoid warnings.
48129         * inet/Makefile (tests): Add tst-checks.
48130         * inet/tst-checks.c: New file.
48131
48132         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48133         warning.
48134
48135         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48136         __wmemcmp_sse2.
48137
48138         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48139         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48140
48141         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48142
48143 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48144
48145         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48146         problem.
48147
48148         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48149
48150 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48151
48152         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48153         conditional on GCC version.
48154         (__arch_compare_and_exchange_val_8_acq)
48155         (__arch_compare_and_exchange_val_16_acq)
48156         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48157         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48158         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48159
48160 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48161
48162         * sysdeps/sh/backtrace.c: New file.
48163
48164 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48165
48166         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48167         parenthesis.
48168
48169 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48170
48171         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48172         falling back to utime.
48173
48174 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48175
48176         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48177         expectations for float.
48178
48179 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48180
48181         * locale/weight.h (findidx): Add parameter len.
48182         * locale/weightwc.h (findidx): Likewise.
48183         * posix/fnmatch_loop.c (FCT): Adjust caller.
48184         * posix/regcomp.c (build_equiv_class): Likewise.
48185         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48186         * posix/regexec.c (check_node_accept_bytes): Likewise.
48187         * string/strcoll_l.c (STRCOLL): Likewise.
48188         * string/strxfrm_l.c (STRXFRM): Likewise.
48189
48190 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48191
48192         * Makefile.in: Remove CVSOPT handling.
48193         * configure.in: Remove use of AC_REVISION.
48194         * iconvdata/Makefile (distribute): No need to filter out CVS.
48195         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48196         handling.
48197
48198 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48199
48200         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48201         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48202         [USE_AS_STRNCASECMP_L]: Likewise.
48203         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48204         NO_TLS_DIRECT_SEG_REFS.
48205         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48206         Fix argument offsets for non-PIC.
48207         [USE_AS_STRNCASECMP_L]: Likewise.
48208         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48209         NO_TLS_DIRECT_SEG_REFS.
48210
48211 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48212
48213         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48214         O_CLOEXEC.
48215         * locale/loadlocale.c (_nl_load_locale): Likewise.
48216
48217 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48218
48219         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48220         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48221         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48222         (SYSCALL_GETTIME): Set errno on error.
48223
48224         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48225         count references to noai6ai_cached.
48226
48227 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48228
48229         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48230
48231         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48232         FD_CLOEXEC for /proc/self/maps.
48233
48234         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48235         FD_CLOEXEC for /proc/meminfo.
48236
48237         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48238         gai.conf.
48239
48240         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48241         FD_CLOEXEC for given file.
48242
48243         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48244
48245         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48246         FD_CLOEXEC for /etc/hosts.
48247         (_gethtent): Likewise.
48248
48249         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48250
48251         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48252         cancellation and set FD_CLOEXEC for /etc/netgroup.
48253
48254         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48255         reading /etc/publickey.
48256
48257         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48258         allow cancellation when reading /etc/group.
48259
48260         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48261         cancellation.
48262         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48263
48264         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48265         when using data file.
48266
48267         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48268
48269         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48270         (write_nis_obj): Use "c" and "e" in fopen.
48271
48272         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48273
48274         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48275
48276         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48277
48278         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48279
48280         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48281         locale.alias.
48282
48283         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48284
48285         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48286
48287         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48288
48289         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48290         file parsing and set FD_CLOEXEC.
48291
48292 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48293
48294         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48295
48296 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48297
48298         * malloc/arena.c (arena_get2): Don't call reused_arena when
48299         _int_new_arena failed.
48300
48301 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48302
48303         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48304         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48305         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48306         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48307         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48308         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48309         to compile strcasecmp and strncasecmp.
48310         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48311         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48312
48313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48314
48315 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48316
48317         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48318         locale-defines.sym to gen-as-const-headers.
48319         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48320         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48321         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48322         to compile strcasecmp and strncasecmp.
48323         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48324         strcasecmp_l and strncasecmp_l.
48325         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48326         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48327         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48328         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48329         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48330         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48331         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48332         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48333         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48334         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48335         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48336
48337 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48338
48339         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48340         result of SYSDEP_GETTIME_CPU to retval.
48341         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48342         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48343
48344         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48345         variable.
48346
48347         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48348         mantissa words.
48349         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48350
48351         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48352         from unused variable.
48353
48354         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48355         DWARF definitions.
48356         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48357         for assembling.
48358
48359         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48360         over namespaces.
48361
48362         * sunrpc/rpc_prot.c (rejected): Fix case value.
48363
48364         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48365         unsigned long long int to avoid warnings in shift.
48366
48367         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48368         of use of trans.
48369         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48370         variable tmp.
48371
48372         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48373         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48374         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48375
48376         * nis/nis_table.c (nis_list): Use variable of correct type for
48377         result of __follow_path call.
48378
48379 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48380
48381         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48382         of math functions ceil, trunc, floor, round, and sqrt, when
48383         avaliable on the platform.
48384         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48385         name clash.
48386         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48387         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48388         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48389
48390 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48391
48392         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48394
48395 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48396
48397         * include/unistd.h: Fix __readlink return type.
48398         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48399
48400 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48401
48402         * stdlib/ucontext.h: Undo last change for makecontext.
48403
48404 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48405
48406         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48407
48408         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48409         * setjmp/setjmp.h: Mark functions as non-leaf.
48410         * setjmp/bits/setjmp2.h: Likewise.
48411         * stdlib/ucontext.h: Likewise.
48412
48413 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48414
48415         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48416         (reused_arena): Don't check arena limit.
48417         (arena_get2): Atomically check arena limit.
48418
48419 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48420
48421         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48422         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48423
48424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48425         instructions.
48426
48427 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48428
48429         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48430         handler when locking.
48431
48432         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48433         Fix size of allocated buffer.
48434
48435 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48436
48437         [BZ #10103]
48438         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48439         declarations for long double functions.
48440         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48441
48442         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48443
48444 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48445
48446         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48447         installed.
48448
48449         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48450         is disabled.
48451
48452 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48453
48454         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48455
48456 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48457
48458         * include/alloca.h (stackinfo_alloca_round): Define.
48459         (extend_alloca): Use it.
48460         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48461         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48462         here.
48463
48464         * scripts/check-local-headers.sh: Ignore libaudit.h.
48465
48466         * nscd/Makefile (extra-objs): Make recursively expanded.
48467
48468 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48469
48470         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48471         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48472
48473         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48474         * posix/tst-rfc3484-2.c: Likewise.
48475         * posix/tst-rfc3484-3.c: Likewise.
48476
48477         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48478         process_vm_writev.
48479         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48480         process_vm_writev.
48481         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48482         process_vm_writev from libc using GLIBC_2.15 version.
48483
48484         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48485
48486 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48487
48488         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48489         stack usage.
48490
48491 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48492
48493         [BZ #13367]
48494         * nss/getent.c (initgroups_keys): Show error message in case no group
48495         names are given.
48496
48497         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48498         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48499         __bump_nl_timestamp.
48500         * nscd/connections (nscd_init): When host database is served open
48501         netlink socket and request notification about configuration changes.
48502         (main_loop_poll): Track netlink file descriptor and bump timestamp
48503         in case data becomes available.
48504         (main_loop_epoll): Likewise.
48505         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48506         (database_pers_head): Add extra_data fileds.
48507         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48508         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48509         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48510         Adjust caller.
48511         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48512         in6ai data, call __free_in6ai.
48513         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48514         Add -DHAVE_NETLINK.
48515         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48516         interface information.  Reuse previous data if netlink timestamp
48517         is not changed.
48518         (__bump_nl_timestamp): New function.
48519         (__free_in6ai): New function.
48520
48521 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48522
48523         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48524         close_not_cancel_no_status here.
48525         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48526
48527 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48528
48529         [BZ #13276]
48530         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48531         return value.
48532
48533         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48534         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48535         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48536
48537 2011-07-03  Andreas Jaeger  <aj@suse.de>
48538
48539         [BZ #10709]
48540         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48541         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48542         * math/libm-test.inc (sin_test): Add test case.
48543
48544 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48545
48546         [BZ #13337]
48547         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48548         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48549
48550         * elf/chroot_canon.c (chroot_canon): Cleanups.
48551
48552         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48553
48554         [BZ #13335]
48555         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48556         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48557
48558         * string/test-strchr.c: Make usable for strchrnul testing.
48559         * string/test-strchrnul.c: New file.
48560         * string/Makefile (strop-tests): Add strchrnul.
48561
48562         * po/it.po: Update from translation team.
48563         * po/es.po: Likewise.
48564
48565 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48566
48567         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48568         the three constants needed as parameters.  Drop the others.
48569         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48570         __m128i_strloadu_tolower.
48571         Create and initialize variable zero and use it in all the places
48572         where _mm_setzero_si128 was used.
48573
48574         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48575         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48576         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48577         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48578         anymore.
48579         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48580         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48581         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48582         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48583         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48584         __mpranred, __mptan.
48585         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48586         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48587         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48588         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48589         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48590         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48591         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48592         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48593         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48594
48595 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48596
48597         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48598         redefine if SHARED.
48599         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48600
48601         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48602         wide char related routines to wcsmbs subdir.
48603
48604 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48605
48606         [BZ #13344]
48607         * misc/sys/cdefs.h (__THROWNL): Define.
48608         * posix/unistd.h: Use __THREADNL instead of __THREAD
48609         for memory synchronization functions.
48610
48611 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48612
48613         [BZ #13349]
48614         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48615         doesn't exist.
48616         * manual/stdio.texi (Obstack Streams): Node removed.
48617
48618 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48619
48620         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48621         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48622         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48623
48624         * math/math_private.h (math_force_eval): Allow non-addressable
48625         arguments.
48626         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48627
48628 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48629
48630         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48631         file is not needed.
48632
48633         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48634         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48635         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48636         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48637         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48638         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48639         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48640         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48641         Add AVX variants.
48642         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48643         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48644         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48645         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48646         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48647         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48648         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48649         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48650         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48651         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48652         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48653         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48654         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48655         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48656         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48657         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48658         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48659         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48660         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48661
48662         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48663         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48664
48665         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48666         place.  Use VEX encoding when compiling for AVX.
48667
48668 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48669
48670         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48671         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48672
48673         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48674
48675 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48676
48677         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48678         useless if() expression.
48679         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48680         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48681         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48682         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48683         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48684         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48685         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48686         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48687         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48688         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48689         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48690         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48691         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48692         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48693         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48694         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48695         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48696         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48697         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48698
48699         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48700
48701 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48702
48703         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48704         condition.
48705         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48706
48707 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48708
48709         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48710         .text section.  Avoid duplicate constants.
48711         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48712         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48713         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48714         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48715         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48716         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48718         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48719         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48720         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48721         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48722         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48723         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48724         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48725         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48726         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48727         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48728         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48730         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48731         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48732         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48733         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48734         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48735         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48736         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48737         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48738         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48739         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48740         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48741         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48742         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48743         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48744         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48745         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48746         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48747         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48748         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48749         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48750         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48751         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48752         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48753         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48754         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48755         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48756
48757 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48758
48759         * sysdeps/x86_64/dla.h: Move to ...
48760         * sysdeps/x86_64/fpu/dla.h: ...here.
48761         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48762         situations.  Use __builtin_fma only for gcc 4.6 and up.
48763
48764         * config.make.in: Add have-mfma4 entry.
48765         * configure.in: Substitute libc_cv_cc_fma4.
48766         * math/Makefile (dbl-only-routines): Add sincostab.
48767         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48768         Use __sincostab not sincos.
48769         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48770         name is a macro.
48771         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48774         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48775         using __copysign.
48776         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48777         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48778         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48779         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48780         and __inv.
48781         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48782         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48783         __copysign.
48784         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48785         define aliases when function name is a macro.
48786         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48787         sysdeps/ieee754/dbl-64/sincos.tbl.
48788         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48789         fma4-enabled routines.
48790         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48791         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48792         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48793         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48794         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48795         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48796         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48797         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48798         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48799         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48800         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48801         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48802         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48803         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48804         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48805         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48806         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48807         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48808         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48809         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48810         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48811         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48812         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48813         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48814         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48815         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48816         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48817         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48818         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48819         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48820
48821         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48822         rename.
48823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48824         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48828         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48829         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48830         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48831
48832 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48833
48834         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48835
48836 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48837
48838         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48839
48840         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48841         prediction.
48842         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48843
48844         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48845         Remove unused variable magic_bits.
48846         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48847
48848         * string/strnlen.c: Define and use STRNLEN macro.
48849         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48850         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48851         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48852         * wcsmbs/wcslen.c: Define and use WCSLEN.
48853         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48854         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48855         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48856         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48857         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48858         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48859         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48860
48861 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48862
48863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48864         strnlen-sse2-no-bsf.
48865         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48866         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48867         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48868         Add strnlen support.
48869         (USE_AS_STRNLEN): New macro.
48870         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48871         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48872         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48873         * sysdeps/x86_64/wcslen.S: New file.
48874
48875 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48876
48877         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48878         XMM-moves are used for copying on small sizes.
48879
48880 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48881
48882         * wcsmbs/Makefile (strop-tests): Add wcschr.
48883         * wcsmbs/test-wcschr.c: New file.
48884         * string/test-strchr.c: Update.
48885         Add wcschr support.
48886         (WIDE): New macro.
48887
48888 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48889
48890         * wcsmbs/Makefile (strop-tests): Add wcslen.
48891         * wcsmbs/test-wcslen.c: New file.
48892         * string/test-strlen.c: Update.
48893         Add wcslen support.
48894         (WIDE): New macro.
48895
48896 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48897
48898         * po/it.po: Update from translation team.
48899
48900 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48901
48902         * sysdeps/x86_64/wcscmp.S: Update.
48903         Fix wrong comparison semantics.
48904         wcscmp shall use signed comparison not unsigned.
48905         Don't use substraction to avoid overflow bug.
48906         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48907         * wcsmbc/wcscmp.c: Likewise.
48908         * string/test-strcmp.c: Likewise.
48909         Add new tests to check cases with negative values.
48910
48911 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48912
48913         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48914         * sysdeps/x86_64/dla.h: ...here.  New file.
48915         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48916         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48917         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48918         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48919         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48920         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48921         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48922         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48923         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48924
48925 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48926
48927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48928         __ynl_finite aliases.
48929
48930 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48931
48932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48933
48934         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48935         define DLA_FMA.
48936         [DLA_FMA] (EMULV): Use DLA_FMA.
48937         [DLA_FMA] (MUL12): Use EMULV.
48938         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48939         that are not needed.
48940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48945         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48946         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48947
48948 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48949
48950         * math/s_nan.c: Undef __nan.
48951         * math/s_nanf.c: Undef __nanf.
48952         * math/s_nanl.c: Undef __nanl.
48953         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48954         "math_private.h".
48955
48956 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48957
48958         * math/s_catan.c: Add branch predictions.
48959         * math/s_catanf.c: Likewise.
48960         * math/s_catanh.c: Likewise.
48961         * math/s_catanhf.c: Likewise.
48962         * math/s_catanhl.c: Likewise.
48963         * math/s_catanl.c: Likewise.
48964         * math/s_cexp.c: Likewise.
48965         * math/s_cexpf.c: Likewise.
48966         * math/s_cexpl.c: Likewise.
48967         * math/s_clog.c: Likewise.
48968         * math/s_clog10.c: Likewise.
48969         * math/s_clog10f.c: Likewise.
48970         * math/s_clog10l.c: Likewise.
48971         * math/s_clogf.c: Likewise.
48972         * math/s_clogl.c: Likewise.
48973         * math/s_csqrt.c: Likewise.
48974         * math/s_csqrtf.c: Likewise.
48975         * math/s_csqrtl.c: Likewise.
48976         * math/s_ctanf.c: Likewise.
48977         * math/s_ctanh.c: Likewise.
48978         * math/s_ctanhf.c: Likewise.
48979         * math/s_ctanhl.c: Likewise.
48980         * math/s_ctanl.c: Likewise.
48981
48982         * math/math_private.h: Define __nan, __nanf, __nanl.
48983         * math/s_cacosh.c: Include <math_private.h>.
48984         * math/s_cacoshl.c: Likewise.
48985         * math/s_casinh.c: Likewise.
48986         * math/s_casinhf.c: Likewise.
48987         * math/s_casinhl.c: Likewise.
48988         * math/s_ccos.c: Rely entire on ccosh.
48989         * math/s_ccosf.c: Rely entire on ccoshf.
48990         * math/s_ccosl.c: Rely entirely on ccoshl.
48991         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48992         Remove tests for FE_INVALID.
48993         * math/s_ccoshf.c: Likewise.
48994         * math/s_ccoshl.c: Likewise.
48995         * math/s_csin.c: Likewise.
48996         * math/s_csinf.c: Likewise.
48997         * math/s_csinh.c Likewise.
48998         * math/s_csinhf.c: Likewise.
48999         * math/s_csinhl.c: Likewise.
49000         * math/s_csinl.c: Likewise.
49001         * math/s_ctan.c: Likewise.
49002         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49003         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49004         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49005
49006 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49007
49008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49009         compilation problems.
49010
49011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49012         __builtin_expect.
49013
49014 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49015
49016         * sysdeps/i386/configure.in: Test for -mfma4 option.
49017         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49018         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49019         COMMON_CPUID_INDEX_80000001.
49020         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49021         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49022         use it if FMA3 is not supported.
49023         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49024
49025         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49026         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49027
49028 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49029
49030         [BZ #12892]
49031         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49032         it would create a cycle with a link time dependency.
49033
49034 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49035
49036         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49037         instruction.
49038         * string/Makefile (strop-tests): Add rawmemchr.
49039         * string/test-rawmemchr.c: New file.
49040
49041         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49042         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49043         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49044         when compiling str{,n}casecmp and when AVX is available.  Hook up
49045         new optimized code in initializers.
49046
49047 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49048
49049         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49050         __feraiseexcept instead of feraiseexcept.
49051
49052 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49053
49054         * math/math_private.h: Define defaults for libc_fetestexcept and
49055         libc_feupdateenv.
49056         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49057         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49058         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49059         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49060         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49061         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49062         libc_fetestexcept and libc_feupdateenv.
49063
49064         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49065         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49066         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49067         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49068         libc_feholdexcept_setround.
49069
49070         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49071         Add s_nearbyint-c and s_nearbyintf-c.
49072         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49073         nearbyintf inlines.
49074         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49075         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49076         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49077         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49078
49079         * math/math_private.h: Define defaults for libc_fegetround,
49080         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49081         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49082         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49083         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49084         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49085         standard functions.
49086         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49087         Remove comments and hacks for old compiler versions.
49088         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49089         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49090         libc_feholdexceptl.
49091
49092 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49093
49094         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49095         (__feraiseexcept_renamed): Add __NTH.
49096         (feraiseexcept): Add __NTH.  Rename local variables to fix
49097         namespace violations.
49098
49099 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49100
49101         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49102
49103         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49104
49105         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49106         recently added interfaces.
49107         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49108
49109         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49110         about macro parameter expansion.
49111
49112         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49113         __NO_MATH_INLINES is defined.  Cleanups.
49114
49115         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49116         and __floorf is target has SSE4.1.
49117         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49118         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49119         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49120         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49121
49122         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49123         name.
49124         (floorf): Likewise.
49125
49126         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49127
49128 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49129
49130         * misc/sys/cdefs.h: Fix last change.
49131
49132         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49133         database lookup.
49134
49135 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49136
49137         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49138
49139         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49140         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49141         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49142         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49143         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49144         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49145         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49146         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49147         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49148         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49149         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49150         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49151         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49152         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49153         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49154         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49155         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49156         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49157         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49158         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49159         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49160         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49161
49162         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49163         ceil, ceilf, floor, floorf.
49164
49165         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49166         Perform IRELATIVE relocations last.
49167
49168         * elf/do-rel.h: Add another parameter nrelative, replacing the
49169         local variable with the same name.  Change name of the function
49170         to end in Rel or Rela (uppercase).
49171         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49172         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49173         elf_dynamic_do_##reloc function.
49174
49175 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49176
49177         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49178         is sufficient, at least on modern CPUs.
49179
49180         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49181
49182         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49183         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49184
49185         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49186         __expl_finite.
49187         * math/bits/math-finite.h: Add entries for exp.
49188         * math/e_expl.c: Add __*_finite alias.
49189         * sysdeps/i386/fpu/e_exp.S: Likewise.
49190         * sysdeps/i386/fpu/e_expf.S: Likewise.
49191         * sysdeps/i386/fpu/e_expl.c: Likewise.
49192         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49193         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49194         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49195         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49196         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49197         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49198         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49199
49200         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49201         is sufficient, at least on modern CPUs.
49202
49203         * ctype/ctype-info.c (__ctype_init): Define.
49204         * include/ctype.h (__ctype_init): Declare.
49205         (__ctype_b_loc): The variable is always initialized.
49206         (__ctype_toupper_loc): Likewise.
49207         (__ctype_tolower_loc): Likewise.
49208         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49209         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49210
49211 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49212
49213         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49214
49215         * configure.in: Also look in $cxxmachine/include for C++ system
49216         headers.
49217
49218 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49219
49220         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49221         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49222         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49223         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49224         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49225         (USE_AS_WMEMCMP): New macro.
49226         Fixing indents.
49227         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49228         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49229         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49230         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49232         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49233         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49234         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49235         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49236         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49237         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49238         (USE_AS_WMEMCMP): New macro.
49239         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49240         * sysdeps/string/test-memcmp.c: Update.
49241         Fix simple_wmemcmp.
49242         Add new tests.
49243         * wcsmbs/wmemcmp.c: Update.
49244         (WMEMCMP): New macro.
49245         Fix overflow bug.
49246
49247 2011-10-12  Andreas Jaeger  <aj@suse.de>
49248
49249         [BZ #13268]
49250         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49251
49252 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49253
49254         * libio/iofwide.c (do_length): Avoid warning.
49255
49256         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49257
49258 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49259
49260         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49261
49262         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49263         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49264         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49265         * sysdeps/i386/i686/fpu/e_log.S: New file.
49266         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49267         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49268
49269         * ctype/ctype.h: Add support for inlined isXXX functions when
49270         compiling C++ code.
49271
49272 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49273
49274         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49275
49276         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49277
49278 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49279
49280         [BZ #13291]
49281         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49282
49283 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49284
49285         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49286         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49287         feraiseexcept.
49288
49289         * sysdeps/x86_64/memrchr.S: Check for zero size.
49290
49291         * string/stratcliff.c: Add memrchr tests.
49292
49293 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49294
49295         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49296         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49297         rawmemchr-sse2 rawmemchr-sse2-bsf.
49298         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49299         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49300         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49301         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49302         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49303         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49304         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49305         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49306         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49307         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49308         * string/memrchr.c (MEMRCHR): New macro.
49309
49310 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49311
49312         Add integration with gcc's -ffinite-math-only and optimize wrapper
49313         functions in libm.
49314         * Versions.def: Define GLIBC_2.15 version for libm.
49315         * math/Makefile (headers): Add bits/math-finite.h.
49316         * math/bits/math-finite.h: New file.
49317         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49318         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49319         * math/e_acoshl.c: Add __*_finite alias.
49320         * math/e_acosl.c: Likewise.
49321         * math/e_asinl.c: Likewise.
49322         * math/e_atan2l.c: Likewise.
49323         * math/e_atanhl.c: Likewise.
49324         * math/e_coshl.c: Likewise.
49325         * math/e_exp10.c: Likewise.
49326         * math/e_exp10f.c: Likewise.
49327         * math/e_exp10l.c: Likewise.
49328         * math/e_exp2l.c: Likewise.
49329         * math/e_fmodl.c: Likewise.
49330         * math/e_gammal_r.c: Likewise.
49331         * math/e_hypotl.c: Likewise.
49332         * math/e_j0l.c: Likewise.
49333         * math/e_j1l.c: Likewise.
49334         * math/e_jnl.c: Likewise.
49335         * math/e_lgammal_r.c: Likewise.
49336         * math/e_log10l.c: Likewise.
49337         * math/e_log2l.c: Likewise.
49338         * math/e_logl.c: Likewise.
49339         * math/e_powl.c: Likewise.
49340         * math/e_sinhl.c: Likewise.
49341         * math/e_sqrtl.c: Likewise.
49342         * math/e_scalb.c: Completely rewritten and optimized.
49343         * math/e_scalbf.c: Likewise.
49344         * math/e_scalbl.c: Likewise.
49345         * math/w_acos.c: Likewise.
49346         * math/w_acosf.c: Likewise.
49347         * math/w_acosl.c: Likewise.
49348         * math/w_acosh.c: Likewise.
49349         * math/w_acoshf.c: Likewise.
49350         * math/w_acoshl.c: Likewise.
49351         * math/w_asin.c: Likewise.
49352         * math/w_asinf.c: Likewise.
49353         * math/w_asinl.c: Likewise.
49354         * math/w_atan2.c: Likewise.
49355         * math/w_atan2f.c: Likewise.
49356         * math/w_atan2l.c: Likewise.
49357         * math/w_atanh.c: Likewise.
49358         * math/w_atanhf.c: Likewise.
49359         * math/w_atanhl.c: Likewise.
49360         * math/w_exp10.c: Likewise.
49361         * math/w_exp10f.c: Likewise.
49362         * math/w_exp10l.c: Likewise.
49363         * math/w_fmod.c: Likewise.
49364         * math/w_fmodf.c: Likewise.
49365         * math/w_fmodl.c: Likewise.
49366         * math/w_j0.c: Likewise.
49367         * math/w_j0f.c: Likewise.
49368         * math/w_j0l.c: Likewise.
49369         * math/w_j1.c: Likewise.
49370         * math/w_j1f.c: Likewise.
49371         * math/w_j1l.c: Likewise.
49372         * math/w_jn.c: Likewise.
49373         * math/w_jnf.c: Likewise.
49374         * math/w_log.c: Likewise.
49375         * math/w_logf.c: Likewise.
49376         * math/w_logl.c: Likewise.
49377         * math/w_log10.c: Likewise.
49378         * math/w_log10f.c: Likewise.
49379         * math/w_log10l.c: Likewise.
49380         * math/w_log2.c: Likewise.
49381         * math/w_log2f.c: Likewise.
49382         * math/w_log2l.c: Likewise.
49383         * math/w_pow.c: Likewise.
49384         * math/w_powf.c: Likewise.
49385         * math/w_powl.c: Likewise.
49386         * math/w_remainder.c: Likewise.
49387         * math/w_remainderf.c: Likewise.
49388         * math/w_remainderl.c: Likewise.
49389         * math/w_scalb.c: Likewise.
49390         * math/w_scalbf.c: Likewise.
49391         * math/w_scalbl.c: Likewise.
49392         * math/w_sqrt.c: Likewise.
49393         * math/w_sqrtf.c: Likewise.
49394         * math/w_sqrtl.c: Likewise.
49395         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49396         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49397         used.
49398         * math/math_private.h: Declare __kernel_standard_f.
49399         * math/w_cosh.c: Remove cruft and optimize a bit.
49400         * math/w_coshf.c: Likewise.
49401         * math/w_coshl.c: Likewise.
49402         * math/w_exp2.c: Likewise.
49403         * math/w_exp2f.c: Likewise.
49404         * math/w_exp2l.c: Likewise.
49405         * math/w_hypot.c: Likewise.
49406         * math/w_hypotf.c: Likewise.
49407         * math/w_hypotl.c: Likewise.
49408         * math/w_lgamma.c: Likewise.
49409         * math/w_lgamma_r.c: Likewise.
49410         * math/w_lgammaf.c: Likewise.
49411         * math/w_lgammaf_r.c: Likewise.
49412         * math/w_lgammal.c: Likewise.
49413         * math/w_lgammal_r.c: Likewise.
49414         * math/w_sinh.c: Likewise.
49415         * math/w_sinhf.c: Likewise.
49416         * math/w_sinhl.c: Likewise.
49417         * math/w_tgamma.c: Likewise.
49418         * math/w_tgammaf.c: Likewise.
49419         * math/w_tgammal.c: Likewise.
49420         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49421         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49422         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49423         Minor optimizations.  Pretty printing.  Remove cruft.
49424         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49425         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49426         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49427         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49428         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49429         * sysdeps/i386/fpu/e_asin.S: Likewise.
49430         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49431         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49432         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49433         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49434         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49435         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49436         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49437         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49438         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49439         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49440         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49441         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49442         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49443         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49444         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49445         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49446         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49447         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49448         * sysdeps/i386/fpu/e_log.S: Likewise.
49449         * sysdeps/i386/fpu/e_log10.S: Likewise.
49450         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49451         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49452         * sysdeps/i386/fpu/e_log2.S: Likewise.
49453         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49454         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49455         * sysdeps/i386/fpu/e_logf.S: Likewise.
49456         * sysdeps/i386/fpu/e_logl.S: Likewise.
49457         * sysdeps/i386/fpu/e_pow.S: Likewise.
49458         * sysdeps/i386/fpu/e_powf.S: Likewise.
49459         * sysdeps/i386/fpu/e_powl.S: Likewise.
49460         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49461         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49462         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49463         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49464         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49465         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49466         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49467         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49468         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49469         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49470         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49471         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49472         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49473         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49474         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49475         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49476         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49477         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49478         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49479         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49480         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49481         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49482         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49483         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49484         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49485         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49486         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49487         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49489         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49490         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49491         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49492         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49493         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49494         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49495         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49496         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49497         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49498         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49499         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49500         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49501         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49502         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49503         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49504         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49505         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49506         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49507         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49508         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49509         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49510         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49511         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49512         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49513         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49514         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49515         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49516         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49517         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49518         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49519         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49520         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49521         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49522         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49523         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49524         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49525         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49526         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49527         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49528         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49529         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49530         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49531         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49532         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49533         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49534         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49535         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49536         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49537         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49538         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49539         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49540         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49541         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49542         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49543         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49544         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49546         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49547         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49548         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49549         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49550         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49551         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49552         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49553         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49554         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49555         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49556         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49557         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49558         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49559         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49560         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49561         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49562         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49563         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49564         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49565         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49566         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49567         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49568         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49569         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49570         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49571         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49572         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49573         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49574         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49575         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49576         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49577         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49578         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49579         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49580         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49581         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49582         (__isnanf): Likewise.
49583         (__isinf_ns): Likewise.
49584         (__isinf_nsf): Likewise.
49585         (__finite): Likewise.
49586         (__finitef): Likewise.
49587         (__ieee754_sqrt): Define as macro.
49588         (__ieee754_sqrtf): Define as macro.
49589         (__ieee754_sqrtl): Define as macro.
49590         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49591         inlined copy.
49592         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49593         __FINITE_MATH_ONLY__ consistent.
49594         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49595
49596 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49597
49598         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49599         of rawmemchr.
49600
49601         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49602
49603 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49604
49605         * po/ja.po: Update from translation team.
49606
49607 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49608
49609         * locale/programs/locarchive.c (prepare_address_space): New function.
49610         (create_archive, enlarge_archive, open_archive): Use it.
49611
49612         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49613         inside [SHARED], where it is used.
49614
49615         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49616
49617         * nss/getent.c (netgroup_keys): Remove unused variable.
49618         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49619
49620 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49621
49622         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49623         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49624         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49625         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49626         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49627         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49628         * math/Makefile (libm-calls): Add s_isinf_ns.
49629         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49630         * math/multc3.c: Likewise.
49631         * math/s_casin.c: Likewise.
49632         * math/s_casinf.c: Likewise.
49633         * math/s_casinl.c: Likewise.
49634         * math/s_ccos.c: Likewise.
49635         * math/s_ccosf.c: Likewise.
49636         * math/s_ccosl.c: Likewise.
49637         * math/s_ctan.c: Likewise.
49638         * math/s_ctanf.c: Likewise.
49639         * math/s_ctanh.c: Likewise.
49640         * math/s_ctanhf.c: Likewise.
49641         * math/s_ctanhl.c: Likewise.
49642         * math/s_ctanl.c: Likewise.
49643         * math/w_fmod.c: Likewise.
49644         * math/w_fmodf.c: Likewise.
49645         * math/w_fmodl.c: Likewise.
49646         * math/w_remainder.c: Likewise.
49647         * math/w_remainderf.c: Likewise.
49648         * math/w_remainderl.c: Likewise.
49649         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49650         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49651         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49653         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49654         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49655         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49656         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49657
49658         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49659         of the number.
49660         * stdio-common/printf_fphex.c: Likewise.
49661         * stdio-common/printf_size.c: Likewise.
49662
49663         * math/e_exp10.c: Include math_private.h using <...> not "...".
49664         * math/e_exp10f.c: Likewise.
49665         * math/e_exp10l.c: Likewise.
49666         * math/e_exp2l.c: Likewise.
49667         * math/e_j0l.c: Likewise.
49668         * math/e_j1l.c: Likewise.
49669         * math/e_jnl.c: Likewise.
49670         * math/e_lgammal_r.c: Likewise.
49671         * math/e_rem_pio2l.c: Likewise.
49672         * math/e_scalb.c: Likewise.
49673         * math/e_scalbf.c: Likewise.
49674         * math/e_scalbl.c: Likewise.
49675         * math/k_cosl.c: Likewise.
49676         * math/k_sinl.c: Likewise.
49677         * math/k_tanl.c: Likewise.
49678         * math/s_cacoshf.c: Likewise.
49679         * math/s_catan.c: Likewise.
49680         * math/s_catanf.c: Likewise.
49681         * math/s_catanh.c: Likewise.
49682         * math/s_catanhf.c: Likewise.
49683         * math/s_catanhl.c: Likewise.
49684         * math/s_catanl.c: Likewise.
49685         * math/s_ccosh.c: Likewise.
49686         * math/s_ccoshf.c: Likewise.
49687         * math/s_ccoshl.c: Likewise.
49688         * math/s_cexp.c: Likewise.
49689         * math/s_cexpf.c: Likewise.
49690         * math/s_cexpl.c: Likewise.
49691         * math/s_clog.c: Likewise.
49692         * math/s_clog10.c: Likewise.
49693         * math/s_clog10f.c: Likewise.
49694         * math/s_clog10l.c: Likewise.
49695         * math/s_clogf.c: Likewise.
49696         * math/s_clogl.c: Likewise.
49697         * math/s_csin.c: Likewise.
49698         * math/s_csinf.c: Likewise.
49699         * math/s_csinh.c: Likewise.
49700         * math/s_csinhf.c: Likewise.
49701         * math/s_csinhl.c: Likewise.
49702         * math/s_csinl.c: Likewise.
49703         * math/s_csqrt.c: Likewise.
49704         * math/s_csqrtf.c: Likewise.
49705         * math/s_csqrtl.c: Likewise.
49706         * math/s_ctan.c: Likewise.
49707         * math/s_ctanf.c: Likewise.
49708         * math/s_ctanh.c: Likewise.
49709         * math/s_ctanhf.c: Likewise.
49710         * math/s_ctanhl.c: Likewise.
49711         * math/s_ctanl.c: Likewise.
49712         * math/s_ldexp.c: Likewise.
49713         * math/s_ldexpf.c: Likewise.
49714         * math/s_ldexpl.c: Likewise.
49715         * math/s_significand.c: Likewise.
49716         * math/s_significandf.c: Likewise.
49717         * math/s_significandl.c: Likewise.
49718         * math/w_acos.c: Likewise.
49719         * math/w_acosf.c: Likewise.
49720         * math/w_acosh.c: Likewise.
49721         * math/w_acoshf.c: Likewise.
49722         * math/w_acoshl.c: Likewise.
49723         * math/w_acosl.c: Likewise.
49724         * math/w_asin.c: Likewise.
49725         * math/w_asinf.c: Likewise.
49726         * math/w_asinl.c: Likewise.
49727         * math/w_atan2.c: Likewise.
49728         * math/w_atan2f.c: Likewise.
49729         * math/w_atan2l.c: Likewise.
49730         * math/w_atanh.c: Likewise.
49731         * math/w_atanhf.c: Likewise.
49732         * math/w_atanhl.c: Likewise.
49733         * math/w_cosh.c: Likewise.
49734         * math/w_coshf.c: Likewise.
49735         * math/w_coshl.c: Likewise.
49736         * math/w_dremf.c: Likewise.
49737         * math/w_exp10.c: Likewise.
49738         * math/w_exp10f.c: Likewise.
49739         * math/w_exp10l.c: Likewise.
49740         * math/w_exp2.c: Likewise.
49741         * math/w_exp2f.c: Likewise.
49742         * math/w_fmod.c: Likewise.
49743         * math/w_fmodf.c: Likewise.
49744         * math/w_fmodl.c: Likewise.
49745         * math/w_hypot.c: Likewise.
49746         * math/w_hypotf.c: Likewise.
49747         * math/w_hypotl.c: Likewise.
49748         * math/w_j0.c: Likewise.
49749         * math/w_j0f.c: Likewise.
49750         * math/w_j0l.c: Likewise.
49751         * math/w_j1.c: Likewise.
49752         * math/w_j1f.c: Likewise.
49753         * math/w_j1l.c: Likewise.
49754         * math/w_jn.c: Likewise.
49755         * math/w_jnf.c: Likewise.
49756         * math/w_jnl.c: Likewise.
49757         * math/w_lgamma.c: Likewise.
49758         * math/w_lgamma_r.c: Likewise.
49759         * math/w_lgammaf.c: Likewise.
49760         * math/w_lgammaf_r.c: Likewise.
49761         * math/w_lgammal.c: Likewise.
49762         * math/w_lgammal_r.c: Likewise.
49763         * math/w_log.c: Likewise.
49764         * math/w_log10.c: Likewise.
49765         * math/w_log10f.c: Likewise.
49766         * math/w_log10l.c: Likewise.
49767         * math/w_log2.c: Likewise.
49768         * math/w_log2f.c: Likewise.
49769         * math/w_log2l.c: Likewise.
49770         * math/w_logf.c: Likewise.
49771         * math/w_logl.c: Likewise.
49772         * math/w_pow.c: Likewise.
49773         * math/w_powf.c: Likewise.
49774         * math/w_powl.c: Likewise.
49775         * math/w_remainder.c: Likewise.
49776         * math/w_remainderf.c: Likewise.
49777         * math/w_remainderl.c: Likewise.
49778         * math/w_scalb.c: Likewise.
49779         * math/w_scalbf.c: Likewise.
49780         * math/w_scalbl.c: Likewise.
49781         * math/w_sinh.c: Likewise.
49782         * math/w_sinhf.c: Likewise.
49783         * math/w_sinhl.c: Likewise.
49784         * math/w_sqrt.c: Likewise.
49785         * math/w_sqrtf.c: Likewise.
49786         * math/w_sqrtl.c: Likewise.
49787         * math/w_tgamma.c: Likewise.
49788         * math/w_tgammaf.c: Likewise.
49789         * math/w_tgammal.c: Likewise.
49790
49791         * po/ja.po: Update from translation team.
49792
49793 2011-09-29  Andreas Jaeger  <aj@suse.de>
49794
49795         [BZ #13179]
49796         * sunrpc/netname.c (netname2host): Fix logic.
49797
49798         [BZ #6779]
49799         [BZ #6783]
49800         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49801         correctly.
49802         * math/w_remainder.c (__remainder): Likewise.
49803         * math/w_remainderf.c (__remainderf): Likewise.
49804         * math/libm-test.inc (remainder_test): Add test cases.
49805
49806 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49807
49808         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49809         sdiv_qrnnd.
49810
49811 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49812
49813         * string/test-memcmp.c: Avoid unncessary #defines.
49814         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49815
49816 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49817
49818         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49819         Use new sse2 version for core i3 - i7 as it's faster
49820         than sse42 version.
49821         (bit_Prefer_PMINUB_for_stringop): New.
49822         * sysdeps/x86_64/rawmemchr.S: Update.
49823         Replace with faster SSE2 version.
49824         * sysdeps/x86_64/memrchr.S: New file.
49825         * sysdeps/x86_64/memchr.S: Update.
49826         Replace with faster SSE2 version.
49827
49828 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49829
49830         * elf/dl-load.c (lose): Add cast to avoid warning.
49831
49832 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49833
49834         * po/ca.po: Update from translation team.
49835
49836         * inet/getnetgrent_r.c: Hook up nscd.
49837         * nscd/Makefile (routines): Add nscd_netgroup.
49838         (nscd-modules): Add netgroupcache.
49839         (CFLAGS-netgroupcache.c): Define.
49840         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49841         (cache_search): Add const to second parameter.
49842         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49843         INNETGR.
49844         (dbs): Add netgrdb entry.
49845         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49846         (verify_persistent_db): Handle netgrdb.
49847         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49848         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49849         GETFDNETGR.
49850         (netgroup_response_header): Define.
49851         (innetgroup_response_header): Define.
49852         (datahead): Add netgroup_response_header and innetgroup_response_header
49853         elements.
49854         * nscd/nscd.conf: Add entries for netgroup cache.
49855         * nscd/nscd.h (dbtype): Add netgrdb.
49856         (_PATH_NSCD_NETGROUP_DB): Define.
49857         (netgroup_iov_disabled): Declare.
49858         (xmalloc, xcalloc, xrealloc): Move declarations here.
49859         (cache_search): Adjust prototype.
49860         Add netgroup-related prototypes.
49861         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49862         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49863         (__nscd_innetgr): Declare.
49864         * nscd/selinux.c (perms): Use access_vector_t as element type and
49865         add netgroup-related initializers.
49866         * nscd/netgroupcache.c: New file.
49867         * nscd/nscd_netgroup.c: New file.
49868         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49869         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49870         For four parameters use innetgr.
49871         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49872         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49873         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49874         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49875
49876         * nscd/connections.c (register_traced_file): Don't register file
49877         for disabled databases.
49878
49879 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49880
49881         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49882
49883         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49884         from tree and freeing node.
49885
49886 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49887
49888         * nss/nsswitch.c (__nss_database_lookup): Handle
49889         nss_parse_service_list out of memory case.
49890
49891 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49892
49893         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49894         out of memory case.
49895
49896 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49897
49898         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49899         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49900         pass it down.
49901         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49902         elf_machine_rela, elf_machine_lazy_rel.
49903         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49904         (ELF_DYNAMIC_DO_REL): Likewise.
49905         (ELF_DYNAMIC_DO_RELA): Likewise.
49906         (ELF_DYNAMIC_RELOCATE): Likewise.
49907         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49908         to ELF_DYNAMIC_DO_REL.
49909         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49910         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49911         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49912         elf_machine_rela.
49913         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49914         skip_ifunc, don't call ifunc function if non-zero.
49915         (elf_machine_rela): Likewise.
49916         (elf_machine_lazy_rel): Likewise.
49917         (elf_machine_lazy_rela): Likewise.
49918         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49919         (elf_machine_lazy_rel): Likewise.
49920         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49921         Likewise.
49922         (elf_machine_lazy_rel): Likewise.
49923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49924         Likewise.
49925         (elf_machine_lazy_rel): Likewise.
49926         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49927         (elf_machine_lazy_rel): Likewise.
49928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49929         (elf_machine_lazy_rel): Likewise.
49930         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49931         (elf_machine_lazy_rel): Likewise.
49932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49933         (elf_machine_lazy_rel): Likewise.
49934         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49935         (elf_machine_lazy_rel): Likewise.
49936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49937         (elf_machine_lazy_rel): Likewise.
49938
49939 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49940
49941         * nss/nss_files/files-init.c (_nss_files_init): Use static
49942         initialization for all the *_traced_file variables.
49943
49944 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49945
49946         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49947
49948 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49949
49950         [BZ #13226]
49951         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49952
49953 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49954
49955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49956         Reread the line before reparsing it.
49957
49958 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49959
49960         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49961
49962 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49963             Maxim Kuvyrkov  <maxim@codesourcery.com>
49964             Joseph Myers  <joseph@codesourcery.com>
49965
49966         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49967         if needed for __stack_chk_guard.
49968
49969 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49970
49971         * sysdeps/posix/spawni.c (script_execute): Always define it.
49972         It will be optimized away if unused.
49973         (maybe_script_execute): New function.
49974         (__spawni): Call it.
49975
49976         * Makerules: Don't include tls.make.
49977         (config-tls): Always set to thread.
49978         * tls.make.c: File removed.
49979
49980 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49981
49982         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49983         * config.make.in (CPPFLAGS-config): New substituted variable.
49984
49985 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49986
49987         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49988
49989         [BZ #13192]
49990         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49991         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49992
49993 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49994
49995         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49996         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49998         (CALL_FAIL): Likewise.
49999         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50000         (CALL_FAIL): Macro removed.
50001         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50002
50003 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50004
50005         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50006         for __FINITE_MATH_ONLY__ == 1.
50007
50008 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50009
50010         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50011         __ieee754_sqrt instead of sqrt.
50012         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50013         __ieee754_sqrtf instead of sqrtf.
50014         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50015         __floorf instead of floorf.
50016         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50017         __floorf, __truncf instead of floorf, truncf.
50018
50019 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50020
50021         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50022
50023         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50024         __extern_always_inline.
50025         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50026         32-bit.
50027
50028 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50029
50030         * elf/rtld.c (dl_main): Also relocate in dependency order when
50031         doing symbol dependency testing.
50032
50033 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50034
50035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50036         Always define `refsym'.
50037
50038 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50039
50040         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50041         (__FD_ELT): Renamed from __FDELT.
50042         * misc/bits/select2.h (__FD_ELT): Likewise.
50043         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50044         __FD_MASK instead of __FDELT, __FDMASK.
50045         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50046         Likewise.
50047         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50048         Likewise.
50049
50050         * elf/Makefile (gen-ldd): Fix pattern.
50051
50052         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50053         (init_tls): Likewise.
50054
50055 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50056
50057         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50058
50059 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50060
50061         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50062         `struct cmsghdr *' instead of `void *'.
50063         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50064         Likewise.
50065
50066 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50067
50068         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50069         if non-absolute.
50070         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50071         ldd_rewrite_script.
50072
50073 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50074
50075         * configure.in: Remove --with-tls option.
50076         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50077         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50078         out in case it is missing.
50079         * sysdeps/ia64/elf/configure.in: Likewise.
50080         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50081         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50082         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50083         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50084         * sysdeps/sh/elf/configure.in: Likewise.
50085         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50086         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50087         * sysdeps/x86_64/elf/configure.in: Likewise.
50088         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50089         * sysdeps/mach/hurd/tls.h: Likewise.
50090
50091         [BZ #13067]
50092         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50093
50094         [BZ #13090]
50095         * configure.in: Fix use of AC_INIT.
50096
50097         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50098
50099 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50100
50101         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50102         __set_errno.
50103         * malloc/hooks.c: Likewise.
50104
50105         [BZ #11929]
50106         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50107         variables statically.
50108         (narenas): Initialize.
50109         (list_lock): Initialize.
50110         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50111         initializtion of main_arena and list_lock.  Small cleanups.
50112         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50113         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50114         Add initializers to main_arena and mp_.
50115         (malloc_state): Remove pagesize member.  Change all users to use
50116         GLRO(dl_pagesize).
50117
50118         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50119         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50120         is always initialized.
50121
50122         * malloc/malloc.c: Removed unused configurations and dead code.
50123         * malloc/arena.c: Likewise.
50124         * malloc/hooks.c: Likewise.
50125         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50126
50127         * include/tls.h: Removed.  USE___THREAD must always be defined.
50128         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50129         * elf/dl-libc.c: Likewise.
50130         * elf/dl-tsd.c: Likewise.
50131         * include/errno.h: Likewise.
50132         * include/netdb.h: Likewise.
50133         * include/resolv.h: Likewise.
50134         * inet/herrno-loc.c: Likewise.
50135         * inet/herrno.c: Likewise.
50136         * malloc/arena.c: Likewise.
50137         * malloc/hooks.c: Likewise.
50138         * malloc/malloc.c: Likewise.
50139         * resolv/res-state.c: Likewise.
50140         * resolv/res_libc.c: Likewise.
50141         * sysdeps/i386/dl-machine.h: Likewise.
50142         * sysdeps/ia64/dl-machine.h: Likewise.
50143         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50144         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50145         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50146         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50147         * sysdeps/sh/dl-machine.h: Likewise.
50148         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50149         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50150         * sysdeps/unix/i386/sysdep.S: Likewise.
50151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50152         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50153         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50154         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50155         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50156         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50157         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50158         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50161         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50162         * sysdeps/x86_64/dl-machine.h: Likewise.
50163         * tls.make.c: Likewise.
50164
50165         * configure.in: Remove --with-__thread option.  Make tests for
50166         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50167         tls_model attribute fail if no support is available.  Remove
50168         USE_IN_LIBIO.
50169         * Makeconfig: Adjust for dropped configure option.  All features are
50170         now mandatory.
50171         * Makerules: Likewise.
50172         * Versions.def: Likewise.
50173         * argp/argp-fmtstream.c: Likewise.
50174         * argp/argp-fmtstream.h: Likewise.
50175         * argp/argp-help.c: Likewise.
50176         * assert/assert.c: Likewise.
50177         * config.h.in: Likewise.
50178         * config.make.in: Likewise.
50179         * configure: Likewise.
50180         * configure.in: Likewise.
50181         * csu/Versions: Likewise.
50182         * csu/init.c: Likewise.
50183         * elf/tst-audit2.c: Likewise.
50184         * elf/tst-tls10.c: Likewise.
50185         * elf/tst-tls10.h: Likewise.
50186         * elf/tst-tls11.c: Likewise.
50187         * elf/tst-tls12.c: Likewise.
50188         * elf/tst-tls14.c: Likewise.
50189         * elf/tst-tlsmod11.c: Likewise.
50190         * elf/tst-tlsmod12.c: Likewise.
50191         * elf/tst-tlsmod13.c: Likewise.
50192         * elf/tst-tlsmod13a.c: Likewise.
50193         * elf/tst-tlsmod14a.c: Likewise.
50194         * elf/tst-tlsmod15b.c: Likewise.
50195         * elf/tst-tlsmod16a.c: Likewise.
50196         * elf/tst-tlsmod16b.c: Likewise.
50197         * elf/tst-tlsmod7.c: Likewise.
50198         * elf/tst-tlsmod8.c: Likewise.
50199         * elf/tst-tlsmod9.c: Likewise.
50200         * gmon/gmon.c: Likewise.
50201         * grp/fgetgrent_r.c: Likewise.
50202         * grp/putgrent.c: Likewise.
50203         * hurd/fopenport.c: Likewise.
50204         * include/libc-symbols.h: Likewise.
50205         * include/tls.h: Likewise.
50206         * intl/gettextP.h: Likewise.
50207         * intl/loadinfo.h: Likewise.
50208         * locale/global-locale.c: Likewise.
50209         * locale/localeinfo.h: Likewise.
50210         * mach/devstream.c: Likewise.
50211         * malloc/arena.c: Likewise.
50212         * malloc/set-freeres.c: Likewise.
50213         * misc/err.c: Likewise.
50214         * misc/getttyent.c: Likewise.
50215         * misc/mntent_r.c: Likewise.
50216         * posix/getopt.c: Likewise.
50217         * posix/wordexp.c: Likewise.
50218         * pwd/fgetpwent_r.c: Likewise.
50219         * resolv/Versions: Likewise.
50220         * resolv/res_hconf.c: Likewise.
50221         * shadow/fgetspent_r.c: Likewise.
50222         * shadow/putspent.c: Likewise.
50223         * stdio-common/printf_fphex.c: Likewise.
50224         * stdio-common/tmpfile.c: Likewise.
50225         * stdlib/abort.c: Likewise.
50226         * stdlib/fmtmsg.c: Likewise.
50227         * sunrpc/auth_unix.c: Likewise.
50228         * sunrpc/clnt_perr.c: Likewise.
50229         * sunrpc/clnt_tcp.c: Likewise.
50230         * sunrpc/clnt_udp.c: Likewise.
50231         * sunrpc/clnt_unix.c: Likewise.
50232         * sunrpc/openchild.c: Likewise.
50233         * sunrpc/svc_simple.c: Likewise.
50234         * sunrpc/svc_tcp.c: Likewise.
50235         * sunrpc/svc_udp.c: Likewise.
50236         * sunrpc/svc_unix.c: Likewise.
50237         * sunrpc/xdr.c: Likewise.
50238         * sunrpc/xdr_array.c: Likewise.
50239         * sunrpc/xdr_rec.c: Likewise.
50240         * sunrpc/xdr_ref.c: Likewise.
50241         * sunrpc/xdr_stdio.c: Likewise.
50242
50243 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50244
50245         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50246
50247 2011-07-03  Andreas Jaeger  <aj@suse.de>
50248
50249         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50250         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50251         regenerate with gen-libm-tests.pl.
50252
50253 2010-05-12  Petr Baudis  <pasky@suse.cz>
50254
50255         [BZ #11589]
50256         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50257         around j0() zero points by switching to j1().
50258         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50259         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50260         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50261         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50262
50263 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50264
50265         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50266         instead of 0.
50267         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50268         instead of 0.
50269         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50270         Patch in part by Pavel Roskin <proski@gnu.org>.
50271
50272         [BZ #13138]
50273         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50274         realloc.
50275         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50276         Free memory block if necessary.
50277
50278         [BZ #12847]
50279         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50280         be NULL.  Don't lock in this case.
50281
50282 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50283
50284         * elf/elf.h (ELFOSABI_GNU): New macro.
50285         (ELFOSABI_LINUX): Define to that.
50286
50287 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50288
50289         * string/strncat.c (strncat): Undef the symbol in case it has been
50290         defined in bits/string.h.
50291
50292 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50293
50294         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50295
50296         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50297         link map.
50298
50299 2011-08-17  Andreas Jaeger  <aj@suse.de>
50300
50301         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50302
50303 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50304             Ian Lance Taylor  <iant@google.com>
50305
50306         * math/libm-test.inc (lround_test): New testcase.
50307         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50308
50309 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50310
50311         * Makefile: Remove support for automatic cvs check-ins.
50312         * Makerules: Likewise.
50313         * config.make.in: Likewise.
50314         * configure.in: Likewise.
50315         * intl/Makefile: Likewise.
50316         * locale/Makefile: Likewise.
50317         * po/Makefile: Likewise.
50318         * posix/Makefile: Likewise.
50319         * sysdeps/gnu/Makefile: Likewise.
50320         * sysdeps/mach/hurd/Makefile: Likewise.
50321         * sysdeps/sparc/sparc32/Makefile: Likewise.
50322
50323         [BZ #13118]
50324         * posix/Makefile (bug-regex32-ENV): Define.
50325         Patch by John Stanley <jpsinthemix@verizon.net>.
50326
50327         * misc/Makefile (headers): Add bits/select2.h.
50328         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50329         * misc/bits/select2.h: New file.
50330         * include/bits/select2.h: New file.
50331         * debug/Makefile (routines): Add fdelt_chk.
50332         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50333         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50334         FD_ISSET.
50335         * debug/fdelt_chk.c: New file.
50336
50337         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50338         * wcsmbs/test-wmemcmp.c: Likewise.
50339         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50340         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50341
50342 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50343
50344         * string/Makefile (strop-tests): Add memcmp.
50345         * string/test-wmemcmp.c: New file.
50346         * string/test-memcmp.c: Add wmemcmp support.
50347
50348 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50349
50350         [BZ #13153]
50351         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50352         2011-07-19 change.
50353
50354         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50355         garbage value in a __mach_port_mod_refs call in the cases of the
50356         task-self and thread-self ports.
50357
50358 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50359
50360         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50361
50362 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50363
50364         * elf/dl-load.c (lose): Check for non-null L.
50365
50366 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50367
50368         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50369
50370         * elf/dl-libc.c (dlerror_run): Pass back error code from
50371         dl_catch_error.
50372
50373         [BZ #13123]
50374         * elf/dl-load.c (lose): Free l_origin if it is valid.
50375
50376         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50377         names.
50378         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50379         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50380         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50381         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50382         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50383         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50384
50385 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50386
50387         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50388         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50389         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50390         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50391         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50392         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50393         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50394         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50395         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50396         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50397
50398 2011-08-15  Alan Modra  <amodra@gmail.com>
50399
50400         [BZ #13092]
50401         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50402         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50403         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50404         ppc_mcount to static-only-routines.
50405         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50406         __mcount_internal.
50407         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50408         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50409
50410 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50411
50412         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50413         for finite and infinity parameters.
50414
50415 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50416
50417         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50418         and add nop instructions for throughput optimization.
50419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50420
50421 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50422
50423         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50424         aligned copy for power7 with vector-scalar instructions.
50425         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50426
50427 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50428
50429         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50430         AVX check.
50431
50432 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50433
50434         [BZ #13144]
50435         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50436         last change.
50437
50438 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50439
50440         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50441         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50442         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50443         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50444         clock_gettime.
50445
50446 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50447
50448         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50449         Forgot to demangle the pointer.
50450
50451         * sysdeps/i386/sysdep.h: Define atom_text_section.
50452         * sysdeps/x86_64/sysdep.h: Likewise.
50453         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50454         section with atom_text_section.
50455         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50456         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50457         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50458         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50459         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50460
50461         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50462         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50463         already be defined.  Change to take two parameters and don't assign
50464         result to variable.  Adjust all users.
50465         Define INTERNAL_GETTIME if not already defined.
50466         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50467         call.
50468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50469         HAVE_CLOCK_GETTIME_VSYSCALL.
50470         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50471
50472         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50473         gettimeofday vsyscall, just use time.
50474
50475 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50476
50477         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50478         <errno.h>.
50479
50480 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50481
50482         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50483         syscall on x86-64.
50484         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50485         syscall.
50486         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50487         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50488         syscall if possible.
50489
50490 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50491
50492         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50493         e_ident.  Don't pass to find_mapsXX.
50494         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50495
50496 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50497
50498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50499         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50500         * sysdeps/x86_64/multiarch/strchr.S: Update.
50501         Check bit_slow_BSF bit.
50502         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50503         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50504         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50505
50506 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50507
50508         [BZ #13134]
50509         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50510         before glibc 2.15.
50511         (tryshell): Define.
50512         (__spawni): Change last parameter to be flag.  Test
50513         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50514         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50515         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50516         * posix/spawni.c: Likewise.
50517         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50518         * posix/spawnp.c: Likewise.  Change normal version to use
50519         SPAWN_XFLAGS_USE_PATH.
50520         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50521         SPAWN_XFLAGS_TRY_SHELL.
50522
50523         [BZ #13150]
50524         * posix/glob.h: Remove gcc 1.x support.
50525
50526         [BZ #13068]
50527         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50528
50529 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50530
50531         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50532         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50533         strrchr-sse2-bsf
50534         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50535         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50536         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50537         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50538         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50539         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50540
50541 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50542
50543         * sysdeps/x86_64/wcscmp.S: New file.
50544
50545         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50546         wcscmp-c wcscmp-sse2
50547         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50548         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50549         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50550         * wcsmbs/wcscmp.c: Allow renaming.
50551
50552 2011-09-05  David S. Miller  <davem@davemloft.net>
50553
50554         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50555         stack slot, rather than the struct return pointer slot.
50556         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50557         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50559         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50560
50561 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50562
50563         * po/ja.po: Update from translation team.
50564
50565         [BZ #13144]
50566         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50567         kernel in 64-bit binaries.
50568
50569 2011-09-01  David S. Miller  <davem@davemloft.net>
50570
50571         * elf/elf.h (HWCAP_SPARC_*): Move to..
50572         * sysdeps/sparc/sysdep.h: this new file and add new values.
50573         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50574         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50575         _DL_HWCAP_COUNT to 24.
50576         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50577         entries.
50578         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50579         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50580         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50581         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50582         instead of magic constants.
50583         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50584
50585 2011-08-31  David S. Miller  <davem@davemloft.net>
50586
50587         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50588         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50589         Reimplement to do errno handling inline.
50590         (SYSCALL_ERROR_HANDLER): New macro.
50591         (__SYSCALL_STRING): Do not do errno handling in asm.
50592         (__CLONE_SYSCALL_STRING): Delete.
50593         (__INTERNAL_SYSCALL_STRING): Delete.
50594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50595         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50596         (PSEUDO): Reimplement to do errno handling inline.
50597         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50598         (SYSCALL_ERROR_HANDLER): New macro.
50599         (__SYSCALL_STRING): Do not do errno handling in asm.
50600         (__CLONE_SYSCALL_STRING): Delete.
50601         (__INTERNAL_SYSCALL_STRING): Delete.
50602         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50603         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50604         i386.
50605         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50606         (inline_syscall*): Add 'err' argument.
50607         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50608         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50609         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50610         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50611
50612         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50613         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50614
50615 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50616
50617         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50618
50619 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50620
50621         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50622         directive.
50623
50624 2011-08-24  David S. Miller  <davem@davemloft.net>
50625
50626         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50627
50628 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50629
50630         * elf/Makefile: Add rules to build and run unload8 test.
50631         * elf/unload8.c: New file.
50632         * elf/unload8mod1.c: New file.
50633         * elf/unload8mod1x.c: New file.
50634         * elf/unload8mod2.c: New file.
50635         * elf/unload8mod3.c: New file.
50636
50637         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50638         it wasn't used.
50639
50640 2011-08-23  David S. Miller  <davem@davemloft.net>
50641
50642         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50643         subtract stack bias.
50644         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50645         %sp not %fp in calculations.
50646         (_JMPBUF_UNWINDS_ADJ): Likewise.
50647
50648         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50649         (aio_suspend): Call it to force an exception region around the
50650         AIO_MISC_WAIT() invocation.
50651
50652 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50653
50654         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50655         backslash.
50656
50657 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50658
50659         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50660         protection macro.
50661         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50662         and <dl-machine.h>.
50663         (Elf64_FuncDesc): Remove.
50664
50665 2011-08-22  David S. Miller  <davem@davemloft.net>
50666
50667         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50668         sigaltstack check, add missing cfi directives.
50669         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50670         missing cfi directives, and sigaltstack handling.
50671
50672 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50673
50674         [BZ #11724]
50675         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50676         object is seen twice.
50677         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50678
50679         * elf/Makefile (distribute): Add tst-initorder2.c.
50680         (tests): Add tst-initorder2.
50681         (modules-names): Add tst-initorder2a tst-initorder2b
50682         tst-initorder2c tst-initorder2d.  Add rules to build them.
50683         ($(objpfx)tst-initorder2.out): New rule.
50684         * elf/tst-initorder2.c: New file.
50685         * elf/tst-initorder2.exp: New file.
50686
50687 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50688
50689         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50690
50691         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50692         dependencies back to end of function.
50693
50694         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50695         $(elfobjdir)/ld.so.
50696
50697 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50698
50699         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50700         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50701         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50702         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50703         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50704         of __vdso_gettimeofday.
50705         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50706         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50707         attribute_hidden.
50708         (_libc_vdso_platform_setup): Remove initialization of
50709         __vdso_gettimeofday and __vdso_time.
50710
50711 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50712
50713         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50714         and fgetc_unlocked.
50715         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50716         getc_unlocked.
50717
50718         * elf/dl-open.c (add_to_global): Report additions to the global scope
50719         for LD_DEBUG=scopes.
50720         (dl_open_worker): Also print scope of newly loaded dependencies.
50721         (_dl_show_scope): Indicate if there is no scope.
50722
50723         [BZ #13114]
50724         * stdio-common/Makefile (tests): Add bug24.
50725         * stdio-common/bug24.c: New file.
50726
50727 2011-08-19  Andreas Jaeger  <aj@suse.de>
50728
50729         [BZ #13114]
50730         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50731         non-existant file when using close-on-exec mode.
50732
50733 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50734
50735         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50736         the very first instruction.
50737
50738         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50739         the CFI state in the end.
50740         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50741         inclusion of dl-trampoline.h.
50742         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50743
50744 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50745
50746         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50747         expectations for long double.
50748
50749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50750         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50751
50752 2011-08-14  David S. Miller  <davem@davemloft.net>
50753
50754         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50755         artificual limit depends upon the system page size.
50756
50757 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50758
50759         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50760         * resolv/Makefile: Define CFLAGS-libresolv.
50761
50762 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50763
50764         * nss/makedb.c (compute_tables): Make variables used in nested
50765         function static.
50766
50767 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50768
50769         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50770         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50771         if buffer was too small.
50772
50773         * elf/pldd.c (main): Attach to all threads in the process.
50774         Rewrite /proc handling to use *at functions.
50775
50776 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50777
50778         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50779         specifies first scope to show.
50780         (dl_open_worker): Update callers.  Move printing scope of new
50781         object to before the relocation.
50782         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50783         * sysdeps/generic/ldsodefs.h: Update declaration.
50784
50785         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50786         string for the scope number.
50787
50788 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50789
50790         * nscd/servicescache.c (cache_addserv): Make sure written is always
50791         initialized.
50792
50793 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50794
50795         * sysdeps/i386/i486/bits/atomic.h
50796         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50797         statement expression, so as to suppress "set but not used" warning.
50798         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50799
50800         * string/strncat.c (STRNCAT): Use prototype definition.
50801
50802         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50803         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50804         -Iprograms here.
50805         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50806         (localedef-modules): Add localedef.
50807         (locale-modules): Add locale.
50808
50809         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50810         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50811         to avoid a warning.
50812
50813 2011-08-14  David S. Miller  <davem@davemloft.net>
50814
50815         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50816         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50817
50818 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50819
50820         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50821         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50822         * elf/rtld.c (dl_main): Set l_name of vDSO.
50823         Call _dl_show_scope when DL_DEBUG_SCOPES.
50824         (process_dl_debug): Recognize scopes flag and also set it for all.
50825         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50826         Declare _dl_show_scope.
50827
50828         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50829         (do_dlopen): Pass caller_dlopen to dl_open.
50830         (__libc_dlopen_mode): Initialize caller_dlopen.
50831
50832         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50833         of libc.  Make tolower call locale-independent.  Optimize a bit by
50834         using isdigit instead of isalnum.
50835         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50836
50837 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50838
50839         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50840         was a dependency or dynamically loaded.
50841
50842 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50843
50844         * intl/l10nflist.c: Allow architecture-specific pop function.
50845         * sysdeps/x86_64/l10nflist.c: New file.
50846
50847         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50848         classification.
50849
50850 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50851
50852         * include/dirent.h: Add libc_hidden_proto for scandirat and
50853         scandirat64.  Don't declare __scandirat64.
50854         * dirent/scandirat.c: Add libc_hidden_def.
50855         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50856         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50857
50858 2011-08-10  David S. Miller  <davem@davemloft.net>
50859
50860         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50861         enum.
50862         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50863         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50864         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50865
50866 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50867
50868         * Versions.def [libc]: Add GLIBC_2.15.
50869         * dirent/Makefile (routines): Add scandirat and scandirat64.
50870         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50871         GLIBC_2.15.
50872         * dirent/dirent.h: Declare scandirat and scandirat64.
50873         * dirent/scandirat.c: New file.
50874         * dirent/scandirat64.c: New file.
50875         * sysdeps/wordsize-64/scandirat.c: New file.
50876         * sysdeps/wordsize-64/scandirat64.c: New file.
50877         * dirent/opendir.c: Define opendirat.
50878         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50879         using scandirat.
50880         * dirent/scandir64.c: Adjust for scandir.c change.
50881         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50882         __scandirat64, and __scandir_cancel_handler.
50883         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50884         additional parameter and use openat instead of open (outside of ld.so).
50885         Add new __opendir as wrapper around __opendirat.
50886         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50887         here without requiring old scandirat implementation.
50888
50889 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50890
50891         * dirent/scandir.c (cancel_handler): Renamed to
50892         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50893         defined.  Adjust users.
50894         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50895         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50896
50897 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50898
50899         * string/test-string.h (IMPL): Use __STRING to expand name and then
50900         stringify it.
50901
50902         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50903         of cleanups.
50904
50905 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50906
50907         * string/Makefile: Update.
50908         (strop-tests): Append strncat.
50909         * string/test-wcscmp.c: New file.
50910         New comprehensive test for wcscmp.
50911         * string/test-strcmp.c: Update.
50912         (WIDE): New define.
50913
50914 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50915
50916         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50917         line.
50918
50919 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50920
50921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50922         encoding to ACE if AI_IDN.
50923
50924 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50925
50926         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50927         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50928
50929 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50930
50931         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50932         Fix overflow bug in strncat.
50933         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50934
50935         * string/test-strncat.c: Update.
50936         Add new tests for checking overflow bugs.
50937
50938 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50939
50940         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50941         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50942         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50943         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50944         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50945         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50946         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50947         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50948         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50949
50950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50951         (USE_AS_STRCAT): Define.
50952         Add strcat and strncat support.
50953         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50954
50955 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50956
50957         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50958         __n bigger than INT_MAX+1.
50959         (__strncmp_g): Likewise.
50960
50961 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50962
50963         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50964         * libio/stido.h: Likewise.
50965
50966         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50967         (AF_NFC): Define.
50968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50969         (AF_NFC): Define.
50970
50971         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50972         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50973         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50974         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50975         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50976
50977         [BZ #13021]
50978         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50979         installed.
50980
50981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50982         typo.
50983         (_dl_x86_64_save_sse): Likewise.
50984
50985 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50986
50987         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50988         OSXSAVE.
50989         (_dl_x86_64_save_sse): Likewise.
50990
50991         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50992
50993         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50994
50995 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50996
50997         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50998         change.
50999         (_dl_x86_64_save_sse): Use correct AVX check.
51000
51001 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51002
51003         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51004         bug in strncpy/strncat.
51005         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51006
51007 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51008
51009         * string/tester.c (test_strcat): Add tests for different alignments
51010         of source and destination.
51011         (test_strncat): Likewise.
51012
51013 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51014
51015         [BZ #12852]
51016         * posix/glob.c (glob): Check passed in values before using them in
51017         expressions to avoid some overflows.
51018         (glob_in_dir): Likewise.
51019
51020         [BZ #13007]
51021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51022         check for AVX enablement so that we don't crash with old kernels and
51023         new hardware.
51024         * elf/tst-audit4.c: Add same checks here.
51025         * elf/tst-audit6.c: Likewise.
51026
51027         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51028
51029 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51030
51031         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51032
51033 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51034
51035         * po/cs.po: Update from translation team.
51036         * po/bg.po: Likewise.
51037
51038 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51039
51040         * misc/sys/cdefs.h: Add support for const attribute.
51041         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51042         to gnu_dev_{major,minor,makedev} functions.
51043
51044 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51045
51046         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51047
51048 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51049
51050         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51051         strlen results.
51052
51053 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51054
51055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51056         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51057         register in order to avoid conflicts with the soft frame pointer
51058         being held in r11 when necessary.
51059         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51060         (INTERNAL_VSYSCALL_NCS): Likewise.
51061
51062 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51063
51064         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51065         * elf/dl-fini.c (_dl_fini): Adjust caller.
51066         * elf/dl-close.c (_dl_close_worker): Likewise.
51067         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51068
51069 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51070
51071         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51072         "aux_cache->nlibs < 0".
51073
51074         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51075         in the reload-count case.
51076
51077 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51078
51079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51080         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51081         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51082         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51083         * sysdeps/x86_64/multiarch/strcat.S: New file.
51084         * sysdeps/x86_64/multiarch/strncat.S: New file.
51085         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51086         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51087         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51088         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51089         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51090         (USE_AS_STRCAT): Define.
51091         Add strcat and strncat support.
51092         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51093         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51094         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51095         * string/strncat.c: Update.
51096         (USE_AS_STRNCAT): Define.
51097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51098         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51099         and i7.
51100         * sysdeps/x86_64/multiarch/init-arch.h
51101         (bit_Prefer_PMINUB_for_stringop): New.
51102         (index_Prefer_PMINUB_for_stringop): Likewise.
51103         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51104         bit_Prefer_PMINUB_for_stringop.
51105
51106 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51107
51108         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51109         buffer64.
51110         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51111         of casting of buffer.
51112         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51113         buffer32 and buffer64.
51114         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51115         writes instead of casting of buffer.
51116         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51117         buffer32.
51118         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51119         casting of buffer.
51120
51121 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51122
51123         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51124
51125 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51126
51127         * nscd/nscd.c (termination_handler): Don't do anything for a database
51128         if it has not yet been initialized.
51129
51130 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51131
51132         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51133
51134 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51135
51136         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51137
51138 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51139
51140         * po/nl.po: Update from translation team.
51141         * po/sv.po: Likewise.
51142
51143 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51144
51145         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51146         now disallowed by GCC.
51147
51148         * configure.in (use-default-link): Default to yes if a test -shared
51149         link meets our qualifications.
51150         * configure: Regenerated.
51151
51152         * config.make.in (output-format): New variable.
51153         * configure.in: Check for ld --print-output-format support.
51154         * configure: Regenerated.
51155         * Makerules ($(common-objpfx)format.lds)
51156         [$(output-format) != unknown]: Just use $(output-format),
51157         instead of the linker-script munging.
51158
51159 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51160
51161         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51162         of $(common-objpfx)shlib.lds.
51163         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51164
51165         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51166         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51167
51168         * configure.in (-z relro check): Adjust test code to add a large
51169         writable data section after it.
51170         * configure: Regenerated.
51171
51172 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51173
51174         * configure.in (-z relro check): Fix test code to make the variable
51175         truly const.
51176         * configure: Regenerated.
51177
51178 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51179
51180         * nscd/nscd.h (struct traced_file): Define.
51181         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51182         elements.  Add traced_files.
51183         (inotify_fd): Declare.
51184         (register_traced_file): Declare.
51185         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51186         (inotify_fd): Export.
51187         (resolv_conf_descr): Remove.
51188         (nscd_init): Move inotify descriptor creation to main.
51189         Don't register files for notification here.
51190         (register_traced_file): New function.
51191         (invalidate_cache): Don't use reset_res to determine whether to call
51192         res_init, go through the list of registered files.
51193         (main_loop_poll): The inotify descriptors are now stored in the
51194         structures for the traced files.
51195         (main_loop_epoll): Likewise
51196         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51197         to __nss_disable_nscd.
51198         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51199         for a database anymore.  Check the records for all the registered
51200         files instead.
51201         * nss/Makefile (libnss_files-routines): Add files-init.
51202         (libnss_db-routines): Add db-init.
51203         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51204         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51205         * nss/nss_db/db-init.c: New file.
51206         * nss/nss_files/files-init.c: New file.
51207         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51208         __nss_lookup_function.
51209         (__nss_lookup_function): Call nss_load_library.
51210         (nss_load_all_libraries): New function.
51211         (__nss_disable_nscd): Take parameter with callback function for files
51212         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51213         used for the cached services.
51214         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51215         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51216         options for features to all the files in nscd.
51217
51218         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51219
51220 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51221
51222         * csu/elf-init.c (__libc_csu_init): Comment typo.
51223
51224 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51225
51226         * po/pl.po: Update from translation team.
51227         * po/ja.po: Likewise.
51228         * po/ru.po: Likewise.
51229         * po/ko.po: Likewise.
51230         * po/fr.po: Likewise.
51231
51232 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51233
51234         * configure.in (.ctors/.dtors header and trailer check):
51235         Use an empirical test on a built program.
51236         * configure: Regenerated.
51237
51238         * configure.in (-z relro check): Use an empirical test on a built DSO.
51239         Detect, but do not require, on ia64.
51240         * configure: Regenerated.
51241
51242         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51243         Update tests that use readelf to use $READELF instead.
51244         * configure: Regenerated.
51245
51246 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51247
51248         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51249         if the result is not used.
51250
51251 2011-07-05  Andreas Jaeger  <aj@suse.de>
51252
51253         [BZ#9696]
51254         * stdlib/tst-strtod.c: Add testcase.
51255
51256 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51257
51258         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51259         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51260         The latter has a higher limit.  Take additional parameter to pass to
51261         the new function.
51262         (__pathconf): Pass file to __statfs_link_max.
51263         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51264         __statfs_link_max.
51265         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51266         __statfs_link_max.
51267
51268         [BZ #12868]
51269         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51270         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51271         Handle Lustre.
51272         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51273         (__statfs_filesize_max): Likewise.
51274         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51275
51276 2011-07-05  Andreas Jaeger  <aj@suse.de>
51277
51278         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51279
51280 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51281
51282         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51283         `status' variable.
51284         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51285         Likewise.
51286
51287 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51288
51289         * Makefile (strop-tests): Add strncat.
51290         * string/test-strncat.c: New file.
51291
51292 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51293
51294         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51295
51296 2011-06-21  Andreas Jaeger  <aj@suse.de>
51297
51298         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51299         Copy rule from iconvdata/Makefile.
51300
51301 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51302
51303         [BZ #12922]
51304         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51305         but no long options are defined, just return 'W'.
51306
51307 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51308
51309         [BZ #9696]
51310         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51311
51312 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51313
51314         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51315         netgroups to read.
51316         (innetgr): Likewise.
51317
51318 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51319
51320         * config.make.in (install_root): Default to $(DESTDIR).
51321
51322 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51323
51324         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51325
51326 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51327
51328         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51329
51330         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51331         containing directory rather than embedding absolute directory names.
51332
51333         * scripts/check-local-headers.sh: Rewritten using awk.
51334         Match by word, not by line.  Print error messages for matches.
51335         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51336
51337         * Makerules [shlib-lds-flags empty]:
51338         ($(common-objpfx)libc_pic.opts): New target.
51339         ($(common-objpfx)libc_pic.os.clean): New target.
51340         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51341
51342         * config.make.in (OBJCOPY): New variable.
51343         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51344         * configure: Regenerated.
51345
51346         * config.make.in (use-default-link): New variable.
51347         * configure.in (use_default_link): Grok --with-default-link to set it.
51348         * configure: Regenerated.
51349         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51350         (shlib-lds, shlib-lds-flags): Define to empty.
51351
51352         * Makerules (shlib-lds): New variable.
51353         (shlib-lds-flags): New variable.
51354         (build-shlib, build-moduile, build-module-asneeded): Use it.
51355         ($(common-objpfx)libc.so): Use $(shlib-lds).
51356         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51357         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51358
51359         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51360         DT_FLAGS/DT_FLAGS_1 with zero flags.
51361
51362         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51363         linker script munging.
51364
51365 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51366
51367         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51368         as 128-bit value.
51369         * crypt/sha512.c (sha512_process_block): Perform total addition using
51370         128-bit if possible.
51371         (__sha512_finish_ctx): Likewise.
51372         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51373         as 64-bit value.
51374         * crypt/sha256.c (SWAP64): Define.
51375         (sha256_process_block): Perform total addition using 64-bit if
51376         possible.
51377         (__sha256_finish_ctx): Likewise.
51378
51379 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51380
51381         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51382         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51383         * nscd/hstcache.c (cache_addhst): Likewise.
51384         * nscd/grpcache.c (cache_addgr): Likewise.
51385         * nscd/aicache.c (addhstaiX): Likewise
51386         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51387
51388 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51389
51390         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51391         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51392         * nscd/hstcache.c (cache_addhst): Likewise.
51393         * nscd/grpcache.c (cache_addgr): Likewise.
51394         * nscd/aicache.c (addhstaiX): Likewise
51395
51396 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51397
51398         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51399         domain only when needed.
51400
51401 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51402
51403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51404         is always restored.
51405
51406 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51407
51408         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51409         are re-adding the entry.
51410         * nscd/servicescache.c (cache_addserv): Likewise.
51411
51412 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51413
51414         * sysdeps/generic/dl-irel.h: fix protection against multiple
51415         inclusions.
51416         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51417
51418 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51419
51420         [BZ #12935]
51421         * malloc/memusage.sh: Fix quoting in message.
51422         * debug/xtrace.sh: Likewise.
51423
51424         * configure.in: Remove support for --experimental-malloc option, make
51425         it the default.
51426         * config.make.in: Likewise.
51427         * malloc/Makefile: Likewise.
51428
51429 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51430
51431         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51432         two-byte characters.
51433
51434 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51435
51436         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51437         AC_CACHE_CHECK invocation.
51438         * configure: Regenerated.
51439
51440         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51441
51442 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51443
51444         [BZ #12350]
51445         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51446         bit from old_res_options.
51447
51448         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51449
51450         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51451         value type for setfct.
51452
51453 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51454
51455         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51456         __gettimeofday instead of gettimeofday.
51457
51458 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51459
51460         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51461
51462 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51463
51464         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51465
51466         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51467         info.
51468
51469 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51470
51471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51472         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51473         strcpy-sse2-unaligned strncpy-sse2-unaligned
51474         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51475         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51476         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51477         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51478         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51479         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51480         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51481         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51482         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51483         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51484         (STRCPY): Support SSE2 and SSSE3 versions.
51485
51486 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51487
51488         [BZ #12874]
51489         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51490         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51491         kernels which artificially limit size of requests.
51492
51493 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51494
51495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51496         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51497         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51498         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51499         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51500         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51501         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51502         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51503         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51504         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51505         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51506         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51507         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51508         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51509         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51511         Enable unaligned load optimization for Intel Core i3, i5 and i7
51512         processors.
51513         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51514         Define.
51515         (index_Fast_Unaligned_Load): Define.
51516         (HAS_FAST_UNALIGNED_LOAD): Define.
51517
51518 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51519
51520         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51521
51522 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51523
51524         [BZ #12907]
51525         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51526         until it is clear that the information is realy needed.
51527         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51528
51529 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51530
51531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51532
51533 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51534
51535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51536         /sys/devices/system/cpu/online if it is usable.
51537
51538         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51539         reading the information from the /proc filesystem to once a second.
51540
51541 2011-06-21  Andreas Jaeger  <aj@suse.de>
51542
51543         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51544         NULL after inclusion of kernel headers.
51545
51546 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51547
51548         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51549         calls to internal_setent.
51550
51551         [BZ #12885]
51552         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51553         addresses using gethostbyname4_r ignore IPv4 addresses.
51554
51555         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51556         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51557
51558         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51559
51560 2011-06-20  David S. Miller  <davem@davemloft.net>
51561
51562         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51563         inclusions.
51564         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51565
51566         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51567         (elf_irel): Use it.
51568         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51569         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51570         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51571         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51572         * sysdeps/x86_64/dl-irel.h: Likewise.
51573
51574         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51575         * elf/dl-sym.c: Likewise.
51576
51577 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51578
51579         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51580         need to dereference resplen2.
51581
51582 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51583
51584         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51585
51586 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51587
51588         * Makeconfig: Define vardbdir and inst_vardbdir.
51589         * nss/Makefile: Add rules to install db-Makefile.
51590
51591         * nss/nss_db/db-XXX.c: Cleanup.
51592
51593         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51594         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51595         GLIBC_PRIVATE.
51596         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51597         * nss/makedb.c: Implement -g option to specify that value strings
51598         are generated and should not be added to table iterated over for
51599         get*ent calls.
51600         * nss/nss_db/db-initgroups.c: New file.
51601
51602         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51603         interface.
51604
51605         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51606         (internal_getgrouplist): Adjust to name change.
51607         Update use_initgroups_entry if this is not the first call.
51608         * nss/databases.def: Add initgroups entry.
51609
51610         * nss/makedb.c (compute_tables): Check result of multiple hash table
51611         sizes to minimize maximum chain length.
51612
51613 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51614
51615         * Versions.def: Add entry for libnss_db.
51616         * shlib-versions: Likewise.
51617         * nss/Makefile: Add rules to build libnss_db.
51618         * nss/Versions: Add libnss_db information.  Organize libnss_files
51619         entries better.
51620         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51621         makedb progra.  Some minor improvements to generate smaller files.
51622         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51623         here from...
51624         * nss/makedb.c: ...here.
51625         Improve database format to be smaller and require less memory at
51626         runtime.
51627         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51628         db anymore.
51629         * nss/nss_db/db-netgrp.c: Likewise.
51630         * nss/nss_db/db-open.c: Likewise.
51631         * nss/nss_files/flies-XXX.x: Adjust comments.
51632         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51633         * nss/nss_files/files-grp.c: Likewise.
51634         * nss/nss_files/files-hosts.c: Likewise.
51635         * nss/nss_files/files-network.c: Likewise.
51636         * nss/nss_files/files-proto.c: Likewise.
51637         * nss/nss_files/files-pwd.c: Likewise.
51638         * nss/nss_files/files-rpc.c: Likewise.
51639         * nss/nss_files/files-service.c: Likewise.
51640         * nss/nss_files/files-sgrp.c: Likewise.
51641         * nss/nss_files/files-spwd.c: Likewise.
51642         * nss/nss_db/db-alias.c: Removed.
51643         * nss/nss_db/dummy-db.h: Removed.
51644
51645 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51646
51647         * nss/makedb.c: Rewritten to not use database library.
51648         * nss/Makefile: Update to build new makedb program.
51649
51650 2011-06-14  Andreas Jaeger  <aj@suse.de>
51651
51652         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51653         memset declaration.
51654
51655 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51656
51657         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51658         tmpbuf.
51659
51660 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51661
51662         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51663         * elf/Makefile ($(objpfx)ld.so): Likewise.
51664
51665         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51666         Don't list ld.so twice in dependencies.
51667
51668         * posix/bug-regex31.c: Include <stdlib.h>.
51669
51670         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51671
51672         * nis/nss_compat/compat-spwd.c
51673         (getspent_next_nss_netgr): Remove unused variable.
51674         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51675
51676         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51677         nonmembers" output to use the right array.
51678
51679         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51680
51681         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51682
51683         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51684         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51685         * catgets/gencat.c (read_input_file): Likewise.
51686         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51687
51688         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51689         variable definition inside #if's controlling its use.
51690
51691         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51692
51693         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51694
51695         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51696
51697         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51698         unreachable code.
51699
51700         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51701
51702         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51703         * configure: Regenerated.
51704
51705         * Makerules: Revert last change.
51706         * elf/Makefile: Likewise.
51707
51708 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51709
51710         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51711         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51712         (reloc-link): Likewise.
51713
51714 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51715
51716         * elf/Makefile: Add rules to build pldd.
51717         * elf/pldd.c: New file.
51718         * elf/pldd-xx.c: New file.
51719
51720 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51721
51722         * version.h: Update for 2.15 development version.
51723
51724 2011-06-07  David S. Miller  <davem@davemloft.net>
51725
51726         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51727         ifuncs.
51728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51729         elf_machine_lazy_rel): Likewise.
51730         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51731         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51732         elf_machine_lazy_rel): Likewise.
51733         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51734         dl_hwcap via passed in argument.
51735         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51736         Likewise.
51737
51738 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51739
51740         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51741
51742 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51743
51744         [BZ #12849]
51745         * manual/fdl-1.1.texi: New file, verbatim from:
51746         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51747         * manual/lgpl-2.1.texi: New file, verbatim from:
51748         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51749         * manual/Makefile (licenses): New variable, list those new file names.
51750         (texis): Use it.
51751         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51752
51753         * manual/fdl.texi: File removed.
51754         * manual/lesser.texi: File removed.
51755         * manual/libc.texinfo (Copying, Documentation License):
51756         Use new @include file names, put @appendix directive before @include.
51757
51758 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51759
51760         [BZ #12841]
51761         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51762         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51763         (mq_open): Add __NTH.
51764
51765 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51766
51767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51768         Assume Intel Core i3/i5/i7 processor if AVX is available.
51769
51770 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51771
51772         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51773         typo.
51774
51775 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51776
51777         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51778         memory.  Use alloca_account.  Fix memory leak when retrying.
51779
51780 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51781
51782         * version.h (RELEASE): Bump for 2.14 release.
51783         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51784
51785         * config.make.in (RANLIB): Remove entry.
51786
51787 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51788
51789         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51790         (libc.pot): Work around missing support for .ksh extension in xgettext.
51791
51792         [BZ #12684]
51793         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51794         if both request failed.
51795         (send_dg): In case of server errors clear resplen or *resplen2.
51796
51797         [BZ #12454]
51798         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51799         when there are multiple maps.
51800         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51801         (_dl_fini): Remove test here.
51802
51803         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51804
51805 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51806
51807         [BZ #12350]
51808         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51809         bit from old_res_options.
51810         (gaih_inet): Likewise.
51811
51812         [BZ #11099]
51813         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51814         as signed.
51815
51816         * resolv/res_init.c (res_setoptions): Make the code more compact.
51817
51818         [BZ #11558]
51819         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51820         set RES_USEVC.
51821
51822         [BZ #11634]
51823         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51824
51825         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51826
51827         [BZ #11781]
51828         * malloc/malloc.h: Declare malloc hook variables as volatile.
51829
51830         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51831         in last patch.
51832
51833         [BZ #11799]
51834         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51835         raise in the comment.
51836         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51837         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51838         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51839
51840 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51841
51842         [BZ #12811]
51843         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51844         grow the buffers more if it already has to be sufficient.
51845         (build_wcs_upper_buffer): Likewise.
51846         * posix/regexec.c (check_matching): Likewise.
51847         (clean_state_log_if_needed): Likewise.
51848         (extend_buffers): Don't enlarge buffers beyond size of the input
51849         buffer.
51850         Patches mostly by Emil Wojak <emil@wojak.eu>.
51851         * posix/bug-regex32.c: New file.
51852         * posix/Makefile (tests): Add bug-regex32.
51853
51854         * locale/findlocale.c (_nl_find_locale): Return right away if
51855         _nl_explode_name failed.
51856         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51857
51858         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51859
51860         * debug/xtrace.sh: Unify messages.
51861         * malloc/memusage.sh: Likewise.
51862
51863         [BZ #12813]
51864         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51865         time symbol from vDSO.  Substitute with vsyscall if not available.
51866         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51867         __vdso_time.
51868
51869         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51870         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51871         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51872         Add sendmmsg and internal_sendmmsg.
51873         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51874         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51875         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51876
51877         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51878         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51879         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51880
51881 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51882
51883         [BZ #12813]
51884         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51885         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51886         available.
51887         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51888         __vdso_getcpu.
51889
51890         [BZ #12814]
51891         * iconvdata/Makefile (tests): Add bug-iconv9.
51892         * iconvdata/bug-iconv9.c: New file.
51893
51894 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51895
51896         [BZ #12814]
51897         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51898
51899 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51900
51901         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51902         (struct user_regs_struct): Change intcs field back to cs.
51903
51904 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51905
51906         * po/ja.po: Update from translation team.
51907
51908 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51909
51910         [BZ #12795]
51911         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51912         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51913
51914 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51915
51916         * stdlib/longlong.h: Update from GCC.
51917
51918 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51919
51920         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51921         parameter name.
51922         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51923         Add parameter name.
51924         (__sysconf): Pass it down.
51925
51926 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51927
51928         [BZ #12671]
51929         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51930         some situations.
51931         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51932         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51933         add in in __libc_use_alloca calls.  Adjust callers.
51934         (glob): Use malloc in some situations.
51935
51936         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51937         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51938         pltexit.
51939
51940 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51941
51942         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51943         and CLOCK_BOOTTIME_ALARM.
51944
51945         [BZ #12782]
51946         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51947         is returned.
51948
51949         * string/_strerror.c (__strerror_r): Print negative errors as signed
51950         numbers.
51951
51952         [BZ #12777]
51953         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51954         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51955         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51956
51957         * configure.in: Fix typo in redirection and correct removal of test
51958         files in two cases.
51959
51960         [BZ #12788]
51961         * locale/setlocale.c (new_composite_name): Fix test to check for
51962         identical name of all categories.
51963
51964         [BZ #12792]
51965         * libio/filedoalloc.c (local_isatty): New function.
51966         (_IO_file_doallocate): Use local_isatty.
51967         * stdio-common/perror.c (perror): In case a new stream is used
51968         forward the stream error.
51969         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51970         error flag.
51971
51972 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51973
51974         [BZ #11869]
51975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51976         alloca.
51977         * include/alloca.h (extend_alloca_account): Define.
51978
51979         [BZ #11857]
51980         * posix/regex.h: Fix comments with documentation of user-accessible
51981         fields after compilation and describe correct free'ing of pattern
51982         after re_compile_pattern.
51983         Patch by Reuben Thomas <rrt@sc3d.org>.
51984
51985 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51986
51987         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51988         and -mno-altivec to prevent the compiler from using Altivec and/or
51989         VSX instructions when the corresponding registers are not available.
51990
51991 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51992
51993         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51994
51995 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51996
51997         * libio/freopen.c (freopen): Use __dup2, not dup2.
51998         * libio/freopen64.c (freopen64): Likewise.
51999
52000 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52001
52002         [BZ #12775]
52003         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52004         * math/Makefile (tests): Add test-powl.
52005         (CFLAGS-test-powl.c): Define.
52006         * math/test-powl.c: New file.
52007
52008 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52009
52010         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52011
52012 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52013
52014         [BZ #11837]
52015         * iconvdata/gb18030.c: Update to GB18020-2005.
52016
52017 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52018
52019         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52020         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52021         Patch by Aharon Robbins <arnold@skeeve.com>.
52022
52023         [BZ #11892]
52024         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52025         on the stack.
52026
52027         [BZ #11895]
52028         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52029         through underflows.
52030
52031         [BZ #12766]
52032         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52033         point to strings before performing equality test for error_one_per_line
52034         mode.
52035
52036         [BZ #11697]
52037         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52038
52039         [BZ #11820]
52040         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52041         (struct user_fpregs_struct): Avoid __uint*_t types.
52042
52043         [BZ #6420]
52044         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52045         symbol info.  Use it instead of calling _dl_addr locally.
52046         (lock_and_info): New function.
52047         (tr_freehook): Call lock_and_info and pass symbol info as additional
52048         parameter to tr_where.
52049         (tr_mallochook): Likewise.
52050         (tr_reallochook): Likewise.
52051         (tr_memalignhook): Likewise.
52052
52053         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52054         used and couldn't be at all thread-safe.
52055
52056 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52057
52058         * libio/freopen.c (freopen): Don't close old file descriptor
52059         before the new one is opened.  Instead dup the new file descriptor
52060         to the old one after the new stream is created.
52061         * libio/freopen64.c (freopen64): Likewise.
52062         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52063         * libio/fileops.c (_IO_new_file_close_it): Handle new
52064         _IO_FLAGS2_NOCLOSE flag.
52065         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52066         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52067         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52068         _IO_FLAGS2_NOCLOSE flag.
52069         * include/unistd.h: Add hidden_proto for dup3.
52070         Define __have_dup3.
52071         * io/dup3.c: Define hidden symbol.
52072         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52073
52074         [BZ #7101]
52075         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52076         when an incomplete long option is used.
52077         * posix/tst-getopt_long1.c: New file.
52078         * posix/Makefile (tests): Add tst-getopt_long1.
52079
52080         [BZ #10138]
52081         * scripts/config.guess: Update from autoconf-2.68.
52082         * scripts/config.sub: Likewise.
52083
52084         [BZ #10157]
52085         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52086         tests into ...
52087         (has_cpuclock): ...this.  New function.
52088         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52089         macro here based on has_cpuclock code.
52090
52091         [BZ #10149]
52092         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52093         First byte (not low byte) is now always NUL.
52094         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52095
52096         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52097         Use non-cancelable interfaces.
52098
52099         [BZ #9809]
52100         * locale/iso-639.def: Add entry for Sorani.
52101
52102         [BZ #11901]
52103         * include/stdlib.h: Move include protection to the right place.
52104         Define abort_msg_s.  Declare __abort_msg with it.
52105         * stdlib/abort.c (__abort_msg): Adjust type.
52106         * assert/assert.c (__assert_fail_base): New function.  Majority
52107         of code from __assert_fail.  Allocate memory for __abort_msg with
52108         mmap.
52109         (__assert_fail): Now call __assert_fail_base.
52110         * assert/assert-perr.c: Remove bulk of implementation.  Use
52111         __assert_fail_base.
52112         * include/assert.hL Declare __assert_fail_base.
52113         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52114         mmap.
52115         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52116
52117 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52118
52119         [BZ #11952]
52120         [BZ #12453]
52121         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52122         until all modules are registered in the DTV.
52123         * elf/Makefile: Add rules to build and run tst-tls19.
52124         * elf/tst-tls19.c: New file.
52125         * elf/tst-tls19mod1.c: New file.
52126         * elf/tst-tls19mod2.c: New file.
52127         * elf/tst-tls19mod3.c: New file.
52128         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52129
52130         [BZ #12083]
52131         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52132         correctly.
52133
52134         [BZ #12601]
52135         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52136         two-byte sequence errors.
52137         * iconvdata/Makefile (tests): Add bug-iconv8.
52138         * iconvdata/bug-iconv8.c: New file.
52139
52140         [BZ #12626]
52141         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52142         buf2 definition.
52143
52144         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52145
52146         [BZ #12432]
52147         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52148         (dummy_getcfa): New function.
52149         (init): Get _Unwind_GetCFA address, use dummy if not found.
52150         (backtrace_helper): In recursion check, also check whether CFA changes.
52151         (__backtrace): Completely initialize arg.
52152
52153         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52154         storing incomplete byte sequence in state object.  Avoid testing for
52155         guaranteed too small input if we know there is enough data available.
52156
52157 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52158
52159         * Makeconfig (+link-pie): Indent.
52160         * Rules (binaries-pie): Define if $(have-fpie) and
52161         $(build-shared).
52162         (binaries-shared): Also filter out $(binaries-pie).
52163         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52164         * nscd/Makefile (others-pie): Add nscd.
52165         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52166         ($(objpfx)nscd): Remove command override.
52167         * login/Makefile (others-pie): Add pt_chown.
52168         ($(objpfx)pt_chown): Remove command override.
52169         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52170         remove command overrides.
52171
52172 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52173
52174         * libio/tst_putwc.c: Fix error messages.
52175
52176         [BZ #12724]
52177         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52178         currently writing and seek to current position when not.
52179         * libio/Makefile (tests): Add bug-fclose1.
52180         * libio/bug-fclose1.c: New file.
52181
52182 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52183
52184         [BZ #12511]
52185         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52186         don't set DF_1_NODELETE here.
52187         (do_lookup_x): When entering new entry test for copy relocation
52188         and if necessary set DF_1_NODELETE flag.
52189         * elf/tst-unique4.cc: New file.
52190         * elf/tst-unique4.h: New file.
52191         * elf/tst-unique4lib.cc: New file.
52192         * elf/Makefile: Add rules to build and run tst-unique4.
52193         Patch by Piotr Bury <pbury@goahead.com>.
52194
52195 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52196
52197         [BZ #12052]
52198         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52199
52200         [BZ #12625]
52201         * misc/mntent_r.c (addmntent): Flush the stream after the output
52202
52203         [BZ #12393]
52204         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52205         (is_trusted_path_normalize): Skip initial colon.  Append slash
52206         to empty buffer.  Duplicate is_trusted_path code but allow
52207         constructed patch to be prefix.
52208         (is_dst): Allow $ORIGIN followed by /.
52209         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52210         Correct testing of result of is_trusted_path_normalize
52211         (decompose_rpath): Fix warning.
52212
52213 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52214
52215         [BZ #11257]
52216         * grp/initgroups.c (internal_getgrouplist): When we found the service
52217         list through the initgroups entry in nsswitch.conf do not always
52218         continue on a successful lookup.  Don't always use the
52219         __nss_group_database value if it is set.
52220         * nss/nsswitch.conf (initgroups): Change action for successful db
52221         lookup to continue for compatibility.
52222
52223 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52224
52225         [BZ #11532]
52226         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52227         and CP774 modules.
52228         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52229         and CP774 modules.
52230         * iconvdata/tst-tables.sh: Likewise.
52231         * iconvdata/cp770.c: New file.
52232         * iconvdata/cp771.c: New file.
52233         * iconvdata/cp772.c: New file.
52234         * iconvdata/cp773.c: New file.
52235         * iconvdata/cp774.c: New file.
52236         * iconvdata/testdata/CP770: New file.
52237         * iconvdata/testdata/CP770..UTF8: New file.
52238         * iconvdata/testdata/CP771: New file.
52239         * iconvdata/testdata/CP771..UTF8: New file.
52240         * iconvdata/testdata/CP772: New file.
52241         * iconvdata/testdata/CP772..UTF8: New file.
52242         * iconvdata/testdata/CP773: New file.
52243         * iconvdata/testdata/CP773..UTF8: New file.
52244         * iconvdata/testdata/CP774: New file.
52245         * iconvdata/testdata/CP774..UTF8: New file.
52246
52247         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52248         END CHARMAP line.
52249         * iconvdata/gen-8bit-gap.sh: Likewise.
52250         * iconvdata/gen-8bit.sh: Likewise.
52251
52252         * locale/iso-639.def: Add ary entry.
52253
52254         [BZ #11258]
52255         * locale/C-translit.h.in: Add U20A1 transliteration.
52256
52257         [BZ #12178]
52258         * locale/iso-639.def: Add wae entry.
52259         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52260
52261         [BZ #12545]
52262         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52263         for n.
52264
52265         [BZ #12711]
52266         * locale/C-translit.h.in: Add entry for U20B9.
52267         Patch by pravin.d.s@gmail.com.
52268
52269 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52270
52271         [BZ #12713]
52272         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52273         ENAMETOOLONG use generic getcwd.
52274         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52275         in rtld.  Use *stat64.
52276         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52277         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52278         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52279         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52280         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52281         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52282         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52283         __fstatat64 macros.
52284         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52285         * dirent/rewinddir.c: Add libc_hidden_def.
52286         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52287         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52288
52289         * include/dirent.h (__alloc_dir): Add flags parameter.
52290         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52291         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52292         __alloc_dir.
52293         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52294         from fdopendir if O_CLOEXEC is already set.
52295
52296 2011-03-15  Alan Modra  <amodra@gmail.com>
52297
52298         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52299         l_tls_firstbyte_offset non-zero.  Save padding offset in
52300         l_tls_firstbyte_offset for later use.
52301         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52302         freeing static tls block.
52303
52304 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52305
52306         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52307         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52308         being defined by the kernel headers.
52309
52310 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52311
52312         [BZ #12734]
52313         * resolv/resolv.h: Define RES_NOTLDQUERY.
52314         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52315         no-tld-query and set RES_NOTLDQUERY.
52316         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52317         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52318         modern BIND to search name as TLD unless forbidden.
52319
52320 2011-05-07  Petr Baudis  <pasky@suse.cz>
52321             Ulrich Drepper  <drepper@gmail.com>
52322
52323         [BZ #12393]
52324         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52325         (is_trusted_path): ...to here.
52326         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52327         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52328         using is_trusted_path_normalize() in setuid scripts.
52329
52330 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52331
52332         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52333         __BEGIN/__END_DECLS.
52334
52335 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52336
52337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52338         NSS_STATUS_NOTFOUND if no record was found.
52339
52340 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52341
52342         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52343         (headers-not-in-tirpc): Remove rpc/netdb.h
52344         * resolv/netdb.h: Revert last change.
52345
52346 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52347
52348         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52349         circular dependency between libgcc.a and libc.a.
52350
52351 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52352
52353         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52354         * nis/Makefile: Don't install rpcsvc/*.
52355         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52356         instead of <rpc/types.h>.
52357         (MAXHOSTNAMELEN): Define.
52358
52359 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52360
52361         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52362
52363 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52364
52365         [BZ #12714]
52366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52367         gethostbyname4_r when IPv6 results are possible.
52368
52369 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52370
52371         [BZ #12723]
52372         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52373         _PC_PIPE_BUF handling.
52374
52375 2011-04-30  Bruno Haible  <bruno@clisp.org>
52376
52377         [BZ #12717]
52378         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52379         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52380         to 'int'.
52381         * inet/getnameinfo.c (getnameinfo): Likewise.
52382
52383 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52384
52385         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52386         to groups setting in database lookup.
52387         * nss/nsswitch.conf: Add initgroups entry.
52388
52389 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52390
52391         [BZ #12685]
52392         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52393         mode string.
52394         Patch by Eric Blake <eblake@redhat.com>.
52395
52396 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52397
52398         * sunrpc/Makefile (need-export-routines): Add svc_run.
52399         (routines): Remove svc_run.
52400         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52401         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52402         * sunrpc/svc_run.c (svc_run): Likewise.
52403         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52404
52405 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52406
52407         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52408         problem in reallocation in last patch.
52409
52410 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52411
52412         * sunrpc/Makefile: Move inclusion of Rules.
52413
52414 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52415
52416         * nss/nss_files/files-initgroups.c: New file.
52417         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52418         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52419         _nss_files_initgroups_dyn.
52420
52421 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52422
52423         * elf/elf.h (R_ARM_IRELATIVE): Define.
52424
52425 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52426
52427         * po/ru.po: Update from translation team.
52428
52429 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52430
52431         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52432         dependencies.
52433
52434 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52435
52436         [BZ #12653]
52437         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52438         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52439         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52440         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52441         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52442
52443 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52444
52445         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52446         differing bytes.
52447         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52448         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52449         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52450
52451 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52452
52453         [BZ #12420]
52454         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52455         storing it.
52456         * stdlib/bug-getcontext.c: New file.
52457         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52458
52459 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52460
52461         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52462         instructions into .machine "z9-109".
52463         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52464         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52465
52466 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52467
52468         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52469         between environment variables and auxiliary vector.
52470
52471 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52472
52473         * Makefile: Add rules to build linkobj/libc.so.
52474         * include/libc-symbols.h: Define libc_hidden_nolink.
52475         * include/rpc/auth.h: Mark functions which are to be hidden.
52476         * include/rpc/auth_des.h: Likewise.
52477         * include/rpc/auth_unix.h: Likewise.
52478         * include/rpc/clnt.h: Likewise.
52479         * include/rpc/des_crypt.h: Likewise.
52480         * include/rpc/key_prot.h: Likewise.
52481         * include/rpc/pmap_clnt.h: Likewise.
52482         * include/rpc/pmap_prot.h: Likewise.
52483         * include/rpc/pmap_rmt.h: Likewise.
52484         * include/rpc/rpc_msg.h: Likewise.
52485         * include/rpc/svc.h: Likewise.
52486         * include/rpc/svc_auth.h: Likewise.
52487         * include/rpc/xdr.h: Likewise.
52488         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52489         * nss/Makefile: Likewise.
52490         * sunrpc/Makefile: Don't install headers.  Build library with normal
52491         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52492         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52493         for the compat linking library.  Remove use of INTDEF/INTUSE.
52494         * sunrpc/auth_none.c: Likewise.
52495         * sunrpc/auth_unix.c: Likewise.
52496         * sunrpc/authdes_prot.c: Likewise.
52497         * sunrpc/authuxprot.c: Likewise.
52498         * sunrpc/clnt_gen.c: Likewise.
52499         * sunrpc/clnt_perr.c: Likewise.
52500         * sunrpc/clnt_raw.c: Likewise.
52501         * sunrpc/clnt_simp.c: Likewise.
52502         * sunrpc/clnt_tcp.c: Likewise.
52503         * sunrpc/clnt_udp.c: Likewise.
52504         * sunrpc/clnt_unix.c: Likewise.
52505         * sunrpc/des_crypt.c: Likewise.
52506         * sunrpc/des_soft.c: Likewise.
52507         * sunrpc/get_myaddr.c: Likewise.
52508         * sunrpc/key_call.c: Likewise.
52509         * sunrpc/key_prot.c: Likewise.
52510         * sunrpc/netname.c: Likewise.
52511         * sunrpc/pm_getmaps.c: Likewise.
52512         * sunrpc/pm_getport.c: Likewise.
52513         * sunrpc/pmap_clnt.c: Likewise.
52514         * sunrpc/pmap_prot.c: Likewise.
52515         * sunrpc/pmap_prot2.c: Likewise.
52516         * sunrpc/pmap_rmt.c: Likewise.
52517         * sunrpc/publickey.c: Likewise.
52518         * sunrpc/rpc_cmsg.c: Likewise.
52519         * sunrpc/rpc_common.c: Likewise.
52520         * sunrpc/rpc_dtable.c: Likewise.
52521         * sunrpc/rpc_prot.c: Likewise.
52522         * sunrpc/rpc_thread.c: Likewise.
52523         * sunrpc/rtime.c: Likewise.
52524         * sunrpc/svc.c: Likewise.
52525         * sunrpc/svc_auth.c: Likewise.
52526         * sunrpc/svc_authux.c: Likewise.
52527         * sunrpc/svc_raw.c: Likewise.
52528         * sunrpc/svc_run.c: Likewise.
52529         * sunrpc/svc_simple.c: Likewise.
52530         * sunrpc/svc_tcp.c: Likewise.
52531         * sunrpc/svc_udp.c: Likewise.
52532         * sunrpc/svc_unix.c: Likewise.
52533         * sunrpc/svcauth_des.c: Likewise.
52534         * sunrpc/xcrypt.c: Likewise.
52535         * sunrpc/xdr.c: Likewise.
52536         * sunrpc/xdr_array.c: Likewise.
52537         * sunrpc/xdr_float.c: Likewise.
52538         * sunrpc/xdr_intXX_t.c: Likewise.
52539         * sunrpc/xdr_mem.c: Likewise.
52540         * sunrpc/xdr_rec.c: Likewise.
52541         * sunrpc/xdr_ref.c: Likewise.
52542         * sunrpc/xdr_sizeof.c: Likewise.
52543         * sunrpc/xdr_stdio.c: Likewise.
52544
52545 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52546
52547         [BZ #12650]
52548         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52549         * sysdeps/ia64/dl-tls.h: Likewise.
52550         * sysdeps/powerpc/dl-tls.h: Likewise.
52551         * sysdeps/s390/dl-tls.h: Likewise.
52552         * sysdeps/sh/dl-tls.h: Likewise.
52553         * sysdeps/sparc/dl-tls.h: Likewise.
52554         * sysdeps/x86_64/dl-tls.h: Likewise.
52555         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52556
52557 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52558
52559         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52560         rpath element also skip the following colon.
52561         (expand_dynamic_string_token): Add is_path parameter and pass
52562         down to DL_DST_REQUIRED and _dl_dst_substitute.
52563         (decompose_rpath): Call expand_dynamic_string_token with
52564         non-zero is_path.  Ignore empty rpaths.
52565         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52566         with zero is_path.
52567
52568 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52569
52570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52571         Make cancelable.
52572
52573 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52574
52575         [BZ #12655]
52576         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52577         Patch by Filipe David Manana <fdmanana@apache.org>.
52578
52579 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52580
52581         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52582         Maintain aligned stack.
52583         (CHECK_RSP): Remove unused macro.
52584
52585 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52586
52587         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52588         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52589
52590 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52591
52592         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52593
52594         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52595
52596 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52597
52598         [BZ #12518]
52599         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52600         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52601         * sysdeps/x86_64/memmove.c: New file.
52602         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52603         (memcpy): Renamed to ...
52604         (__new_memcpy): This.
52605         (memcpy): Provide GLIBC_2_14 memcpy.
52606         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52607         (memcpy): Provide GLIBC_2_2_5 memcpy.
52608
52609 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52610
52611         [BZ #12631]
52612         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52613
52614 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52615
52616         * misc/syncfs.c: New file.
52617         * misc/Makefile (routines): Add syncfs.
52618         * posix/unistd.h: Declare syncfs.
52619         * sysdeps/unix/syscalls.list: Add syncfs.
52620
52621 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52622
52623         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52624         open_by_handle_at.
52625         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52626         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52628         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52630         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52631         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52632
52633 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52634
52635         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52636         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52637         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52638         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52639         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52641         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52642
52643         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52644         sync_file_range.c with -fexceptions.
52645         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52646         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52647         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52648         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52649         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52650         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52652         sync_file_range as cancellation point
52653         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52654         now a wrapper around __call_sync_file_range with cancellation handling.
52655         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52656         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52657         function name to __call_sync_file_range.
52658         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52659         Add call_sync_file_range.
52660
52661 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52662
52663         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52664         bits/timex.h.
52665
52666 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52667
52668         * iconv/iconv.h: Fix typo in comment.
52669         * io/fcntl.h: Likewise.
52670         * libio/stdio.h: Likewise.
52671         * posix/spawn.h: Likewise.
52672         * posix/unistd.h: Likewise.
52673         * stdlib/stdlib.h: Likewise.
52674         * time/time.h: Likewise.
52675         * wcsmbs/wchar.h: Likewise.
52676
52677         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52678         open_by_handle): Add.
52679         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52680         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52681         Augment a few comments.
52682         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52684         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52686         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52687         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52688         open_by_handle.
52689
52690         * io/fcntl.h (AT_EMPTY_PATH): Define.
52691
52692 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52693
52694         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52695         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52696         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52697         to...
52698         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52699         * Versions.def: Add GLIBC_2.14.
52700         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52701         Export.
52702
52703 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52704
52705         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52706         round counter.
52707         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52708
52709 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52710
52711         [BZ #12597]
52712         * string/test-strncmp.c (do_page_test): New function.
52713         (check2): Likewise.
52714         (test_main): Call check2.
52715         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52716
52717 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52718
52719         [BZ #12587]
52720         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52721         Handle cache information in CPU leaf 4.
52722         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52723
52724 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52725
52726         [BZ #12583]
52727         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52728         character representation.
52729         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52730
52731 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52732
52733         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52734         END(__isnan) to END(__isnanf) to match function entry point/label
52735         EALIGN(__isnanf,...).
52736
52737 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52738
52739         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52740
52741 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52742
52743         [BZ #12510]
52744         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52745         copy from the symbol referenced in the relocation to initialize the
52746         used variable.
52747         Patch by Piotr Bury <pbury@goahead.com>.
52748         * elf/Makefile: Add rules to build and tst-unique3.
52749         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52750         * elf/tst-unique3.cc: New file.
52751         * elf/tst-unique3.h: New file.
52752         * elf/tst-unique3lib.cc: New file.
52753         * elf/tst-unique3lib2.cc: New file.
52754
52755         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52756
52757 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52758
52759         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52760         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52761         to _start.
52762
52763 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52764
52765         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52766         to-be-loaded object along a path to loader is ld.so.
52767
52768 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52769             Ulrich Drepper  <drepper@gmail.com>
52770
52771         * sysdeps/x86_64/memset.S: After aligning destination, code
52772         branches to different locations depending on the value of
52773         misalignment, when multiarch is enabled. Fix this.
52774
52775 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52776
52777         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52778         Set _x86_64_preferred_memory_instruction for AMD processsors.
52779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52780         Set bit_Prefer_SSE_for_memop for AMD processors.
52781
52782 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52783
52784         * libio/fmemopen.c (fmemopen): Optimize a bit.
52785
52786 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52787
52788         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52789
52790 2011-03-03  Roland McGrath  <roland@redhat.com>
52791
52792         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52793
52794 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52795
52796         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52797         __bzero_ultra1 instead of __memset_ultra1.
52798
52799 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52800             Ulrich Drepper  <drepper@gmail.com>
52801
52802         [BZ #12509]
52803         * include/link.h (struct link_map): Add l_orig_initfini.
52804         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52805         returning unsuccessfully.
52806         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52807         close of a file loaded at startup, restore the original l_initfini
52808         list.
52809         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52810         list, store the pointer.
52811         * elf/Makefile ($(objpfx)noload-mem): New rule.
52812         (noload-ENV): Define.
52813         (tests): Add $(objpfx)noload-mem.
52814         * elf/noload.c: Include <memcheck.h>.
52815         (main): Call mtrace.  Close all opened handles.
52816
52817 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52818
52819         [BZ #12454]
52820         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52821         dependencies are missing.
52822
52823 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52824
52825         Fix __if_freereq crash: Unlike the generic version which uses free,
52826         Hurd needs munmap.
52827         * sysdeps/mach/hurd/ifreq.h: New file.
52828
52829 2011-01-27  Petr Baudis  <pasky@suse.cz>
52830             Ulrich Drepper  <drepper@gmail.com>
52831
52832         [BZ 12445]#
52833         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52834         to extend_alloca().
52835         * stdio-common/bug23.c: New file.
52836         * stdio-common/Makefile (tests): Add bug23.
52837
52838 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52839             Ulrich Drepper  <drepper@gmail.com>
52840
52841         [BZ #12489]
52842         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52843         before performing relro protection.  At old place add assertion
52844         to make sure nothing changed.
52845
52846 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52847             Glauber de Oliveira Costa  <glommer@gmail.com>
52848
52849         * elf/elf.h: Add new ARM TLS relocs.
52850
52851 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52852
52853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52854         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52855         cast from r3.
52856         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52857         'tests' variable.
52858         * sysdeps/wordsize-64/tst-writev.c: New file.
52859
52860 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52861
52862         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52863         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52864         insns in _dl_start to prevent a TOC reference before relocs are
52865         resolved.
52866
52867 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52868
52869         [BZ #12469]
52870         * Makeconfig: Remove RANLIB definition.
52871         * Makerules: Don't use RANLIB.
52872         * aclocal.m4: Remove ranlib test.
52873         * configure.in: No need to check for ranlib.
52874         * elf/rtld-Rules: Don't use RANLIB.
52875
52876 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52877
52878         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52879         protection macro.
52880         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52881         inclusion protection macro.
52882
52883         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52884         SIGRTMIN and SIGRTMAX and print information in that case only when
52885         SIGRTMIN is defined.
52886
52887 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52888
52889         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52890         arginfo fn returning -1.
52891
52892         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52893         and thousands string is zero terminated.
52894
52895 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52896
52897         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52898         sysdeps/unix/sysv/linux/bits/socket.h.
52899
52900 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52901
52902         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52903         (__CPU_COUNT): Remove old macros.
52904         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52905         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52906         (__CPU_ALLOC, __CPU_FREE): Add macros.
52907         (__sched_cpualloc, __sched_cpufree): Add declarations.
52908
52909 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52910
52911         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52912         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52913         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52914         (readdhstai): Return value of addhstaiX call.
52915         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52916         (addgrbyX): Return value returned by cache_addgr.
52917         (readdgrbyname): Return value returned by addgrbyX.
52918         (readdgrbygid): Likewise.
52919         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52920         (addpwbyX): Return value returned by cache_addpw.
52921         (readdpwbyname): Return value returned by addhstbyX.
52922         (readdpwbyuid): Likewise.
52923         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52924         (addservbyX): Return value returned by cache_addserv.
52925         (readdservbyname): Return value returned by addservbyX:
52926         (readdservbyport): Likewise.
52927         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52928         (addhstbyX): Return value returned by cache_addhst.
52929         (readdhstbyname): Return value returned by addhstbyX.
52930         (readdhstbyaddr): Likewise.
52931         (readdhstbynamev6): Likewise.
52932         (readdhstbyaddrv6): Likewise.
52933         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52934         (readdinitgroups): Return value returned by addinitgroupsX.
52935         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52936         (prune_cache): Keep track of timeout value of re-added entries.
52937         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52938         * nscd/nscd.h: Adjust prototypes of readd* functions.
52939
52940 2011-02-04  Roland McGrath  <roland@redhat.com>
52941
52942         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52943         (nis_stats): Likewise.
52944         * nis/nis_modify.c (nis_modify): Likewise.
52945         * nis/nis_remove.c (nis_remove): Likewise.
52946         * nis/nis_add.c (nis_add): Likewise.
52947
52948         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52949
52950         * posix/fnmatch_loop.c: Add some consts.
52951
52952         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52953
52954 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52955
52956         [BZ #12460]
52957         * config.make.in (config-cflags-novzeroupper): Define.
52958         * configure.in: Substitute libc_cv_cc_novzeroupper.
52959         * elf/Makefile (AVX-CFLAGS): Define.
52960         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52961         (CFLAGS-tst-auditmod4a.c): Likewise.
52962         (CFLAGS-tst-auditmod4b.c): Likewise.
52963         (CFLAGS-tst-auditmod6b.c): Likewise.
52964         (CFLAGS-tst-auditmod6c.c): Likewise.
52965         (CFLAGS-tst-auditmod7b.c): Likewise.
52966         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52967
52968 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52969
52970         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52971         function to the callback.
52972         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52973
52974 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52975
52976         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52977         of errno.
52978
52979 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52980
52981         [BZ #11724]
52982         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52983         of constructors.
52984         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52985         of destructors.
52986         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52987
52988         [BZ #11724]
52989         * elf/Makefile: Add rules to build and run new test.
52990         * elf/tst-initorder.c: New file.
52991         * elf/tst-initorder.exp: New file.
52992         * elf/tst-initordera1.c: New file.
52993         * elf/tst-initordera2.c: New file.
52994         * elf/tst-initordera3.c: New file.
52995         * elf/tst-initordera4.c: New file.
52996         * elf/tst-initorderb1.c: New file.
52997         * elf/tst-initorderb2.c: New file.
52998         * elf/tst-order-a1.c: New file.
52999         * elf/tst-order-a2.c: New file.
53000         * elf/tst-order-a3.c: New file.
53001         * elf/tst-order-a4.c: New file.
53002         * elf/tst-order-b1.c: New file.
53003         * elf/tst-order-b2.c: New file.
53004         * elf/tst-order-main.c: New file.
53005         New test case by George Gensure <werkt0@gmail.com>.
53006
53007 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53008
53009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53010         decoding ACE if AI_CANONIDN.
53011
53012 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53013
53014         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53015
53016 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53017
53018         * version.h (RELEASE): Bump for 2.13 release.
53019         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53020
53021         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53022
53023         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53024         MADV_NOHUGEPAGE.
53025         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53026         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53027         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53028         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53029         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53030         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53031
53032         * posix/getconf.c: Update copyright year.
53033         * catgets/gencat.c: Likewise.
53034         * csu/version.c: Likewise.
53035         * debug/catchsegv.sh: Likewise.
53036         * debug/xtrace.sh: Likewise.
53037         * elf/ldconfig.c: Likewise.
53038         * elf/ldd.bash.in: Likewise.
53039         * elf/sprof.c (print_version): Likewise.
53040         * iconv/iconv_prog.c: Likewise.
53041         * iconv/iconvconfig.c: Likewise.
53042         * locale/programs/locale.c: Likewise.
53043         * locale/programs/localedef.c: Likewise.
53044         * malloc/memusage.sh: Likewise.
53045         * malloc/mtrace.pl: Likewise.
53046         * nscd/nscd.c (print_version): Likewise.
53047         * nss/getent.c: Likewise.
53048
53049         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53050         PF_CAIF, and PF_ALG.
53051         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53052
53053 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53054
53055         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53056         (modules-names): Use them.
53057         (ifunc-test-modules, ifunc-pie-tests): Define.
53058         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53059         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53060         (test-extras): Likewise.
53061         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53062         $(compile-command.c).
53063         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53064         (all-built-dso): Define.
53065         (check-textrel.out, check-execstack.out): Depend on it.
53066
53067         * configure.in: Don't override --enable-multi-arch.
53068
53069 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53070
53071         [BZ #6812]
53072         * nscd/hstcache.c (tryagain): Define.
53073         (cache_addhst): Return tryagain not notfound for temporary errors.
53074         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53075         failed.
53076
53077 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53078
53079         [BZ #10563]
53080         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53081         to make the syscall.
53082         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53083
53084         [BZ #12378]
53085         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53086         and fall back to matching as normal character if the string ends before
53087         the matching ']' is found.  This is what POSIX requires.
53088         * posix/testfnm.c: Adjust test result.
53089         * posix/globtest.sh: Adjust test result.  Add new test.
53090         * posix/tst-fnmatch.input: Likewise.
53091         * posix/tst-fnmatch2.c: Add new test.
53092
53093 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53094
53095         * elf/Makefile (check-execstack): Revert last change.  Depend on
53096         check-execstack.h.
53097         (check-execstack.h): New target.
53098         (generated): Add check-execstack.h.
53099         * elf/check-execstack.c: Include "check-execstack.h".
53100         (main): Revert last change.
53101         (handle_file): Return zero if GNU_STACK is absent and
53102         DEFAULT_STACK_PERMS doesn't include PF_X.
53103
53104 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53105
53106         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53107         in child fails because the descriptor is already closed.
53108         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53109         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53110         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53111
53112         [BZ #12397]
53113         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53114         syscall.
53115
53116         [BZ #10484]
53117         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53118         temporary buffer used to handle multi lookups locally.
53119         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53120
53121 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53122
53123         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53124         loader is ld.so.
53125
53126 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53127
53128         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53129         alignment for SSE2.
53130
53131 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53132
53133         [BZ #12394]
53134         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53135         characters.  When rounding increased number of integer digits recompute
53136         number of groups.
53137         * stdio-common/tst-grouping.c: New file.
53138         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53139
53140 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53141
53142         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53143         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53144
53145         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53146         void.
53147         * bits/select.h: Likewise.
53148
53149 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53150
53151         * po/ja.po: Update from translation team.
53152
53153 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53154
53155         [BZ #11155]
53156         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53157         implementation just like for lxstat, fxstatat, et al.
53158
53159 2010-12-27  Jim Meyering  <meyering@redhat.com>
53160
53161         [BZ #12348]
53162         * posix/regexec.c (build_trtable): Return failure indication upon
53163         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53164
53165 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53166
53167         [BZ #12201]
53168         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53169         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53170         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53171         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53172
53173         [BZ #12207]
53174         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53175
53176         [BZ #12204]
53177         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53178         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53179
53180 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53181
53182         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53183         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53184         script has SORT_BY_INIT_PRIORITY.
53185         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53186         NO_CTORS_DTORS_SECTIONS is defined.
53187         * elf/soinit.c: Likewise.
53188         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53189         NO_CTORS_DTORS_SECTIONS is defined.
53190         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53191         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53192         * sysdeps/sh/init-first.c: Likewise.
53193         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53194
53195 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53196
53197         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53198         always use the slow path.
53199
53200 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53201
53202         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53203         similar rule which adds the sysdep directories to the header search in
53204         order to pick up the correct platform stackinfo.h.
53205         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53206         perform test if it is, otherwise return successfully without testing.
53207         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53208         DEFAULT_STACK_PERMS define in stackinfo.h.
53209         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53210         defined in stackinfo.h.
53211         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53212         DEFAULT_STACK_PERMS defined in stackinfo.h.
53213         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53214         * sysdeps/ia64/stackinfo.h: Likewise.
53215         * sysdeps/s390/stackinfo.h: Likewise.
53216         * sysdeps/sh/stackinfo.h: Likewise.
53217         * sysdeps/sparc/stackinfo.h: Likewise.
53218         * sysdeps/x86_64/stackinfo.h: Likewise.
53219         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53220         PF_X for powerpc64.  Retain PF_X for powerpc32.
53221
53222 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53223
53224         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53225         accurately.
53226         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53227         GETDENTS_64BIT_ALIGNED.
53228
53229 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53230
53231         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53232
53233 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53234
53235         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53236         _GNU_SOURCE.
53237
53238         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53239         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53240         Remove __restrict.
53241         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53242         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53243
53244 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53245
53246         [BZ #11655]
53247         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53248         are initialized.
53249
53250 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53251
53252         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53253
53254 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53255
53256         * po/it.po: Update from translation team.
53257
53258 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53259
53260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53261         unused codes.
53262
53263 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53264
53265         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53266
53267 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53268
53269         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53270         specially.
53271         (gaih_getanswer_slice): Likewise.
53272
53273 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53274
53275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53276
53277 2010-05-31  Petr Baudis  <pasky@suse.cz>
53278
53279         [BZ #11149]
53280         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53281         silently even in the chroot mode.
53282
53283 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53284
53285         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53286         last patch a bit.  Pretty printing
53287
53288 2010-05-31  Petr Baudis <pasky@suse.cz>
53289
53290         [BZ #10085]
53291         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53292         initialization of skip_initgroups_dyn.
53293
53294 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53295
53296         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53297         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53298
53299 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53300
53301         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53302
53303 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53304
53305         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53306         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53307         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53308         ($(objpfx)tst-fnmatch-mem): New rule.
53309         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53310         * posix/tst-fnmatch.c (main): Call mtrace.
53311
53312 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53313
53314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53315         Support Intel processor model 6 and model 0x2c.
53316
53317 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53318
53319         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53320           signed comparison.
53321
53322 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53323
53324         [BZ #12205]
53325         * string/test-strncasecmp.c (check_result): New function.
53326         (do_one_test): Use it.
53327         (check1): New function.
53328         (test_main): Use it.
53329         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53330         Support strcasecmp and strncasecmp.
53331
53332 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53333
53334         [BZ #12194]
53335         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53336         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53337
53338 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53339
53340         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53341         IFUNC support.
53342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53343         memset-x86-64.
53344         * sysdeps/x86_64/multiarch/bzero.S: New file.
53345         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53346         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53347         * sysdeps/x86_64/multiarch/memset.S: New file.
53348         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53349         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53350         Set bit_Prefer_SSE_for_memop for Intel processors.
53351         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53352         Define.
53353         (index_Prefer_SSE_for_memop): Define.
53354         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53355
53356 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53357
53358         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53359         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53360
53361 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53362
53363         [BZ #12191]
53364         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53365         (__x86_64_raw_data_cache_size_half): Likewise.
53366         (__x86_64_raw_shared_cache_size): Likewise.
53367         (__x86_64_raw_shared_cache_size_half): Likewise.
53368
53369         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53370         (__x86_64_raw_data_cache_size_half): Likewise.
53371         (__x86_64_raw_shared_cache_size): Likewise.
53372         (__x86_64_raw_shared_cache_size_half): Likewise.
53373         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53374         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53375         and __x86_64_raw_shared_cache_size_half.  Round
53376         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53377         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53378         to multiple of 256 bytes.
53379
53380 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53381
53382         [BZ #12167]
53383         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53384         of inacessible symlinks.  Verify result of symlink before returning it.
53385         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53386         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53387
53388 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53389
53390         * math/math.h (isinf): Fix typo in comment.
53391
53392 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53393
53394         * po/da.po: Update from translation team.
53395
53396 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53397
53398         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53399         is added to the list.
53400
53401 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53402             Ulrich Drepper  <drepper@gmail.com>
53403
53404         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53405         the global list here.  Move code to...
53406         (_dl_add_to_namespace_list): ...here.  New function.
53407         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53408         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53409         * elf/dl-load.c (lose): Don't remove the element from the list.
53410         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53411         (_dl_map_object): Likewise.
53412
53413 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53414
53415         [BZ #12159]
53416         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53417         into all bytes of SSE register.
53418         Patch by Richard Li <richardpku@gmail.com>.
53419
53420 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53421
53422         [BZ #12140]
53423         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53424         perturbing.
53425
53426 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53427
53428         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53429         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53430         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53431         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53433         submachine.
53434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53435
53436 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53437
53438         * include/dlfcn.h (__RTLD_SECURE): Define.
53439         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53440         mode & __RTLD_SECURE instead.
53441         (open_path): Rename preloaded parameter to secure.
53442         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53443         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53444         * elf/dl-deps.c (openaux): Likewise.
53445         * elf/rtld.c (struct map_args): Remove is_preloaded.
53446         (map_doit): Don't use it.
53447         (dl_main): Likewise.
53448         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53449         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53450
53451 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53452
53453         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53454         (sysd-rules-targets): Remove duplicates.
53455         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53456         rtld-%.$o dependency.
53457
53458 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53459
53460         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53461         _dl_map_object do it.
53462
53463 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53464
53465         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53466         fast fma builtins, define the macros in the C99 standard.
53467         (FP_FAST_FMAF): Likewise.
53468         (FP_FAST_FMAL): Likewise.
53469         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53470
53471         * bits/mathdef.h: Update copyright year.
53472         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53473
53474 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53475
53476         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53477         builtins, define the macros in the C99 standard.
53478         (FP_FAST_FMAF): Likewise.
53479         (FP_FAST_FMAL): Likewise.
53480         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53481         multiply/add.
53482         (FP_FAST_FMAF): Likewise.
53483
53484 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53485
53486         [BZ #3268]
53487         * math/libm-test.inc (fma_test): Some new testcases.
53488         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53489         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53490         y and infinite z.  Do multiplication by C already in long double.
53491         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53492         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53493         y and infinite z.  Do bitwise or of inexact bit into u.d.
53494         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53495         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53496         * sysdeps/i386/fpu/s_fma.S: Removed.
53497         * sysdeps/i386/fpu/s_fmal.S: Removed.
53498
53499 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53500
53501         [BZ #3268]
53502         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53504         computation is not scheduled after fetestexcept.  Fix value
53505         of minimum denormal long double.
53506
53507 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53508
53509         [BZ #3268]
53510         * math/libm-test.inc (fma_test): Add some more tests.
53511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53512         correctly.
53513
53514 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53515
53516         * scripts/data/localplt-s390-linux-gnu.data: New file.
53517         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53518
53519 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53520
53521         [BZ #3268]
53522         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53523         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53524         instead of dbl-64.
53525         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53526         inlines.
53527         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53529         if one of x and y is very large and the other is subnormal.
53530         * sysdeps/s390/fpu/s_fmaf.c: New file.
53531         * sysdeps/s390/fpu/s_fma.c: New file.
53532         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53533         * sysdeps/powerpc/fpu/s_fma.S: New file.
53534         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53535         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53536         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53537
53538 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53539
53540         [BZ #3268]
53541         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53542         fma tests.
53543         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53544         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53545         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53546         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53547         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53548         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53549         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53550
53551 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53552
53553         [BZ #12078]
53554         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53555         * posix/bug-regex31.input: Add test case.
53556
53557 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53558
53559         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53560         * posix/bug-regex31.input: New file.
53561
53562         [BZ #12078]
53563         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53564         (parse_sub_exp): Fix last change, use postorder.
53565
53566         * posix/bug-regex31.c: New file.
53567         * posix/Makefile: Add rules to build and run bug-regex31.
53568
53569         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53570
53571         [BZ #12078]
53572         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53573
53574         [BZ #12108]
53575         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53576         to have entries in sys_siglist.
53577
53578         [BZ #12093]
53579         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53580         be NULL.
53581
53582 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53583
53584         [BZ #3268]
53585         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53586         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53587         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53588         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53589         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53590         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53591         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53592         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53593         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53594         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53595         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53596         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53597         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53598         * math/ftestexcept.c (fetestexcept): Likewise.
53599         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53600         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53601         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53602         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53603         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53604         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53605         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53606
53607 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53608
53609         [BZ #12107]
53610         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53611         newline.
53612
53613 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53614
53615         * string/bug-strstr1.c: New file.
53616         * string/Makefile: Add rules to build and run bug-strstr1.
53617
53618 2010-10-05  Eric Blake  <eblake@redhat.com>
53619
53620         [BZ #12092]
53621         * string/str-two-way.h (two_way_long_needle): Always clear memory
53622         when skipping input due to the shift table.
53623
53624 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53625
53626         [BZ #12005]
53627         * malloc/mcheck.c: Handle large requests.
53628
53629         [BZ #12077]
53630         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53631         for strncmp and strncasecmp.
53632         * string/stratcliff.c: Add tests for strcmp and strncmp.
53633         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53634
53635 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53636
53637         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53638         __set_fpscr.
53639
53640 2010-09-30  Andreas Jaeger  <aj@suse.de>
53641
53642         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53643         (CGROUP_SUPER_MAGIC): Define.
53644         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53645         Handle btrfs and cgroup file systems.
53646         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53647         Likewise.
53648
53649 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53650
53651         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53652         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53653
53654 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53655
53656         [BZ #12067]
53657         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53658         trying to locate the ELF header.
53659
53660 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53661
53662         [BZ #11611]
53663         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53664         Mask out sign-bit copies when constructing f_fsid.
53665
53666 2010-09-24  Petr Baudis <pasky@suse.cz>
53667
53668         * debug/stack_chk_fail_local.c: Add missing licence exception.
53669         * debug/warning-nop.c: Likewise.
53670
53671 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53672
53673         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53674         implementing getdents64 using getdents syscall, set d_type if
53675         __ASSUME_GETDENTS32_D_TYPE.
53676
53677 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53678
53679         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53680         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53681
53682 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53683
53684         [BZ #12037]
53685         * posix/unistd.h: Undo change of feature selection for ftruncate from
53686         2010-01-11.
53687
53688 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53689
53690         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53691         detection.
53692
53693 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53694
53695         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53696         fanotify_mark.
53697         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53698
53699 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53700
53701         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53702         variables after CHECK_SP call.
53703         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53704
53705 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53706             Ulrich Drepper  <drepper@redhat.com>
53707
53708         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53709         re-relocationg ld.so.
53710         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53711         _dl_init_paths call.
53712         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53713         here anymore.
53714
53715 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53716
53717         * resolv/res_init.c (__res_vinit): Count the default server we added.
53718
53719 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53720             Ulrich Drepper  <drepper@redhat.com>
53721
53722         [BZ #11968]
53723         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53724         (____longjmp_chk): Use %ebx for saving value across system call.
53725         Add unwind info.
53726
53727 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53728
53729         * manual/Makefile: Don't mix pattern rules with normal rules.
53730
53731 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53732
53733         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53734         operation.
53735         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53736         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53737         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53738         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53739         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53740         Likewise.
53741
53742 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53743
53744         [BZ #11979]
53745         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53746         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53747
53748 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53749
53750         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53751         * sysdeps/x86_64/addmul_1.S: Likewise.
53752         * sysdeps/x86_64/lshift.S: Likewise.
53753         * sysdeps/x86_64/mul_1.S: Likewise.
53754         * sysdeps/x86_64/rshift.S: Likewise.
53755         * sysdeps/x86_64/sub_n.S: Likewise.
53756         * sysdeps/x86_64/submul_1.S: Likewise.
53757
53758 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53759
53760         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53761         Define __sched_param instead of SCHED_* and sched_param when
53762         <bits/sched.h> is included with __need_schedparam defined.
53763         * bits/sched.h [__need_schedparam]
53764         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53765         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53766         (__defined_schedparam): Define to 1.
53767         (__sched_param): New structure, identical to sched_param.
53768         (__need_schedparam): Undefine.
53769
53770 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53771
53772         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53773         (epoll_create1): Declare.
53774
53775         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53776
53777 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53778
53779         [BZ #7066]
53780         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53781         shifting retval into place.
53782
53783 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53784
53785         * nis/rpcsvc/nis.h: Update copyright notice.
53786         * nis/rpcsvc/nis.x: Likewise.
53787         * nis/rpcsvc/nis_callback.h: Likewise.
53788         * nis/rpcsvc/nis_callback.x: Likewise.
53789         * nis/rpcsvc/nis_object.x: Likewise.
53790         * nis/rpcsvc/nis_tags.h: Likewise.
53791         * nis/rpcsvc/yp.h: Likewise.
53792         * nis/rpcsvc/yp.x: Likewise.
53793         * nis/rpcsvc/ypupd.h: Likewise.
53794         * nis/yp_xdr.c: Likewise.
53795         * nis/ypupdate_xdr.c: Likewise.
53796
53797         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53798         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53799         (pmap_getport): Use __libc_rpc_getport.
53800         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53801         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53802         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53803
53804 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53805
53806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53807         fanotify_mark.
53808
53809 2010-08-27  Roland McGrath  <roland@redhat.com>
53810
53811         * sysdeps/i386/i686/multiarch/Makefile
53812         (CFLAGS-varshift.c): New variable.
53813
53814 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53815
53816         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53817         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53818
53819         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53820
53821         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53822
53823 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53824
53825         * sysdeps/x86_64/strlen.S: Unroll the loop.
53826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53827         strlen-sse2 strlen-sse2-bsf.
53828         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53829         __strlen_no_bsf if bit_Slow_BSF is set.
53830         (__strlen_sse42): Removed.
53831         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53832         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53833
53834 2010-08-25  Roland McGrath  <roland@redhat.com>
53835
53836         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53837         * sysdeps/x86_64/multiarch/varshift.c: New file.
53838         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53839         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53840         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53841         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53842
53843 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53844
53845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53846         strlen-sse2 strlen-sse2-bsf.
53847         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53848         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53849         (__strlen_sse2): Removed.
53850         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53851         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53853         bit_Slow_BSF for Atom.
53854         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53855         (index_Slow_BSF): Define.
53856         (HAS_SLOW_BSF): Define.
53857
53858 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53859
53860         [BZ #10851]
53861         * resolv/res_init.c (__res_vinit): When no server address at all
53862         is given default to loopback.
53863
53864 2010-08-24  Roland McGrath  <roland@redhat.com>
53865
53866         * configure.in: Remove config-name.h generation.
53867         * configure: Regenerated.
53868         * config-name.in: File removed.
53869         * scripts/config-uname.sh: New file.
53870         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53871         ($(objdir)config-name.h): New target.
53872
53873         * sunrpc/rpc_parse.h: Avoid nested comment.
53874
53875 2010-08-24  Richard Henderson  <rth@redhat.com>
53876             Ulrich Drepper  <drepper@redhat.com>
53877             H.J. Lu  <hongjiu.lu@intel.com>
53878
53879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53881         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53882         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53883         _mm_alignr_epi8 with _mm_loadu_si128.
53884         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53885         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53886         (__m128i_shift_right): Removed.
53887         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53888         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53889         * sysdeps/x86_64/multiarch/varshift.h: New file.
53890         * sysdeps/x86_64/multiarch/varshift.S: New file.
53891
53892 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53893
53894         * configure.in: Move assembler checks to before sysdep dir checking.
53895
53896 2010-08-20  Petr Baudis  <pasky@suse.cz>
53897
53898         * LICENSES: Sync the sunrpc license.
53899
53900 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53901
53902         * sunrpc/auth_des.c: Update copyright notice once again.
53903         * sunrpc/auth_none.c: Likewise.
53904         * sunrpc/auth_unix.c: Likewise.
53905         * sunrpc/authdes_prot.c: Likewise.
53906         * sunrpc/authuxprot.c: Likewise.
53907         * sunrpc/bindrsvprt.c: Likewise.
53908         * sunrpc/clnt_gen.c: Likewise.
53909         * sunrpc/clnt_perr.c: Likewise.
53910         * sunrpc/clnt_raw.c: Likewise.
53911         * sunrpc/clnt_simp.c: Likewise.
53912         * sunrpc/clnt_tcp.c: Likewise.
53913         * sunrpc/clnt_udp.c: Likewise.
53914         * sunrpc/clnt_unix.c: Likewise.
53915         * sunrpc/des_crypt.c: Likewise.
53916         * sunrpc/des_soft.c: Likewise.
53917         * sunrpc/get_myaddr.c: Likewise.
53918         * sunrpc/getrpcport.c: Likewise.
53919         * sunrpc/key_call.c: Likewise.
53920         * sunrpc/key_prot.c: Likewise.
53921         * sunrpc/openchild.c: Likewise.
53922         * sunrpc/pm_getmaps.c: Likewise.
53923         * sunrpc/pm_getport.c: Likewise.
53924         * sunrpc/pmap_clnt.c: Likewise.
53925         * sunrpc/pmap_prot.c: Likewise.
53926         * sunrpc/pmap_prot2.c: Likewise.
53927         * sunrpc/pmap_rmt.c: Likewise.
53928         * sunrpc/rpc/auth.h: Likewise.
53929         * sunrpc/rpc/auth_unix.h: Likewise.
53930         * sunrpc/rpc/clnt.h: Likewise.
53931         * sunrpc/rpc/des_crypt.h: Likewise.
53932         * sunrpc/rpc/key_prot.h: Likewise.
53933         * sunrpc/rpc/netdb.h: Likewise.
53934         * sunrpc/rpc/pmap_clnt.h: Likewise.
53935         * sunrpc/rpc/pmap_prot.h: Likewise.
53936         * sunrpc/rpc/pmap_rmt.h: Likewise.
53937         * sunrpc/rpc/rpc.h: Likewise.
53938         * sunrpc/rpc/rpc_des.h: Likewise.
53939         * sunrpc/rpc/rpc_msg.h: Likewise.
53940         * sunrpc/rpc/svc.h: Likewise.
53941         * sunrpc/rpc/svc_auth.h: Likewise.
53942         * sunrpc/rpc/types.h: Likewise.
53943         * sunrpc/rpc/xdr.h: Likewise.
53944         * sunrpc/rpc_clntout.c: Likewise.
53945         * sunrpc/rpc_cmsg.c: Likewise.
53946         * sunrpc/rpc_common.c: Likewise.
53947         * sunrpc/rpc_cout.c: Likewise.
53948         * sunrpc/rpc_dtable.c: Likewise.
53949         * sunrpc/rpc_hout.c: Likewise.
53950         * sunrpc/rpc_main.c: Likewise.
53951         * sunrpc/rpc_parse.c: Likewise.
53952         * sunrpc/rpc_parse.h: Likewise.
53953         * sunrpc/rpc_prot.c: Likewise.
53954         * sunrpc/rpc_sample.c: Likewise.
53955         * sunrpc/rpc_scan.c: Likewise.
53956         * sunrpc/rpc_scan.h: Likewise.
53957         * sunrpc/rpc_svcout.c: Likewise.
53958         * sunrpc/rpc_tblout.c: Likewise.
53959         * sunrpc/rpc_util.c: Likewise.
53960         * sunrpc/rpc_util.h: Likewise.
53961         * sunrpc/rpcinfo.c: Likewise.
53962         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53963         * sunrpc/rpcsvc/key_prot.x: Likewise.
53964         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53965         * sunrpc/rpcsvc/mount.x: Likewise.
53966         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53967         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53968         * sunrpc/rpcsvc/rex.x: Likewise.
53969         * sunrpc/rpcsvc/rstat.x: Likewise.
53970         * sunrpc/rpcsvc/rusers.x: Likewise.
53971         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53972         * sunrpc/rpcsvc/spray.x: Likewise.
53973         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53974         * sunrpc/rtime.c: Likewise.
53975         * sunrpc/svc.c: Likewise.
53976         * sunrpc/svc_auth.c: Likewise.
53977         * sunrpc/svc_authux.c: Likewise.
53978         * sunrpc/svc_raw.c: Likewise.
53979         * sunrpc/svc_run.c: Likewise.
53980         * sunrpc/svc_simple.c: Likewise.
53981         * sunrpc/svc_tcp.c: Likewise.
53982         * sunrpc/svc_udp.c: Likewise.
53983         * sunrpc/svc_unix.c: Likewise.
53984         * sunrpc/svcauth_des.c: Likewise.
53985         * sunrpc/xcrypt.c: Likewise.
53986         * sunrpc/xdr.c: Likewise.
53987         * sunrpc/xdr_array.c: Likewise.
53988         * sunrpc/xdr_float.c: Likewise.
53989         * sunrpc/xdr_mem.c: Likewise.
53990         * sunrpc/xdr_rec.c: Likewise.
53991         * sunrpc/xdr_ref.c: Likewise.
53992         * sunrpc/xdr_sizeof.c: Likewise.
53993         * sunrpc/xdr_stdio.c: Likewise.
53994
53995         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53996         handling.
53997
53998 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53999
54000         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54001
54002 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54003
54004         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54005         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54006         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54007         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54008         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54009         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54010         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54011         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54012         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54013         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54014         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54015         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54016         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54017         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54018
54019 2010-07-26  Anton Blanchard  <anton@samba.org>
54020
54021         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54022         * malloc/arena.c (heap_trim): Likewise.
54023
54024 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54025
54026         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54027         here.  Not...
54028         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54029         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54030
54031 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54032
54033         * sysdeps/i386/elf/Makefile: New file.
54034
54035 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54036
54037         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54038         from fanotify_init.
54039         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54040         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54041
54042 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54043
54044         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54045         of strncasecmp_l.
54046         * sysdeps/multiarch/strcmp.S: Likewise.
54047
54048 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54049
54050         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54051         strncase_l-nonascii.
54052         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54053         Add strncase_l-ssse3.
54054         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54055         * sysdeps/x86_64/strcmp.S: Likewise.
54056         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54057         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54058         * sysdeps/x86_64/strncase.S: New file.
54059         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54060         * sysdeps/x86_64/strncase_l.S: New file.
54061         * string/Makefile (strop-tests): Add strncasecmp.
54062         * string/test-strncasecmp.c: New file.
54063
54064         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54065         warning.
54066
54067         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54068         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54069
54070 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54071
54072         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54073
54074 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54075
54076         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54077         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54078         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54079
54080 2010-05-01  Alan Modra  <amodra@gmail.com>
54081
54082         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54083         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54084         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54085         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54086         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54087         tidying.  Don't tail-call __sigjmp_save for static lib.
54088         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54089         save location.
54090         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54091         (CALL_MCOUNT): Add eh info, and nop after bl.
54092         (TAIL_CALL_SYSCALL_ERROR): New macro.
54093         (PSEUDO_RET): Use it.
54094         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54095         Correct save location of integer regs and cr.
54096         (_dl_profile_resolve): Correct cr save location.  Delete nops
54097         after bl when SHARED.  Reduce cfi size a little by better
54098         placement of cfi directives.
54099         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54100         make a stack frame.  Instead use parm save area as a temp.
54101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54102         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54104         Don't make a stack frame for parent, use parm save area.
54105         Increase child stack frame to 112 bytes.  Don't save unused reg,
54106         and adjust reg usage.  Set up cfi on error recovery and
54107         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54109         (__makecontext): Add dummy nop after jump to exit.
54110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54111         Use correct parm save area and cr save, reduce stack frame.
54112         Correct cfi for possible PSEUDO_RET frame setup.
54113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54114         Branch to local label emitted by PSEUDO_RET rather than
54115         __syscall_error.
54116
54117 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54118
54119         [BZ #11904]
54120         * locale/programs/locale.c (print_assignment): New function.
54121         (show_locale_vars): Use it.
54122
54123 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54124
54125         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54126         field.
54127         (struct statfs64): Likewise.
54128         (_STATFS_F_FLAGS): Define.
54129         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54130         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54131         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54132         (ST_VALID): Define locally.
54133         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54134         __statvfs_getflags, use the provided value.
54135         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54136         __ASSUME_STATFS_F_FLAGS.
54137
54138         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54139
54140         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54141         Add sys/fanotify.h.
54142         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54143         fanotify_mask for GLIBC_2.13.
54144         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54145         fanotify_init and fanotify_mark.
54146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54147         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54148
54149         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54150         Add prlimit.
54151         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54152         prlimit64 for GLIBC_2.13.
54153         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54154         prlimit64.
54155         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54156         syscall.
54157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54158         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54159         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54160         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54161         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54162         add prlimit alias.
54163         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54164
54165         [BZ #11903]
54166         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54167         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54168
54169         * nss/Makefile: Add rules to build and run tst-nss-test1.
54170         * shlib-versions: Add entry for libnss_test1.
54171         * nss/nss_test1.c: New file.
54172         * nss/tst-nss-test1.c: New file.
54173
54174         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54175         (__nss_configure_lookup): Set appropriate entry in
54176         __nss_configure_lookup to true.
54177         * nss/nsswitch.h: Define enum with indeces of databases in
54178         databases and __nss_database_custom arrays.  Declare
54179         __nss_database_custom.
54180         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54181         to avoid using nscd when custom rules are installed.
54182         * nss/getXXbyYY_r.c: Likewise.
54183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54184
54185         * nss/nss_files/files-parse.c: Whitespace fixes.
54186
54187 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54188
54189         [BZ #11883]
54190         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54191         * posix/fnmatch_loop.c: Likewise.
54192
54193 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54194
54195         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54196         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54197         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54198         * Versions.def [GLIBC_2.13]: Add.
54199
54200 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54201
54202         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54203         Also fail if tpwd after pwuid call is NULL.
54204
54205 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54206
54207         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54208         when converting to ms.
54209
54210 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54211
54212         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54213         EOPNOTSUPP errors with ENOTTY.
54214         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54215         EOPNOTSUPP errors with ENOTTY.
54216
54217 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54218
54219         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54220         Add strcasecmp_l-ssse3.
54221         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54222         strcasecmp.
54223         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54224         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54225         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54226
54227 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54228
54229         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54230
54231         * string/Makefile (strop-tests): Add strcasecmp.
54232         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54233         strcasecmp_l-nonascii.
54234         (gen-as-const-headers): Add locale-defines.sym.
54235         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54236         * sysdeps/x86_64/strcasecmp.S: New file.
54237         * sysdeps/x86_64/strcasecmp_l.S: New file.
54238         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54239         * sysdeps/x86_64/locale-defines.sym: New file.
54240         * string/test-strcasecmp.c: New file.
54241
54242         * string/test-strcasestr.c: Test both ends of the range of characters.
54243         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54244
54245 2010-07-29  Roland McGrath  <roland@redhat.com>
54246
54247         [BZ #11856]
54248         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54249
54250 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54251
54252         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54253         for ld.so.
54254
54255 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54256
54257         * manual/memory.texi (Malloc Tunable Parameters): Document
54258         M_PERTURB.
54259
54260 2010-07-26  Roland McGrath  <roland@redhat.com>
54261
54262         [BZ #11840]
54263         * configure.in (-fgnu89-inline check): Set and substitute
54264         gnu89_inline, not libc_cv_gnu89_inline.
54265         * configure: Regenerated.
54266         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54267
54268 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54269
54270         * string/test-strnlen.c: New file.
54271         * string/Makefile (strop-tests): Add strnlen.
54272         * string/tester.c (test_strnlen): Add a few more test cases.
54273         * string/tst-strlen.c: Better error reporting.
54274
54275         * sysdeps/x86_64/strnlen.S: New file.
54276
54277 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54278
54279         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54280         lower-latency instructions.
54281
54282 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54283
54284         * string/test-strcasestr.c: New file.
54285         * string/test-strstr.c: New file.
54286         * string/Makefile (strop-tests): Add strstr and strcasestr.
54287         * string/str-two-way.h: Don't undefine MAX.
54288         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54289
54290 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54291
54292         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54293         strcasestr-nonascii.
54294         (CFLAGS-strcasestr-nonascii.c): Define.
54295         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54296         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54297         Remove unused attribute.
54298
54299 2010-07-20  Roland McGrath  <roland@redhat.com>
54300
54301         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54302         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54303         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54304         like LD_HWCAP_MASK can disable hwcaps.
54305
54306 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54307
54308         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54309
54310 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54311
54312         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54313         call in strcasestr.
54314         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54315         __strcasestr_sse42_nonascii.
54316         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54317         strcasestr-nonascii.c.
54318         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54319
54320 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54321
54322         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54323         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54324         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54325         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54326
54327 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54328
54329         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54330         fcntl.
54331
54332 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54333
54334         [BZ #11577]
54335         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54336         dl_signal_cerror.
54337
54338 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54339
54340         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54341         _PC_PIPE_BUF using F_GETPIPE_SZ.
54342
54343 2010-07-05  Roland McGrath  <roland@redhat.com>
54344
54345         * manual/arith.texi (Rounding Functions): Fix rint description
54346         implicit in round description.
54347
54348 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54349
54350         * elf/Makefile: Fix linking for a few tests to make recent linker
54351         happy.
54352
54353 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54354
54355         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54356         $(common-objpfx)libc_nonshared.a.
54357
54358 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54359
54360         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54361         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54362         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54363         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54364         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54365         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54366         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54367         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54382         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54383         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54384         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54385         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54386         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54387         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54388         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54389         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54390         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54391         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54392         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54393         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54408
54409 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54410
54411         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54412         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54413         * string/memmove.c (memmove): Renamed to ...
54414         (MEMMOVE): ...this.  Default to memmove.
54415         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54416         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54417         (END_CHK): Define.
54418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54419         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54420         mempcpy-ssse3-back memmove-ssse3-back.
54421         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54422         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54423         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54424         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54425         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54426         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54427         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54428         * sysdeps/x86_64/multiarch/memmove.c: New file.
54429         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54430         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54431         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54432         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54433         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54434         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54435         Define.
54436         (index_Fast_Copy_Backward): Define.
54437         (HAS_ARCH_FEATURE): Define.
54438         (HAS_FAST_REP_STRING): Define.
54439         (HAS_FAST_COPY_BACKWARD): Define.
54440
54441 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54442
54443         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54444         Restore proper fallback handling.
54445
54446 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54447
54448         [BZ #11701]
54449         * posix/group_member.c (__group_member): Correct checking loop.
54450
54451         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54452         OOM in getpwuid_r correctly.  Return error number when the caller
54453         should return, otherwise -1.
54454         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54455         call returning > 0 value.
54456         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54457
54458 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54459
54460         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54461         libc_nonshared.a from targets in modules-names.
54462
54463 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54464
54465         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54466         requires it.
54467
54468 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54469
54470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54471         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54472         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54473         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54474
54475 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54476
54477         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54478
54479 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54480
54481         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54482         and F_GETPIPE_SZ.
54483         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54484         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54485         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54486         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54487         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54488         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54489
54490 2010-06-14  Roland McGrath  <roland@redhat.com>
54491
54492         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54493
54494 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54495
54496         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54497         __REDIRECT followed by __THROW.
54498         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54499         * posix/getopt.h (getopt): Likewise.
54500
54501 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54502
54503         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54504         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54505         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54506         in AT_FLAGS.
54507         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54508         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54509
54510 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54511
54512         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54513
54514 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54515
54516         [BZ #11640]
54517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54518         Properly check family and model.
54519
54520 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54521
54522         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54523
54524 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54525
54526         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54527
54528 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54529
54530         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54531         symbol reference.
54532
54533 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54534
54535         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54536         symbol reference.
54537
54538 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54539
54540         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54541         and internal_recvmmsg.
54542         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54543         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54544         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54545         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54546
54547         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54548         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54549         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54550
54551 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54552
54553         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54554
54555 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54556
54557         POWER7 optimizations.
54558         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54559         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54560
54561 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54562
54563         * version.h: Update for 2.13 development version.
54564
54565 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54566
54567         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54568         exceptions.  Return 0.
54569
54570 2010-05-07  Roland McGrath  <roland@redhat.com>
54571
54572         * elf/ldconfig.c (main): Add a const.
54573
54574 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54575
54576         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54577         (args_options): Add no-idn option.
54578         (ahosts_keys_int): Add idn_flags to ai_flags.
54579         (parse_option): Handle 'i' option to clear idn_flags.
54580
54581         * malloc/malloc.c (_int_free): Possible race in the most recently
54582         added check.  Only act on the data if no current modification
54583         happened.
54584
54585 See ChangeLog.17 for earlier changes.